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:in `require'' 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:in `source_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:in `execute'' 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:in `invoke'' 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:in `run'' 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 -- Posted via http://www.ruby-forum.com/.
On Aug 4, 2006, at 6:07 AM, Jean-Etienne Durand wrote:> 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:in > `require'' > 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:in > `source_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:in > `execute'' > 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:in `invoke'' > 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:in > `run'' > 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 youYeah, 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 Schaffer <schapht@gmail.com> 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#page13strange, 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