Skip to content

Commit

Permalink
Fix compatibility with newer Echoe, by using full-name for Platform.
Browse files Browse the repository at this point in the history
Without this, rake will fail with Echoe 4.1 installed because of unknown
symbol Platform.
  • Loading branch information
Flameeyes authored and jgarber committed Mar 1, 2010
1 parent e71fb12 commit 40da1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -17,9 +17,9 @@ e = Echoe.new('RedCloth', RedCloth::VERSION.to_s) do |p|
p.extension_pattern = nil
p.development_dependencies = [] # remove echoe from development dependencies

if Platform.gcc?
if Echoe::Platform.gcc?
p.platform = 'x86-mswin32-60'
elsif Platform.java?
elsif Echoe::Platform.java?
p.platform = 'universal-java'
elsif RUBY_PLATFORM == 'pureruby'
p.platform = 'ruby'
Expand Down

0 comments on commit 40da1f8

Please sign in to comment.