Skip to content

Commit

Permalink
use byebug
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Feb 1, 2015
1 parent 292d37c commit 6b80303
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -19,7 +19,7 @@ task :console, [:script] do |t,args|

require 'irb'
require 'latex/decode'

IRB.conf[:SCRIPT] = args.script
IRB.start
end
Expand Down
5 changes: 4 additions & 1 deletion features/support/env.rb
@@ -1,6 +1,9 @@
begin
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
case
when defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
require 'rubinius/debugger'
when RUBY_VERSION > '2.0'
require 'byebug'
else
require 'debugger'
end
Expand Down

0 comments on commit 6b80303

Please sign in to comment.