diff options
Diffstat (limited to 'railties/bin')
-rw-r--r-- | railties/bin/breakpointing | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/bin/breakpointing b/railties/bin/breakpointing index a7c601f872..a3e325fe04 100644 --- a/railties/bin/breakpointing +++ b/railties/bin/breakpointing @@ -1,3 +1,9 @@ #!/usr/local/bin/ruby -require File.dirname(__FILE__) + '/../config/environment' +begin + require 'rubygems' + require_gem 'rails' +rescue LoadError + require File.dirname(__FILE__) + '/../vendor/railties/lib/breakpoint' +end + require 'breakpoint_client' |