hi there.

i'm new in ruby on rails.
i using kali linux , i complete the rbenv and all the gems installation.

now i create a demo and when i type this => rails server

i get this error =>



Error! You've somehow installed openssl from rubygems.org
Remove openssl from your Gemfile and delete it from your gems
/usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
`require': cannot load such file -- openssl (LoadError)
   from
/usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
`<top (required)>'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
`require'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
`<top (required)>'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
`require'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
`<top (required)>'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
`require'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
`<top (required)>'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
`require'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
`require_command!'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:73:in
`server'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in
`run_command!'
   from
/usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in
`<top (required)>'
   from bin/rails:4:in `require'
   from bin/rails:4:in `<main>'






anyone can help me please?

--
Posted via http://www.ruby-forum.com/.

--
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+unsubscribe@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/09e2e5e06e013c7a1d430113a39d13ba%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • James Jelinek (shakycode) at Jan 24, 2016 at 6:44 pm
    It’s telling you that you installed openssl installed as a gem which is a system binary and library. Remove that line from your Gemfile and run bundle again to rebuild your gemset. It should get rid of the error when launching rails server or rails s.

    -James
    On Jan 24, 2016, at 12:41 PM, Benyamin Pm wrote:

    hi there.

    i'm new in ruby on rails.
    i using kali linux , i complete the rbenv and all the gems installation.

    now i create a demo and when i type this => rails server

    i get this error =>



    Error! You've somehow installed openssl from rubygems.org
    Remove openssl from your Gemfile and delete it from your gems
    /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
    `require': cannot load such file -- openssl (LoadError)
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
    `<top (required)>'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
    `require'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
    `<top (required)>'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
    `require'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
    `<top (required)>'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
    `require'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
    `<top (required)>'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
    `require'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
    `require_command!'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:73:in
    `server'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in
    `run_command!'
    from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in
    `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'






    anyone can help me please?

    --
    Posted via http://www.ruby-forum.com/.

    --
    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+unsubscribe@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/09e2e5e06e013c7a1d430113a39d13ba%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    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+unsubscribe@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/ADBBB533-F071-40C4-9342-B9A6902D9B79%40gmail.com.
    For more options, visit https://groups.google.com/d/optout.
  • Benyamin Pm at Jan 24, 2016 at 6:57 pm
    hi james.
    thanks for your reply
    i uninstall openssl and type in treminal => bundle install

    openssl error is gone.

    but when i type this=> rails server
    again i get this=>
    /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
    `require': cannot load such file -- openssl (LoadError)
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in
    `<top (required)>'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
    `require'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:5:in
    `<top (required)>'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
    `require'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails.rb:11:in
    `<top (required)>'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
    `require'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:4:in
    `<top (required)>'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
    `require'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in
    `require_command!'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:73:in
    `server'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in
    `run_command!'
       from
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in
    `<top (required)>'
       from bin/rails:4:in `require'
       from bin/rails:4:in `<main>'

    --
    Posted via http://www.ruby-forum.com/.

    --
    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+unsubscribe@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/a153c43659556503e60aaa438e7a0d5e%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 24, '16 at 6:41p
activeJan 24, '16 at 6:57p
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase