I''ve always distrusted the ruby and rails installs on my Mac (oOS X 10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions (lots of Gem::InstallError: cannot uninstall). Because of that, I don''t trust the rails beta3 install I just completed. Here''s the story: * config is Apple''s ruby 1.8.7 and gem 1.3.6. * xcode is installed from Apple''s developer site. * gem env result is: RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.8.7 (2009-06-08 patchlevel 173) [universal- darwin10.0] - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8 - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/ Versions/1.8/usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - universal-darwin-10 - GEM PATHS: - /Library/Ruby/Gems/1.8 - /Users/burleigh/.gem/ruby/1.8 - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ 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. That, combined with the failure of gem cleanup, makes me think "this can''t be right." I''d appreciate any advice how I might clean up my Mac rails environment. Thank you. PS: I have so far avoided MacPorts. -- 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.
Frank
2010-May-09 22:20 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
On May 8, 10:39 pm, Frank <fburle...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve always distrusted the ruby and rails installs on my Mac (oOS X > 10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions > (lots of Gem::InstallError: cannot uninstall). > > Because of that, I don''t trust the rails beta3 install I just > completed. Here''s the story: >I built and installed my own ruby and rubygems, leaving the Apple- provided installations alone. I used ruby 1.9.1 and gems 1.3.6. Then I followed the procure outlined to install the gems, then rails beta3 itself. Again I got the complaint about the missing lib directory. I followed common advice to create the lib directory in .../ gems/rails-3.0.0.beta3, then installed the rails gem once again -- to successful completion. There''s nothing actually *in* the lib directory -- I can only hope that''s as it should be. There are enough references to this problem that I''ll assume there''s either some dependance or some packaging issue, and that the Rails team has it on their radar for a fix. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Mark A. Richman
2010-Jun-10 21:02 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''m having the identical problem with beta4. On May 8, 10:39 pm, Frank <fburle...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve always distrusted the ruby and rails installs on my Mac (oOS X > 10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions > (lots of Gem::InstallError: cannot uninstall). > > Because of that, I don''t trust the rails beta3 install I just > completed. Here''s the story: > > * config is Apple''s ruby 1.8.7 and gem 1.3.6. > * xcode is installed from Apple''s developer site. > * gem env result is: > > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.6 > - RUBY VERSION: 1.8.7 (2009-06-08 patchlevel 173) [universal- > darwin10.0] > - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8 > - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/ > Versions/1.8/usr/bin/ruby > - EXECUTABLE DIRECTORY: /usr/bin > - RUBYGEMS PLATFORMS: > - ruby > - universal-darwin-10 > - GEM PATHS: > - /Library/Ruby/Gems/1.8 > - /Users/burleigh/.gem/ruby/1.8 > - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > ruby/gems/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > -http://rubygems.org/ > > 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. > > That, combined with the failure of gem cleanup, makes me think "this > can''t be right." > > I''d appreciate any advice how I might clean up my Mac rails > environment. > > Thank you. > > PS: I have so far avoided MacPorts. > > -- > 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@googlegroups.com. > For more options, visit this group athttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
John Bellone
2010-Jun-12 17:21 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
I am having this same problem, but I am using Ruby 1.8.7 and an updated version of RubyGems. Does anyone have an answer for this issue? I know that Rails 3 does not work at all with 1.9.1, so I tried 1.9.2 and it did not seem to work either. So I decided to go with the older version. On Jun 10, 5:02 pm, "Mark A. Richman" <markarich...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m having the identical problem with beta4. > > On May 8, 10:39 pm, Frank <fburle...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''ve always distrusted the ruby and rails installs on my Mac (oOS X > > 10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions > > (lots of Gem::InstallError: cannot uninstall). > > > Because of that, I don''t trust the rails beta3 install I just > > completed. Here''s the story: > > > * config is Apple''s ruby 1.8.7 and gem 1.3.6. > > * xcode is installed from Apple''s developer site. > > * gem env result is: > > > RubyGems Environment: > > - RUBYGEMS VERSION: 1.3.6 > > - RUBY VERSION: 1.8.7 (2009-06-08 patchlevel 173) [universal- > > darwin10.0] > > - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8 > > - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/ > > Versions/1.8/usr/bin/ruby > > - EXECUTABLE DIRECTORY: /usr/bin > > - RUBYGEMS PLATFORMS: > > - ruby > > - universal-darwin-10 > > - GEM PATHS: > > - /Library/Ruby/Gems/1.8 > > - /Users/burleigh/.gem/ruby/1.8 > > - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/gems/1.8 > > - GEM CONFIGURATION: > > - :update_sources => true > > - :verbose => true > > - :benchmark => false > > - :backtrace => false > > - :bulk_threshold => 1000 > > - REMOTE SOURCES: > > -http://rubygems.org/ > > > 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. > > > That, combined with the failure of gem cleanup, makes me think "this > > can''t be right." > > > I''d appreciate any advice how I might clean up my Mac rails > > environment. > > > Thank you. > > > PS: I have so far avoided MacPorts. > > > -- > > 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 athttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
Franck Fallateuf
2010-Jul-13 14:33 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
Is there an update on this problem? I''m seeing the same problem: [root@******* ruby-enterprise-1.8.7-2010.02]# gem install rails --prerelease Successfully installed rails-3.0.0.beta4 1 gem installed Installing ri documentation for rails-3.0.0.beta4... File not found: lib I have upgraded Ruby to version 1.8.7. Can anyone help me with this? Thank you. -- 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-/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.
Armando ???
2010-Aug-31 20:14 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
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-/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.
Marnen Laibow-Koser
2010-Aug-31 20:36 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
Frank Burleigh wrote:> I''ve always distrusted the ruby and rails installs on my Mac (oOS X > 10.6.3) --I''ve noticed this distrust in a lot of people. Can''t see any reason for it myself. Apple''s Ruby has always worked fine for me. I''ll be installing 1.9.2 and RVM at some point, but until then I''ll save my effort and disk space and not build my own Ruby. If that costs me geek brownie points, so be it. :D.> sudo gem cleanup can''t seem to get rid of old gem versions > (lots of Gem::InstallError: cannot uninstall).Never seen that. Find and fix the problem instead of just "distrusting" your development environment. Again: Apple''s Ruby is perfectly trustworthy. If it''s not working for you, the problem is most likely elsewhere (perhaps a reinstallation of Apple''s dev tools is in order...). Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/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.
Marnen Laibow-Koser
2010-Aug-31 20:36 UTC
Re: "File not found: lib" installing rails-3.0.0.beta3 on my Mac
Marnen Laibow-Koser wrote:> Frank Burleigh wrote: >> I''ve always distrusted the ruby and rails installs on my Mac (oOS X >> 10.6.3) --[...] Sorry, neglected to notice I was replying to an oldish post. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/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.