From: andy Date: 2006-11-28T08:05:06+09:00 Subject: Re: rubygems local install Further Problems with this topic... My initial effort involved a Debian machine that had the rubygems package previously installed. Thus I believe my success was a false positive. Repeating the process listed in on a ruby/rubygems "clean" Debian box, I consistently get the error... /home/andy/mystuff/bin/gem:9:in 'require': no such file to load -- rubygems (LoadError) from /home/andy/mystuff/bin/gem:9 I would interpret this as the ruby not finding the rubygems.rb file. However, I've followed the instructions precisely - several times. Unless I install the Debian package libgems-ruby1.8, I get this error. But this defeats the purpose of a user install ruby gems. Any thoughts on what I'm missing? Or misunderstanding? regards, Andy Koch andy wrote: > This is part question - part comment... > > I'm installing a local (non-root) gems. I've succeeded in doing this, > however I had a problem I thought I might bring to the attention of the > community. > > First.. installing on a Debian testing distro. Ruby installed via > apt-get. > > following these instructions.. > > > when doing install step.. (ruby setup.rb install) > > I kept getting a directory not found error related to line 71 of > "rubygems-0.9.0/post-install.rb". > > ( Dir.chdir("pkgs/sources") do ) > > when I changed this line to... > > ( Dir.chdir("/home/my_user/rubygems-0.9.0/pkgs/sources") do ) > > then it all worked. > > But I get real nervous when I need to change code like that, mostly for > future maintenance reasons. > > Am I doing something wrong? Is there a directory path I'm neglecting > to set properly? Or do other people also hack through this bit? > > Any help is much appreciated. > > Thank You, > > Andy Koch