Skip to content

Commit

Permalink
updated deprecated RAILS_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeremyanin committed May 9, 2011
1 parent d7a23ec commit 62edf8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/app_bootstrap.rake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace :app do
end
puts

mkdir_p File.join(RAILS_ROOT, 'log')
mkdir_p File.join(Rails.root, 'log')

Rake::Task['environment'].invoke
begin
Expand Down Expand Up @@ -111,7 +111,7 @@ namespace :app do
require 'highline'
require 'forwardable'
@terminal = HighLine.new
@app_name = File.basename(RAILS_ROOT).capitalize
@app_name = File.basename(Rails.root).capitalize
@restart = false
class << self
extend Forwardable
Expand Down

0 comments on commit 62edf8b

Please sign in to comment.