mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
file-scrapers: update rails
This commit is contained in:
parent
7049a8316a
commit
dbf59d2138
1 changed files with 6 additions and 5 deletions
|
@ -242,11 +242,12 @@ done
|
|||
### Ruby / Minitest
|
||||
### Ruby on Rails
|
||||
* Download a release at https://github.com/rails/rails/releases or clone https://github.com/rails/rails.git (checkout to the branch of the rails' version that is going to be scraped)
|
||||
* Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc")
|
||||
* Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory)
|
||||
* Run "cd guides && bundle exec rake guides:generate:html"
|
||||
* Copy the "guides/output" directory to "html/guides"
|
||||
* Copy the "html" directory to "docs/rails~[version]"
|
||||
* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
|
||||
* Run `bundle config set --local without 'db job'` (in the Rails directory)
|
||||
* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
|
||||
* Run `cd guides && bundle exec rake guides:generate:html`
|
||||
* Copy the `guides/output` directory to `html/guides`
|
||||
* Copy the `html` directory to `docs/rails~[version]`
|
||||
|
||||
### Ruby
|
||||
Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run
|
||||
|
|
Loading…
Reference in a new issue