Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Getting unitialized constant error with middleman #83

Closed
itsthatguy opened this Issue Feb 9, 2013 · 3 comments

Comments

Projects
None yet
2 participants

I have two middleman projects using the same version of middleman, one is getting:

Uncaught Error: NameError: uninitialized constant #<Class:0x007fca5ad9eaa0>::HamlCoffeeAssets (in ~/.rbenv/versions/1.9.3-p362/lib/ruby/gems/1.9.1/gems/haml_coffee_assets-1.8.2/vendor/assets/javascripts/hamlcoffee.js.coffee.erb)

Ok, so I know that's not much context.

Gemfile

source :rubygems

gem "middleman", "3.0.6"

group :assets do
  gem 'haml_coffee_assets', "1.8.2"
  gem 'execjs'
end

application.js.coffee

#= require ./vendor/underscore-min
#= require ./vendor/backbone-min
#= require hamlcoffee
#= require_tree .
#= require_tree ./views
#= require_tree ./models
#= require_tree ./collections
#= require_tree ./routers
#= require_tree ./templates
Collaborator

netzpirat commented Feb 9, 2013

Can you please try the master branch?

group :assets do
  gem 'haml_coffee_assets', github: 'netzpirat/haml_coffee_assets'
end
Collaborator

netzpirat commented Feb 15, 2013

Closing since lack of response.

@netzpirat netzpirat closed this Feb 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment