mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
5dc3f91832
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
17 lines
No EOL
399 B
Ruby
17 lines
No EOL
399 B
Ruby
ENV['LOG_NAME'] = 'spec'
|
|
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'vendor', 'rspec', 'lib')
|
|
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
|
|
require 'active_model'
|
|
begin
|
|
require 'spec'
|
|
rescue LoadError
|
|
require 'rubygems'
|
|
require 'spec'
|
|
end
|
|
|
|
begin
|
|
require 'ruby-debug'
|
|
Debugger.start
|
|
rescue LoadError
|
|
# you do not know the ways of ruby-debug yet, what a shame
|
|
end |