Permalink
Browse files

fix relative path of version to gem install dir

  • Loading branch information...
1 parent 2cd580c commit 0fcda2077a3763b2f21b057b9384d6dd47af9095 mguymon committed Sep 3, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 pom.xml
  2. +3 −3 src/main/ruby/solr_sail/version.rb
View
2 pom.xml
@@ -4,7 +4,7 @@
<groupId>com.tobedevoured</groupId>
<artifactId>solr_sail</artifactId>
- <version>0.0.3</version>
+ <version>0.0.4</version>
<packaging>jar</packaging>
<name>Solr Sail</name>
View
6 src/main/ruby/solr_sail/version.rb
@@ -1,8 +1,8 @@
module SolrSail
- # Load VERSION file to VERSION var
- if File.exists?( File.expand_path("#{File.dirname(__FILE__)}/../VERSION") )
- VERSION = IO.read(File.expand_path("#{File.dirname(__FILE__)}/../VERSION")).strip
+ # Load VERSION file from gem to VERSION var
+ if File.exists?( File.expand_path("#{File.dirname(__FILE__)}/../../VERSION") )
+ VERSION = IO.read(File.expand_path("#{File.dirname(__FILE__)}/../../VERSION")).strip
# VERSION file not found in gem dir, assume running from checkout
else

0 comments on commit 0fcda20

Please sign in to comment.