Traceback (most recent call last):
5: from C:/Ruby25-x64/bin/rails:23:in `<main>'
4: from C:/Ruby25-x64/bin/rails:23:in `load'
3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.2.2.1/exe/rails:10:in `<top (required)>'
2: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:34:in `require'
1: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in `require': cannot load such file -- rails/cli (LoadError)
我不确定是什么导致了此错误。在此之前,我遇到了关于铁路的错误,而我所做的是
gem uninstall railties
gem install railties
我尝试了捆绑安装,但没有任何改变。但是我捆绑了exec rails