public
Rubygem
Description: An ActiveRecord to the DBSlayer lightweight proxy/pooling layer (http://code.nytimes.com/projects/dbslayer)
Clone URL: git://github.com/harrisj/activerecord-dbslayer-adapter.git
100644 16 lines (13 sloc) 0.375 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'fileutils'
include FileUtils
 
require 'rubygems'
%w[rake hoe newgem rubigen mocha active_support active_record].each do |req_gem|
  begin
    require req_gem
  rescue LoadError
    puts "This Rakefile requires the '#{req_gem}' RubyGem."
    puts "Installation: gem install #{req_gem} -y"
    exit
  end
end
 
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))