Ruby 1.8.6 app无法启动(无法删除Object :: Helpers(NameError))

时间:2014-07-14 13:05:47

标签: ruby-on-rails ruby

在Windows Update自动服务器重启后,我们的Ruby dev应用程序将不再启动。存储库中没有新的更改。我不知道从哪里开始。任何人吗?

C:\webapp>ruby script/server -p3002
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3002
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3002
** Starting Rails with development environment...
GLoc v1.2 running in development mode. Strings can be modified at runtime.
Exiting
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in `remove_const': cannot remove Object::Helpers (NameError)
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in `send'
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in `remove_constant'
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:368:in `new_constants_in'
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:368:in `each'
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:368:in `new_constants_in'
        from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
        from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mongrel/rails.rb:147:in `rails'
        from C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:113:in `cloaker_'
         ... 19 levels...
        from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39
        from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

        from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/server:3

C:\webapp>

1 个答案:

答案 0 :(得分:0)

ODBC数据源以某种方式发生了某些事情。我们的ODBC数据源已经使用了64周,但是为了让应用程序再次运行,我必须使用C:\Windows\SysWOW64\odbcad32.exe创建一个32位数据源。