Browse Source

use rubygems.org

saberma 10 years ago
parent
commit
6e1c52ac5c
3 changed files with 18 additions and 6 deletions
  1. 6 2
      gemfiles/rails31.gemfile
  2. 6 2
      gemfiles/rails32.gemfile
  3. 6 2
      gemfiles/rails4.gemfile

+ 6 - 2
gemfiles/rails31.gemfile

@@ -1,9 +1,13 @@
 # This file was generated by Appraisal
 
-source "http://ruby.taobao.org"
+if ENV['TRAVIS']
+  source 'https://rubygems.org'
+else
+  source 'http://ruby.taobao.org'
+end
 
 gem "jquery-rails"
 gem "appraisal"
 gem "rails", "~> 3.1.0"
 
-gemspec :path=>"../"
+gemspec :path=>"../"

+ 6 - 2
gemfiles/rails32.gemfile

@@ -1,9 +1,13 @@
 # This file was generated by Appraisal
 
-source "http://ruby.taobao.org"
+if ENV['TRAVIS']
+  source 'https://rubygems.org'
+else
+  source 'http://ruby.taobao.org'
+end
 
 gem "jquery-rails"
 gem "appraisal"
 gem "rails", "~> 3.2.0"
 
-gemspec :path=>"../"
+gemspec :path=>"../"

+ 6 - 2
gemfiles/rails4.gemfile

@@ -1,9 +1,13 @@
 # This file was generated by Appraisal
 
-source "http://ruby.taobao.org"
+if ENV['TRAVIS']
+  source 'https://rubygems.org'
+else
+  source 'http://ruby.taobao.org'
+end
 
 gem "jquery-rails"
 gem "appraisal"
 gem "rails", "~> 4.0.0"
 
-gemspec :path=>"../"
+gemspec :path=>"../"