Frederick Cheung wrote in post #1020189:
> On Sep 5, 8:48am, 7stud -- <li...@ruby-forum.com> wrote:
>> rake db:migrate
>>
>> The whole idea behind Bundler and your Gemfile is to specify which gems
>> you want to use for your app. To use the gems in your Gemfile when
>> executing commands, you need to proceed the command with 'bundle exec':
>>
>> bundle exec rake db:migrate
>>
>> That makes sure you are using the rake gem specified in your Gemfile.
>
> That's not the whole story. If just running rake (without the bundle
> exec) selected a version of rake that was incompatible with what's in
> the Gemfile/Gemfile.lock then bundler produces an appropriate version
> message.


That's not what this says:

===
In some cases, running executables without bundle exec may work, if the 
executable happens to be installed in your system and does not pull in 
any gems that conflict with your bundle.
===

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to