• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

error trying to run bundle install: 'require': no such file to load — openssl (LoadError)

I just install Ruby 1.9.2, Rails 3.2.11, and rvm 1.17.8.

I'm trying to create a new Ruby-on-Rails web application. When I run the command 'rails new first_app', it seems to create the project files, but ultimately fails with the error 'require': no such file to load -- openssl (LoadError).

Then if I try to run 'bundle install' - I get the same error.

Any suggestions?

Thanks in advance, Tim
1 Solution
Mark GilbertSenior Performance EngineerCommented:
This is a shot in the dark but try this:

rvm package install openssl

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now