rvm + rails install ERROR: While executing gem (NoMethodError)undefined method `ord' for nil:NilClass

我与影子孤独终老i 提交于 2019-12-02 09:41:15
zazaalaza

Try:

gem update --system

You can also update your system that might solve your problem, see here.

I suppose the problem is that bundle is here /usr/bin/bundle. I am not 100% sure, but I think that gem install bundle will override the bundle in /usr/bin/bundle.

I am answering and accepting this question because someone may get help from this.

After investigating few days ( googling, creating new issue in rvm) I have found that it is a Ruby bug was fixed here

I had to upgrade ruby version to 2.1.7 to solve this issue.

You can get details from rvm issue tracker.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!