File tree 5 files changed +26
-0
lines changed
5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ group :development, :test do
28
28
gem 'capybara'
29
29
gem 'annotate' , '>=2.5.0'
30
30
gem 'rubocop'
31
+ gem 'spring'
31
32
end
32
33
group :test do
33
34
gem 'webmock' #for testing http requests to pvoutput.org
Original file line number Diff line number Diff line change 205
205
tilt (>= 1.3.3 , < 2.1 )
206
206
slop (3.4.7 )
207
207
spork (1.0.0rc4 )
208
+ spring (1.3.6 )
208
209
sprockets (2.12.3 )
209
210
hike (~> 1.2 )
210
211
multi_json (~> 1.0 )
@@ -265,6 +266,7 @@ DEPENDENCIES
265
266
sdoc
266
267
slim
267
268
spork-rails !
269
+ spring
268
270
turbolinks
269
271
uglifier (>= 1.3.0 )
270
272
unicorn
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
+ begin
3
+ load File . expand_path ( "../spring" , __FILE__ )
4
+ rescue LoadError
5
+ end
2
6
APP_PATH = File . expand_path ( '../../config/application' , __FILE__ )
3
7
require_relative '../config/boot'
4
8
require 'rails/commands'
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
+ begin
3
+ load File . expand_path ( "../spring" , __FILE__ )
4
+ rescue LoadError
5
+ end
2
6
require_relative '../config/boot'
3
7
require 'rake'
4
8
Rake . application . run
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+
3
+ # This file loads spring without using Bundler, in order to be fast.
4
+ # It gets overwritten when you run the `spring binstub` command.
5
+
6
+ unless defined? ( Spring )
7
+ require "rubygems"
8
+ require "bundler"
9
+
10
+ if match = Bundler . default_lockfile . read . match ( /^GEM$.*?^ (?: )*spring \( (.*?)\) $.*?^$/m )
11
+ Gem . paths = { "GEM_PATH" => [ Bundler . bundle_path . to_s , *Gem . path ] . uniq }
12
+ gem "spring" , match [ 1 ]
13
+ require "spring/binstub"
14
+ end
15
+ end
You can’t perform that action at this time.
0 commit comments