aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorultrawebmarketing <46601064+ultrawebmarketing@users.noreply.github.com>2019-07-08 14:30:31 -0400
committerGitHub <noreply@github.com>2019-07-08 14:30:31 -0400
commit706063f1eef607746f264822194d1457051d4d68 (patch)
tree3f735fb7d6878ced2157d85eae3c364c38666042 /guides
parentbc8911690aff76edc40264ec3a3327af58244b72 (diff)
downloadrails-706063f1eef607746f264822194d1457051d4d68.tar.gz
rails-706063f1eef607746f264822194d1457051d4d68.tar.bz2
rails-706063f1eef607746f264822194d1457051d4d68.zip
update example url for add_source
http://code.whytheluckystiff.net is now just a spam site. Use http://gems.github.com as an example instead.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/rails_application_templates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/rails_application_templates.md b/guides/source/rails_application_templates.md
index 982df26987..e0e79fc41b 100644
--- a/guides/source/rails_application_templates.md
+++ b/guides/source/rails_application_templates.md
@@ -82,10 +82,10 @@ end
Adds the given source to the generated application's `Gemfile`.
-For example, if you need to source a gem from `"http://code.whytheluckystiff.net"`:
+For example, if you need to source a gem from `"http://gems.github.com"`:
```ruby
-add_source "http://code.whytheluckystiff.net"
+add_source "http://gems.github.com"
```
If block is given, gem entries in block are wrapped into the source group.