Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'boot-and-follow'

  • Loading branch information...
commit 146297723b73c92bfa93b28a8cb0b7cf3abb45b1 2 parents 3261e64 + 77d680f
xithan xithan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  wagn/lib/wagn/tasks/wagn.rake
3  wagn/lib/wagn/tasks/wagn.rake
View
@@ -66,7 +66,8 @@ namespace :wagn do
desc "set symlink for assets"
task :update_assets_symlink do
assets_path = File.join(Rails.public_path, "assets")
- if Rails.root.to_s != Wagn.gem_root and not (File.exists? assets_path or File.symlink? assets_path)
+ if Rails.root.to_s != Wagn.gem_root and not File.exists? assets_path
+ FileUtils.rm assets_path if File.symlink? assets_path
FileUtils.ln_s( Decko::Engine.paths['gem-assets'].first, assets_path )
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.