rails root deprecated

master
Espen Antonsen 2011-04-25 17:38:33 +08:00
parent 7a15fa72ae
commit f99b06a27a
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
$LOAD_PATH.unshift(RAILS_ROOT + '/vendor/plugins/cucumber/lib') if File.directory?(RAILS_ROOT + '/vendor/plugins/cucumber/lib')
$LOAD_PATH.unshift(Rails.root.to_s + '/vendor/plugins/cucumber/lib') if File.directory?(Rails.root.to_s + '/vendor/plugins/cucumber/lib')
begin
require 'cucumber/rake/task'