Sha256: d1342d82f83156d7530e6929440d9ed051e0484142cc595a6785cd11e67e3ca0
Contents?: true
Size: 584 Bytes
Versions: 16
Compression:
Stored size: 584 Bytes
Contents
CASSANDRA_VERSION = ENV['CASSANDRA_VERSION'] || '0.8' unless defined?(CASSANDRA_VERSION) require 'test/unit' require "#{File.expand_path(File.dirname(__FILE__))}/../lib/cassandra/#{CASSANDRA_VERSION}" begin; require 'ruby-debug'; rescue LoadError; end begin @test_client = Cassandra.new('Twitter', 'localhost:9160', {:exception_classes => []}) rescue Thrift::TransportException => e #FIXME Make server automatically start if not running if e.message =~ /Could not connect/ puts "*** Please start the Cassandra server by running 'rake cassandra'. ***" exit 1 end end
Version data entries
16 entries across 16 versions & 4 rubygems