Commit 75d9282cac439ca22ecd96282448076a721066b1
1 parent
ad849213
Exists in
master
and in
1 other branch
Fixed mongoid indexes deploy task. [ci skip]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/deploy.example.rb
... | ... | @@ -61,7 +61,7 @@ end |
61 | 61 | namespace :db do |
62 | 62 | desc "Create the indexes defined on your mongoid models" |
63 | 63 | task :create_mongoid_indexes do |
64 | - run "bundle exec rake db:mongoid:create_indexes" | |
64 | + run "cd #{current_path} && bundle exec rake db:mongoid:create_indexes" | |
65 | 65 | end |
66 | 66 | end |
67 | 67 | ... | ... |