Closed dtognazzini closed 9 years ago
Duplicate of #210
Hi i also get the problem when try to precompile in development.
run RAILS_ENV=development rake assets:precompile
NoMethodError: undefined method `[]' for nil:NilClass
/Users/albert/.rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.6/lib/tasks/requirejs-rails_tasks.rake:101:in `block (3 levels) in <top (required)>'
@dtognazzini Could you try the master
branch? I already closed #210.
@chenxeed That's odd. Could you provide a sample Rails project so that I can reproduce?
Same bug as @chenxeed ! I reproduced the bug just by creating new project, adding requirejs gem then rake assets:precompile. here is a demo app : https://gitlab.com/medyo/demo-requirejs
Edit: the version 0.9.5 works fine
How about using semver?
@dtognazzini I've been working on cleaning up the codebase. When this happens, just file semantic versioning as a separate issue.
@chenxeed @medyo @dtognazzini Could you guys point your Gemfile
s to the master
branch and try again?
Thanks @carsomyr the master branch works perfectly.
I'll just add that I ran into the same issue and that using master
(specifically commit f1016f05fbd7baabb5feb198a7abb1a37441deae) worked for me as well.