cannot load such file — script/rails : Getting this error while remote debugging through RubyMine

前端 未结 2 1823
春和景丽
春和景丽 2020-11-27 20:39

I am getting following error while remote debugging through RubyMine IDE.

$ bundle exec rdebug-ide --port 1234 -- script/rails server
Fast Debugger (ruby-deb         


        
2条回答
  •  没有蜡笔的小新
    2020-11-27 21:13

    I already resolved this issue with help of @CrazyCoder by following all instructions he mentioned above in his answer.

    I am answering here just to account what worked for me so might be useful to community.

    Here is final entry of my Gem file

    gem 'linecache19', '0.5.13', :path => "~/.rvm/gems/ruby-1.9.3-p125/gems/linecache19-0.5.13"
    gem 'ruby-debug-base19x', '0.11.30.pre10'
    gem 'ruby-debug-ide', '0.4.17.beta9'
    

    Without :path for linecache19 I was getting following error.

    You have requested:
      linecache19 = 0.5.13
    
    The bundle currently has linecache19 locked at 0.5.12.
    Try running `bundle update linecache19`
    

提交回复
热议问题