Sha256: 7ab9eefd47b2547443bfcd912b77efc45ca0a1834c35ed108be4e742b13256b3

Contents?: true

Size: 928 Bytes

Versions: 1

Compression:

Stored size: 928 Bytes

Contents

group :development do
  # pacer-* gems are required for testing pacer.
  # If you have the gem repos cloned locally, we'll use them.
  #
  [ 'pacer-titan', 'pacer-orient', 'pacer-dex' ].each do |lib|
    if File.directory? "../#{lib}"
      gem lib, :path => "../#{lib}" 
    end
  end

  # Neo4j versions are mutually incompatible
  # To test Pacer against Neo4j 1.x when the neo2 gem is present, use:
  #
  #   neo=1 bundle
  #   rspec
  #
  # To switch back, just use:
  #
  #   bundle
  #   rspec
  #

  neo_test_ver = ENV.fetch('neo') do
    if File.directory?("../pacer-neo4j2")
      '2'
    elsif File.directory?("../pacer-neo4j")
      '1'
    else
      '0'
    end
  end
  if neo_test_ver == '1'
    gem 'pacer-neo4j', :path => "../pacer-neo4j"
  elsif neo_test_ver == '2'
    gem 'pacer-neo4j2', :path => "../pacer-neo4j2"
  end

  if File.directory? "../mcfly"
    gem 'pacer-mcfly', :path => "../mcfly" 
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pacer-2.0.24-java Gemfile-custom.sample