Talk:RubyGems

Added Instructions About the File
I had problems with the instructions which were resolved when I added a  file, as described in the forum: http://discussion.dreamhost.com/showflat.pl?Cat=&Board=forum_programming&Number=63139&page=0&view=collapsed&sb=5&o=14&part=1#Post64202 --Fortuity 15:24, 16 Dec 2006 (PST)

Added External Link
This tutorial (at another hosting provider) is very clear: * How To Install Your Own Gems for Rails

It might be helpful to borrow from it in rewriting the RubyGems page. --Fortuity 17:03, 19 Dec 2006 (PST)

Rubygems 0.9.4 install fails with permission errors.
fails with something like this:

setup.rb:633:in `initialize': Permission denied - /usr/lib/ruby/site_ruby/1.8/gemconfigure.r b (Errno::EACCES) from setup.rb:633:in `open' from setup.rb:633:in `install' from setup.rb:1377:in `install_files' from setup.rb:1376:in `each' from setup.rb:1376:in `install_files' from setup.rb:1350:in `install_dir_lib' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' ... 7 levels... from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578

the solution is to use:

ruby setup.rb install --prefix=$HOME

"can't instantiate uninitialized class"
I'm in a little over my head, so it's possible I've made some stupid mistake. However: even though all the installation steps seem to work (right down to "which gem; gem -v"), whenever I try to install a new gem I get the same error message that led me to install my own RubyGems system in the first place:

[whittier]$ gem install rfacebook Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (TypeError) can't instantiate uninitialized class

Any advice? Tlogmer 20:14, 26 October 2007 (PDT)

Added Unix account setup instructions
Hi guys, I just added some Unix account setup instructions...and I fixed all the errors I found in my submission..

I also condensed it slightly...

`require': no such file to load -- rubygems (LoadError)
With rubygems-1.3.1 running gem would always give me this error:

`require': no such file to load -- rubygems (LoadError)

The solution (for me anyway) was to first run:

ruby setup.rb config --prefix=$RUN

Followed by:

ruby setup.rb setup ruby setup.rb install

Then gem -v works as expected, etc. --Hishma 20:56, 1 February 2009 (UTC)