1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/spec_helper.rb

15 lines
263 B
Ruby
Raw Normal View History

2009-10-14 23:51:50 -04:00
begin
require 'spec'
rescue LoadError
require 'rubygems' unless ENV['NO_RUBYGEMS']
gem 'rspec'
require 'spec'
end
2009-11-14 00:05:52 -05:00
#
# $: is the load path $LOAD_PATH
#
2009-10-14 23:51:50 -04:00
$:.unshift(File.dirname(__FILE__) + '/../lib')
2009-11-14 00:05:52 -05:00
$:.unshift(File.dirname(__FILE__) + '/..')
2009-10-14 23:51:50 -04:00
require 'v8'