Before I uninstall/reinstall rails on my Mac, I figure I'll show the error
message I get when I try and create a new rails app in Terminal... maybe
it's an easy fix?
when I type "rails new" for example, I get this message:
/usr/local/bin/rails:9:in `require': no such file to load -- rubygems
(LoadError)
from /usr/local/bin/rails:9
any ideas on what might be wrong? Thanks...
On Sun, Dec 6, 2009 at 10:36 AM, bill walton <[email protected]> wrote:
> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote:
>
> > Is there a way I can dump my current install of ROR and just roll my
> > own all over again?
>
> Rails is just a Ruby gem (a set of them, really). So assuming your
> problem is really with Rails and not your Ruby installation, at the
> command line...
>
> 1) gem list
>
> Make a copy of everything you've got installed. You can safely get rid
> of most of them to get you back to just Ruby. Do not get rid of
> 'rubygems-update' or 'sources'. These will be needed to rebuild your
> installation.
>
> 2) gem uninstall <each gem>
>
> When you're done, make sure you've got a working, albeit basic, Ruby
> installation. Easiest way, IMO, to do that is irb.
>
> 3) gem install <each gem you need to reinstall> -v<the specific version
> you want to install>
>
> HTH,
> Bill
>
> --
>
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.