emberjs / ember-rails

Ember for Rails 3.1+

Home Page:https://github.com/emberjs/ember-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Templates causing error when bootstrapping a Rails Engine

bcavileer opened this issue · comments

Rails.application does not exist in a Rails Engine. f174b19

This causes the following error when running rails g ember:bootstrap for an Engine.
NoMethodError: undefined method 'config' for nil:NilClass
from /home/benjamin/.rvm/gems/ruby-2.0.0-p645@holman_auth/gems/railties-3.2.22/lib/rails.rb:46:in 'configuration'

I'm not sure the best way to fix this problem or I would offer a fix