正如Coursera.org上的课程所示,在安装rails时我使用了命令:rails server
并收到以下错误:
**C:\Ruby On Rails\test_install>rails server
C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/app_loader.rb:40:in `exec': No such file or directory - "C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/bin/ruby.exe" (Errno::ENOENT)
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/app_loader.rb:40:in `block in exec_app'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/app_loader.rb:35:in `loop'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/app_loader.rb:35:in `exec_app' from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/cli.rb:5:in `<top (required)>' from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.1/exe/rails:9:in `<top (required)>'
from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/bin/rails:22:in `load' from C:/Ruby On Rails/RailsInstaller/Ruby2.3.0/bin/rails:22:in `<main>'
C:\Ruby On Rails\test_install>**
我使用的是Windows 10。