Skip to content

Commit

Permalink
Add additional possible error for roda server (#910)
Browse files Browse the repository at this point in the history
* Add additional possible error for roda server

I had an error that didn't quite match the upgrade guide and didn't quite give enough info what was happening.

* Update upgrade.md

* Simplify error trace

---------

Co-authored-by: Ayush Newatia <[email protected]>
  • Loading branch information
KonnorRogers and ayushn21 authored Nov 9, 2024
1 parent 646c42f commit b4b1df4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bridgetown-website/src/_docs/installation/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ class RodaApp < Roda
end
```

Additionally, you may also hit the following error:

```
Exception raised: Errno::ENOENT
No such file or directory @ rb_sysopen - /tmp/pids/aux.pid
```

In which case, refer to the above fix for configuring your Roda server.


### Supporting Active Support Support 😏

Bridgetown v2 has removed a number of dependencies in the codebase on the Active Support gem (provided by the Rails framework). If that ends up causing problems with your codebase, you may need to require Active Support manually (and even Action View) in your `config/initializers.rb` file. [Here's a thread on GitHub](https://github.com/bridgetownrb/bridgetown/pull/881#issuecomment-2228693932) referencing this situation.
Expand Down

0 comments on commit b4b1df4

Please sign in to comment.