Gemfile in activefacts-compositions-1.9.5 vs Gemfile in activefacts-compositions-1.9.6

- old
+ new

@@ -1,10 +1,12 @@ source 'https://rubygems.org' gemspec -if ENV['PWD'] =~ %r{\A#{ENV['HOME']}/work}i - $stderr.puts "Using work area gems for #{File.basename(File.dirname(__FILE__))} from activefacts-compositions" - gem 'activefacts-api', path: '../api' - gem 'activefacts-metamodel', path: '../metamodel' - gem 'activefacts-cql', path: '../cql' +this_file = File.absolute_path(__FILE__) +if this_file =~ %r{\A#{ENV['HOME']}}i + dir = File.dirname(File.dirname(this_file)) + $stderr.puts "Using work area gems in #{dir} from activefacts-compositions" + gem 'activefacts-api', path: dir+'/api' + gem 'activefacts-metamodel', path: dir+'/metamodel' + gem 'activefacts-cql', path: dir+'/cql' end