2010-04-21 6 views
5

Instalé Ruby a través de RubyInstaller 1.9.1 RC2 disponible en rubyforge, gemas actualizadas y rieles instalados. Todo funcionó bien usando webrick. Para divertirme, instalé mongrel usando "gem install mongrel". La instalación fue muy bien:Error al iniciar mongrel en Windows después de usar RubyInstaller 1.9.1 RC2

Successfully installed gem_plugin-0.2.3 
Successfully installed cgi_multipart_eof_fix-2.5.0 
Successfully installed mongrel-1.1.5-x86-mingw32 
3 gems installed 
Installing ri documentation for gem_plugin-0.2.3... 
Installing ri documentation for cgi_multipart_eof_fix-2.5.0... 
Installing ri documentation for mongrel-1.1.5-x86-mingw32... 
Updating class cache with 1162 classes... 
Installing RDoc documentation for gem_plugin-0.2.3... 
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0... 
Installing RDoc documentation for mongrel-1.1.5-x86-mingw32... 

Ahora, cuando inicio el servidor web usando "ruby script/server", me sale el error:

"El programa no se puede iniciar porque msvcrt-ruby18.dll es faltante en su computadora ".

Entonces, webrick se inicia y funciona normalmente.

Supongo que es un problema con Rails 1.9 y mongrel espera 1.8? (Soy nuevo en los rieles y no hay ninguna razón real para que use mongrel ... simplemente hurgando)

+1

he desinstalado 1,9 y 1.8.x instalado y todo funciona ahora. Dejaré esto abierto si alguien sabe si 1.9 no puede funcionar correctamente con mogrel. – ericvg

Respuesta

4

Debe usar Mongrel 1.2.0.pre2 cuando use Ruby 1.9. Si está actualizando a Ruby 1.9, también debe actualizar a Ruby 1.9.2 ya que Rails tiene problemas con Ruby 1.9.1.

de instalar sin bundler:

gem install mongrel --pre 

En su Gemfile:

gem 'mongrel', '1.2.0.pre2' 
Cuestiones relacionadas