Skip to content
This repository
Browse code

Try loading AS String and Hash before ours

  • Loading branch information...
commit 748995618fb5606b4247b8d4dc8cb136a2003e7e 1 parent 21a0c26
Joshua Priddle authored March 28, 2012

Showing 1 changed file with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. 9  lib/rainman.rb
9  lib/rainman.rb
... ...
@@ -1,5 +1,12 @@
1 1
 require "rainman/version"
2  
-require "rainman/support"
  2
+
  3
+begin
  4
+  require "active_support/core_ext/string"
  5
+  require "active_support/core_ext/hash"
  6
+rescue LoadError
  7
+  require "rainman/support"
  8
+end
  9
+
3 10
 require "rainman/exceptions"
4 11
 require "rainman/runner"
5 12
 require "rainman/driver"

0 notes on commit 7489956

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