Skip to content

Instantly share code, notes, and snippets.

@whoahbot
Created June 25, 2010 17:18
Show Gist options
  • Select an option

  • Save whoahbot/453141 to your computer and use it in GitHub Desktop.

Select an option

Save whoahbot/453141 to your computer and use it in GitHub Desktop.
defaults: &defaults
adapter: redis
development:
database: 1
<<: *defaults
# Add more repositories
# repositories:
# repo1:
# adapter: postgres
# database: sample_development
# username: the_user
# password: secrets
# host: localhost
# repo2:
# ...
test:
database: 15
<<: *defaults
production:
database: 1
<<: *defaults
source 'http://rubygems.org'
RAILS_VERSION = '~> 3.0.0.beta4'
DM_VERSION = '~> 1.0.0'
RSPEC_VERSION = '~> 2.0.0.beta.13'
gem 'activesupport', RAILS_VERSION, :require => 'active_support'
gem 'actionpack', RAILS_VERSION, :require => 'action_pack'
gem 'actionmailer', RAILS_VERSION, :require => 'action_mailer'
gem 'railties', RAILS_VERSION, :require => 'rails'
gem 'dm-rails', DM_VERSION
gem 'dm-redis-adapter', :git => "git://github.com/whoahbot/dm-redis-adapter.git"
# You can use any of the other available database adapters.
# This is only a small excerpt of the list of all available adapters
# Have a look at
#
# http://wiki.github.com/datamapper/dm-core/adapters
# http://wiki.github.com/datamapper/dm-core/community-plugins
#
# for a rather complete list of available datamapper adapters and plugins
# gem 'dm-sqlite-adapter', DM_VERSION
# gem 'dm-mysql-adapter', DM_VERSION
# gem 'dm-postgres-adapter', DM_VERSION
# gem 'dm-oracle-adapter', DM_VERSION
# gem 'dm-sqlserver-adapter', DM_VERSION
group(:test) do
gem 'rspec', RSPEC_VERSION
gem 'rspec-core', RSPEC_VERSION, :require => 'rspec/core'
gem 'rspec-expectations', RSPEC_VERSION, :require => 'rspec/expectations'
gem 'rspec-mocks', RSPEC_VERSION, :require => 'rspec/mocks'
gem 'rspec-rails', RSPEC_VERSION
end
# ------------------------------------------------------------------------------
# These gems are only listed here in the Gemfile because we want to pin them
# to the github repositories for as long as no stable version has been released.
# The dm-core gem is a hard dependency for dm-rails so it would get pulled in by
# simply adding dm-rails. The dm-do-adapter gem is a hard dependency for any of
# the available dm-xxx-adapters. Once we have stable gems available, pinning these
# gems to github will be optional.
gem 'dm-core', DM_VERSION
gem 'dm-do-adapter', DM_VERSION
gem 'dm-active_model', DM_VERSION
# This is a datamapper compatibility branch for EngineYard's Rails metrics gem.
# In the future this will hopefully be merged into the mainly gem. We refer to
# this gem now so you can easily add it to your project
# gem 'rails_metrics', '~> 0.1', :git => 'git://github.com/engineyard/rails_metrics'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment