Created
January 23, 2014 08:57
-
-
Save smoil/8575228 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :link_resque_web_assets do | |
assets_path = "vendor/bundle/ruby/1.9.1/gems/resque-*/lib/resque/server/public" | |
resque_release_path = "public/admin/resque" | |
queue! %{ | |
echo "-----> Linking resque-web assets" && ( | |
#{echo_cmd "mkdir -p ./#{resque_release_path}"} && | |
#{echo_cmd "ln -nfs ./#{assets_path}/* ./#{resque_release_path}"} | |
) | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this kinda works, just needs to work