Skip to content

Commit

Permalink
Stub the old Compass::AppIntegration::Rails methods from a couple rel…
Browse files Browse the repository at this point in the history
…eases back. Closes CompassGH-2.
  • Loading branch information
chriseppstein committed Feb 1, 2012
1 parent 1a03160 commit 97c4001
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/compass/app_integration/rails.rb
Expand Up @@ -5,6 +5,14 @@ module Rails
def initialize!
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.initialize! from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
end
def root
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.root from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
::Rails.root
end
def env
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.env from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
::Rails.env
end
end
end
end

0 comments on commit 97c4001

Please sign in to comment.