Skip to content

Instantly share code, notes, and snippets.

@smoil
Created January 23, 2014 08:57
Show Gist options
  • Save smoil/8575228 to your computer and use it in GitHub Desktop.
Save smoil/8575228 to your computer and use it in GitHub Desktop.
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
@smoil
Copy link
Author

smoil commented Jan 23, 2014

this kinda works, just needs to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment