{"action":"created","issue":{"url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/4","labels_url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/4/comments","events_url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/4/events","html_url":"https://github.com/morrislaptop/capistrano-gridserver/issues/4","id":112689086,"number":4,"title":"Linked files also causing problems","user":{"login":"sharpdot","id":63987,"avatar_url":"https://avatars.githubusercontent.com/u/63987?v=3","gravatar_id":"","url":"https://api.github.com/users/sharpdot","html_url":"https://github.com/sharpdot","followers_url":"https://api.github.com/users/sharpdot/followers","following_url":"https://api.github.com/users/sharpdot/following{/other_user}","gists_url":"https://api.github.com/users/sharpdot/gists{/gist_id}","starred_url":"https://api.github.com/users/sharpdot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharpdot/subscriptions","organizations_url":"https://api.github.com/users/sharpdot/orgs","repos_url":"https://api.github.com/users/sharpdot/repos","events_url":"https://api.github.com/users/sharpdot/events{/privacy}","received_events_url":"https://api.github.com/users/sharpdot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-21T22:06:11Z","updated_at":"2015-10-22T13:55:29Z","closed_at":null,"body":"Thanks for the gem! My issue is that on my install linked files are not being replaced and this caused the same problems as the linked dirs. If I fix it for the files I'll post the code for you to review."},"comment":{"url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/comments/150230659","html_url":"https://github.com/morrislaptop/capistrano-gridserver/issues/4#issuecomment-150230659","issue_url":"https://api.github.com/repos/morrislaptop/capistrano-gridserver/issues/4","id":150230659,"user":{"login":"sharpdot","id":63987,"avatar_url":"https://avatars.githubusercontent.com/u/63987?v=3","gravatar_id":"","url":"https://api.github.com/users/sharpdot","html_url":"https://github.com/sharpdot","followers_url":"https://api.github.com/users/sharpdot/followers","following_url":"https://api.github.com/users/sharpdot/following{/other_user}","gists_url":"https://api.github.com/users/sharpdot/gists{/gist_id}","starred_url":"https://api.github.com/users/sharpdot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharpdot/subscriptions","organizations_url":"https://api.github.com/users/sharpdot/orgs","repos_url":"https://api.github.com/users/sharpdot/repos","events_url":"https://api.github.com/users/sharpdot/events{/privacy}","received_events_url":"https://api.github.com/users/sharpdot/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T13:55:29Z","updated_at":"2015-10-22T13:55:29Z","body":"i ended up adding another loop to the gridserver.rake file and that worked. I'm not really a ruby developer so I'm sure there's a better way. This is what I added below the linked_dirs loop.\r\n```\r\n      next unless any? :linked_files\r\n      on release_roles :all do\r\n        fetch(:linked_files).each do |dir|\r\n          target = release_path.join(dir)\r\n          source = shared_path.join(dir)\r\n          relative = Pathname.new('../' * (dir.count('/') + 2)).join('shared').join(dir) # 2 for releases/timestamp\r\n          # added f flag to remove if exists\r\n          execute :ln, '-sf', relative, target\r\n        end\r\n      end\r\n```"}}