dane28
(usa Debian)
Enviado em 17/11/2008 - 01:37h
Instalei o ruby on rails, mysql etc. crio um blog, só que quando vou acessar http://localhost:3000/, está dando erro e não sei o que pode ser. Abaixo está a mensagem que aparece no terminal.
dane28@dane28-desktop:~/blog$ script/server
=> Booting Mongrel (use ’script/server webrick’ to force WEBrick)
=> Rails 2.2.1 application starting on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/initializer.rb:256:in `require_frameworks’: no such file to load — openssl (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/initializer.rb:133:in `process’
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/initializer.rb:112:in `send’
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/initializer.rb:112:in `run’
from /home/reben/blog/config/environment.rb:13
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.1/lib/active_support/dependencies.rb:153:in `require’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.1/lib/active_support/dependencies.rb:515:in `new_constants_in’
… 22 levels…
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/commands/server.rb:49
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
from script/server:3
dane28@dane28-desktop:~/blog$