less / more

less on rails — the official LESS plugin for Ruby on Rails
http://lesscss.org
MIT License
226 stars 41 forks source link

Use init.rb, not rails/init.rb #29

Open mperham opened 14 years ago

mperham commented 14 years ago

Rails 3.rc has deprecated rails/init.rb. You should update the root init.rb like so:

require File.join(File.dirname(__FILE__), 'lib', 'less', 'controller_extension') if Rails.env.development?

Please note RAILS_ENV is also deprecated.

grosser commented 14 years ago

fixed: http://github.com/grosser/more/tree/i29

brutuscat commented 13 years ago

Thanks for your branched fork, it stopped the deprecation warnings