Sha256: 04f7de407190f355e0d93149eb9294e778c857cd17a445c20f8277946f21be74
Contents?: true
Size: 368 Bytes
Versions: 16
Compression:
Stored size: 368 Bytes
Contents
case ENV['DB'] when "mysql"; gem "mysql2", "0.3.10" when "sqlite"; gem "sqlite3" when "postgres"; gem "pg", "~> 0.12.2" end def gem(*args) # Override 'gem' method to block any other database gems in the 'real' Gemfile super unless %w(pg sqlite3 mysql2).include?(args.first) end # Eval Gemfile eval(IO.read(File.join(File.dirname(__FILE__), 'Gemfile')), binding)
Version data entries
16 entries across 16 versions & 1 rubygems