diff options
author | Luis Lavena <luislavena@gmail.com> | 2010-11-24 19:08:49 -0300 |
---|---|---|
committer | Luis Lavena <luislavena@gmail.com> | 2010-11-24 19:08:49 -0300 |
commit | 9bba03f6cd7978eb55d38b01f2a6060e956ad9d5 (patch) | |
tree | 1866cb25b1456642b51944c62329916188010481 /lib/rake/extensiontask.rb | |
parent | 68be722108da8befdc91519866c95227fff5c823 (diff) | |
download | rake-compiler-9bba03f6cd7978eb55d38b01f2a6060e956ad9d5.tar.gz |
fake.rb will not try to mimic Ruby's own fake to the letter
I tried to outsmart Ruby, but he is smarter than me. mkmf.rb gets
confused by CROSS_COMPILING definition.
Thanks goes to Aman Gupta for the debug.
Closes GH-28
Diffstat (limited to 'lib/rake/extensiontask.rb')
-rw-r--r-- | lib/rake/extensiontask.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb index aabe575..7b27583 100644 --- a/lib/rake/extensiontask.rb +++ b/lib/rake/extensiontask.rb @@ -376,7 +376,6 @@ Rerun `rake` under MRI Ruby 1.8.x/1.9.x to cross/native compile. def fake_rb(version) <<-FAKE_RB class Object - CROSS_COMPILING = RUBY_PLATFORM remove_const :RUBY_PLATFORM remove_const :RUBY_VERSION remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION) |