diff options
Diffstat (limited to 'activemodel/spec/spec_helper.rb')
-rw-r--r-- | activemodel/spec/spec_helper.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/activemodel/spec/spec_helper.rb b/activemodel/spec/spec_helper.rb new file mode 100644 index 0000000000..004fdfca07 --- /dev/null +++ b/activemodel/spec/spec_helper.rb @@ -0,0 +1,17 @@ +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
\ No newline at end of file |