Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

unshift lib into load path

  • Loading branch information...
commit 71ac555fdfc77ec3493251f275feeceb79e1d43e 1 parent 6866088
Lee Jarvis authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 Rakefile
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.