Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed load path

  • Loading branch information...
commit d93edac909f786df4fccddcb8b7ae9fdd9f2fe71 1 parent 68c4c4a
@tj tj authored
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
5 Rakefile
@@ -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
3  lib/dm-forms.rb
@@ -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  spec/spec_helper.rb
@@ -1,4 +1,5 @@
+require 'rubygems'
require 'dm-forms'
require 'rspec_hpricot_matchers'
Please sign in to comment.
Something went wrong with that request. Please try again.