From: Nikolay Pavlov Date: 2008-02-02T08:27:14+09:00 Subject: Re: Cannot run any gem as non-root user - freebsd 6.2 On Saturday 02 February 2008 00:37:39 Gordon Pedersen wrote: > On my freeBSD 6.2 laptop I recently installed ruby 1.8.6 and ruby gems > from ports.  Then (as root) used 'gem' to update itself and to install > rails.  All of this proceeded without error - although it took so long > I'd hate to have to repeat it. > > > # cd /usr/ports/lang/ruby18 > # make install > # cd /usr/ports/devel/ruby-gems > # make install > # gem update --system > # gem install cheat > # gem install rails > May i ask you what's the purpose of such self shooting command execution? The ruby-gems port is already the latest one. The rails port could be installed very easily. You can skip all those commands and execute just: cd /usr/ports/www/rubygem-rails ; make install clean The end. But i recommend to read this handbook chapter first: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ======================================================================