{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/495","repository_url":"https://api.github.com/repos/thoughtbot/ember-cli-rails","labels_url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/495/comments","events_url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/495/events","html_url":"https://github.com/thoughtbot/ember-cli-rails/issues/495","id":182477584,"number":495,"title":"ember-welcome-page doesnt work with ember-cli-rails","user":{"login":"salmanasiddiqui","id":5300463,"avatar_url":"https://avatars.githubusercontent.com/u/5300463?v=3","gravatar_id":"","url":"https://api.github.com/users/salmanasiddiqui","html_url":"https://github.com/salmanasiddiqui","followers_url":"https://api.github.com/users/salmanasiddiqui/followers","following_url":"https://api.github.com/users/salmanasiddiqui/following{/other_user}","gists_url":"https://api.github.com/users/salmanasiddiqui/gists{/gist_id}","starred_url":"https://api.github.com/users/salmanasiddiqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salmanasiddiqui/subscriptions","organizations_url":"https://api.github.com/users/salmanasiddiqui/orgs","repos_url":"https://api.github.com/users/salmanasiddiqui/repos","events_url":"https://api.github.com/users/salmanasiddiqui/events{/privacy}","received_events_url":"https://api.github.com/users/salmanasiddiqui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T09:29:06Z","updated_at":"2016-10-25T00:07:50Z","closed_at":null,"body":"**Which operating system and version is the project developed on?**\r\nUbuntu 16.04\r\n\r\n**Which version of [`ruby`][ruby] is the project developed on?**\r\n2.3.1\r\n\r\n**Which version of [`npm`][npm] is the project developed on?**\r\n2.15.9\r\n\r\n**Which version of [`ember-cli`][ember-cli] is the project developed on?**\r\n2.8\r\n\r\n**What is the [`rails`][rails] version?**\r\n5.0.0.1\r\n\r\n**What is the [`ember-cli-rails`][gem] version (from `Gemfile`)?**\r\n0.8.1\r\n\r\n**What is the [`ember-cli-rails-addon`][addon] version (from `package.json`)?**\r\n0.8.0\r\n\r\n**Is your application server [multi-threaded][] (such as `puma` and `unicorn`) or is\r\nit multi-process (such as thin and webrick)?**\r\nmulti-threaded (puma)\r\n\r\n**What are the contents of `config/initializers/ember.rb`?**\r\n```\r\nEmberCli.configure do |c|\r\n  c.app :frontend\r\nend\r\n```\r\n\r\n**What are the contents of the Rails' view that renders the Ember application?**\r\nIts rails 5 api app, there is no rails view.\r\n\r\n**How are the EmberCLI-related routes defined?**\r\n`mount_ember_app :frontend, to: '/'`\r\n\r\n**How is the application deployed?**\r\nIssue on my local env\r\n\r\nI initialized ember project, run `rails server` and visited `localhost:3000`, a blank page was displayed. I visited `localhost:3000/tests` and that displayed a blank page aswell.\r\n\r\nBut if I run `ember server` within frontend directory and visit `localhost:4200` a welcome page is displayed. And visiting `localhost:4200/tests` displays ember test results.\r\n\r\nDoes this mean that some ember addons might not work with `ember-cli-rails`?\r\n\r\n[ruby]: https://www.ruby-lang.org/\r\n[node]: https://nodejs.org/en/\r\n[npm]: https://www.npmjs.com/\r\n[ember-cli]: http://ember-cli.com/\r\n[rails]: https://github.com/rails/rails\r\n[gem]: https://github.com/thoughtbot/ember-cli-rails\r\n[addon]: https://github.com/rondale-sc/ember-cli-rails-addon/\r\n[multi-threaded]: https://github.com/thoughtbot/ember-cli-rails/commit/ef0a49546a8c2e5fb0a298ba455fba97289065a1\r\n"},"comment":{"url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/comments/255900542","html_url":"https://github.com/thoughtbot/ember-cli-rails/issues/495#issuecomment-255900542","issue_url":"https://api.github.com/repos/thoughtbot/ember-cli-rails/issues/495","id":255900542,"user":{"login":"nruth","id":26158,"avatar_url":"https://avatars.githubusercontent.com/u/26158?v=3","gravatar_id":"","url":"https://api.github.com/users/nruth","html_url":"https://github.com/nruth","followers_url":"https://api.github.com/users/nruth/followers","following_url":"https://api.github.com/users/nruth/following{/other_user}","gists_url":"https://api.github.com/users/nruth/gists{/gist_id}","starred_url":"https://api.github.com/users/nruth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nruth/subscriptions","organizations_url":"https://api.github.com/users/nruth/orgs","repos_url":"https://api.github.com/users/nruth/repos","events_url":"https://api.github.com/users/nruth/events{/privacy}","received_events_url":"https://api.github.com/users/nruth/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T00:07:50Z","updated_at":"2016-10-25T00:07:50Z","body":"I don't think so, because it looks like it's not an ember addon, nor part of your ember application. It doesn't seem reasonable for ember-cli-rails to support it, because it's a deployment solution more than a development server – which ember-cli provides already.\r\n\r\nIf you explore https://github.com/ember-cli/ember-welcome-page you won't find many files that aren't project boilerplate. The main one seems to be https://github.com/ember-cli/ember-welcome-page/blob/master/index.js and [the commit history shows it used to be express js](https://github.com/ember-cli/ember-welcome-page/commit/00c0a2b568abd352456a0d5267e7a3053e9a69fe).\r\n\r\nIt looks like that page/addon is a simple webserver (think express.js or sinatra) rather than part of your ember app. It probably only works if you're running the `ember s` development server, and haven't started writing your app yet. ember-cli-rails is a deployment solution more than a development solution, so I wouldn't be surprised if this doesn't get supported. \r\n"}}
{"actor":{"display_login":"nruth"}}