MacOS + darwinport + rubygems

Hi,

Installing ruby (following wiki recommandations) with darwinport, I have
the following error when I want to install rails gem:

/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- sources (LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:462:in
sources' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:472:insource_index_hash’
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:436:in
install' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_commands.rb:258:inexecute’
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_commands.rb:220:in
execute' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command.rb:69:ininvoke’
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/cmd_manager.rb:117:in
process_args' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/cmd_manager.rb:88:inrun’
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_runner.rb:29:in `run’
from /opt/local/bin/gem:23

Any idea?

Thank you

On Aug 4, 2006, at 6:07 AM, Jean-Etienne D. wrote:

`require’
436:in
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/cmd_manager.rb:117:in
Thank you
Yeah, my buddy just ran into this. I think the build process for
rubygems 0.8.11 is broken in darwin ports. Go into /opt/local and do
‘find . -name setup.rb’ look for the rubygems’ setup.rb, and run that
as root. Refer to this page for install instructions: http://
www.rubygems.org/read/chapter/3#page13

If that still doesn’t work, just install rubygems from source using –
prefix=/opt/local and that should work fine too.
-Mat

On 8/4/06, Mat S. [email protected] wrote:

Yeah, my buddy just ran into this. I think the build process for
rubygems 0.8.11 is broken in darwin ports. Go into /opt/local and do
‘find . -name setup.rb’ look for the rubygems’ setup.rb, and run that
as root. Refer to this page for install instructions: http://
www.rubygems.org/read/chapter/3#page13

strange, on tuesday i setup a macbook pro on a fresh os install with
darwinports 1.3.1 (released on monday) and didn’t have any problems. i
did see that the rb-rubygems darwinport was rev’ed recently, perhaps
that issue was resolved?

regards,
jean-pierre

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs