Rails server running error

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:inrequire_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:inrun_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:inrequire’
from bin/rails:4:in `’

anyone can help me please?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs