-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server not serving assets as the current rack app does not match the Rails.application #15
Conversation
… as they can be different
I suspect this is okay. /cc @rwz |
That rack app hack should only happen in development. So my question would be why do you even have newrelic in development environment? I don't feel it's safe to assume that any rack server starting in dev environment is a rails app. I believe this patch will break more code than it'll fix. |
We generally use NewRelic in development to do some basic performance analysis. I can get away with not using it in development. However I still think we should put a warning or an error message if |
Please check the new version I've just released. This problem should be fixed :) |
Awesome dude, it is fixed now, thank you 😄 |
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmebrCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Depends on [rondale-sc/ember-cli-rails-addon#][#15]. Closes [#220]. Exposes new public methods for `EmberCLI::App`: * `#index_html` - return the EmberCLI generated `index.html` string * `#application_assets` - return the EmberCLI exposes app assets * `#vendor_assets` - return the EmberCLI exposes vendor assets Exposes new Rails helper: * `include_ember_index_html` - Renders the `index.html` inline. Replaces EmberCLI asset paths with Sprockets asset paths [#15]: rondale-sc/ember-cli-rails-addon#15 [#220]: #220
Removed an explicit check to compare a Rack app with Rails.application
I was having issue with using this gem with any application which has a NewRelic RPM gem
As NewRelic gem was overwriting the structure of the current Rack app in such a way that the current Rails was stored under app.target instead of app.
I think we can get away with just checking if we have a Rails.application defined as that give us enough surety that their is a Rails Application.
instead of