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:
parent
bc8911690a
commit
706063f1ee
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue