undefined local variable or method `ember_app'
sobinsunny opened this issue · 3 comments
Thanks for opening this issue @sobinsunny.
Could you please provide more information by using the ISSUE_TEMPLATE?
I'm marking this issue as closed for the time being. If you could provide more information through the ISSUE_TEMPLATE
, I'd gladly reopen it.
@seanpdoyle Ya Sure
This is my code repo - github
I am using
- mber-cli: 2.9.1
- node: 7.4.0
- npm : 4.0.5
- ember-cli-rails: 0.8.3
- ember-cli-rails-addon" : 0.8.0
config/initializers/ember.rb?
EmberCLI.configure do |config|
config.app :frontend
end
Thanks for providing more information, and DOUBLE thanks for providing a link to a repository that reproduces your issues.
I've opened a pull request against your sample app to demonstrate how to resolve some of its issues.
This particular part is most relevant to this issue:
The original error in thoughtbot/ember-cli-rails#509:
undefined local variable or method `ember_app`
is likely due to an out of date gem version.
This project specifies ember-cli-rails@0.8.3
, so the ember_app
helper method is no longer invoked from the
app/views/ember_cli/ember/show.html.erb
template, since it
was removed in the 0.8.0
release.
The issue could be resolved by refreshing the project's gems and
ensuring that at least ember-cli-rails@0.8.0
is specified.
I'm closing this issue for now. If you continue to experience it, please reopen.