Commit Graph

16 Commits

Author SHA1 Message Date
Javi Martín
cf6d9ce753 Add Ruby version to Gemfile
Since Bundler 2.4.19, including in Ruby 3.2.3, it's possible to define
the Ruby version in the Gemfile by indicating which file contains the
version [1].

There are at least two practical cases where this is an advantage.

First, people using RVM in development will no longer accidentally run
the application using the wrong Ruby version (which, before these
changes, might happen if they switch to a branch using a different Ruby
version and forget to run `rvm use` or exit the current folder and enter
it again) because they will get an error when trying to do so.

Second, people using services like Heroku no longer need to modify the
Gemfile.

The disadvantage is that, now, every time we update the Ruby version, we
have to remember to run `bundle` so our `Gemfile.lock` gets the new
version.

[1] https://github.com/rubygems/rubygems/releases/tag/bundler-v2.4.19
2025-01-09 17:14:42 +01:00
taitus
c267679aeb Update Heroku instructions
Note that the variable related with the "hostname" is removed
from the Heroku instructions as it is not necessary to configure
the Bucket.
2024-09-30 18:25:07 +02:00
Javi Martín
819485eb80 Re-add and apply MDL rule MD040
We were following it about half of the time and we even added it to our
former `.mdlrc` file. However, for some reason, MDL doesn't detect this
rule when specified in the `.mdlrc` file, so we didn't notice we weren't
following it in many cases.

Now that we're using a style file to configure MDL, we can enable this
rule again and apply it, since now MDL correctly includes it in its
report.
2024-06-21 15:57:52 +02:00
Javi Martín
10e2a9713f Update references to GitHub repositories 2023-07-12 16:03:17 +02:00
Javi Martín
13c641eedc Update application name
Note that, in order to have some consistency, we're always writing
"Consul Democracy", instead of using capital letters sometimes (but not
always), like we did until now.
2023-07-12 15:36:49 +02:00
taitus
31efa97076 MD031 Fenced code blocks should be surrounded by blank lines 2023-04-21 11:00:02 +02:00
taitus
e5a8f06049 MD026 Trailing punctuation in header
This rule is broken when we have ".,;::!?" in the headers.
We have removed the ones with ":" but kept the ones
with "?", so this rule will always warn in these cases.
2023-04-21 11:00:02 +02:00
Pietro Monticone
f62cd1129b Clean docs 2022-11-01 15:20:25 +01:00
LucasCioffi
92446306ab Add instructions for how to turn on SendGrid
Instructions like these are necessary to prevent developers from
wondering why their emails aren't getting sent.
2021-12-10 18:21:10 +01:00
Javi Martín
69f9738902 Update Puma installation on Heroku
CONSUL now uses Puma on production as well.
2021-11-30 17:59:29 +01:00
Pierre
6fcbd414f5 Updating the heroku guide for CONSUL v1.0.0 2021-11-30 17:54:46 +01:00
Javi Martín
127ada280f Install Ruby based on CONSUL's .ruby-version 2020-07-08 14:22:22 +02:00
Javier Martín
eeeb674fbf Merge pull request #81 from LucasCioffi/patch-1
Adding missing character
2019-11-24 03:03:47 +01:00
Javi Martín
d49df794f7 Update installation instructions for Ruby 2.4.9
This is the Ruby version CONSUL uses now. Thanks to that, we no longer
need to install an old version of libssl-dev for Ubuntu 18.04.

We could probably simplify the documentation using:

```bash
rbenv install `cat .ruby_version`
```

However, this would require downloading consul before installing Ruby,
which could be harder to document.
2019-10-21 22:10:16 +02:00
LucasCioffi
ff28501eb0 Adding missing character
I think there was a missing character on this line.
2019-07-19 16:10:12 -04:00
voodoorai2000
dd760f5553 Move pages to adapt to new SUMMARY structure 2019-04-01 22:01:32 +02:00