Ruby on Rails Tuesday, August 31, 2010

Frank Burleigh wrote:
> I have done these commands:
>
> sudo gem update --system
> sudo gem cleanup
>
> sudo gem install tzinfo builder i18n memcache-client rack \
> rake rack-test rack-mount erubis mail text-format \
> thor bundler
> sodu gem install rails --pre
>
> whose execution ends with:
>
> Installing ri documentation for rails-3.0.0.beta3...
> File not found: lib
>
> The gems/rails-3.0.0.beta3 directory has a bin directory with a 20
> character file named "rails." The other gem directories seem fuller.
>


Are you using RVM by any chance? If you are, you cannot use 'sudo' when
installing the gems. I had this issue at first (kept saying File not
found: lib) and then I noticed that RVM installs things as you, not as
sudo. Therefore I just used the command:

'gem install rails --pre' or just 'gem install rails' (since Rails 3 has
been released)

and I got rid of the 'File not found: lib' issue. Hope this helps.
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment