{"action":"created","issue":{"url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/84","labels_url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/84/comments","events_url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/84/events","html_url":"https://github.com/rwz/ember-cli-rails/pull/84","id":57582373,"number":84,"title":"Support Gemfile in ember-cli application","user":{"login":"sevos","id":120079,"avatar_url":"https://avatars.githubusercontent.com/u/120079?v=3","gravatar_id":"","url":"https://api.github.com/users/sevos","html_url":"https://github.com/sevos","followers_url":"https://api.github.com/users/sevos/followers","following_url":"https://api.github.com/users/sevos/following{/other_user}","gists_url":"https://api.github.com/users/sevos/gists{/gist_id}","starred_url":"https://api.github.com/users/sevos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevos/subscriptions","organizations_url":"https://api.github.com/users/sevos/orgs","repos_url":"https://api.github.com/users/sevos/repos","events_url":"https://api.github.com/users/sevos/events{/privacy}","received_events_url":"https://api.github.com/users/sevos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-13T10:25:47Z","updated_at":"2015-02-13T18:54:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rwz/ember-cli-rails/pulls/84","html_url":"https://github.com/rwz/ember-cli-rails/pull/84","diff_url":"https://github.com/rwz/ember-cli-rails/pull/84.diff","patch_url":"https://github.com/rwz/ember-cli-rails/pull/84.patch"},"body":"Some EmberCLI addons require gems like compass or susy to be installed.\r\nThere is no need to have these gems in the rails project's Gemfile.\r\nThis pull request adds the support for Gemfile in the ember-cli\r\napplication's directory.\r\n\r\nTested with:\r\n\r\n  - rvm 1.26.10\r\n  - ruby 2.1.3\r\n  - rubygems 2.4.5\r\n\r\nCaveats:\r\n  - the ruby version in both ember-cli and rails applications must be\r\n  identical"},"comment":{"url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/comments/74305987","html_url":"https://github.com/rwz/ember-cli-rails/pull/84#issuecomment-74305987","issue_url":"https://api.github.com/repos/rwz/ember-cli-rails/issues/84","id":74305987,"user":{"login":"sevos","id":120079,"avatar_url":"https://avatars.githubusercontent.com/u/120079?v=3","gravatar_id":"","url":"https://api.github.com/users/sevos","html_url":"https://github.com/sevos","followers_url":"https://api.github.com/users/sevos/followers","following_url":"https://api.github.com/users/sevos/following{/other_user}","gists_url":"https://api.github.com/users/sevos/gists{/gist_id}","starred_url":"https://api.github.com/users/sevos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevos/subscriptions","organizations_url":"https://api.github.com/users/sevos/orgs","repos_url":"https://api.github.com/users/sevos/repos","events_url":"https://api.github.com/users/sevos/events{/privacy}","received_events_url":"https://api.github.com/users/sevos/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T18:54:50Z","updated_at":"2015-02-13T18:54:50Z","body":"yup, and on all dev machines of guys from my team (so far, one is on holiday). Tested on zsh and bash (with RVM only, no rbenv unfortunately). \r\n\r\nBundler uses the variable to select Gemfile to use. If the variable is not set it looks for the file in current directory (in that case is the rails' project directory, where you start the webserver) and sets the variable to point to the Gemfile in current directory, so subsequent bundler loads (in child processes for example) do not have to search for the Gemfile. In our case we need to override this variable when executing commands in ember-cli app context, so if it needs to load up some gems, it uses proper Gemfile."}}