Permalink
Browse files

Removed load path

  • Loading branch information...
1 parent 68c4c4a commit d93edac909f786df4fccddcb8b7ae9fdd9f2fe71 @tj tj committed Mar 23, 2009
Showing with 4 additions and 5 deletions.
  1. +3 −2 Rakefile
  2. +0 −3 lib/dm-forms.rb
  3. +1 −0 spec/spec_helper.rb
View
@@ -2,9 +2,10 @@
require 'rubygems'
require 'rake'
require 'echoe'
-require './lib/dm-forms.rb'
+$:.unshift 'lib'
+require 'dm-forms'
-Echoe.new("dm-forms", DataMapper::Form::VERSION) do |p|
+Echoe.new "dm-forms", DataMapper::Form::VERSION do |p|
p.author = "TJ Holowaychuk"
p.email = "tj@vision-media.ca"
p.summary = "DataMapper model form generation"
View
@@ -21,9 +21,6 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#++
-$:.unshift File.dirname(__FILE__)
-
-require 'rubygems'
require 'extlib'
require 'dm-forms/version'
require 'dm-forms/core_ext'
View
@@ -1,4 +1,5 @@
+require 'rubygems'
require 'dm-forms'
require 'rspec_hpricot_matchers'

0 comments on commit d93edac

Please sign in to comment.