Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings while installing rails 3.1-rc4 #1958

Closed
ddebernardy opened this issue Jul 4, 2011 · 9 comments
Closed

Warnings while installing rails 3.1-rc4 #1958

ddebernardy opened this issue Jul 4, 2011 · 9 comments
Assignees

Comments

@ddebernardy
Copy link

Ruby 1.9.2. Log file:


DB:~/ruby $ sudo gem install rails --pre
(...)
20 gems installed
Installing ri documentation for activesupport-3.1.0.rc4...
Installing ri documentation for builder-3.0.0...
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
(...)
Installing ri documentation for rails-3.1.0.rc4...
file 'lib' not found
Installing RDoc documentation for activesupport-3.1.0.rc4...
Installing RDoc documentation for builder-3.0.0...
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README, skipping
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for README.rdoc, skipping
(...)
Installing RDoc documentation for rails-3.1.0.rc4...
file 'lib' not found

I realize the first is builder related. But the `file 'lib' not found seems to be rails related.

@pixeltrix
Copy link
Contributor

Are you running ruby with -Ku? This may be being set via the RUBYOPT environment variable.

@ddebernardy
Copy link
Author

Not that I'm aware of. I'm kind of new to ruby, too, so please bear with me. :-P

DB:~ $ ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10]
DB:~ $ echo $RUBYOPT

(...)
>> pp $:
["/opt/local/lib/ruby1.9/site_ruby/1.9.1",
 "/opt/local/lib/ruby1.9/site_ruby/1.9.1/x86_64-darwin10",
 "/opt/local/lib/ruby1.9/site_ruby",
 "/opt/local/lib/ruby1.9/vendor_ruby/1.9.1",
 "/opt/local/lib/ruby1.9/vendor_ruby/1.9.1/x86_64-darwin10",
 "/opt/local/lib/ruby1.9/vendor_ruby",
 "/opt/local/lib/ruby1.9/1.9.1",
 "/opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10"]

@pixeltrix
Copy link
Contributor

Is this a self-compiled version of ruby or from a package manager like macports?

@ddebernardy
Copy link
Author

It was installed using macports like so:

port install ruby19 +nosuffix

@ghost ghost assigned pixeltrix Jul 4, 2011
@pixeltrix
Copy link
Contributor

Okay it looks as though the rails.gemspec doesn't clear the Gem::Specification#require_paths setting.

@pixeltrix
Copy link
Contributor

The builder errors are due to bad/no encoding on the files.

@ddebernardy
Copy link
Author

Re the builder errors, should I report it to them directly, or are you contributing to that project as well?

@pixeltrix
Copy link
Contributor

Please report them directly.

martinploeger pushed a commit to martinploeger/rails that referenced this issue Jul 4, 2011
RubyGems requires at least one require_path.

This reverts commit e7fc5d1.
@pburleson
Copy link

Since this has been reverted, I'd like to see this issue reopened. Although mine issue is with rails 3.0.10. I get the lib file not found. I've done everything I can find from Googling, and nothing appears to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants