On Sun, Nov 6, 2011 at 1:53 PM, Rob on the Rails <r...@entelecheia.com> wrote:
> Leonardo,
>
> Thank you for your suggestions. I just went through your instructions,
> de-installed ruby, installed the libraries, installed rvm and used rvm
> to install the latest version.
>
> But no luck I am afraid. The error message on starting rails server is
> exactly the same, as follows:
>
> $ rails server
> => Booting WEBrick
> => Rails 3.1.1 application starting in development on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> Exiting
> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:240:in `require': no such file to load
> -- openssl (LoadError)
>        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:240:in `block in require'
>        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:223:in `block in load_dependency'
>        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:640:in `new_constants_in'
>        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:223:in `load_dependency'
>        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/
> active_support/dependencies.rb:240:in `require'
>        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/session/
> cookie.rb:1:in `<top (required)>'
> ... etc.
>
> I really don't get this because when I do an: $ rvm requirements
>
> it tells me...
>
> Additional Dependencies:
> # For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
>  ruby: /usr/bin/apt-get install build-essential openssl libreadline6
> libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-
> dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev
> autoconf libc6-dev ncurses-dev automake libtool bison subversion
>
> I run the apt-get, before running rails, to ensure that all of these
> dependencies are loaded, but it still gives the error.
Did you install all the dependencies before you compiled Ruby?

>
> I can see that openssl is included. So why can't it find it?
The only thing I can think of is the dev files for openssl are either
not properly installed or installed on a non-standard place and you
have to specify the configure process where to find them before
compiling Ruby.
But all this sounds weird for me, since I've installed Ruby several
times on Debian-like distros with RVM (even when I'm not a Debian-like
user) and never had this issue.

If it's still not working, can you paste here where your openssl files
are located?

Cheers
-- 
Leonardo Mateo.
There's no place like ~

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to