aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/breakpointing
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin/breakpointing')
-rw-r--r--railties/bin/breakpointing8
1 files changed, 1 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'