-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Trying to test falcon I came to localhost gem, I was following the steps from the guide (https://socketry.github.io/localhost/guides/getting-started/index.html)
~/code/ruby-falcon-stuff/test-01> bundle exec bake localhost:install
Installing certificate for /O=localhost.rb/CN=development...
0.88s error: Bake::Command [ec=0x360] [pid=2279824] [2025-12-14 18:48:33 -0300]
| No known system trust store found. Please install the certificate manually.
| RuntimeError: No known system trust store found. Please install the certificate manually.
| → /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/localhost-1.6.0/lib/localhost/system/linux.rb:34 in 'Localhost::System::Linux.install'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/localhost-1.6.0/bake/localhost.rb:33 in 'install'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/lib/bake/recipe.rb:120 in 'Bake::Recipe#call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/lib/bake/context.rb:105 in 'Bake::Context#call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/lib/bake/command/call.rb:32 in 'Bake::Command::Call#call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/lib/bake/command/top.rb:61 in 'Bake::Command::Top#call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/samovar-2.4.1/lib/samovar/command.rb:31 in 'Samovar::Command.call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/lib/bake/command.rb:12 in 'Bake::Command.call'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bake-0.24.1/bin/bake:30 in '<top (required)>'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/bin/bake:25 in 'Kernel#load'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/bin/bake:25 in '<top (required)>'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli/exec.rb:59 in 'Kernel.load'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli/exec.rb:59 in 'Bundler::CLI::Exec#kernel_load'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli/exec.rb:23 in 'Bundler::CLI::Exec#run'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli.rb:452 in 'Bundler::CLI#exec'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/command.rb:28 in 'Bundler::Thor::Command#run'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/invocation.rb:127 in 'Bundler::Thor::Invocation#invoke_command'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor.rb:538 in 'Bundler::Thor.dispatch'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli.rb:35 in 'Bundler::CLI.dispatch'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/vendor/thor/lib/thor/base.rb:584 in 'Bundler::Thor::Base::ClassMethods#start'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/cli.rb:29 in 'Bundler::CLI.start'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bundler-2.6.7/exe/bundle:28 in 'block in <top (required)>'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/3.4.0/bundler/friendly_errors.rb:117 in 'Bundler.with_friendly_errors'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/lib64/ruby/gems/3.4.0/gems/bundler-2.6.7/exe/bundle:20 in '<top (required)>'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/bin/bundle:25 in 'Kernel#load'
| /home/megatux/.local/share/mise/installs/ruby/3.4.4/bin/bundle:25 in '<main>'
Tried bundle exec bake localhost:purge that removed the files on ~/.local/state/localhost.rb ( development.crt development.key development.lock ) and ran again the install command but same thing.
I read the code at lib/localhost/system/linux.rb, seems like it checks for some paths that I do not have in my system (OpenSuse Tumbleweed)
ANCHORS_PATH = "/etc/ca-certificates/trust-source/anchors/"
LOCAL_CERTIFICATES_PATH = "/usr/local/share/ca-certificates/"
Metadata
Metadata
Assignees
Labels
No labels