rivsc / Beautiful-Scaffold

Rails generator for a complete and beautiful scaffold.
http://beautiful-scaffold.rivsc.ovh/
MIT License
74 stars 22 forks source link

Deprecation Warnings with Rails 5.0.3 #17

Closed jonmchan closed 7 years ago

jonmchan commented 7 years ago

After adding a beautifold-scaffold model, I get the following errors when starting rails s:

DEPRECATION WARNING: Sprockets method `register_engine` is deprecated.
Please register a mime type using `register_mime_type` then
use `register_compressor` or `register_transformer`.
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
 (called from block in <class:Railtie> at /home/jchan/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/less-rails-2.8.0/lib/less/rails/railtie.rb:16)
DEPRECATION WARNING: You are using the a deprecated processor interface Less::Rails::ImportProcessor.
Please update your processor interface:
https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors
rivsc commented 7 years ago

Seems to be a problem with less-rails (see : https://github.com/metaskills/less-rails/issues/122#issuecomment-264285405) You can temporary fix that with this fork of less-rails :

gem 'less-rails', git: 'https://github.com/Genkilabs/less-rails'