Created
February 15, 2012 15:15
-
-
Save rtacconi/1836559 to your computer and use it in GitHub Desktop.
Basic Gemfile to use datamapper with Rails 3.1
This file contains 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.2.1' | |
gem 'actionpack', RAILS_VERSION | |
gem 'activesupport', RAILS_VERSION | |
gem 'railties', RAILS_VERSION | |
gem 'rails', RAILS_VERSION # Unfortunately, needed for `heroku run console` | |
# For attributes in non-dm models (will be a dependency of future DM versions) | |
gem 'virtus' | |
%w( | |
dm-postgres-adapter | |
dm-sqlite-adapter | |
datamapper | |
dm-types | |
dm-transactions | |
dm-migrations | |
dm-validations | |
).each do |dm_gem| | |
gem dm_gem, '1.2.0' | |
end | |
gem 'dm-rails', '1.2.1' | |
gem 'dm-active_model', '1.2.1' | |
gem 'jquery-rails' | |
gem 'haml' | |
# 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 | |
# Gems used only for assets and not required | |
# in production environments by default. | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' | |
gem 'coffee-rails', '~> 3.2.1' | |
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
# gem 'therubyracer' | |
gem 'uglifier', '>= 1.0.3' | |
end | |
group :development, :test do | |
gem 'rspec-rails' | |
gem 'fabrication' | |
end | |
group :test do | |
# Pretty printed test output | |
gem 'turn', '~> 0.8.3', :require => false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment