Debug Not Working After Upgrade To Ruby 1.9.3 And Rails 3.2.2

◇◆丶佛笑我妖孽 提交于 2020-01-15 11:36:49

问题


I have upgraded my app to use Ruby 1.9.3p0 and Rails 3.2.2. To get bundler working I changed this:

gem 'ruby-debug'

to this:

gem 'ruby-debug19'

Now rails server gives:

Could not find archive-tar-minitar-0.5.2 in any of the sources 
Run `bundle install` to install missing gems.

Running bundle install does not help. The error goes away when I remove ruby-debug19 gem from my Gemfile, but then debugging does away too.

I also tried changing the Gemfile to:

gem 'ruby-debug19', :require => 'ruby-debug'

No help. I'm kinda new to Rails, so maybe it's something obvious.


回答1:


I found the solution here.



来源:https://stackoverflow.com/questions/9571113/debug-not-working-after-upgrade-to-ruby-1-9-3-and-rails-3-2-2

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