Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changeset simply adds and configures Litestack.
The ENV var, LITESTACK_DATA_PATH, is added to point to
./storage
per the recent change in Rails: rails/rails#46699I did discover that, in order to use the "liteboard" web interface, I needed to downgrade from rack 3.x and pin to rack 2.x. Although the current version of Rails 7.1 used in joyofrails.com supports and installs rack 3, litestack depends on hanami-router, which is currently pinned to rack 2.x. (I only discovered this issue after attempting to load the liteboard web interface which raised a 500 with
undefined method unescape for module URI
—litestack was installing an old-old-old version of hanami-router 0.6.x that is incompatible with Ruby 3 because this older hanami-router did not constrain the rack version and happily installed alongside rack 3).