Skip to content

Instantly share code, notes, and snippets.

@jacquescrocker
Created April 15, 2010 01:31
Show Gist options
  • Save jacquescrocker/366579 to your computer and use it in GitHub Desktop.
Save jacquescrocker/366579 to your computer and use it in GitHub Desktop.
# Edit this Gemfile to bundle your application's dependencies.
source 'http://gemcutter.org'
# setup gem options
gem_opts = {}
if ENV["USE_LOCAL_GEMS"].to_s == "true" || ENV["USE_LOCAL_GEMS"].to_s == "1"
gem_opts[:mongoid] = {:path => "~/Gems/mongoid"}
gem_opts[:jammit] = {:path => "~/Gems/jammit"}
gem_opts[:devise] = {:path => "~/Gems/devise"}
gem_opts[:rails_app_config] = {:path => "~/Gems/rails_app_config"}
puts "Using Gems from:"
gem_opts.each do |key, val|
puts " #{key}: #{val[:path]}"
end
else
gem_opts[:mongoid] = {:git => "git://github.com/durran/mongoid.git"}
gem_opts[:jammit] = {:git => "git://github.com/railsjedi/jammit.git"}
gem_opts[:devise] = {:git => "git://github.com/plataformatec/devise.git"}
gem_opts[:rails_app_config] = {:git => "git://github.com/railsjedi/app_config.git"}
end
gem "rails", ">= 3.0.0.beta3"
gem "haml"
gem "compass", ">= 0.10.0.rc1"
gem "better_partials", ">= 1.0.1"
gem "viewfu", ">= 1.0.1"
gem "mongoid", gem_opts[:mongoid]
gem "bson_ext", ">= 0.20"
gem "jammit", gem_opts[:jammit]
gem "devise", gem_opts[:devise]
gem "rails_app_config", gem_opts[:rails_app_config]
group :development, :test do
# gem "ruby-debug"
gem "mongrel"
end
group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'cucumber-rails'
gem "factory_girl", :require => nil
gem "rspec-rails", ">= 2.0.0.beta"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment