Fix typos in gemfile customization docs

This commit is contained in:
Javi Martín
2024-08-30 16:18:04 +02:00
parent 58a5b7e627
commit a8250a6f46
2 changed files with 8 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
# Gemfile # Customizing the Gemfile
To add new gems (libraries) you can edit the `Gemfile_custom` file. For example to add [rails-footnotes](https://github.com/josevalim/rails-footnotes) gem you would just add: To add new gems (external tools/libraries written in Ruby) you can edit the `Gemfile_custom` file. For example, to add the [rails-footnotes](https://github.com/josevalim/rails-footnotes) gem you would add:
```ruby ```ruby
gem 'rails-footnotes', '~> 4.0' gem "rails-footnotes", "~> 4.0"
``` ```
And then just do the classic Ruby on Rails flow `bundle install` and following any gem specific install steps from it's own documentation. And then run `bundle install` and follow any gem specific installation steps from its documentation.

View File

@@ -1,9 +1,9 @@
# Gemfile # Personalización del Gemfile
Para agregar librerías (gems) nuevas puedes hacerlo en el fichero `Gemfile_custom`. Por ejemplo si quieres agregar la gema [rails-footnotes](https://github.com/josevalim/rails-footnotes) debes hacerlo agregandole Para añadir gemas (herramientas externas escritas en Ruby) nuevas puedes editar el fichero `Gemfile_custom`. Por ejemplo, si quieres añadir la gema [rails-footnotes](https://github.com/josevalim/rails-footnotes), añade:
```ruby ```ruby
gem 'rails-footnotes', '~> 4.0' gem "rails-footnotes", "~> 4.0"
``` ```
Y siguiendo el flujo clásico en Ruby on Rails (`bundle install` y seguir con los pasos específicos de la gema en la documentación) Tras esto, ejecuta `bundle install` y sigue los pasos de instalación específicos de la gema que aparecerán en su documentación.