Paul S.
Paul S.

Reputation: 4492

Ruby on Rails new application error: no such file to load

I just installed Ruby, RubyGems, and Rails on Ubuntu 10.04. Now I tried to create a new application:

rails new blog

and it returns an error:

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! 

Upvotes: 1

Views: 538

Answers (1)

Alcides Queiroz
Alcides Queiroz

Reputation: 9576

Try:

apt-get install libopenssl-ruby

Upvotes: 4

Related Questions