1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

unshift lib into load path

This commit is contained in:
Lee Jarvis 2011-04-29 16:13:44 +01:00
parent 6866088863
commit 71ac555fdf

View file

@ -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