Ruby on Rails新的应用程序错误:没有这样的文件加载

时间:2012-10-09 03:41:23

标签: ruby-on-rails ruby rubygems

我刚刚在Ubuntu 10.04上安装了Ruby,RubyGems和Rails。现在我尝试创建一个新的应用程序:

rails new blog

并返回错误:

run  bundle install
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- net/https (LoadError)
...
Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler 
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! 

1 个答案:

答案 0 :(得分:4)

尝试:

apt-get install libopenssl-ruby