Created
June 25, 2010 17:18
-
-
Save whoahbot/453141 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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