Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Can't install rails with gem

Reply
Thread Tools

Can't install rails with gem

 
 
Joey Marino
Guest
Posts: n/a
 
      11-21-2008
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/.

 
Reply With Quote
 
 
 
 
Joey Marino
Guest
Posts: n/a
 
      11-21-2008
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/.

 
Reply With Quote
 
 
 
 
Maksim Ananjev
Guest
Posts: n/a
 
      11-21-2008
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/.


 
Reply With Quote
 
Joey Marino
Guest
Posts: n/a
 
      11-21-2008
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/.

 
Reply With Quote
 
Michael Tomer
Guest
Posts: n/a
 
      11-21-2008
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/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gem 1.3.0, netbeans 6.1 "Missing the Rails gem" Pablo Q. Ruby 4 10-09-2008 04:12 AM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
gem.cmd install RMagick-win32-1.9.2-mswin32.gem: Buffer error Clifford Heath Ruby 7 06-09-2006 07:02 PM
[GEM PATCH] allow gem to install bin file to different location Ara.T.Howard Ruby 0 10-26-2005 11:52 PM
rails: gem install rails is bombing J. D. Ruby 9 11-04-2004 06:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57