Permalink
Browse files

Fixed loading the Gemfile

Closes #6
  • Loading branch information...
1 parent 562cae9 commit c4f1380cf47da022122a676dd6d641685e4b1641 @koraktor committed Jun 9, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/metior.rb
View
@@ -5,9 +5,10 @@
require 'bundler'
-Bundler.setup
-
libdir = File.dirname(__FILE__)
+Dir.chdir libdir do
+ Bundler.setup
+end
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'core_ext/object'

0 comments on commit c4f1380

Please sign in to comment.