custom_require.rb:36:在`require':193:%1不是有效的Win32应用程序

时间:2012-06-09 16:48:11

标签: ruby-on-rails ruby

我刚刚使用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

关于如何解决这个问题的任何想法?

0 个答案:

没有答案