Browse Source

Fix conditional ordering

Chris Roberts 11 years ago
parent
commit
98c137ae62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/default.rb

+ 1 - 1
resources/default.rb

@@ -155,7 +155,7 @@ end
 
 # If we are using a current version of ruby, use respond_to_missing?
 # instead of respond_to? so we provide proper behavior
-if(Gem::Version.new('1.9.1') >= Gem::Version.new(RUBY_VERSION.dup))
+if(Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('1.9.1'))
   def respond_to_missing?(*args)
     super || do_i_respond_to?(*args)
   end