我使用Rails Composer创建了一个新的 Rails 应用程序,它能够查看所有项目文件。
但是,如果我启动 rails 服务器,我会收到以下错误 -
/Users/aniruddhabarapatre1/RubyRails/rails-bootstrap/config/application.rb:7:in `<top (required)>': uninitialized constant Bundler (NameError)
from /Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/aniruddhabarapatre1/.rvm/gems/ruby-2.0.0-p247@rails-bootstrap/gems/railties-4.0.3/lib/rails/commands.rb:74:in `block in <top (required)>'
from /Users/aniruddhabarapatre1/.rvm/gems/ruby-2.0.0-p247@rails-bootstrap/gems/railties-4.0.3/lib/rails/commands.rb:71:in `tap'
from /Users/aniruddhabarapatre1/.rvm/gems/ruby-2.0.0-p247@rails-bootstrap/gems/railties-4.0.3/lib/rails/commands.rb:71:in `<top (required)>'
from /Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from /Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from /Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from bin/rails:4:in `<main>'
我不确定我在这里缺少什么。我尝试通过查找错误来寻找解决方案,但没有成功。