History

file-scrapers: update rails

Simon Legner committed 2 years ago

Commit dbf59d21 parent 7049a831 file · +6 −5Browse files

Unified · Split

docs/file-scrapers.md+6−5
@@ -242,11 +242,12 @@ done · 241 unmodified lines
242242 ### Ruby / Minitest
243243 ### Ruby on Rails
244244 * 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)
245−* Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc")
246−* Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory)
247−* Run "cd guides && bundle exec rake guides:generate:html"
248−* Copy the "guides/output" directory to "html/guides"
249−* Copy the "html" directory to "docs/rails~[version]"
245+* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
246+* Run `bundle config set --local without 'db job'` (in the Rails directory)
247+* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
248+* Run `cd guides && bundle exec rake guides:generate:html`
249+* Copy the `guides/output` directory to `html/guides`
250+* Copy the `html` directory to `docs/rails~[version]`
250251
251252 ### Ruby
252253 Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run