@Walter - I have installed Ruby via the source compile method. I am using 
Ruby 2.1.1 and RubyGems 2.2.2

@all - I have just installed the package openssl-devel and re-compiled 
Ruby. This has gotten rid of the error relating to Open SSL. 
I am now getting a different error when I attempt to start the rails 
server. 

/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/jst_processor.rb:5:in
 
`<class:JstProcessor>': undefined method `default_mime_type=' for 
Sprockets::JstProcessor:Class (NoMethodError)
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/jst_processor.rb:4:in
 
`<module:Sprockets>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/jst_processor.rb:3:in
 
`<top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/engines.rb:3:in
 
`require'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/engines.rb:3:in
 
`<top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets.rb:44:in 
`require'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets.rb:44:in 
`<module:Sprockets>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets.rb:3:in 
`<top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/railtie.rb:5:in
 
`require'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/railtie.rb:5:in
 
`<top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:11:in 
`require'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:11:in 
`block in <top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:9:in 
`each'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:9:in 
`<top (required)>'
        from 
/root/Documents/ruby/rubyonrails/blog/config/application.rb:3:in `require'
        from 
/root/Documents/ruby/rubyonrails/blog/config/application.rb:3:in `<top 
(required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:74:in 
`require'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:74:in 
`block in <top (required)>'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in 
`tap'
        from 
/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in 
`<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'


Would anyone know what might be causing this and what I might have to do to 
resolve it?

Thanks,

Peter

On Thursday, 13 March 2014 10:17:04 UTC, Peter Heylin wrote:
>
> Hi, 
>
> My apologies if a similar topic exists already. I did search, but could 
> not find anything related to below.
>
> I am new to Ruby on Rails. I am currently setting up a Ruby on Rails 
> environment on a CentOS 6.4 64-bit server. 
> When I attempt to start the rails server, I get the following: 
>
>
> /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.3/lib/active_support/key_generator.rb:2:in
>  
> `require': cannot load such file -- openssl (LoadError)
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.3/lib/active_support/key_generator.rb:2:in
>  
> `<top (required)>'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:3:in
>  
> `require'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:3:in
>  
> `<top (required)>'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails.rb:9:in 
> `require'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails.rb:9:in `<top 
> (required)>'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:1:in 
> `require'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/all.rb:1:in 
> `<top (required)>'
>         from 
> /root/Documents/ruby/rubyonrails/blog/config/application.rb:3:in `require'
>         from 
> /root/Documents/ruby/rubyonrails/blog/config/application.rb:3:in `<top 
> (required)>'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:74:in
>  
> `require'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:74:in
>  
> `block in <top (required)>'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in
>  
> `tap'
>         from 
> /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/commands.rb:71:in
>  
> `<top (required)>'
>         from bin/rails:4:in `require'
>         from bin/rails:4:in `<main>'
>
> Would anyone have any advice or suggestions that might help to steer me in 
> the right direction with regard to resolving the above error. 
>
> Thanks in advance,
>
> Peter 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/73ed363d-8dc4-46d6-92a4-174768365701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to