Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 21, 2008 6:00 pm 
Offline
Newbie

Joined: Sat Jun 21, 2008 5:57 pm
Posts: 3
I am following the instructions here:
http://articles.slicehost.com/2007/11/2 ... ql-and-ror

and when I get to the point where I install rails using gem, I get the following:

xxxxxx@ubuntu:~$ sudo gem install rails
[sudo] password for xxxxx:
Bulk updating Gem source index for: http://gems.rubyforge.org/
ERROR: could not find rails locally or in a repository

some info on my current environment:

xxxxxx@ubuntu:~$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
xxxxxx@ubuntu:~$ gem -v
1.1.0
xxxxxx@ubuntu:~$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.0 (1.1.0)
- RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org


Last edited by vbfischer on Mon Jun 23, 2008 11:27 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sun Jun 22, 2008 11:39 am 
Offline
Senior Newbie

Joined: Sun Jun 22, 2008 11:35 am
Posts: 7
Try this just to see what output you get:
Code:
sudo gem sources

Code:
sudo gem search rails


Paste the output. Also see if rails has somehow gotten installed already:
Code:
rails -v


Top
   
 Post subject:
PostPosted: Sun Jun 22, 2008 12:28 pm 
Offline
Newbie

Joined: Sat Jun 21, 2008 5:57 pm
Posts: 3
Thanks for your reply. Here are the outputs:

vbfischer@ubuntu:~$ sudo gem install rails

Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating metadata for 13 gems from http://gems.rubyonrails.org/
.............
complete
ERROR: could not find rails locally or in a repository

vbfischer@ubuntu:~$ sudo gem sources
*** CURRENT SOURCES ***

http://gems.rubyforge.org
http://gems.rubyonrails.org
vbfischer@ubuntu:~$ sudo gem search rails

*** LOCAL GEMS ***


vbfischer@ubuntu:~$ rails -v
-bash: rails: command not found


Top
   
 Post subject:
PostPosted: Mon Jun 23, 2008 11:13 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 10:32 pm
Posts: 246
Location: NJ, USA
RubyGems 1.2.0 was released a few days ago:

http://rubyforge.org/forum/forum.php?forum_id=25353


Top
   
 Post subject:
PostPosted: Mon Jun 23, 2008 11:27 pm 
Offline
Newbie

Joined: Sat Jun 21, 2008 5:57 pm
Posts: 3
Well, gosh darn it! That did it. Thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group