Ruby equivalent of virtualenv?
RVM works closer to how virtualenv works since it lets you sandbox different ruby versions and their gems, etc.
Neither sandbox, RVM, nor rbenv manage the versions of your app's gem dependencies. The tool for that is bundler.
- use a Gemfile as your application's dependency declaration
- use
bundle install
to install explicit versions of these dependencies into an isolated location - use
bundle exec
to run your application