Skip to content
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

Templates not compiling at all without .jst extension #149

Open
enrique-ramirez opened this issue Apr 7, 2016 · 0 comments
Open

Templates not compiling at all without .jst extension #149

enrique-ramirez opened this issue Apr 7, 2016 · 0 comments

Comments

@enrique-ramirez
Copy link

Latest version (0.23.0) of this gem is broken in my environment ('rails', '~> 3.2.21').

Here's what I'm getting when attempting to run RAILS_ENV=development rake assets:precompile.

Digest::Digest is deprecated; use Digest
/Users/enriqueramirez/.rvm/rubies/ruby-2.1.8/bin/ruby /Users/enriqueramirez/.rvm/gems/ruby-2.1.8/bin/rake assets:precompile:all RAILS_ENV=development RAILS_GROUPS=assets
Digest::Digest is deprecated; use Digest
AssetSync: using /Users/enriqueramirez/Sites/wepow-app/config/initializers/asset_sync.rb
rake aborted!
NoMethodError: undefined method `assets' for #<Rails::Engine::Configuration:0x007fa7e5fc98a8>
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/railtie/configuration.rb:85:in `method_missing'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/handlebars_assets-0.23.0/lib/handlebars_assets/engine.rb:5:in `block in <class:Engine>'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in `instance_exec'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in `run'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in `each'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in `run_initializers'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/application.rb:136:in `initialize!'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/enriqueramirez/Sites/wepow-app/config/environment.rb:167:in `<top (required)>'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/activesupport-3.2.22.2/lib/active_support/dependencies.rb:251:in `require'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/activesupport-3.2.22.2/lib/active_support/dependencies.rb:251:in `block in require'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/activesupport-3.2.22.2/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/activesupport-3.2.22.2/lib/active_support/dependencies.rb:251:in `require'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/application.rb:103:in `require_environment!'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/railties-3.2.22.2/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/actionpack-3.2.22.2/lib/sprockets/assets.rake:93:in `block (2 levels) in <top (required)>'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/actionpack-3.2.22.2/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/enriqueramirez/.rvm/rubies/ruby-2.1...]
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/actionpack-3.2.22.2/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/actionpack-3.2.22.2/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/gems/actionpack-3.2.22.2/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/bin/ruby_executable_hooks:15:in `eval'
/Users/enriqueramirez/.rvm/gems/ruby-2.1.8/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

v0.22.0 works fine, though. I'm really unsure as to what the problem is, but let me know if I can give any more information to help out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant