I'm a bit confused at the moment as to how bundler handles the files Gemfile and Gemfile.lock.
Inside my Gemfile, I have the following
group :development do
gem 'ruby-debug19', :require => 'ruby-debug'
end
And on production, I run bundle install --without development
. However, in Gemfile.lock, 'ruby-debug19' is still listed under DEPENDENCIES at the bottom of the file, and the gem and what it needs are listed in the main listings above.
What is the --without option really doing then? I don't have the necessary gems for ruby-debug19 installed on production, because well, it's production.
I'm fairly new to Rails, and I'm working with v3.2
Checkout the Bundler FAQ . Your question seems to be answered in the FAQs
FAQ: Why Is Bundler Downloading Gems From --without Groups?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With