You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/08/07 20:51:54 UTC

[whimsy] branch whimsy-nogem updated: Fingers crossed

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch whimsy-nogem
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/whimsy-nogem by this push:
     new 3954dc3  Fingers crossed
3954dc3 is described below

commit 3954dc374cd5d01320ddf61da0b8b011365e716b
Author: Sebb <se...@apache.org>
AuthorDate: Sat Aug 7 21:51:48 2021 +0100

    Fingers crossed
---
 lib/Rakefile            | 2 --
 lib/spec/spec_helper.rb | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Rakefile b/lib/Rakefile
index 6665d7f..5d632d8 100644
--- a/lib/Rakefile
+++ b/lib/Rakefile
@@ -1,5 +1,3 @@
-$LOAD_PATH.unshift __dir__
-
 require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new(:spec)
diff --git a/lib/spec/spec_helper.rb b/lib/spec/spec_helper.rb
index 44009d5..2c91c21 100644
--- a/lib/spec/spec_helper.rb
+++ b/lib/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-$LOAD_PATH.unshift '/srv/whimsy/lib'
+$LOAD_PATH.unshift File.expand_path('..', __dir__) # need relative path for Travis
 
 require 'whimsy/asf'
 require 'whimsy/asf/config' # must be loaded before updating config