Skip to content

Commit

Permalink
remove ruby-debug dependency because of awesome inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Mar 11, 2011
1 parent 30128eb commit d24ea85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gemspec
Expand Up @@ -14,7 +14,6 @@ Gem::Specification.new do |s|
s.rubyforge_project = 'tagaholic'
s.executables = ['ripl-debug']
s.add_dependency 'ripl', '>= 0.3.1'
s.add_dependency 'ruby-debug'
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
s.license = 'MIT'
Expand Down
13 changes: 11 additions & 2 deletions README.rdoc
Expand Up @@ -3,9 +3,13 @@ This ripl plugin automatically starts the debugger whenever an evaled input thro
The debugger is started at the source of the exception.

== Install
Install the gem with:
If on ruby 1.8, install the gem with:

gem install ripl-debug
gem install ripl-debug ruby-debug

If on ruby 1.9, install the gem with:

gem install ripl-debug ruby-debug19

== Usage

Expand All @@ -16,3 +20,8 @@ To debug some suspect code
This plugin can be turned off in the console at any time with:

>> Ripl.config[:debug] = false

== Limitations

This gem doesn't have ruby-debug as a dependency since ruby-debug is split across two gems
(ruby-debug and ruby-debug19), dependent on ruby versions. This gem will work with either one.

0 comments on commit d24ea85

Please sign in to comment.