diff --git a/readme.md b/readme.md index 827c801a8..c7bbd8b7d 100644 --- a/readme.md +++ b/readme.md @@ -48,11 +48,11 @@ might shed some light on why a gem dependency isn't working. ### Install Ruby Dependencies In this extension, we implement [ruby debug ide protocol](http://debug-commons.rubyforge.org/protocol-spec.html) to allow VS Code to communicate with ruby debug, it requires `ruby-debug-ide` to be installed on your machine. This is also how RubyMine/NetBeans does by default. -- If you are using JRuby or Ruby v1.8.x (`jruby`, `ruby_18`, `mingw_18`), run `gem install ruby-debug-ide`, the latest version is `0.6.0` -- If you are using Ruby v1.9.x (`ruby_19`, `mingw_19`), run `gem install ruby-debug-ide`, the latest version is `0.6.0`. Make sure `ruby-debug-base19x` is installed together with `ruby-debug-ide`. +- If you are using JRuby or Ruby v1.8.x (`jruby`, `ruby_18`, `mingw_18`), run `gem install ruby-debug-ide`. +- If you are using Ruby v1.9.x (`ruby_19`, `mingw_19`), run `gem install ruby-debug-ide`. Make sure `ruby-debug-base19x` is installed together with `ruby-debug-ide`. - If you are using Ruby v2.x - * `gem install ruby-debug-ide -v 0.6.0` - * `gem install debase -v 0.2.2` or higher versions + * `gem install ruby-debug-ide` + * `gem install debase` (or `gem install byebug`) ### Add VS Code config to your project Go to the debugger view of VS Code and hit the gear icon. Choose Ruby or Ruby Debugger from the prompt window, then you'll get the sample launch config in `.vscode/launch.json`. The sample launch configurations include debuggers for RSpec (complete, and active spec file) and Cucumber runs. These examples expect that `bundle install --binstubs` has been called.