我是ruby on rails的新手我已经在Ubuntu 14.04上的rails 4.2上成功安装了ruby并创建了新应用程序但是当我启动服务器以查看它是否正在通过编写工作
rails server
我收到此错误消息
Could not find gem 'sass-rails (~> 5.0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
当我开始安装捆绑包时 我在bundle
之前得到了其他需要安装的软件包当我开始安装捆绑包时 我在bundle
之前得到了其他需要安装的软件包错误消息
Gem::RemoteFetcher::FetchError: Errno::EHOSTUNREACH: No route to host - connect(2) for "rubygems.global.ssl.fastly.net" port 443 (https://rubygems.org/gems/minitest-5.5.1.gem)
An error occurred while installing minitest (5.5.1), and Bundler cannot
continue.
Make sure that `gem install minitest -v '5.5.1'` succeeds before bundling.
安装minitest后运行bundle install
我收到此错误消息
Gem::RemoteFetcher::FetchError: Errno::EHOSTUNREACH: No route to host - connect(2) for "rubygems.global.ssl.fastly.net" port 443 (https://rubygems.org/gems/debug_inspector-0.0.2.gem)
An error occurred while installing debug_inspector (0.0.2), and Bundler cannot
continue.
Make sure that `gem install debug_inspector -v '0.0.2'` succeeds before
bundling.
并继续向我展示我需要在捆绑
之前安装的软件包答案 0 :(得分:1)
它表示您的软件包未安装。请从项目根目录中尝试bundle install
。