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

Deprecation Warnings with Rails 5.0.3 #17

Closed
jonmchan opened this issue May 17, 2017 · 1 comment
Closed

Deprecation Warnings with Rails 5.0.3 #17

jonmchan opened this issue May 17, 2017 · 1 comment

Comments

@jonmchan
Copy link

jonmchan commented May 17, 2017

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
Copy link
Owner

rivsc commented May 18, 2017

Seems to be a problem with less-rails (see : metaskills/less-rails#122 (comment))
You can temporary fix that with this fork of less-rails :

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

@rivsc rivsc closed this as completed May 18, 2017
@rivsc rivsc reopened this May 18, 2017
@rivsc rivsc closed this as completed Nov 21, 2017
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

2 participants