Rails 新手提问,创建第一个 rails 程序出现的报错

robin · May 27, 2012 · Last by kenshin54 replied at May 27, 2012 · 3617 hits

binbindetp@ubuntu:~/rails_projects$ rails new first_app /home/binbindetp/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in to_specs': Could not find activesupport (>= 0) amongst [bundler-1.1.3, rake-0.9.2.2, rubygems-bundler-1.0.2, rvm-1.11.3.3] (Gem::LoadError) from /home/binbindetp/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:into_spec' from /home/binbindetp/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in gem' from /usr/share/rails-ruby1.8/railties/lib/rails_generator.rb:31:inrescue in ' from /usr/share/rails-ruby1.8/railties/lib/rails_generator.rb:27:in <top (required)>' from <internal:lib/rubygems/custom_require>:29:inrequire' from internal:lib/rubygems/custom_require:29:in require' from /usr/share/rails-ruby1.8/railties/bin/rails:14:in'

搜了半天也只在 stackoverflow 找到一个未解决的类似问题 附

binbindetp@ubuntu:~/rails_projects$ which bundle /home/binbindetp/.rvm/gems/ruby-1.9.2-p320@global/bin/bundle

这个激活请求解答

try this bundle install

You need to Sign in before reply, if you don't have an account, please Sign up first.