Closed GoogleCodeExporter closed 9 years ago
Solution is to restructure gem in more standard way (i.e. add a lib directory).
As a
work around you could add something like
config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
File.directory?("#{dir}/lib") ? '' : dir
end
(adds the top level directory of every vendored gem to the load path unless it
contains a lib directory (which will already be added automagically)) to
environment.rb.
Original comment by pietro...@gmail.com
on 13 Jun 2008 at 4:32
Neater ...
config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/*"].reject {
|d| File.directory?("#{d}/lib")
}
Original comment by pietro...@gmail.com
on 13 Jun 2008 at 4:46
moved to http://jira.openqa.org/browse/WTR-393
Original comment by zeljko.f...@gmail.com
on 5 Nov 2009 at 12:04
Ticket moved to http://jira.openqa.org/browse/WTR. Please see comments for
the exact URL.
Original comment by zeljko.f...@gmail.com
on 20 Nov 2009 at 10:39
Original issue reported on code.google.com by
pietro...@gmail.com
on 13 Jun 2008 at 3:21