diff --git a/lib/easy-deployment/version.rb b/lib/easy-deployment/version.rb index 5d3fb26..0c142c9 100644 --- a/lib/easy-deployment/version.rb +++ b/lib/easy-deployment/version.rb @@ -1,5 +1,5 @@ module Easy module Deployment - VERSION = "0.6.0" + VERSION = "0.6.1" end end diff --git a/lib/easy/deployment/dbreference.rb b/lib/easy/deployment/dbreference.rb index 335cdd7..ba88424 100644 --- a/lib/easy/deployment/dbreference.rb +++ b/lib/easy/deployment/dbreference.rb @@ -10,8 +10,8 @@ when :latest then latest_release else raise ArgumentError, "unknown migration target #{migrate_target.inspect}" end - - run "cd #{directory} && RAILS_ENV=#{rails_env} #{fetch(:bundle_cmd, 'bundle')} exec rake reference:load" + + run "cd #{directory} && RAILS_ENV=#{rails_env} bundle exec rake easy:reference_data:refresh" end end