Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

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

Open
mperham opened this issue Aug 12, 2010 · 2 comments
Open

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

mperham opened this issue Aug 12, 2010 · 2 comments

Comments

@mperham
Copy link

mperham commented Aug 12, 2010

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

grosser commented Aug 13, 2010

@brutuscat
Copy link

Thanks for your branched fork, it stopped the deprecation warnings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants