Created
September 2, 2010 15:23
-
-
Save robbielamb/562428 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
require File.expand_path('../boot', __FILE__) | |
# Pick the frameworks you want: | |
require 'action_controller/railtie' | |
require 'dm-rails/railtie' | |
# require 'action_mailer/railtie' | |
# require 'active_resource/railtie' | |
# require 'rails/test_unit/railtie' | |
# If you have a Gemfile, require the gems listed there, including any gems | |
# you've limited to :test, :development, or :production. | |
Bundler.require(:default, Rails.env) if defined?(Bundler) |
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' | |
DM_VERSION = '~> 1.0.0' | |
RSPEC_VERSION = '~> 2.0.0.beta.20' | |
DATAMAPPER = 'git://github.com/datamapper' | |
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 'rails', RAILS_VERSION, :require => nil | |
gem 'inherited_resources', '~> 1.1.2' | |
gem 'dm-core', DM_VERSION | |
gem 'dm-rails', '~> 1.0.3' | |
gem 'dm-sqlite-adapter', DM_VERSION, :require => nil | |
gem 'dm-postgres-adapter', DM_VERSION, :require => nil | |
gem 'dm-mysql-adapter', DM_VERSION, :require => nil | |
gem "dm-persevere-adapter", "0.72.0", :require => nil | |
gem 'dm-constraints', DM_VERSION | |
gem 'dm-is-list', DM_VERSION | |
gem 'dm-migrations', DM_VERSION | |
gem 'dm-validations', DM_VERSION | |
gem 'dm-transactions', DM_VERSION | |
gem 'dm-aggregates', DM_VERSION | |
gem 'dm-timestamps', DM_VERSION | |
gem 'dm-observer', DM_VERSION | |
# 1.0 Release of dm-types has problems with UUID properties, use git master | |
gem "dm-types", DM_VERSION, :git => "#{DATAMAPPER}/dm-types.git", | |
:ref => "674738f2a94788b975e9", | |
:require => false # don't require dm-type/json | |
gem "will_paginate", "~> 3.0.pre2", :git => 'git://github.com/yogo/will_paginate.git', | |
:branch => 'rails3', | |
:require => 'will_paginate' | |
gem 'yogo-project', :require => 'yogo/project', | |
:branch => 'topic/ruby19', | |
:git => 'git://github.com/yogo/yogo-project.git' | |
gem 'haml' | |
gem 'compass', '>=0.10.2' | |
gem 'devise', '~> 1.1.1' | |
gem 'dm-devise', '~> 1.1.0' | |
gem 'carrierwave', :git => 'git://github.com/jnicklas/carrierwave.git' | |
group :development, :test do | |
platforms(:mri_19){ gem 'ruby-debug19'} | |
platforms(:mri_18){ gem 'ruby-debug'} | |
gem 'yard' | |
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 | |
# To get a detailed overview about what queries get issued and how long they take | |
# have a look at rails_metrics. Once you bundled it, you can run | |
# | |
# rails g rails_metrics Metric | |
# rake db:automigrate | |
# | |
# to generate a model that stores the metrics. You can access them by visiting | |
# | |
# /rails_metrics | |
# | |
# in your rails application. | |
# gem 'rails_metrics', '~> 0.1', :git => 'git://github.com/engineyard/rails_metrics' | |
end | |
gem 'mongrel', '~> 1.2.0.pre2', :require => nil |
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
if RUBY_PLATFORM =~ /java/ | |
# ignore the anchor to allow this to work with jruby: | |
# http://jira.codehaus.org/browse/JRUBY-4649 | |
class Rack::Mount::Strexp | |
class << self | |
alias :compile_old :compile | |
def compile(str, requirements, separators, anchor) | |
self.compile_old(str, requirements, separators) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment