public
Created

rvm gemset pristine triggers Gem::Exception (when global is empty?)

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
new@ASUS:~/github/shoes/shoes$ rvm upgrade ruby-1.9.3-rc1 ruby-1.9.3
Are you sure you wish to upgrade from ruby-1.9.3-rc1 to ruby-1.9.3-p0? (Y/n): y
Installing new ruby ruby-1.9.3-p0
Are you sure you wish to upgrade from ruby-1.9.3-rc1 to ruby-1.9.3-p0? (Y/n): y
Installing new ruby ruby-1.9.3-p0
Installing Ruby from source to: /home/new/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
 
ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9330k 100 9330k 0 0 391k 0 0:00:23 0:00:23 --:--:-- 773k
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /home/new/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /home/new/.rvm/src/ruby-1.9.3-p0
Fetching yaml-0.1.4.tar.gz to /home/new/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /home/new/.rvm/src
Prepare yaml in /home/new/.rvm/src/yaml-0.1.4.
Configuring yaml in /home/new/.rvm/src/yaml-0.1.4.
Compiling yaml in /home/new/.rvm/src/yaml-0.1.4.
Installing yaml to /home/new/.rvm/usr
ruby-1.9.3-p0 - #configuring
ruby-1.9.3-p0 - #compiling
ruby-1.9.3-p0 - #installing
Removing old Rubygems files...
Installing rubygems-1.8.10 for ruby-1.9.3-p0 ...
Installation of rubygems completed successfully.
ruby-1.9.3-p0 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p0 - #importing default gemsets (/home/new/.rvm/gemsets/)
Install of ruby-1.9.3-p0 - #complete
Migrating gems from ruby-1.9.3-rc1 to ruby-1.9.3-p0
Are you sure you wish to MOVE gems from ruby-1.9.3-rc1 to ruby-1.9.3-p0?
This will overwrite existing gems in ruby-1.9.3-p0 and remove them from ruby-1.9.3-rc1 (Y/n): y
Moving gemsets...
Moving ruby-1.9.3-rc1 to ruby-1.9.3-p0
Making gemset ruby-1.9.3-p0 pristine.
Moving ruby-1.9.3-rc1@global to ruby-1.9.3-p0@global
Making gemset ruby-1.9.3-p0@global pristine.
ERROR: Error running '' under ,
please read /home/new/.rvm/log/1.9.3-rc1@shoes/gemset.pristine.log
Moving ruby-1.9.3-rc1@shoes to ruby-1.9.3-p0@shoes
Making gemset ruby-1.9.3-p0@shoes pristine.
Do you wish to move over aliases? (Y/n): y
Do you wish to move over wrappers? (Y/n): y
Do you also wish to completely remove ruby-1.9.3-rc1 (inc. archive)? (Y/n): y
Successfully migrated ruby-1.9.3-rc1 to ruby-1.9.3-p0
Upgrade complete!
Installing Ruby from source to: /home/new/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
 
ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #extracted to /home/new/.rvm/src/ruby-1.9.3-p0 (already extracted)
Fetching yaml-0.1.4.tar.gz to /home/new/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /home/new/.rvm/src
Prepare yaml in /home/new/.rvm/src/yaml-0.1.4.
Configuring yaml in /home/new/.rvm/src/yaml-0.1.4.
Compiling yaml in /home/new/.rvm/src/yaml-0.1.4.
Installing yaml to /home/new/.rvm/usr
ruby-1.9.3-p0 - #configuring
ruby-1.9.3-p0 - #compiling
ruby-1.9.3-p0 - #installing
Removing old Rubygems files...
Installing rubygems-1.8.10 for ruby-1.9.3-p0 ...
Installation of rubygems completed successfully.
ruby-1.9.3-p0 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p0 - #importing default gemsets (/home/new/.rvm/gemsets/)
Install of ruby-1.9.3-p0 - #complete
Migrating gems from ruby-1.9.3-rc1 to ruby-1.9.3-p0
ERROR: Ruby 'ruby-1.9.3-rc1' is not installed - please install it first.
ERROR: Error migrating gems.
 
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
Contents of
 
/home/new/.rvm/log/1.9.3-rc1@shoes/gemset.pristine.log
 
[2012-01-01 16:00:52] rvm gemset pristine # under ruby-1.9.3-p0
Restoring gems to pristine condition...
Restored bundler-1.0.21
[2012-01-01 16:00:52] rvm gemset pristine # under ruby-1.9.3-p0@global
ERROR: While executing gem ... (Gem::Exception)
Failed to find gems [] >= 0
[2012-01-01 16:00:53] rvm gemset pristine # under ruby-1.9.3-p0@shoes
Restoring gems to pristine condition...
Restored builder-3.0.0
Restored bundler-1.0.21
 
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
 
Thank you for installing cucumber-1.1.0.
Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
for important information about this release. Happy cuking!
 
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
 
Restored cucumber-1.1.0
Restored diff-lcs-1.1.3
Building native extensions. This could take a while...
Restored gherkin-2.5.1
Building native extensions. This could take a while...
Restored json-1.6.1
Restored mechanize-2.0.1
Restored net-http-digest_auth-1.1.1
Restored net-http-persistent-1.9
Building native extensions. This could take a while...
Restored nokogiri-1.5.0
Restored rake-0.9.2.2
Restored rake-0.9.2
Restored rspec-2.6.0
Restored rspec-core-2.6.4
Restored rspec-expectations-2.6.0
Restored rspec-mocks-2.6.0
Restored shoes-cucumber-0.0.2
Restored shoes-mocks-0.0.2
Restored term-ansicolor-1.0.6
Restored webrobots-0.0.11

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.