1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix breakpointing by differenciating between gem and not

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2004-12-10 18:38:27 +00:00
parent 5ae593f10b
commit 9fe6d61b84

View file

@ -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'