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
242### Ruby / Minitest242### Ruby / Minitest
243### Ruby on Rails243### Ruby on Rails
244* 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)244* 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")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)246* Run `bundle config set --local without 'db job'` (in the Rails directory)
247* Run "cd guides && bundle exec rake guides:generate:html"247* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
248* Copy the "guides/output" directory to "html/guides"248* Run `cd guides && bundle exec rake guides:generate:html`
249* Copy the "html" directory to "docs/rails~[version]"249* Copy the `guides/output` directory to `html/guides`
250* Copy the `html` directory to `docs/rails~[version]`
250 251
251### Ruby252### Ruby
252Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run253Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run