carter 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/spec/spec_helper.rb +10 -0
- data/spec/support/active_record_helper.rb +1 -1
- metadata +3 -3
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
|
1
11
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
12
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'app'))
|
3
13
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
metadata
CHANGED