diff options
author | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-08-12 09:01:37 +0400 |
---|---|---|
committer | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-08-12 09:01:37 +0400 |
commit | aabb4093b7e69cd41e50f674a971b4a113345748 (patch) | |
tree | 125068858b5660d3bf79daa2ff96b36acf32eb85 /doc/update/7.0-to-7.1.md | |
parent | 2600d08f65a8169c6f9414aca6517c828641ec23 (diff) |
follow curl redirects
Update `curl` commands to follow redirects (see
http://curl.haxx.se/docs/manpage.html#-L). Current `curl` commands will
return unexpected results if the requested content has been moved and is
returning information about where it has been moved to. Including the
`-L` option tells `curl` to follow the redirect so the file can be
correctly acquired.
Diffstat (limited to 'doc/update/7.0-to-7.1.md')
-rw-r--r-- | doc/update/7.0-to-7.1.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/7.0-to-7.1.md b/doc/update/7.0-to-7.1.md index 6864101f8c6..a82a79942f6 100644 --- a/doc/update/7.0-to-7.1.md +++ b/doc/update/7.0-to-7.1.md @@ -32,7 +32,7 @@ Download and compile Ruby: ```bash mkdir /tmp/ruby && cd /tmp/ruby -curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | tar xz +curl -L --progress ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | tar xz cd ruby-2.1.2 ./configure --disable-install-rdoc make |