Skip to content

Commit

Permalink
Simplify error trace
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushn21 committed Nov 8, 2024
1 parent c5cba45 commit 95781c2
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions bridgetown-website/src/_docs/installation/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,11 @@ class RodaApp < Roda
end
```

Additionally, you may hit this issue with the server and the error will look something like this:
Additionally, you may also hit the following error:

```
➜ docs git:(konnorrogers/major-overhaul) ✗ bin/bridgetown start
[Bridgetown] Starting: Bridgetown v2.0.0.beta2 (codename "(TBD!)")
[Bridgetown]
[Bridgetown] Booting Puma at: http://0.0.0.0:4000
[Bridgetown]
/Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `set_encoding': Interrupt
from /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
[...]
from /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/bin/bridgetown:30:in `<top (required)>'
from bin/bridgetown:27:in `load'
from bin/bridgetown:27:in `<main>'
[Bridgetown] Stopping auxiliary processes...
[Bridgetown] Exception raised: Errno::ENOENT
[Bridgetown] No such file or directory @ rb_sysopen - /Users/konnor/projects/oss/doxxing-time-layouts/rhino-editor/docs/tmp/pids/aux.pid
[Bridgetown] 1: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-foundation-2.0.0.beta2/lib/bridgetown/foundation/packages/pid_tracker.rb:15:in `readlines'
[Bridgetown] 2: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-foundation-2.0.0.beta2/lib/bridgetown/foundation/packages/pid_tracker.rb:15:in `read_pidfile'
[Bridgetown] 3: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/utils/aux.rb:51:in `kill_processes'
[Bridgetown] 4: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/commands/start.rb:104:in `block (2 levels) in start'
[Bridgetown] 5: /Users/konnor/.asdf/installs/ruby/3.3.4/lib/ruby/gems/3.3.0/gems/bridgetown-core-2.0.0.beta2/lib/bridgetown-core/commands/start.rb:11:in `ensure in start'
[Bridgetown] Backtrace: Use the --trace option for complete information.
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.
Expand Down

0 comments on commit 95781c2

Please sign in to comment.