Ubuntu Gutsy: Unable to install Rails- SOLVED
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:
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
4 Replies
sudo gem sources
sudo gem search rails
Paste the output. Also see if rails has somehow gotten installed already:
rails -v
vbfischer@ubuntu:~$ sudo gem install rails
Bulk updating Gem source index for:
Updating metadata for 13 gems from
………….
complete
ERROR: could not find rails locally or in a repository
vbfischer@ubuntu:~$ sudo gem sources
*** CURRENT SOURCES ***
vbfischer@ubuntu:~$ sudo gem search rails
*** LOCAL GEMS ***
vbfischer@ubuntu:~$ rails -v
-bash: rails: command not found