Skip to content

Commit d354b5f

Browse files
committed
Fix reference data load with non-standard bundle binary path
1 parent 72f1490 commit d354b5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/easy/deployment/dbreference.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
else raise ArgumentError, "unknown migration target #{migrate_target.inspect}"
1212
end
1313

14-
run "cd #{directory} && RAILS_ENV=#{rails_env} bundle exec rake reference:load"
14+
run "cd #{directory} && RAILS_ENV=#{rails_env} #{fetch(:bundle_cmd, 'bundle')} exec rake reference:load"
1515
end
1616
end
1717

0 commit comments

Comments
 (0)