我刚刚在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!
答案 0 :(得分:4)
尝试:
apt-get install libopenssl-ruby