我刚安装了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