Permalink
Browse files

Paths.

  • Loading branch information...
1 parent 429be79 commit d709f1b95c9cae3fcebb7d6eacc1633f102ef906 Evan Weaver committed Jun 30, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/cassandra_client.rb
  2. +1 −1 test/cassandra_client_test.rb
View
@@ -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
@@ -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

0 comments on commit d709f1b

Please sign in to comment.