Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

lib folder issue #1002

Closed
lighthouse-import opened this Issue May 16, 2011 · 2 comments

Comments

Projects
None yet
1 participant

Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6676
Created by jnozsc - 2011-04-06 02:25:32 UTC

Installing ri documentation for rails-3.0.6...
file 'lib' not found
Installing RDoc documentation for rails-3.0.6...
file 'lib' not found

I am tired of these error messages.
Rails forgets to create the folder "lib" at /usr/local/lib/ruby/gems/1.9.1/rails-3.0.x/

Every time I update rails, I have to enter "sudo mkdir lib" to create "lib" folder by myself, and then "sudo gem install rails" again.

However, at version 3.0.6, it doesn't work.
Because when I enter "sudo gem install rails" , it will delete the whole “rails-3.0.x” folder.

Please fix it. It isn't difficult.

my environment

ruby 1.9.2p180
gem 1.7.2
rails 3.0.6

Imported from Lighthouse.
Comment by peter - 2011-04-08 15:51:45 UTC

Same problem:
sudo gem install rails-3.0.6.gem
Successfully installed rails-3.0.6
1 gem installed
Installing ri documentation for rails-3.0.6...
File not found: lib

As a results of the failure, nothing gets populated in the ../gems/rail-3.0.6 dir except bin/rails.

Env:

ruby 1.8.7 (2009-06-12 patchlevel 174)
gem r1.4.2
rails 3.0.6
Mac OS X 10.6.7

Imported from Lighthouse.
Comment by Andrew C. Greenberg - 2011-04-15 15:14:37 UTC

I, too, have had this problem since the 3.0 beta era. What is the deficiency in our configurations that causes it? (I can't imagine that everyone sees it, because there is so little discussion on the net about what is truy a jarring experience - install routinely failing without explanation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment