Commit ba80c1bdcbe8f023c45ece66adc3dba9cb98c069

auto-install the debugger extensions, so you can invoke "rdebug -s" and "rdebug -c" outside of the bundle and still use it in textmate

Commit diff

Support/lib/ruby_amp/remote_debugger.rb

 
3636 # create a file that will set our breakpoint for us
3737 File.open(RUN_FILE, 'wb') do |f|
3838 f.puts <<-EOF
39 load #{File.join(ENV['TM_BUNDLE_SUPPORT'], '/ext/debugger_extension.rb').inspect}
39 require #{File.join(ENV['TM_BUNDLE_SUPPORT'], '/ext/debugger_extension.rb').inspect}
4040 Debugger.start
4141 Debugger.settings[:autoeval]=1
4242 Debugger.settings[:autolist]=1
8686 end
8787
8888 def evaluate(cmd, binding = :current, format = :raw)
89 command("e require #{File.join(ENV['TM_BUNDLE_SUPPORT'], '/ext/debugger_extension.rb').inspect}")
8990 o = command("e Debugger.evaluate(#{cmd.inspect}, :#{binding}, :#{format})")
9091 eval(o)
9192 rescue Exception
toggle raw diff