diff options
Diffstat (limited to 'activesupport/lib/active_support/base64.rb')
-rw-r--r-- | activesupport/lib/active_support/base64.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/base64.rb b/activesupport/lib/active_support/base64.rb index 4fc8cd13a7..602eef06b2 100644 --- a/activesupport/lib/active_support/base64.rb +++ b/activesupport/lib/active_support/base64.rb @@ -1,3 +1,8 @@ +begin + require 'base64' +rescue LoadError +end + module ActiveSupport if defined? ::Base64 Base64 = ::Base64 |