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:
parent
5ae593f10b
commit
9fe6d61b84
1 changed files with 7 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue