Skip to content
Browse files

Shouldn't overwrite rhodes_extensions. It broke other extension gems …

…this way.
  • Loading branch information...
1 parent 5d9a7d5 commit 7a9231f64b682216748a5125fdee67e7c7f99be9 Brian Moore committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rhodes_translator.rb
View
2 lib/rhodes_translator.rb
@@ -2,5 +2,5 @@
require 'rhodes_translator/binding'
require 'rhodes_translator/validation'
-$rhodes_extensions = []
+$rhodes_extensions ||= []
$rhodes_extensions << File.dirname(__FILE__)

0 comments on commit 7a9231f

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