if you have a server with many rails applications hosted开发者_如何学运维 on it, and each have different versions of gems etc., how would you isolate gems per website w/o using RVM?
Unpack them into the vendor directory if you're working with Rails.
Rails 3 implemented bundler to provide support for this age old problem. Vendoring was the standard, but bundler allows system level installs of several versions of the same gem and will graph the dependency properly for each app at startup.
Specify them in environment.rb with the version number then run rake gems: install
精彩评论