Permalink
Browse files

updated deprecated RAILS_ROOT

  • Loading branch information...
1 parent d7a23ec commit 62edf8b68c5ec91630c467e57d899ede250aa861 @dimko dimko committed May 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tasks/app_bootstrap.rake
@@ -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
@@ -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

0 comments on commit 62edf8b

Please sign in to comment.