Hassan Schroeder wrote in post #966986:
> On Tue, Dec 7, 2010 at 12:05 PM, Rob Th <li...@ruby-forum.com> wrote:
>
>> RobsiMac:~ rob$ sudo gem uninstall rails
>>
>> Select gem to uninstall:
>> 1. rails-2.2.2
>> 2. rails-2.2.2
>> 3. All versions
>
>> Ouch.
>
> So select 3 and keep going :-)
>
> You can always add back the version you want later.
>
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
> twitter: @hassan

sudo gem uninstall rails
Password:

Select gem to uninstall:
 1. rails-2.2.2
 2. rails-2.2.2
 3. All versions
> 3
Remove executables:
  rails

in addition to the gem? [Yn]  y
Removing rails
Successfully uninstalled rails-2.2.2
Remove executables:
  rails

in addition to the gem? [Yn]  y
Removing rails
Successfully uninstalled rails-2.2.2
RobsiMac:~ rob$ rails -v
-bash: /usr/bin/rails: No such file or directory
RobsiMac:~ rob$ sudo gem install rails -v 2.2.2
Successfully installed rails-2.2.2
1 gem installed
Installing ri documentation for rails-2.2.2...
Installing RDoc documentation for rails-2.2.2...
RobsiMac:~ rob$ rails -v
Rails 2.3.5

Oh, no. Night of the Living Dead.

Is there a way to run gem in verbose mode to see what is going on?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to