{"action":"created","issue":{"url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/343","labels_url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/343/comments","events_url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/343/events","html_url":"https://github.com/RailsApps/rails_apps_composer/issues/343","id":110037053,"number":343,"title":"Set default version of gem in defaults file","user":{"login":"sonxurxo","id":66216,"avatar_url":"https://avatars.githubusercontent.com/u/66216?v=3","gravatar_id":"","url":"https://api.github.com/users/sonxurxo","html_url":"https://github.com/sonxurxo","followers_url":"https://api.github.com/users/sonxurxo/followers","following_url":"https://api.github.com/users/sonxurxo/following{/other_user}","gists_url":"https://api.github.com/users/sonxurxo/gists{/gist_id}","starred_url":"https://api.github.com/users/sonxurxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonxurxo/subscriptions","organizations_url":"https://api.github.com/users/sonxurxo/orgs","repos_url":"https://api.github.com/users/sonxurxo/repos","events_url":"https://api.github.com/users/sonxurxo/events{/privacy}","received_events_url":"https://api.github.com/users/sonxurxo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T15:34:12Z","updated_at":"2015-10-25T09:37:10Z","closed_at":null,"body":"How can I specify the default version of a gem in the defaults file?\r\n\r\nIt seems that i reads gems as individual strings, so I can't see the way to set something like\r\n\r\n```yml\r\ngems:\r\n- mysql2, '~> 0.3.18'\r\n```\r\nCurrently I have an issue with `Rails 4.1.2` and `mysql2 0.4.1`, and I like to switch back to a previous version of mysql2 gem with no luck. The same happens when trying to specify a github source for a gem.\r\n\r\nIs there a way to achieve this, or should I first create a template and modify it?"},"comment":{"url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/comments/150905307","html_url":"https://github.com/RailsApps/rails_apps_composer/issues/343#issuecomment-150905307","issue_url":"https://api.github.com/repos/RailsApps/rails_apps_composer/issues/343","id":150905307,"user":{"login":"vfonic","id":67437,"avatar_url":"https://avatars.githubusercontent.com/u/67437?v=3","gravatar_id":"","url":"https://api.github.com/users/vfonic","html_url":"https://github.com/vfonic","followers_url":"https://api.github.com/users/vfonic/followers","following_url":"https://api.github.com/users/vfonic/following{/other_user}","gists_url":"https://api.github.com/users/vfonic/gists{/gist_id}","starred_url":"https://api.github.com/users/vfonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vfonic/subscriptions","organizations_url":"https://api.github.com/users/vfonic/orgs","repos_url":"https://api.github.com/users/vfonic/repos","events_url":"https://api.github.com/users/vfonic/events{/privacy}","received_events_url":"https://api.github.com/users/vfonic/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T09:37:10Z","updated_at":"2015-10-25T09:37:10Z","body":"You could create a recipe instead of a gem. It's a bit of an overhead, but hey, no additional template editing. :)\r\n\r\nhttps://github.com/RailsApps/rails_apps_composer/blob/master/recipes/admin.rb#L12"}}