Hi Sean,
You're right, not a Rails issue. Since the less-rails version was unchanged, I assumed it was a problem with the Rails upgrade, and I was looking in the wrong place. But indeed, `bundle update rails` did also cause sprockets-rails to be updated too. Thanks for pointing me in the right direction, and sorry for the noise. Cheers, Yves-Eric On Tuesday, 26 January 2016 13:32:13 UTC+9, Sean Linsley wrote: > > Hi Yves-Eric, > > This probably isn’t the right place to point out that issue. Searching > around, I found these tickets: > > - https://github.com/rails/sprockets-rails/issues/289 > - https://github.com/rails/sprockets-rails/issues/237 > - https://github.com/rails/rails/issues/22647 > > It’d be better to investigate into those and other reports online, and if > needed create a ticket in the appropriate Github repo. > > Sean > > On Jan 25, 2016, at 10:24 PM, Yves-Eric <[email protected] <javascript:>> > wrote: > > Hi, > > > After upgrading from 4.2.4 to 4.2.5.1, I am getting this error on our CI > server, for 6 projects out of 10: > > $ bundle exec rake db:schema:load > rake aborted! > NoMethodError: method `register_preprocessor' for nil:NilClass > /home/rof/cache/bundler/ruby/2.1.0/gems/less-rails-2.7.0/lib/less/rails/railtie.rb:19:in > > `block in <class:Railtie>' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in > > `instance_exec' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in > > `run' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in > > `block in run_initializers' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in > > `run_initializers' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:352:in > > `initialize!' > /home/rof/src/ > github.com/mediweb/project_redacted/config/environment.rb:5:in `<top > (required)>' > /home/rof/cache/bundler/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in > > `require' > /home/rof/cache/bundler/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in > > `block in require' > /home/rof/cache/bundler/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in > > `load_dependency' > /home/rof/cache/bundler/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in > > `require' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:328:in > > `require_environment!' > /home/rof/cache/bundler/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:457:in > > `block in run_tasks_blocks' > Tasks: TOP => db:schema:load => environment > (See full trace by running task with --trace) > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
