On Thu, Aug 28, 2008 at 3:39 AM, aa aa <[EMAIL PROTECTED]> wrote: > Ben Mabey wrote: >> aa aa wrote: >>> >>> what is going on here?! >>> It doesn't seem to be loading the plugin does it? >>> >> Please post a runner file, your spec helper, and a steps file. >> >> -Ben > > odd, i changed the line in the all.rb from >>Dir[File.expand_path("#{dir}/**/*.rb")].uniq.each do |file| > to >>Dir[File.expand_path("#{dir}/*.rb")].uniq.each do |file| > > and it worked....
That will only load .rb files that are in the same directory as the all.rb file. So it won't load things like stories/foo/thingy.rb or stories/foo/blah/thingy.rb. My guess is that is not what you want.This is assuming your all.rb file looked like: dir = File.dirname(__FILE__) Dir[File.expand_path("#{dir}/**/*.rb")].uniq.each do |file| require file end -- Zach Dennis http://www.continuousthinking.com http://www.mutuallyhuman.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users