Rails Goodness: bundle exec when Ruby versions mismatch errors
Rails is sometiems wierd, it complains that the ruby version you are running is different than what is specified in Gemfile.
But when I see the version, using $ ruby -v, it all looks good.
Only solution is to force rails to look for ruby version, inside the directory you are working on, and the way to do it is, using bundle exec, like so
Thank you!!
But when I see the version, using $ ruby -v, it all looks good.
Only solution is to force rails to look for ruby version, inside the directory you are working on, and the way to do it is, using bundle exec, like so
» RAILS_ENV=development bundle exec rake app:run
Thank you!!
Comments
Post a Comment