Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the build.

  • Loading branch information...
commit a84f4d78589428033ede030bd0a316c98f2cf9a5 1 parent a2230ba
@jarib authored
View
4 Rakefile
@@ -1,9 +1,11 @@
require 'rubygems'
require 'rake'
-require File.expand_path("lib/celerity/version", File.dirname(__FILE__))
include Rake::DSL
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
Dir['tasks/**/*.rake'].each do |rake|
begin
load rake
View
4 lib/celerity.rb
@@ -1,5 +1,3 @@
-$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-
raise "Celerity only works on JRuby at the moment." unless RUBY_PLATFORM =~ /java/
require "java"
@@ -29,7 +27,7 @@ class << self
attr_accessor :index_offset
end
- DIR = File.expand_path(File.dirname(__FILE__) + "/celerity")
+ DIR = File.expand_path("../celerity", __FILE__)
end
require "celerity/version"
2  spec/watirspec
@@ -1 +1 @@
-Subproject commit 9dd787eea5e0f87dfe02bf2fce3d8d19013574d9
+Subproject commit f0b5706d7f6a60763a21e5db09cccdaa6cb47849
View
2  tasks/bundler.rake
@@ -1,2 +0,0 @@
-require 'bundler'
-Bundler::GemHelper.install_tasks
Please sign in to comment.
Something went wrong with that request. Please try again.