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:
parent
6866088863
commit
71ac555fdf
1 changed files with 4 additions and 3 deletions
7
Rakefile
7
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue