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

后端 未结 3 1123
[愿得一人]
[愿得一人] 2021-01-24 03:20
  • Ububtu 14.04
  • rvm 1.26.11
  • ruby 2.1.0p0

rvm list :

rvm rubies

=* ruby-2.1.0 [ x86_64 ]

# => - current
# =         


        
相关标签:
3条回答
  • 2021-01-24 03:51

    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.

    0 讨论(0)
  • 2021-01-24 03:58

    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.

    0 讨论(0)
  • 2021-01-24 04:05

    Try:

    gem update --system
    

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

    0 讨论(0)
提交回复
热议问题