Change rubygems source
authorsanemat <o.gata.ken@gmail.com>
Sun, 14 Apr 2013 13:48:05 +0000 (22:48 +0900)
committersanemat <o.gata.ken@gmail.com>
Sun, 14 Apr 2013 13:48:05 +0000 (22:48 +0900)
This solves deprecated message below:
$ bundle install
or
$ bundle exec rake spec:all

The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.

Gemfile

diff --git a/Gemfile b/Gemfile
index 17a5b0eae13bc812fe8f01ed8d7645a49e9ce9a3..fe9680f275a3c386222f652b0723cffd07b0f534 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,4 @@
-source :rubygems
+source 'https://rubygems.org'
 
 gemspec