Sha256: c339c5043f998497d4f18311268e910997f639639b1f93cdb9f945de37e8531c
Contents?: true
Size: 595 Bytes
Versions: 9
Compression:
Stored size: 595 Bytes
Contents
begin require 'rubygems' require 'spec' require 'active_record' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' end $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'money' config = YAML.load_file(File.dirname(__FILE__) + '/db/database.yml') ActiveRecord::Base.logger = Logger.new("/tmp/money-debug.log") ActiveRecord::Base.establish_connection(config) db_file = File.exists?(File.dirname(__FILE__) + '/../tmp/acts_as_money.sqlite3') load(File.dirname(__FILE__) + "/db/schema.rb") unless db_file
Version data entries
9 entries across 9 versions & 3 rubygems