我剛安裝了Rails 3.2.1用Ruby 1.9.3p0Rails的寶石發行
[email protected]:~$ gem list rails
*** LOCAL GEMS ***
rails (3.2.1)
$rails --version
給了我這個
/home/davesahil/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb:314:in `bin_path': can't find gem rails ([">= 0"]) with executable rails (Gem::GemNotFoundException)
from /home/davesahil/.rvm/gems/ruby-1.9.3-p0/bin/rails:19:in `<main>'
它已經有一段時間我在軌道上上次工作。我在這裏錯過了什麼嗎?
您是否安裝了捆綁器? 'gem install bundler'。 'rails new myproject'' bundle install' – 2012-02-20 22:17:12