`
jsntghf
  • 浏览: 2559926 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

no such file to load -- test/unit/error (MissingSourceFile)

阅读更多

ruby版本升级到1.9.2,rails使用2.2.2版,启动出现以下错误:

 

no such file to load -- test/unit/error (MissingSourceFile)

 

这是因为ruby1.9.2与rails2.2.2并不是一个兼容的组合,从rails2.3开始,才完全支持ruby1.9,而且rails2.2.2还存在一系列的安全问题。

 

所以,你可以将rails的版本升级到2.3.5,它完全兼容ruby1.9,而且解决了大部分的安全问题。或者,你也可以将ruby的版本降到1.8.7。这样,就不会再报这个错了。

分享到:
评论

相关推荐

    Senfore_DragDrop_v4.1

    Field test 5, released 16-dec-2001 ?1997-2001 Angus Johnson & Anders Melander http://www.melander.dk/delphi/dragdrop/ ------------------------------------------- Table of Contents: ------------------...

    acpi控制笔记本风扇转速

    Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the AcpiHwInitialize function - the FADT registers are now validated when the table is loaded. Added two new warnings during FADT ...

    C 语言编缉神经网络工具

    All you have to do is run "demo.bat" in order to both train and test the batchnet artificial neural network on the patterns in the train.pat and test.pat files. These pattern files are built from ...

    微软内部资料-SQL性能优化3

    Prior to delivering this material, test the class to see if they fully understand the different isolation levels. If the class is not confident in their understanding, review appendix A04_Locking and ...

    uhdd.sys源码

    no cache or diskettes can be used in test or diagnostic work and takes 3664 bytes of upper DOS memory If its N2 switch is given UIDE will omit all CD DVD logic saving 1744 bytes Its "CD DVD&...

Global site tag (gtag.js) - Google Analytics