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

no such file to load -- script/../config/boot (LoadError)

阅读更多

今天将ruby从1.8.6升级到1.9.2,但是启动rails项目时,却报出下面的错误:

 

no such file to load -- script/../config/boot (LoadError)

 

解决方法如下:

 

将script/server文件的第二行由原来的

 

require File.dirname(__FILE__) + '/../config/boot'

 

改为

 

require File.expand_path('../../config/boot', __FILE__)

 

即可。

分享到:
评论

相关推荐

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    Preparing to unpack .../libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libfont-afm-perl. Preparing to unpack .../libfont-...

    MS-DOS 5.0

    the DEVICE= commands to your CONFIG.SYS file and restarting your computer. 2.9 Incompatible Partition -------------------------- If you have a partition that is incompatible with MS-DOS 5.0, you ...

    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 ...

    uboott移植实验手册及技术文档

    退回 U-Boot根目录:#cd ../../ (4)建立编译选项 #vi Makefile smdk2410_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 fs2410_config : unconfig @$(MKCONFIG) $(@:_...

    i-vector的工具箱

    However, if the Distributed Computing Toolbox is not installed, Matlab automatically considers all parfor loops as for loops and there is no need to modify the tools. Matlab by default sets the ...

    uhdd.sys源码

    in CONFIG SYS or it can load later in AUTOEXEC BAT or by user command DOS can copy critical programs and data to the RAMdisk where they will be read or written at memory speed If loaded after ...

Global site tag (gtag.js) - Google Analytics