Can't install rails with gem

joey@lab:~$ gem --version
1.2.0
joey@lab:~$ ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

When I run:
joey@lab:~$ gem install rails
ERROR: While executing gem ... (Errno::ENOENT)
    No such file or directory - /var/lib/gems/1.8/cache/rake-0.8.3.gem

google gives me a japanese blog
any ideas?

···

--
Posted via http://www.ruby-forum.com/.

Joey Marino wrote:

joey@lab:~$ gem --version
1.2.0
joey@lab:~$ ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

When I run:
joey@lab:~$ gem install rails
ERROR: While executing gem ... (Errno::ENOENT)
    No such file or directory - /var/lib/gems/1.8/cache/rake-0.8.3.gem

google gives me a japanese blog
any ideas?

o ya, ubuntu 8.10 intrepid ibex

···

--
Posted via http://www.ruby-forum.com/\.

try "sudo gem install rails" or fix access rights your local gem
repository

···

On Nov 21, 10:17 am, Joey Marino <joey.da...@gmail.com> wrote:

Joey Marino wrote:
> joey@lab:~$ gem --version
> 1.2.0
> joey@lab:~$ ruby --version
> ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

> When I run:
> joey@lab:~$ gem install rails
> ERROR: While executing gem ... (Errno::ENOENT)
> No such file or directory - /var/lib/gems/1.8/cache/rake-0.8.3.gem

> google gives me a japanese blog
> any ideas?

o ya, ubuntu 8.10 intrepid ibex
--
Posted viahttp://www.ruby-forum.com/.

Maksim Ananjev wrote:

try "sudo gem install rails" or fix access rights your local gem
repository

OMG duh! I am still getting used to this "no root account" thing

···

--
Posted via http://www.ruby-forum.com/\.

Joey Marino wrote:

Maksim Ananjev wrote:

try "sudo gem install rails" or fix access rights your local gem
repository

OMG duh! I am still getting used to this "no root account" thing

That's odd. My Ubuntu box (8.0.4, I think) installs the gem in "./gems"
if I forget to use sudo.

Though I actually wish it would just fail! Then I wouldn't be confused
when trying to figure out why a gem isn't showing up in the regular
directory.

···

--
Posted via http://www.ruby-forum.com/\.