diff options
Diffstat (limited to 'railties/bin')
-rw-r--r-- | railties/bin/breakpointing | 8 | ||||
-rw-r--r-- | railties/bin/breakpointing_for_gem | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/railties/bin/breakpointing b/railties/bin/breakpointing index a3e325fe04..4ac3e7c3c9 100644 --- a/railties/bin/breakpointing +++ b/railties/bin/breakpointing @@ -1,9 +1,3 @@ #!/usr/local/bin/ruby -begin - require 'rubygems' - require_gem 'rails' -rescue LoadError - require File.dirname(__FILE__) + '/../vendor/railties/lib/breakpoint' -end - +$LOAD_PATH << File.dirname(__FILE__) + '/../vendor/railties/lib' require 'breakpoint_client' diff --git a/railties/bin/breakpointing_for_gem b/railties/bin/breakpointing_for_gem new file mode 100644 index 0000000000..1366641582 --- /dev/null +++ b/railties/bin/breakpointing_for_gem @@ -0,0 +1,4 @@ +#!/usr/local/bin/ruby +require 'rubygems' +require_gem 'rails' +require 'breakpoint_client' |