Runy Calmera
2012-Jul-04 00:02 UTC
How to completely reinstall my rails environment on Mac Lion?
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/-/xo75_RiDnL8J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Rocky
2012-Jul-04 08:11 UTC
Re: How to completely reinstall my rails environment on Mac Lion?
$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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
CavalryJim
2012-Jul-04 13:03 UTC
Re: How to completely reinstall my rails environment on Mac Lion?
I would also recommend using rvm - ruby version manager. It allows you to easily install and switch between versions of ruby and maintain multiple sets of gems...to include rails. -- 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/-/SLmzxrL0y8QJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
hanish jadala
2012-Jul-04 13:40 UTC
Re: Re: How to completely reinstall my rails environment on Mac Lion?
gem list | cut -d" " -f1 | xargs sudo gem uninstall -aIx THIS COMMAND WILL UNINSTALL ALL THE GEMS IN UR SYSTEM .AFTER THAT INSTALL AGAIN WHAT YOU NEED. On Wed, Jul 4, 2012 at 6:33 PM, CavalryJim <james.davisphd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I would also recommend using rvm - ruby version manager. It allows you to > easily install and switch between versions of ruby and maintain multiple > sets of gems...to include rails. > > -- > 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/-/SLmzxrL0y8QJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en-US. > >-- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.