Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Add upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
will-in-wi committed Apr 18, 2020
1 parent 43543ae commit 833dbff
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ Switching to ACMEv2 broke backwards compatibility in a couple ways.
directory = "https://acme-staging-v02.api.letsencrypt.org/directory" # Staging
#directory = "https://acme-v02.api.letsencrypt.org/directory" # Production
```
- You need to change all references from Ruby 2.2 to 2.3.
Run:
```bash
GEM_HOME=$HOME/.letsencrypt_webfaction/gems RUBYLIB=$GEM_HOME/lib gem2.3 install letsencrypt_webfaction
```
And then change
```bash
function letsencrypt_webfaction {
GEM_HOME=$HOME/.letsencrypt_webfaction/gems PATH=$PATH:$GEM_HOME/bin RUBYLIB=$GEM_HOME/lib ruby2.2 $HOME/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction $*
}
```
to
```bash
function letsencrypt_webfaction {
GEM_HOME=$HOME/.letsencrypt_webfaction/gems PATH=$PATH:$GEM_HOME/bin RUBYLIB=$GEM_HOME/lib ruby2.3 $HOME/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction $*
}
```

# Upgrading from v2 to v3

Expand Down

0 comments on commit 833dbff

Please sign in to comment.