Skip to content

Instantly share code, notes, and snippets.

@entp
Created December 20, 2008 05:10
Show Gist options
  • Save entp/38234 to your computer and use it in GitHub Desktop.
Save entp/38234 to your computer and use it in GitHub Desktop.
gem 'activesupport', '~> 2.1.1'
gem 'sequel', '~> 2.7'
gem 'activemerchant', '~> 1.4'
%w(array/extract_options hash/keys hash/indifferent_access).each { |lib| require "active_support/core_ext/#{lib}" }
class Array #:nodoc:
include ActiveSupport::CoreExtensions::Array::ExtractOptions
end
class Hash #:nodoc:
include ActiveSupport::CoreExtensions::Hash::Keys
include ActiveSupport::CoreExtensions::Hash::IndifferentAccess
end
%w(time_with_zone values/time_zone inflector core_ext/object core_ext/duplicable core_ext/blank core_ext/class core_ext/module core_ext/date core_ext/numeric core_ext/time basic_object duration).each { |lib| require "active_support/#{lib}" }
%w(uuid sequel tzinfo active_merchant).each { |lib| require lib }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment