Skip to content

Commit

Permalink
Merge pull request #16 from rchekaluk/master
Browse files Browse the repository at this point in the history
Minor adjustments needed to build and deploy from scratch
  • Loading branch information
aross committed Feb 11, 2013
2 parents ba15f5a + b80ef84 commit 850b602
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/deploy/staging.rb
Expand Up @@ -9,9 +9,13 @@
desc "Hook up staging symlinks"
task :symlinks do
run "ln -s #{current_release}/public/robots.txt.staging #{current_release}/public/robots.txt"
run "mv #{current_release}/vendor/plugins/acts_as_solr/solr #{current_release}/vendor/plugins/acts_as_solr/solr-notused"
run "ln -s #{deploy_to}/#{shared_dir}/solr #{current_release}/vendor/plugins/acts_as_solr/solr"
#run "mv #{current_release}/vendor/plugins/acts_as_solr/solr #{current_release}/vendor/plugins/acts_as_solr/solr-notused"
#run "ln -s #{deploy_to}/#{shared_dir}/solr #{current_release}/vendor/plugins/acts_as_solr/solr"
end

# NOOP for deploy:start and deploy:stop when using Passenger
task :start do ; end
task :stop do ; end
end

after "deploy:update_code", "deploy:symlinks"
Expand Down

0 comments on commit 850b602

Please sign in to comment.