Permalink
Browse files

Use :github and :branch options in Gemfile instead of local path logic

This allows us to use bundle config with local repos.
  • Loading branch information...
1 parent 08baa3b commit 00048f7e4c10febc8c9a8188e612ed0b53b190aa @carlosantoniodasilva carlosantoniodasilva committed Jan 9, 2013
Showing with 3 additions and 10 deletions.
  1. +3 −10 Gemfile
View
13 Gemfile
@@ -2,16 +2,9 @@ source 'https://rubygems.org'
gemspec
-local_rails_path = File.expand_path(File.dirname(__FILE__) + '/../rails')
-if File.exists?(local_rails_path)
- rails_gem_source = { :path => local_rails_path }
-else
- rails_gem_source = { :git => "git://github.com/rails/rails.git" }
-end
-
-gem 'activesupport', rails_gem_source.dup
-gem 'activemodel', rails_gem_source.dup
-gem 'rails-observers', github: 'rails/rails-observers'
+gem 'activesupport', github: 'rails/rails', branch: 'master'
+gem 'activemodel', github: 'rails/rails', branch: 'master'
+gem 'rails-observers', github: 'rails/rails-observers', branch: 'master'
gem 'rake'
# Add your own local bundler stuff

0 comments on commit 00048f7

Please sign in to comment.