I have a Ruby on Rails application with Ruby 1.9.3p327 and Rails 3.2.11. I'm trying to use the Ruby-debugger plug-in for Sublime Text. I installed the "debugger" gem. There is no "ruby-debug19" gem in my project. Here is a snippet from my Gemfile.
group :development do
gem 'debugger'
end
My Gemfile.lock has:
debugger (1.6.1)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.2.3)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
When I try to start Webrick,
rails s -e development --debugger
an error is printed:
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
I read that this issue is caused by the "ruby-debug" gem, and the solution is to use the "debugger" gem instead, but it's exactly what I'm doing.