Talk:RubyGems
From DreamHost
Contents |
Added Instructions About the .gemrc File
I had problems with the instructions which were resolved when I added a .gemrc 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.
ruby setup.rb install 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)

