wayneeseguin/rvm — Issue #620: Installation Ruby 1.9.3 with named switch fails
Author: deepj
Created: 2011-11-27 12:32:51+00:00
State: open

```
citadela:~ deepj$ rvm install ruby-1.9.3-p0 -n unpatched
Installing Ruby from source to: /Users/deepj/.rvm/rubies/ruby-1.9.3-p0-unpatched, this may take a while depending on your cpu(s)...

ruby-1.9.3-p0-unpatched - #fetching
ruby-1.9.3-p0-unpatched - #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 142k 0 0:01:05 0:01:05 --:--:-- 151k
ruby-1.9.3-p0-unpatched - #extracting ruby-1.9.3-p0 to /Users/deepj/.rvm/src/ruby-1.9.3-p0-unpatched
ruby-1.9.3-p0-unpatched - #extracted to /Users/deepj/.rvm/src/ruby-1.9.3-p0-unpatched
Fetching yaml-0.1.4.tar.gz to /Users/deepj/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 112k 0 0:00:04 0:00:04 --:--:-- 136k
Extracting yaml-0.1.4.tar.gz to /Users/deepj/.rvm/src
Configuring yaml in /Users/deepj/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/deepj/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/deepj/.rvm/usr
ruby-1.9.3-p0-unpatched - #configuring
ruby-1.9.3-p0-unpatched - #compiling
ruby-1.9.3-p0-unpatched - #installing
Retrieving rubygems-1.8.10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 243k 100 243k 0 0 315k 0 --:--:-- --:--:-- --:--:-- 826k
Extracting rubygems-1.8.10 ...
Removing old Rubygems files...
Installing rubygems-1.8.10 for ruby-1.9.3-unpatched ...
ERROR: Error running 'GEM_PATH="/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched@global:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched@global" GEM_HOME="/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched" "/Users/deepj/.rvm/rubies/ruby-1.9.3-unpatched/bin/ruby" "/Users/deepj/.rvm/src/rubygems-1.8.10/setup.rb"', please read /Users/deepj/.rvm/log/ruby-1.9.3-unpatched/rubygems.install.log
WARN: Installation of rubygems did not complete successfully.
ruby-1.9.3-p0-unpatched - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p0-unpatched - #importing default gemsets (/Users/deepj/.rvm/gemsets/)
Install of ruby-1.9.3-p0-unpatched - #complete
```

rubygems.install.log contains the following issue:

```
[2011-11-27 13:13:49] GEM_PATH="/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched@global:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched:/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched@global" GEM_HOME="/Users/deepj/.rvm/gems/ruby-1.9.3-unpatched" "/Users/deepj/.rvm/rubies/ruby-1.9.3-unpatched/bin/ruby" "/Users/deepj/.rvm/src/rubygems-1.8.10/setup.rb"
/Users/deepj/.rvm/scripts/functions/utility: line 159: /Users/deepj/.rvm/rubies/ruby-1.9.3-unpatched/bin/ruby: No such file or directory
```

Installation Ruby 1.9.3 without named witch is okay