我尽可能地混淆了railsbricks (3.1.1)
设置,每当我在我的应用内部运行rails s
或rails -v
时,仍会遇到同样的错误:
/Users/swills/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'railties' (>= 0) among 8 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/swills/Documents/projects/thingybob/vendor/bundle/ruby/2.1.0', execute `gem env` for more information
from /Users/swills/.rvm/rubies/ruby 2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:324:in `to_spec'
from /Users/swills/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /Users/swills/.rvm/gems/ruby-2.1.5/bin/rails:22:in `<main>'
from /Users/swills/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
from /Users/swills/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
这只是我的railsbricks生成的应用程序内部。任何其他rails生成的应用都按预期运行rails s
和rails -v
。