Sha256: c4ccb27dc269fcdfaafaead2fa0e6ee03cd44353655611da08890db1d4989345

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

$: << "./ext/" << "./lib/"
path = File.expand_path(File.join(File.dirname(__FILE__), "ext/ray"))
our_path = File.expand_path(File.join(File.dirname(__FILE__), "spec_runner.rb"))

unless defined? Ray
  unless RUBY_PLATFORM =~ /darwin/
    require 'ray_ext'
  else
    if File.exist? path
      system "#{path} #{our_path}"
      exit $?.exitstatus
    else
      $stderr.puts "please build ray (rake ext)"
      exit 1
    end
  end
end

require 'ray'

require 'spec'
require 'spec/autorun'
Dir["spec/**/*_spec.rb"].each { |file| load file }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ray-0.0.0.pre1 spec_runner.rb