apt-get versus gem

thufir hawat.thufir at gmail.com
Thu Mar 27 09:44:41 UTC 2008


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





More information about the ubuntu-users mailing list