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 | |
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
-rw-r--r-- | History.txt | 1 | ||||
-rw-r--r-- | lib/rake/extensiontask.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/History.txt b/History.txt index f6a4076..6b4e178 100644 --- a/History.txt +++ b/History.txt @@ -2,6 +2,7 @@ * Bugfixes: * Generate a fake.rb compatible with Ruby 1.9.2. Closes GH-25 + * fake.rb will not try to mimic Ruby's own fake to the letter. Closes GH-28 * Silence make output during rake-compiler invocation. * Usage of Gem.ruby instead of RbConfig ruby_install_name This solve issues with ruby vs. ruby.exe and jruby.exe 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) |