$gem uninstall rails -a

... will un-install all versions of rails.

$gem install rails

... puts it back again.

You can check your rails version before and after by doing:

$rails -v


On Wednesday, 4 July 2012 01:02:30 UTC+1, Runy Calmera wrote:
>
> Hi,
> I was learning rails and have completed some projects. On my laptop 
> everything worked for quite some time. However now when I run rails new 
> testapp, for example it doesn't generate even the first testapp. How can I 
> completely reinstall a rails environment on my mac? I ran several step by 
> step tutorials how to do this, but it seems that the old rails environment 
> is conflicting. I also downloaded Xcode already, tried rvm, tried Homebrew 
> everything seems. It just doesnt work.
>
> Help. I want to continue developing.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/B4uth8m5nd0J.
To post to this group, send email to rubyonrails-talk@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-US.

Reply via email to