1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
ultrawebmarketing 2019-07-08 14:30:31 -04:00 committed by GitHub
parent bc8911690a
commit 706063f1ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.