I’m using RVM on my Ubuntu box. This way I can nicely install several Ruby and Rails versions next to each other. With Rails 3 however I had a little bit of trouble. When starting the server using
rails server
the server started fine, but as soon as I clicked “About your application’s environment”, I got this error on the console:
LoadError: no such file to load -- openssl
If you’re getting this too the first thing to check is whether these packages are installed:
- openssl
- libssl-dev
- libssl0.9.8
If they are and it anyway doesn’t work you want to go to the source code of your Ruby installation. In my case the source is in this path:
~/.rvm/src/ruby-1.8.7-p249
Now you cd to ext/openssl and run the following commands:
ruby extconf.rb make make install
After restarting WEBrick, everything was good:

For a more complete description on how to install Rails 3 on Ubuntu using RVM, checkout this blog post by Rohit Arondekar: Installing Rails 3.0 Beta 3 on Ubuntu using RVM
I'm a Software Developer, currently working at