rails server error -
hey guys got error rails server, can tell what's problem? thanks
root@makserver:/usr/local/apps/homeland# rails s /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic/crypto_providers/aes256.rb:1:in `require': no such file load -- openssl (loaderror) /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic/crypto_providers/aes256.rb:1:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic.rb:59:in `require' /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic.rb:59:in `block in <top (required)>' /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic.rb:6:in `each' /usr/local/lib/ruby/gems/1.9.1/bundler/gems/authlogic-6e2745b/lib/authlogic.rb:6:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `block (2 levels) in require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `block in require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler.rb:120:in `require' /usr/local/apps/homeland/config/application.rb:9:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:28:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:28:in `block in <top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in `tap' /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in `<top (required)>' script/rails:6:in `require' script/rails:6:in `<main>'
install openssl dependency
on ubuntu
sudo apt-get install libopenssl-ruby
Comments
Post a Comment