Ruby on Rails - linecache error while trying to ' bundle install '

前端 未结 3 1383
面向向阳花
面向向阳花 2021-02-04 00:01

Hi I\'m trying to run bundle install on my windows machine it runs fine until it reaches the linecache and then spits out a huge error:

Fetching         


        
相关标签:
3条回答
  • 2021-02-04 00:35

    1.9.2-p136 + RVM. Worked using ruby-debug19 which installs linecache19 as a dependency:

    gem install ruby-debug19 -- --with-ruby-include=$rvm_path/src/ruby-1.9.2-p136/

    0 讨论(0)
  • 2021-02-04 00:38

    You should try installing linecache19 instead of linecache. The gem you are trying to install is incompatible with Ruby version 1.9.2.

    This is also suggested by the error message:

    Can't handle 1.9.x yet
    
    0 讨论(0)
  • 2021-02-04 00:49

    "debugger" gems has worked more flawless for me lately. I switched from ruby-debug19 to debugger which installs the dependencies without any hassle.

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