ohadlevy/foreman — pull request #22 by joschi (2011-12-28 14:04:46+00:00)
Title: Ruby debug ruby19

Added conditional gem dependency declaration for `ruby-debug` and `ruby-debug19`.

`ruby-debug` doesn't work with Ruby 1.9 since it depends on `linecache` which depends on `rbx-require-relative` which requires Ruby 1.8.7.

This commit changes `Gemfile` so that in case of a running Ruby 1.8 Bundler will install `ruby-debug` like before and in case of a running Ruby 1.9 it will install `ruby-debug19` (which depends on `linecache19` which works on that Ruby version).