`
samwalt
  • 浏览: 285524 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

rails2.3.3升级到3.0.7,`require': no such file to load -- script/../config/boot

    博客分类:
  • ruby
阅读更多
ruby 1.9.2
rails 2.3.3 -> 3.0.7

ruby script/server 启动应用
出现错误:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- script/../config/boot (LoadError)
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from script/server:2:in `<main>'


解决方法:
编辑script/server文件
require File.dirname(__FILE__) + '/../config/boot'

改成
require File.expand_path('../../config/boot', __FILE__)
分享到:
评论

相关推荐

    GitLab 极狐(gitlab-jh-14.8.1-jh.0.el7.x86_64.part2.rar)

    GitLab 极狐(gitlab-jh-14.8.1-jh.0.el7.x86_64.rpm)是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目。 适用于CentOS 7操作系统 GitLab...

    ruby186-26

    在本文中,我们将详细介绍如何在 Windows XP 操作系统上配置 Ruby 1.8.6 开发环境,包括安装 Ruby、Rails、SQLite3 驱动以及进行基本的测试。 首先,你需要访问 Ruby 语言的官方网站(http://www.ruby-lang.org)...

    GitLab 极狐(gitlab-jh-14.8.1-jh.0.el7.x86_64.part1.rar)

    GitLab 极狐(gitlab-jh-14.8.1-jh.0.el7.x86_64.rpm)是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目。 适用于CentOS 7操作系统 GitLab...

    Rails-doubletap-RCE:使用路径遍历(CVE-2019-5418)和Ruby对象反序列化(CVE-2019-5420)的Rails 5.2.2上的RCE

    Rails doubletap漏洞 使用路径遍历(CVE-2019-5418)和Ruby对象反序列化的RCE on Rails 5.2.2(CVE-2019-5420) 技术分析: CVE-2019-5418- CVE-2019-5420- //hackerone.com/reports/473888 安全部门: CVE-...

    rubyinstaller-devkit-3.0.0-1-x64.exe

    在实际开发中,Ruby和DevKit的组合还涉及到以下几个关键知识点: 1. **版本管理**:RubyInstaller支持多个版本的Ruby并行安装,可以通过RVM(Ruby Version Manager)或rbenv等工具进行版本切换,以适应不同的项目...

    Angle - Bootstrap Admin Template v3.3(卷1/3)

    Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ MeteorJS: https://45.55.64.191/ ReactJS: http://themicon.co/theme/angle/v3.3/reactjs/ 作者更新页面...

    Gitlab-CICD 安装配置

    gitlab_rails['gitlab_ssh_host'] = '192.168.1.128' gitlab_rails['gitlab_shell_ssh_port'] = 22 ``` 然后,我们需要重启 Gitlab 容器: ``` docker restart gitlab ``` Gitlab Runner 安装 在 Gitlab 安装...

    Angle - Bootstrap Admin Template v3.3(卷3/3 )

    Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ MeteorJS: https://45.55.64.191/ ReactJS: http://themicon.co/theme/angle/v3.3/reactjs/ 作者更新页面...

    Angle - Bootstrap Admin Template v3.3(卷2/3)

    Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ MeteorJS: https://45.55.64.191/ ReactJS: http://themicon.co/theme/angle/v3.3/reactjs/ 作者更新页面...

    gitlab安装1

    ./configure --disable-install-rdoc make && make install ln -s /usr/local/bin/ruby /usr/bin/ruby ln -s /usr/local/bin/gem /usr/bin/gem ln -s /usr/local/bin/bundle /usr/bin/bundle gem sources --...

    Angle Bootstrap Admin Template(2016-7月最新版V3.4)

    Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ MeteorJS: https://45.55.64.191/ ReactJS: http://themicon.co/theme/angle/v3.3/reactjs/

    Angle - Bootstrap Admin Template(2016年3月最新版V3.3)

    Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ MeteorJS: https://45.55.64.191/ ReactJS: http://themicon.co/theme/angle/v3.3/reactjs/ 作者更新页面...

    Angle - Bootstrap Admin Template(2016年6月最新版V3.4)part2

    Angle是一个后台管理模板,它也支持以下应用开发:...Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ ReactJS: http://themicon.co/theme/angle/v3.4/reactjs/

    Angle - Bootstrap Admin Template(2016年6月最新版V3.4)part3

    Angle是一个后台管理模板,它也支持以下应用开发:...Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ ReactJS: http://themicon.co/theme/angle/v3.4/reactjs/

    Angle - Bootstrap Admin Template(2016年6月最新版V3.4)part1

    Angle是一个后台管理模板,它也支持以下应用开发:...Ruby on Rails: https://angle-on-rails.herokuapp.com/ MeanJS: https://angle-on-mean.herokuapp.com/ ReactJS: http://themicon.co/theme/angle/v3.4/reactjs/

    Codeigniter Grid 使用方法 (flexigrid)

    Although I love CI, I’ve decided to move this thread to http://groups.google.com/group/flexigrid/ A more complete PHP example by Kevin Kietel : http://sanderkorvemaker.nl/test/flexigrid/ ...

    Ruby_On_Rails笔记

    在Rails项目目录下,可以通过运行“ruby script/server”(或更现代的命令如“rails server”或“rails s”)来启动内置的WEB服务器,这个服务器会监听一个端口,通常是3000,然后可以通过浏览器访问“***”来查看...

    linux下的redmine搭建.pdf

    3. 设置 Ruby 安装路径:cd ruby-1.8.7 && ./configure --prefix=/usr/local/ruby 4. 编译和安装 Ruby:make && make install 5. 设置环境变量:export PATH=/usr/local/ruby/bin:$PATH && source /etc/profile 二...

    2020_blogger:http://tutorials.jumpstartlab.comprojectsblogger.html --- https:www.theodinproject.comcoursesruby-on-railslessonsruby-on-rails-ruby-on-rails

    自述文件该自述文件通常会记录启动和运行应用程序所需的所有步骤。 您可能要讲的内容: Ruby版本系统依赖配置数据库创建数据库初始化如何运行测试套件服务(作业队列,缓存服务器,搜索引擎等) 部署说明...

    The rails4 way

    ### 关于《The Rails 4 Way》的知识点总结 #### 书籍概述 《The Rails 4 Way》是一本深入探讨Ruby on Rails 4框架特性的专业书籍,由Obie Fernandez、Kevin Faustino和Vitaly Kushner共同撰写。本书旨在为开发者...

Global site tag (gtag.js) - Google Analytics