diff options
author | Chris Schlaeger <chris@linux.com> | 2014-08-15 21:23:03 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-08-15 21:23:03 +0200 |
commit | a7a6efc96a5656dee01885e6b51e3c42ede63022 (patch) | |
tree | 4aff0246a2b81dd922785bf6413fd0e80f733068 /Rakefile | |
parent | e3f780b87b99bcabc0017c8be86375c667489f02 (diff) | |
download | postrunner-a7a6efc96a5656dee01885e6b51e3c42ede63022.zip |
Fix spec tests.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,16 @@ require "bundler/gem_tasks" require "rspec/core/rake_task" +# Add the include path for the fit4ruby library. We assume it is located in +# the same directory as the postrunner directory. +fit4ruby = File.realpath(File.join(File.dirname(__FILE__), '..', + 'fit4ruby', 'lib')) +if ENV['RUBYLIB'] + ENV['RUBYLIB'] += ":#{fit4ruby}" +else + ENV['RUBYLIB'] = fit4ruby +end + RSpec::Core::RakeTask.new task :default => :spec |