Fixed webrat/core.rb to solve problem with Ubuntu, as documented here:

http://webrat.lighthouseapp.com/projects/10503/tickets/12-error-requiring-files-on-ubuntu

Fixes #808 (it really does this time!)
This commit is contained in:
bsag 2008-12-26 17:55:09 +00:00
parent b62cc03b78
commit 5c4d27e8cd

View file

@ -1,3 +1,3 @@
Dir[File.join(File.dirname(__FILE__), "core", "*.rb")].each do |file|
require File.expand_path(file)
%w{field form label link logging page select_option session}.each do |file|
require File.dirname(__FILE__) + "/core/#{file}"
end