Permalink
Browse files

unshift lib into load path

  • Loading branch information...
1 parent 6866088 commit 71ac555fdfc77ec3493251f275feeceb79e1d43e Lee Jarvis committed Apr 29, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 Rakefile
View
@@ -1,10 +1,12 @@
+$:.unshift 'lib'
+
direc = File.dirname(__FILE__)
require 'rake/clean'
require 'rake/gempackagetask'
-require "#{direc}/lib/pry/version"
+require 'pry/version'
-CLOBBER.include("**/*.#{dlext}", "**/*~", "**/*#*", "**/*.log")
+CLOBBER.include("**/*~", "**/*#*", "**/*.log")
CLEAN.include("**/*#*", "**/*#*.*", "**/*_flymake*.*", "**/*_flymake", "**/*.rbc")
def apply_spec_defaults(s)
@@ -33,7 +35,6 @@ end
desc "run pry"
task :pry do
- $LOAD_PATH.unshift "#{direc}/lib"
require 'pry'
binding.pry
end

0 comments on commit 71ac555

Please sign in to comment.