From: Josh Cheek Date: 2011-07-16T05:36:02+09:00 Subject: Re: moving a 1.8.6 install? --bcaec5485c8a85affb04a82198bf Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jul 15, 2011 at 2:52 PM, Hassan Schroeder < hassan.schroeder@gmail.com> wrote: > On Fri, Jul 15, 2011 at 12:27 PM, Roggie Boone wrote: > > > I tried copying the entire "gems" folder (cache and all) from the old > > server to the new server, but this apparently does not work as I > > thought. > > 1) What makes you think it didn't work? > > 2) Can you just vendor the gems on the old server or from your own > development environment? > > This is probably the best solution. > 3) Why not just install RVM on the server? That'll make it easier to > work on upgrading the app, and will probably take care of your > problem installing gems. > > 1.8.6 doesn't seem to work with Rubygems anymore: $ ruby -v ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin9.6.0] $ gem -v 1.3.5 $ gem update --system Updating RubyGems Updating rubygems-update ERROR: Error installing rubygems-update: rubygems-update requires Ruby version >= 1.8.7 ERROR: While executing gem ... (NoMethodError) undefined method `version' for nil:NilClass --bcaec5485c8a85affb04a82198bf--