From: Douglas Tan Date: 2006-07-31T10:53:06+09:00 Subject: Unable to install Gems with RubyGems on Intel OSX with DarwinPorts ------=_Part_3097_28806437.1154310781806 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I followed Duncan Davidson's Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installation of 'rake' Local gem file not found: rake*.gem Attempting remote installation of 'rake' /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:204:in `report_activate_error': Could not find RubyGem sources (> 0.0.0) (Gem::LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:141:in `activate' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems .rb:37:in `require_gem_with_options' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:31:in `require_gem' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:425:in `sources' from /opt/local/lib/ruby/vendor_ruby/1.8/ rubygems/remote_installer.rb:435:in `source_index_hash' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:399:in ` install' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_commands.rb:195:in `execute' from /opt/local/lib/ruby/vendor_ruby/1.8/ rubygems/gem_commands.rb:153:in `execute' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command.rb:49:in `invoke' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/cmd_manager.rb:94:in `process_args' from /opt/local/lib/ruby/vendor_ruby/1.8/ rubygems/cmd_manager.rb:67:in `run' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_runner.rb:13:in `run' from /opt/local/bin/gem:17 Adding GEM_PATH and GEM_HOME variables to ~/.profile didnt work either: export PATH=/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:$PATH export RUBYLIB=/opt/local/lib/ruby/site_ruby/1.8:/opt/local/lib/ruby/1.8 export GEM_PATH=/opt/local/lib/ruby/gems/1.8 export GEM_HOME=/opt/local/lib/ruby/gems/1.8 Darwin Ports is installing ports in /opt/local/ Is there something I'm missing here? -- Practical_Guile << http://practicalguile.com Clever::Tagline::Pending ------=_Part_3097_28806437.1154310781806--