You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rehash rbenv shims (run this after installing binaries)
rbenv rehash
Set the global Ruby version and install bundler globally
rbenv global 1.9.3-p0
gem install bundler --pre
gem install OTHER_GLOBAL_GEMS # eg) Rails, Heroku, etc - NOTE: You need to do this for each ruby version.
rbenv rehash
Set a project specific ruby version
cd myproject
rbenv local 1.9.2-p290
Install gems in Gemfile to vendor/bundle
cd ~/projects/newhotness
bundle
Start app in context of bundled gems
bundle exec rails s
RubyMine Notes
Open settings | Ruby SDK & Gems
Remove ALL RVM related SDKs
Add new Ruby SDK for project - Find path by 'found by', executing rbenv which ruby in project directory
Edit launch/debug configurations | Bundler - enable/check - Run the script in the context of bundler
Note: RubyMine debugger will install some additional needed gems into your global gem path - eg) ~/.gem/ruby/...