Skip to content

Commit e671fec

Browse files
committed
Check early that $CONCURRENT_JRUBY_HOME is set
1 parent 98d0f16 commit e671fec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Rakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ namespace :release do
232232
# Depends on environment of @pitr-ch
233233

234234
task :checks do
235+
raise '$CONCURRENT_JRUBY_HOME must be set' unless ENV['CONCURRENT_JRUBY_HOME']
236+
235237
Dir.chdir(__dir__) do
236238
sh 'test -z "$(git status --porcelain)"' do |ok, res|
237239
unless ok
@@ -262,6 +264,8 @@ namespace :release do
262264

263265
desc '* test actual installed gems instead of cloned repository on MRI and JRuby'
264266
task :test do
267+
raise '$CONCURRENT_JRUBY_HOME must be set' unless ENV['CONCURRENT_JRUBY_HOME']
268+
265269
Dir.chdir(__dir__) do
266270
puts "Testing with the installed gem"
267271

0 commit comments

Comments
 (0)