{"action":"opened","issue":{"url":"https://api.github.com/repos/choonkeat/attache/issues/23","labels_url":"https://api.github.com/repos/choonkeat/attache/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/choonkeat/attache/issues/23/comments","events_url":"https://api.github.com/repos/choonkeat/attache/issues/23/events","html_url":"https://github.com/choonkeat/attache/issues/23","id":117857991,"number":23,"title":"Running attach as a gem: Issues with config files","user":{"login":"zamakkat","id":3934018,"avatar_url":"https://avatars.githubusercontent.com/u/3934018?v=3","gravatar_id":"","url":"https://api.github.com/users/zamakkat","html_url":"https://github.com/zamakkat","followers_url":"https://api.github.com/users/zamakkat/followers","following_url":"https://api.github.com/users/zamakkat/following{/other_user}","gists_url":"https://api.github.com/users/zamakkat/gists{/gist_id}","starred_url":"https://api.github.com/users/zamakkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamakkat/subscriptions","organizations_url":"https://api.github.com/users/zamakkat/orgs","repos_url":"https://api.github.com/users/zamakkat/repos","events_url":"https://api.github.com/users/zamakkat/events{/privacy}","received_events_url":"https://api.github.com/users/zamakkat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T16:59:50Z","updated_at":"2015-11-19T16:59:50Z","closed_at":null,"body":"I tried running attache as a gem and I found a few issues with that workflow. The main issue is that there is no distinction between current project files and attache generated files.\r\n\r\nAttache creates a few config files in the root of the project (`Procfile`, `config/puma.rb`...). However, if those files already exist (which is quite likely with a Rails app), attache just prints out a message like `Using Procfile` and tries to use the existing files - which probably are not compatible and attache fails.\r\n\r\nI think a solution would be either no namespace the files like `Procfile.attache` or create a separate `attache` folder with all the config files.\r\n\r\nAnother small issue is that the gem dependencies are constrained so I might have to downgrade some gems to use attache as a gem. Eg: Sidekiq `4.0`"}}