apt-get versus gem

Caleb Marcus caleb.marcus at gmail.com
Thu Mar 27 23:43:38 UTC 2008


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 at arrakis:~$ 
> thufir at 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 at arrakis:~$ 
> thufir at 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 at arrakis:~$ 
> thufir at 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 at arrakis:~$ 
> thufir at arrakis:~$ 
> thufir at 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 at arrakis:~$ 
> thufir at 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 at arrakis:~$ 
> 
> 
> 
> 
> thanks,
> 
> Thufir
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080327/ef0fcb9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080327/ef0fcb9d/attachment.pgp>


More information about the ubuntu-users mailing list