rails root deprecated
This commit is contained in:
parent
7a15fa72ae
commit
f99b06a27a
|
@ -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
|
begin
|
||||||
require 'cucumber/rake/task'
|
require 'cucumber/rake/task'
|
||||||
|
|
Loading…
Reference in a new issue