Ruby crashes on windows

后端 未结 4 1844
予麋鹿
予麋鹿 2021-01-12 11:27

I\'m facing same problem described here: why-rails-fails-with-ruby-exe-has-encountered-a-problem-and-needs-to-close. that is ruby get crashed with following error:



        
相关标签:
4条回答
  • 2021-01-12 11:53

    ... except the installer is now ALSO the crashing 1.9.2-p290

    Workaround:

    Add (or change)

    config.log_level = :warn

    in config/environments/development.rb

    (not my solution - found it in another thread)

    0 讨论(0)
  • 2021-01-12 11:53

    i got the same crashes on windows 7 with 1.9.2-p290. someone said to clear development.log file. i can't believe but after deleting my 12mb development.log everything works fine.

    0 讨论(0)
  • 2021-01-12 11:56

    it is possible that a native (C) extension is failing and bringing the whole ruby down; in my case it was sql server adapter looping indefinitely/using whole heap; after we traced and fixed the bug in the adapter (https://github.com/rails-sqlserver/tiny_tds/pull/124) it does not fail again

    0 讨论(0)
  • 2021-01-12 12:12

    Running 1.9.2 on windows puts you in a REALLY small minority of users. If you don't have an explicit need for 1.9, I'd use 1.8.7. Specifically, I'd use the package from RailsInstaller: http://railsinstaller.org/

    0 讨论(0)
提交回复
热议问题