Permalink
Browse files

SSL/TLSize all the things! (convert http:// and git:// to https:// wh…

…ere possible)
  • Loading branch information...
1 parent 23b4f37 commit d7837f1b36f0b316e772c88cce612cb354e23c54 @reedloden reedloden committed Jul 18, 2015
View
@@ -45,7 +45,7 @@ this means that each command and it's output should be in it's own code block.
## IRC and Mailing List
-If you're joining the #rvm channel on [Freenode](http://freenode.net/) to get help with a problem,
+If you're joining the #rvm channel on [Freenode](https://freenode.net/) to get help with a problem,
please let us know what's wrong and stick around. Someone will always respond in time.
If you can't stick around, please file a bug on GitHub or email us via the
[google group](https://groups.google.com/forum/?fromgroups#!forum/rubyversionmanager).
@@ -62,13 +62,13 @@ rvm_install_commands_setup()
then sudo_10=sudo
elif \which /opt/csw/bin/sudo >/dev/null 2>&1
then sudo_10=/opt/csw/bin/sudo
- else fail "sudo is required but not found. You may install sudo from OpenCSW repository (http://opencsw.org/about)"
+ else fail "sudo is required but not found. You may install sudo from OpenCSW repository (https://www.opencsw.org/about)"
fi
- pkginfo -q CSWpkgutil || $sudo_10 pkgadd -a $rvm_path/config/solaris/noask -d http://get.opencsw.org/now CSWpkgutil
- sudo /opt/csw/bin/pkgutil -iy CSWgtar -t http://mirror.opencsw.org/opencsw/unstable
+ pkginfo -q CSWpkgutil || $sudo_10 pkgadd -a $rvm_path/config/solaris/noask -d https://get.opencsw.org/now CSWpkgutil
+ sudo /opt/csw/bin/pkgutil -iy CSWgtar -t https://mirror.opencsw.org/opencsw/unstable
else
- pkginfo -q CSWpkgutil || pkgadd -a $rvm_path/config/solaris/noask -d http://get.opencsw.org/now CSWpkgutil
- /opt/csw/bin/pkgutil -iy CSWgtar -t http://mirror.opencsw.org/opencsw/unstable
+ pkginfo -q CSWpkgutil || pkgadd -a $rvm_path/config/solaris/noask -d https://get.opencsw.org/now CSWpkgutil
+ /opt/csw/bin/pkgutil -iy CSWgtar -t https://mirror.opencsw.org/opencsw/unstable
fi
rvm_tar_command=/opt/csw/bin/gtar
;;
@@ -768,7 +768,7 @@ It looks you are one of the happy Ubuntu users,
RVM packaged by Ubuntu is old and broken,
follow this link for details how to fix:
- http://stackoverflow.com/a/9056395/497756
+ https://stackoverflow.com/a/9056395/497756
"
[[ "${rvm_uses_broken_ubuntu_path:-no}" == "yes" ]] || exit 3
View
@@ -3,10 +3,9 @@ niceness=0
# Rubies
interpreter=ruby
default_ruby=ruby
-ruby_repo_url=git://github.com/ruby/ruby.git
-ruby_url=http://cache.ruby-lang.org/pub/ruby
-ruby_url_fallback_1=http://ftp.ruby-lang.org/pub/ruby
-ruby_url_fallback_2=http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby
+ruby_repo_url=https://github.com/ruby/ruby.git
+ruby_url=https://cache.ruby-lang.org/pub/ruby
+ruby_url_fallback_1=https://ftp.ruby-lang.org/pub/ruby
unmaintained_ruby=1.9.3
unmaintained_date=2014-02-23
ruby_version=2.3.0
@@ -18,13 +17,13 @@ ruby_1.8.7_patch_level=head
ruby_1.8.6_patch_level=p420
ruby_1.8.5_patch_level=p231
CentOS_5_ruby_1.9.2_patch_level=p320
-CentOS_5_ruby_1.9.2_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure bacuase of this.
+CentOS_5_ruby_1.9.2_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure because of this.
CentOS_5_ruby_1.8.7_patch_level=p374
-CentOS_5_ruby_1.8.7_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure bacuase of this.
-rubygems_url=http://production.cf.rubygems.org/rubygems
+CentOS_5_ruby_1.8.7_patch_level_warn=Warning, Centos 5 can not build head version of ruby, falling back to latest patchlevel, your ruby will be less secure because of this.
+rubygems_url=https://rubygems.org/rubygems
rubygems_url_fallback_1=https://github.com/rubygems/rubygems/archive/v\1.tar.gz
-rubygems_url_fallback_1_pattern=http://production.cf.rubygems.org/rubygems/rubygems-([[:digit:]\.]+).tgz
-rubygems_repo_url=git://github.com/rubygems/rubygems.git
+rubygems_url_fallback_1_pattern=https://rubygems.org/rubygems/rubygems-([[:digit:]\.]+).tgz
+rubygems_repo_url=https://github.com/rubygems/rubygems.git
rubygems_version=latest-2.4
ree_1.8.6_rubygems_version=1.3.7
ree_1.8.7_rubygems_version=latest-2.0
@@ -48,56 +47,56 @@ rbx_1.2.1_patch_level=20110215
rbx_1.2.2_patch_level=20110222
rbx_1.2.3_patch_level=20110315
rbx_1.2.4_patch_level=20110705
-rbx_url=http://asset.rubini.us
-rbx_2.0.0_url=http://releases.rubini.us
-rubinius_repo_url=git://github.com/rubinius/rubinius.git
+rbx_url=https://s3.amazonaws.com/asset.rubini.us
+rbx_2.0.0_url=https://s3.amazonaws.com/releases.rubini.us
+rubinius_repo_url=https://github.com/rubinius/rubinius.git
ree_version=1.8.7
ree_configure_flags=--dont-install-useful-gems
ree_1.8.6_patch_level=20090610
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
-ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
-ree_1.8.7_url=http://rubyenterpriseedition.googlecode.com/files
-ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187-330
+ree_1.8.6_repo_url=https://github.com/FooBarWidget/rubyenterpriseedition.git
+ree_1.8.7_url=https://rubyenterpriseedition.googlecode.com/files
+ree_1.8.7_repo_url=https://github.com/FooBarWidget/rubyenterpriseedition187-330
ree_1.8.7_patch_level=2012.02
-ree_1.8.7_2010.02_url=http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2012.02.tar.gz
-mruby_repo_url=git://github.com/mruby/mruby.git
+ree_1.8.7_2010.02_url=https://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2012.02.tar.gz
+mruby_repo_url=https://github.com/mruby/mruby.git
mruby_url=https://github.com/mruby/mruby/archive
mruby_version=1.2.0
jruby_version=9.0.4.0
-jruby_repo_url=git://github.com/jruby/jruby.git
-jruby_url=http://jruby.org.s3.amazonaws.com/downloads
+jruby_repo_url=https://github.com/jruby/jruby.git
+jruby_url=https://s3.amazonaws.com/jruby.org/downloads
macruby_version=0.12
macruby_0.10_url=http://macruby.macosforge.org/files
macruby_url=https://github.com/downloads/MacRuby/MacRuby
-macruby_repo_url=git://github.com/MacRuby/MacRuby.git
+macruby_repo_url=https://github.com/MacRuby/MacRuby.git
macruby_nightly_url=http://macruby.jp/files/nightlies
maglev_version=head
maglev_url=http://seaside.gemtalksystems.com/maglev
-maglev_repo_url=git://github.com/MagLev/maglev.git
+maglev_repo_url=https://github.com/MagLev/maglev.git
ironruby_version=1.1.3
-ironruby_repo_url=git://github.com/ironruby/ironruby.git
-ironruby_1.1.3_url=http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ironruby&DownloadId=217153&FileTime=129445296766130000&Build=19727
+ironruby_repo_url=https://github.com/ironruby/ironruby.git
+ironruby_1.1.3_url=https://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ironruby&DownloadId=217153&FileTime=129445296766130000&Build=19727
topaz_version=head
-topaz_repo_url=git://github.com/topazproject/topaz.git
-topaz_url=http://builds.topazruby.com
+topaz_repo_url=https://github.com/topazproject/topaz.git
+topaz_url=https://d3sgc2zfsedosj.cloudfront.net
rvm_remote_server_url=https://rvm_io.global.ssl.fastly.net/binaries
rvm_remote_server_url1=https://s3.amazonaws.com/jruby.org
rvm_remote_server_path1=downloads
-rvm_remote_server_url2=http://binaries.rubini.us
-rvm_remote_server_url3=https://rubies.travis-ci.org
+rvm_remote_server_url2=https://rubies.travis-ci.org
+# rvm_remote_server_url3=http://binaries.rubini.us
# rvm_remote_server_url4=http://gentoo-binaries.my-custom-server.com
# rvm_remote_server_path4=ec2-2013.09
# Packages
-readline_url=http://ftp.gnu.org/gnu/readline
-libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv
-curl_url=http://curl.haxx.se/download
-openssl_url=http://www.openssl.org/source
+readline_url=https://ftp.gnu.org/gnu/readline
+libiconv_url=https://ftp.gnu.org/pub/gnu/libiconv
+curl_url=https://github.com/bagder/curl/archive
+openssl_url=https://www.openssl.org/source
openssl_version=1.0.1i
-zlib_url=http://prdownloads.sourceforge.net/libpng
-autoconf_url=http://ftp.gnu.org/gnu/autoconf
-ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses
+zlib_url=https://prdownloads.sourceforge.net/libpng
+autoconf_url=https://ftp.gnu.org/gnu/autoconf
+ncurses_url=https://ftp.gnu.org/pub/gnu/ncurses
pkg-config_url=http://pkgconfig.freedesktop.org/releases
-gettext_url=http://ftp.gnu.org/pub/gnu/gettext
+gettext_url=https://ftp.gnu.org/pub/gnu/gettext
libxml2_url=ftp://xmlsoft.org/libxml2
libxslt_url=ftp://xmlsoft.org/libxslt
yaml_url=http://pyyaml.org/download/libyaml
View
@@ -16,7 +16,7 @@ MacRuby%200.8.zip=735ac0a70f539e00b5de6fbec09c2c5c
MacRuby%200.9.zip=fa01345e8fbfee620bbac64743a45f69
MagLev-1.0.0.tar.gz=e02cb8ee04438451eb78df14f91a68a9
apache-maven-3.3.3-bin.tar.gz=794b3b7961200c542a7292682d21ba36
-curl-7.19.7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
+curl-7_19_7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
http://downloads.sourceforge.net/fink/fink-0.34.8.tar.gz=780cf6099b04df7c0461a3ca6f0dae5a
https://bitbucket.org/mpapis/libyaml/get/0.1.4.3.tar.gz=022516bf5d40b8a1ebd8b12035cfc994
https://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm=3b3280f24c2afacf75e70f2284569161
View
@@ -1,8 +1,8 @@
-http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm=2f177390baaff9f8edd4d596c6cf73f77817e44bbcb2ee7e6064dc4cde190ae5a8497aebb245c49380fe1b63fd0ebce33d0eab3ad2b2f681d7b2620cf3a71b48
-http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm=9b87357849b7d3bc464cd6098518ee3cfd6009111b630d342faaa462e21cad9cc480b8cb2b42a065aaac0108d24f5fe43a0ac487876a6cf88bd29baa87015c8e
-http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-5=face1d4eb6775306afb15244efa4a835ee7c0b491dddbcda55d9640287f293a6527743ffbb8a6964cd80ce255e23ca84588e98a6a129288c51fbeadc1bea095d
-http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6=c38c8888846069c996d0d5fdfb8a62ade947195253cfbb9732ae08542e74691cd2c96993b2d4a342bed6b83fe1259fcc5b1c024f633849d4d4a1ecada67d6625
+https://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm=2f177390baaff9f8edd4d596c6cf73f77817e44bbcb2ee7e6064dc4cde190ae5a8497aebb245c49380fe1b63fd0ebce33d0eab3ad2b2f681d7b2620cf3a71b48
+https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm=9b87357849b7d3bc464cd6098518ee3cfd6009111b630d342faaa462e21cad9cc480b8cb2b42a065aaac0108d24f5fe43a0ac487876a6cf88bd29baa87015c8e
+https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-5=face1d4eb6775306afb15244efa4a835ee7c0b491dddbcda55d9640287f293a6527743ffbb8a6964cd80ce255e23ca84588e98a6a129288c51fbeadc1bea095d
+https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6=c38c8888846069c996d0d5fdfb8a62ade947195253cfbb9732ae08542e74691cd2c96993b2d4a342bed6b83fe1259fcc5b1c024f633849d4d4a1ecada67d6625
https://rvm.io/binaries/amazon/2013.03/x86_64/ruby-1.9.3-p448.tar.bz2=2e7bc5f6d501928f01de2a6d9035f56f40678d410bc0629ef00e0e70565b49991c4570f19c34faa1bfef2ad4cb460e4c28ee2eaf5c0696a403d0847f17d4c22a
https://rvm.io/binaries/amazon/2013.03/x86_64/ruby-2.0.0-p247.tar.bz2=6929240b591970249153fd7cb9aae47821a3efe60cdda3bfacc334cd7301635d6b71bdbd5e122b5e17d02559b6bad8711ecfbf38aa6f947ed28b5b1154a38efd
https://rvm.io/binaries/arch/libc-2.15/x86_64/ruby-1.9.3-p194.tar.bz2=289f3921543eb096b0d50a2ce7f8655176f6f4dbc8a52aa1342b5238e33f36c9dc78948e4144f41eeca616920ba3422adb0a17d216ec7d2cfaae51f570c1f9b3
@@ -6,6 +6,6 @@ with RVM and to let you simply specify a rvm ruby string.
For more current updates, see:
-* [http://github.com/Sutto/hudson-rvmRuby-plugin](http://github.com/Sutto/hudson-rvmRuby-plugin)
-* [http://github.com/Sutto/hudson-rvmRake-plugin](http://github.com/Sutto/hudson-rvmRake-plugin)
-* [http://github.com/Sutto/hudson-rvmRubyMetrics-plugin](http://github.com/Sutto/hudson-rvmRubyMetrics-plugin)
+* [https://github.com/Sutto/hudson-rvmRuby-plugin](https://github.com/Sutto/hudson-rvmRuby-plugin)
+* [https://github.com/Sutto/hudson-rvmRake-plugin](https://github.com/Sutto/hudson-rvmRake-plugin)
+* [https://github.com/Sutto/hudson-rvmRubyMetrics-plugin](https://github.com/Sutto/hudson-rvmRubyMetrics-plugin)
View
@@ -234,7 +234,7 @@ Show info plus additional information for common issues\&.
\fBinstall\fR
.RS 4
Install one or many ruby versions\&.
-http://rvm\&.io/rubies/installing/
+https://rvm\&.io/rubies/installing/
.RE
.PP
\fBuninstall\fR
@@ -292,7 +292,7 @@ on changes\&.
\fBgemset\fR
.RS 4
gemsets:
-http://rvm\&.io/gemsets/
+https://rvm\&.io/gemsets/
.RE
.PP
\fBgemdir\fR
@@ -313,13 +313,13 @@ Performs an archive / src fetch only of the selected ruby\&.
\fBlist\fR
.RS 4
Show currently installed rubies, interactive output\&.
-http://rvm\&.io/rubies/list/
+https://rvm\&.io/rubies/list/
.RE
.PP
\fBpackage\fR
.RS 4
Install a dependency package {readline,iconv,zlib,openssl}\&.
-http://rvm\&.io/packages/
+https://rvm\&.io/packages/
.RE
.PP
\fBrequirements\fR
@@ -376,7 +376,7 @@ Use the system ruby (eg\&. pre\-rvm state)\&.
\fBdefault\fR
.RS 4
Use the default ruby (or the system ruby if a default hasn\(cqt been set)\&.
-http://rvm\&.io/rubies/default/
+https://rvm\&.io/rubies/default/
.RE
.SH "RESOURCES"
.sp
View
Binary file not shown.
View
@@ -163,11 +163,11 @@ then
elif
[[ "${url}" == "http://"* ]]
then
- __fallbacks+=( "${url/http:/ftp:}" "${url/http:\/\//http://www.mirrorservice.org/sites/}" )
+ __fallbacks+=( "${url/http:/ftp:}" "${url/http:\/\//https://www.mirrorservice.org/sites/}" )
elif
[[ "${url}" == "https://"* ]]
then
- __fallbacks+=( "${url/https:/ftp:}" "${url/https:\/\//http://www.mirrorservice.org/sites/}" )
+ __fallbacks+=( "${url/https:/ftp:}" "${url/https:\/\//https://www.mirrorservice.org/sites/}" )
else
rvm_fail "
No fallback URL can be calculated for ${url}, open a ticket with full output here:
@@ -236,7 +236,7 @@ requirements_install_maven()
\typeset maven_version maven_file maven_url
maven_version="$(__rvm_db "maven_version")"
maven_file="apache-maven-${maven_version}-bin.tar.gz"
- maven_url="http://www.apache.org/dist/maven/maven-${maven_version%%.*}/${maven_version}/binaries/${maven_file}"
+ maven_url="https://www.apache.org/dist/maven/maven-${maven_version%%.*}/${maven_version}/binaries/${maven_file}"
mkdir -p "${rvm_path}/java/" &&
"${rvm_scripts_path}/fetch" "${maven_url}" &&
@@ -279,8 +279,8 @@ install_openssl()
update_openssl_certs()
(
__rvm_cd "$rvm_usr_path/ssl" &&
- command curl -O http://curl.haxx.se/ca/cacert.pem &&
- \command \mv cacert.pem cert.pem
+ __rvm_curl https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt -o cert.pem ||
+ __rvm_curl http://curl.haxx.se/ca/cacert.pem -o cert.pem
)
openssl_installed()
{
@@ -56,13 +56,13 @@ requirements_openindiana_check_opencsw_enabled()
requirements_openindiana_enable_opencsw()
{
- __rvm_try_sudo pkgadd -a $rvm_path/config/solaris/noask -d http://get.opencsw.org/now CSWpkgutil > /dev/null 2>&1 || return $?
+ __rvm_try_sudo pkgadd -a $rvm_path/config/solaris/noask -d https://get.opencsw.org/now CSWpkgutil > /dev/null 2>&1 || return $?
}
requirements_openindiana_install_custom()
{
requirements_openindiana_check_opencsw_enabled || requirements_openindiana_enable_opencsw
- __rvm_try_sudo /opt/csw/bin/pkgutil -iy "$@" -t http://mirror.opencsw.org/opencsw/unstable || return $?
+ __rvm_try_sudo /opt/csw/bin/pkgutil -iy "$@" -t https://mirror.opencsw.org/opencsw/unstable || return $?
}
requirements_openindiana_after()
@@ -453,7 +453,7 @@ requirements_osx_brew_ensure_brew_available()
\typeset __result=$?
rvm_error "\
Something went wrong during Homebrew installation,
-can not find 'brew' command, please report a bug: http://bit.ly/rvm-issues"
+can not find 'brew' command, please report a bug: https://bit.ly/rvm-issues"
return $__result
}
}
@@ -56,12 +56,12 @@ requirements_smf_lib_install()
{
\typeset ret=$?
rvm_warn "There were package installation errors with SM Framework, make sure to read the log.
-If you see this on OSX, then you might want to try macports (http://www.macports.org/) or homebrew (http://brew.sh/) and tell RVM to use them by running:
+If you see this on OSX, then you might want to try macports (https://www.macports.org/) or homebrew (http://brew.sh/) and tell RVM to use them by running:
rvm autolibs macports #OR
rvm autolibs homebrew
-You can get help using IRC: http://webchat.freenode.net/?channels=rvm"
+You can get help using IRC: https://webchat.freenode.net/?channels=rvm"
return $ret
}
shift
@@ -63,13 +63,13 @@ requirements_solaris_check_opencsw_enabled()
requirements_solaris_enable_opencsw()
{
- __rvm_try_sudo pkgadd -a $rvm_path/config/solaris/noask -d http://get.opencsw.org/now CSWpkgutil > /dev/null 2>&1 || return $?
+ __rvm_try_sudo pkgadd -a $rvm_path/config/solaris/noask -d https://get.opencsw.org/now CSWpkgutil > /dev/null 2>&1 || return $?
}
requirements_solaris_install_custom()
{
requirements_solaris_check_opencsw_enabled || requirements_solaris_enable_opencsw
- __rvm_try_sudo /opt/csw/bin/pkgutil -iy "$@" -t http://mirror.opencsw.org/opencsw/unstable || return $?
+ __rvm_try_sudo /opt/csw/bin/pkgutil -iy "$@" -t https://mirror.opencsw.org/opencsw/unstable || return $?
}
requirements_solaris_define()
@@ -51,7 +51,7 @@ __rvmrc_full_path_to_file()
# build full path to file
__rvmrc_warning_file="${__rvmrc_warning_file}/${1##*/}"
else
- rvm_warn "Do not know how to handle '$1', please report: http://bit.ly/rvm-issues ~ __rvmrc_full_path_to_file" >&2
+ rvm_warn "Do not know how to handle '$1', please report: https://bit.ly/rvm-issues ~ __rvmrc_full_path_to_file" >&2
return 1
fi
}
@@ -230,7 +230,7 @@ __rvm_setup_utils_functions_Solaris()
then
rvm_error "ERROR: Missing GNU tools: ${gnu_missing[@]}. Make sure they are installed in '$gnu_tools_path/' before using RVM!"
if [[ "${_system_name} ${_system_version}" == "Solaris 10" ]]
- then rvm_error "You might want to look at OpenCSW project to install the above mentioned tools (http://opencsw.org/about)"
+ then rvm_error "You might want to look at OpenCSW project to install the above mentioned tools (https://www.opencsw.org/about)"
fi
exit 200
fi
View
@@ -9,7 +9,7 @@ source "$rvm_scripts_path/functions/support"
source "$rvm_scripts_path/functions/utility"
rvm_warn "\
-In case of problems: ${rvm_notify_clr:-}http://rvm.io/help ${rvm_warn_clr:-}and ${rvm_notify_clr:-}https://twitter.com/rvm_io"
+In case of problems: ${rvm_notify_clr:-}https://rvm.io/help ${rvm_warn_clr:-}and ${rvm_notify_clr:-}https://twitter.com/rvm_io"
__today_s="$( date +%s 2>/dev/null )"
if
@@ -176,7 +176,7 @@ $notes_type Notes:
for details check:
- http://stackoverflow.com/a/9056395/497756
+ https://stackoverflow.com/a/9056395/497756
"
fi
View
@@ -218,7 +218,7 @@ Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
[[ -n "${SUDO_USER:-}" ]]
then
echo "Hint: To fix PATH errors try using 'rvmsudo' instead of 'sudo', see:
- http://stackoverflow.com/questions/27784961/received-warning-message-path-set-to-rvm-after-updating-ruby-version-using-rvm/28080063#28080063
+ https://stackoverflow.com/questions/27784961/received-warning-message-path-set-to-rvm-after-updating-ruby-version-using-rvm/28080063#28080063
" >&2
fi
fi
View
@@ -176,12 +176,12 @@ tools_mirror()
if
(( ${rvm_force_flag:-0} == 1 ))
then
- __rvm_sed_i "${file}" -e "s/^ruby_${n}_url=.*$/ruby_${n}_url=http:\/\/www.mirrorservice.org\/sites\/ftp.ruby-lang.org\/pub\/ruby\/${n}/"
+ __rvm_sed_i "${file}" -e "s/^ruby_${n}_url=.*$/ruby_${n}_url=https:\/\/www.mirrorservice.org\/sites\/ftp.ruby-lang.org\/pub\/ruby\/${n}/"
else
rvm_warn "Some settings already exist, use 'rvm --force tools mirror' to overwrite."
fi
else
- printf "ruby_url=http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby\n" >> "$file"
+ printf "ruby_url=https://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby\n" >> "$file"
fi
}

0 comments on commit d7837f1

Please sign in to comment.