In rails 3, rails s
makes a call to bundler, so you donโt have to do bundle exec rails s
or bundle exec
, which is necessary to run rails s
in your application gemfile environment?
Update He realized that bundle exec
should be used before rake tasks due to different versions of rake. See http://railsapps.github.com/installing-rails-3-1.html for more details. This question is about rails scripts such as:
rails s rails server rails c rails console
^ Should bundle exec
be used before these rail scripts or is the rails command communicating with the switch?
source share