# MacOS + darwinport + rubygems

**URL:** <https://www.ruby-forum.com/t/macos-darwinport-rubygems/101349>\
**Category:** Rails\
**Created:** [August 4, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/macos-darwinport-rubygems/101349 "2006-08-04T12:07:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetienne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jetienne](https://www.ruby-forum.com/u/jetienne)\
**Post date:** [August 4, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/macos-darwinport-rubygems/101349/1 "2006-08-04T12:07:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jetienne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jetienne](https://www.ruby-forum.com/u/jetienne)\
**Post date:** [August 4, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/macos-darwinport-rubygems/101349/2 "2006-08-04T14:42:14Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![jetienne](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jetienne](https://www.ruby-forum.com/u/jetienne)\
**Post date:** [August 4, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/macos-darwinport-rubygems/101349/3 "2006-08-04T18:54:43Z")

</div>

On 8/4/06, Mat S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](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
