Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Ubuntu Gutsy: Unable to install Rails- SOLVED

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> General Discussion
Author Message
vbfischer



Joined: 21 Jun 2008
Posts: 3

Posted: Sat Jun 21, 2008 5:00 pm    Post subject: Ubuntu Gutsy: Unable to install Rails- SOLVED  

I am following the instructions here:
http://articles.slicehost.com/2007/11/23/ubuntu-gutsy-mysql-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
Back to top  
cmelbye



Joined: 22 Jun 2008
Posts: 2

Posted: Sun Jun 22, 2008 10:39 am    Post subject:  

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
Back to top  
vbfischer



Joined: 21 Jun 2008
Posts: 3

Posted: Sun Jun 22, 2008 11:28 am    Post subject:  

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
Back to top  
tasaro



Joined: 15 Apr 2003
Posts: 125
Location: Manahawkin, NJ

Posted: Mon Jun 23, 2008 10:13 pm    Post subject:  

RubyGems 1.2.0 was released a few days ago:

http://rubyforge.org/forum/forum.php?forum_id=25353
Back to top  
vbfischer



Joined: 21 Jun 2008
Posts: 3

Posted: Mon Jun 23, 2008 10:27 pm    Post subject:  

Well, gosh darn it! That did it. Thanks.
Back to top  
 
       Linode.com Forum Forum Index -> General Discussion
Page 1 of 1