File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,14 @@ def root
262
262
end
263
263
264
264
def system ( command )
265
- Kernel . system ( "#{ command } > /dev/null" ) or raise "command failed: #{ command } "
266
- end
265
+ if ENV [ "SPRING_DEBUG" ]
266
+ puts "$ #{ command } \n "
267
+ else
268
+ command = "#{ command } > /dev/null"
269
+ end
267
270
268
- def bundle
269
- return if @bundled
270
- application . bundle
271
- @bundled = true
271
+ Kernel . system ( command ) or raise "command failed: #{ command } "
272
+ puts if ENV [ "SPRING_DEBUG" ]
272
273
end
273
274
274
275
# Sporadic SSL errors keep causing test failures so there are anti-SSL workarounds here
@@ -312,10 +313,10 @@ def generate_if_missing
312
313
def install_spring
313
314
return if @installed
314
315
315
- system ( "gem build spring.gemspec 2>/dev/null " )
316
+ system ( "gem build spring.gemspec 2>&1 " )
316
317
application . run! "gem install ../../../spring-#{ Spring ::VERSION } .gem" , timeout : nil
317
318
318
- bundle
319
+ application . bundle
319
320
320
321
FileUtils . rm_rf application . path ( "bin" )
321
322
You can’t perform that action at this time.
0 commit comments