Skip to content
This repository
Browse code

use yajl instead of gem name

  • Loading branch information...
commit 0ba9dde99770ba951a95c945835634b6cb6d7896 1 parent a8f6c16
Brian Lopez authored September 18, 2011

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  tasks/compile.rake
3  tasks/compile.rake
@@ -22,11 +22,10 @@ end
22 22
 Rake::Task[:spec].prerequisites << :compile
23 23
 
24 24
 file 'lib/yajl/yajl.rb' do |t|
25  
-  name = gemspec.name
26 25
   File.open(t.name, 'wb') do |f|
27 26
     f.write <<-eoruby
28 27
 RUBY_VERSION =~ /(\\d+.\\d+)/
29  
-require "#{name}/\#{$1}/#{name}"
  28
+require "yajl/\#{$1}/yajl"
30 29
     eoruby
31 30
   end
32 31
 end

0 notes on commit 0ba9dde

Please sign in to comment.
Something went wrong with that request. Please try again.