我刚刚使用 Rails 安装程序安装了 rails。
当我运行以下代码时:
rails new blog
我收到以下错误:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/lib/rails/generators/app_base.rb:1:in `<top (required)>'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/lib/rails/generators/rails/app/app_generator.rb:1:in `<top (required)>
'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/lib/rails/commands/application.rb:24:in `<top (required)>'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/lib/rails/cli.rb:15:in `<top (required)>'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubyg
ems/custom_require.rb:36:in `require'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railt
ies-3.2.1/bin/rails:7:in `<top (required)>'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/bin/rails:19:in `load'
from F:/dev/ruby/RailsInstaller/Ruby1.9.3/bin/rails:19:in `<main>'
我在 ruby193 和 rails 3.2.1 上运行
关于如何解决这个问题的任何想法?