{"action":"created","issue":{"url":"https://api.github.com/repos/meskyanichi/backup/issues/635","labels_url":"https://api.github.com/repos/meskyanichi/backup/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/meskyanichi/backup/issues/635/comments","events_url":"https://api.github.com/repos/meskyanichi/backup/issues/635/events","html_url":"https://github.com/meskyanichi/backup/issues/635","id":58092382,"number":635,"title":"Why is it not recommended to use this gem with bundler?","user":{"login":"groe","id":515293,"avatar_url":"https://avatars.githubusercontent.com/u/515293?v=3","gravatar_id":"","url":"https://api.github.com/users/groe","html_url":"https://github.com/groe","followers_url":"https://api.github.com/users/groe/followers","following_url":"https://api.github.com/users/groe/following{/other_user}","gists_url":"https://api.github.com/users/groe/gists{/gist_id}","starred_url":"https://api.github.com/users/groe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groe/subscriptions","organizations_url":"https://api.github.com/users/groe/orgs","repos_url":"https://api.github.com/users/groe/repos","events_url":"https://api.github.com/users/groe/events{/privacy}","received_events_url":"https://api.github.com/users/groe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-18T16:39:25Z","updated_at":"2015-02-19T16:05:59Z","closed_at":"2015-02-19T12:04:11Z","body":"I have read that the backup gem is an **application distributed as a gem**, but not a **library** - and therefore it is not recommended to use it in application `Gemfile`s with bundler.\r\n\r\nHowever, I could not find any reasoning about that. I am wondering why that is the case?\r\n\r\nMy use case: I have several independent web applications hosted on the same or different servers. Each of these applications is deployed with capistrano from a git repository, which is pretty much self-contained, e.g. the deployment script (re)starts background jobs and sets up cronjobs with `whenever`. Up to now I was doing backups with manually managed crontab entries and rsync, but now I am considering to use the backup gem for each of these applications via the `Gemfile` and to include it in the `whenever` schedules for each application individually. That way I would have all the app configuration, including backup settings and schedules, directly in the application repository itself.\r\n\r\nIs this considered a bad practice with the backup gem? If so, why?"},"comment":{"url":"https://api.github.com/repos/meskyanichi/backup/issues/comments/75078716","html_url":"https://github.com/meskyanichi/backup/issues/635#issuecomment-75078716","issue_url":"https://api.github.com/repos/meskyanichi/backup/issues/635","id":75078716,"user":{"login":"groe","id":515293,"avatar_url":"https://avatars.githubusercontent.com/u/515293?v=3","gravatar_id":"","url":"https://api.github.com/users/groe","html_url":"https://github.com/groe","followers_url":"https://api.github.com/users/groe/followers","following_url":"https://api.github.com/users/groe/following{/other_user}","gists_url":"https://api.github.com/users/groe/gists{/gist_id}","starred_url":"https://api.github.com/users/groe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groe/subscriptions","organizations_url":"https://api.github.com/users/groe/orgs","repos_url":"https://api.github.com/users/groe/repos","events_url":"https://api.github.com/users/groe/events{/privacy}","received_events_url":"https://api.github.com/users/groe/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:05:59Z","updated_at":"2015-02-19T16:05:59Z","body":"Thanks for clarifying that, @meskyanichi and @tombruijn! A few words about that in the docs (or even a link to this issue) could make that more obvious for others as well.\r\n\r\nSo I image a good setup could be like that: Install the backup gem in the `global` gemset of RVM, do *not* add it in individual project gemfiles but use the backup command in the projects `whenever` schedule anyway as it should be available from the global gemset, right?"}}