Skip to content

Commit

Permalink
Paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Weaver committed Jun 30, 2009
1 parent 429be79 commit d709f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cassandra_client.rb
@@ -1,7 +1,7 @@
require 'rubygems'
require 'thrift'

$LOAD_PATH << "#{File.dirname($0)}/../vendor/gen-rb"
$LOAD_PATH << "#{File.expand_path(File.dirname(__FILE__))}/../vendor/gen-rb"
require 'cassandra'

class CassandraClient
Expand Down
2 changes: 1 addition & 1 deletion test/cassandra_client_test.rb
@@ -1,6 +1,6 @@

require 'test/unit'
require "#{File.dirname($0)}/../lib/cassandra_client"
require "#{File.expand_path(File.dirname(__FILE__))}/../lib/cassandra_client"
require 'ruby-debug'

class CassandraClientTest < Test::Unit::TestCase
Expand Down

0 comments on commit d709f1b

Please sign in to comment.