ruby1.8.7/rails2.3.11--启动报错"undefined method `source_index' for Gem:Module (NoMethodError)"
来源:互联网 发布:python cuda 安装 编辑:程序博客网 时间:2024/06/13 11:06
原因:报这个异常的原因是因为新版本的rubygems2.0.14已经移除了source_index这个方法,
所以会有异常
安装rubygems1.3.7版本
2安装rubygems1.3.7
rvm install rubygems 1.3.7 --force
0 0
- ruby1.8.7/rails2.3.11--启动报错"undefined method `source_index' for Gem:Module (NoMethodError)"
- `add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError) OR Gem.source_
- gem安装时出现 undefined method `size' for nil:NilClass (NoMethodError) 的解决办法
- NoMethodError: undefined method `visit' for RSpec(解决)
- NoMethodError:undefined method to_ISO8601 for nil:NilClass
- NoMethodError (undefined method `paginate'
- (Rails) : NoMethodError: undefined method cost' for BCrypt::Engine:Class
- cloud foundry vmc push应用时NoMethodError: undefined method `buildpack' for #<CFoundry::V1::App 'hello'
- Git Push问题remote: hooks/update:10 undefined method 'require_relative' for main:Object(NomethodError)
- Ruby1.8.7+Rails2.2环境搭建
- Gem.source_index is deprecated
- notification 报错the method build() is undefined for the type Notificatin.Builder
- The method findViewById(int) is undefined for the type FragmentHome报错
- android 6.0 The method sin(float) is undefined for the type FloatMath 报错
- The method getTextContent() is undefined for the type Node方法报错
- jenkins部署业务报错undefined method `chomp' for nil:NilClass
- 项目报错:The method getTextContent() is undefined for the type Node
- jfinal报错The method renderText(String) is undefined for the type HelloController
- eclipse调试java程序的九个技巧
- 使用ab对nginx进行压力测试
- Java____序列化private static final long serialVersionUID的作用
- 微信企业号开发:微信考勤2如何计算距离
- C#生成音频文件以及转换成需要的格式
- ruby1.8.7/rails2.3.11--启动报错"undefined method `source_index' for Gem:Module (NoMethodError)"
- Intent应用示例
- SVD奇异值分解
- Cent Os 7 下 nginx安装与配置
- ionic 项目分享【转】
- iOS应用程序生命周期(前后台切换,应用的各种状态)详解
- Linux: 学习如何制作RPM包, SPEC文件如何编写
- C语言课程设计之招生管理系统
- centos下载地址