Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: apt-get versus gem

Caleb Marcus

2008-03-27

Replies: Find Java Web Hosting

Author LoginPost Reply
I don't know much about Ruby and gems, but I can tell you that I'm guessing that installing the "gem" is similar to installing a Python "egg." It's installing the Ruby module, but not installing the executable in the system path. I'd just use apt-get, if I were you.
On Thu, 2008-03-27 at 09:44 +0000, thufir wrote:
On Thu, 27 Mar 2008 09:21:28 +0000, thufir wrote:


> This is a relatively common package so is distributed through apt-get.
> Is there a problem with installing rake through rubygems?


Well, it doesn't even seem to install correctly through gems :(

Is this just an environment variable issue, that "rake" is unknown?



thufir@arrakis:~$ 
thufir@arrakis:~$ gem install rake
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - /var/lib/gems/1.8/cache/rake-0.8.1.gem
thufir@arrakis:~$ 
thufir@arrakis:~$ sudo gem install rake
Successfully installed rake-0.8.1
Installing ri documentation for rake-0.8.1...
Installing RDoc documentation for rake-0.8.1...
thufir@arrakis:~$ 
thufir@arrakis:~$ rake
The program 'rake' is currently not installed.  You can install it by 
typing:
sudo apt-get install rake
bash: rake: command not found
thufir@arrakis:~$ 
thufir@arrakis:~$ 
thufir@arrakis:~$ gem list --local --verbose

*** LOCAL GEMS ***

rake (0.8.1)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation
thufir@arrakis:~$ 
thufir@arrakis:~$ sudo gem list --local --verbose

*** LOCAL GEMS ***

rake (0.8.1)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation
thufir@arrakis:~$ 




thanks,

Thufir



Attachment: signature.asc (zipped)
--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.