Hi,
I have just started to study Ruby on Rails, downloaded Ruby 1.8.7, and
compiled it from source, RubyGems 1.3.6, and ran “ruby setup.rb”, and
installed Rails by “sudo gem install rails”
But when I do the following steps:
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
I can’t get the web server to start
with the following message:
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
271:in `require_frameworks’: no such file to load – openssl
(RuntimeError)
Appreciate your help on this!
On Feb 26, 6:35 pm, lavezarez [email protected] wrote:
Hi,
I have just started to study Ruby on Rails, downloaded Ruby 1.8.7, and
compiled it from source, RubyGems 1.3.6, and ran “ruby setup.rb”, and
installed Rails by “sudo gem install rails”
It looks like you don’t have the openssl ruby extension. This is
probably because you didn’t have the openssl development headers
around when you built ruby. Once you’ve got those you should be able
to build the openssl extension (all the extensions are in the ext
folder inside the ruby source folder)
Fred
Frederick C. wrote:
On Feb 26, 6:35�pm, lavezarez [email protected] wrote:
Hi,
I have just started to study Ruby on Rails, downloaded Ruby 1.8.7, and
compiled it from source, RubyGems 1.3.6, and ran “ruby setup.rb”, and
installed Rails by “sudo gem install rails”
It looks like you don’t have the openssl ruby extension. This is
probably because you didn’t have the openssl development headers
around when you built ruby. Once you’ve got those you should be able
to build the openssl extension (all the extensions are in the ext
folder inside the ruby source folder)
Fred
you are correct, thanks for the advice. it is working now 