Skip to content

Instantly share code, notes, and snippets.

@headius
Created October 22, 2025 20:33
Show Gist options
  • Select an option

  • Save headius/a824c87293ac8f96bfa65f8f838da7cd to your computer and use it in GitHub Desktop.

Select an option

Save headius/a824c87293ac8f96bfa65f8f838da7cd to your computer and use it in GitHub Desktop.
Single-jar deployment of Sidekiq running the plain-old-Ruby example
sidekiq $ export RAILS_VERSION=7.1
sidekiq $ bundle
...
Bundle complete! 21 Gemfile dependencies, 88 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
sidekiq $ warble
rm -f sidekiq.jar
Creating sidekiq.jar
sidekiq $ export JDK_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=true
sidekiq $ java -jar sidekiq.jar -r ./examples/por.rb
NOTE: Picked up JDK_JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
m,
`$b
.ss, $$: .,d$
`$$P,d$P' .,md$P"'
,$$$$$b/md$$$P^'
.d$$$$$$/$$$P'
$$^' `"/$$$' ____ _ _ _ _
$: ',$$: / ___|(_) __| | ___| | _(_) __ _
`b :$$ \___ \| |/ _` |/ _ \ |/ / |/ _` |
$$: ___) | | (_| | __/ <| | (_| |
$$ |____/|_|\__,_|\___|_|\_\_|\__, |
.d$$ |_|
INFO 2025-10-22T20:31:07.902Z pid=71115 tid=1jsf: Running in jruby 10.0.2.0 (3.4.2) 2025-08-07 cba6031bd0 OpenJDK 64-Bit Server VM 21.0.8+9-LTS on 21.0.8+9-LTS +indy +jit [arm64-darwin]
INFO 2025-10-22T20:31:07.903Z pid=71115 tid=1jsf: See LICENSE and the LGPL-3.0 for licensing details.
INFO 2025-10-22T20:31:07.903Z pid=71115 tid=1jsf: Upgrade to Sidekiq Pro for more features and support: https://sidekiq.org
INFO 2025-10-22T20:31:07.904Z pid=71115 tid=1jsf: Sidekiq 8.0.8 connecting to Redis with options {size: 10, pool_name: "internal", url: nil}
INFO 2025-10-22T20:31:07.926Z pid=71115 tid=1jsf: Sidekiq 8.0.8 connecting to Redis with options {size: 5, pool_name: "default", url: nil}
INFO 2025-10-22T20:31:07.929Z pid=71115 tid=1jsf: Starting processing, hit Ctrl-C to stop
INFO 2025-10-22T20:31:20.151Z pid=71115 tid=1jsr jid=7f88c3058e212412f01e5369 class=PlainOldRuby: start
Workin' like a warbler
INFO 2025-10-22T20:31:23.161Z pid=71115 tid=1jsr jid=7f88c3058e212412f01e5369 class=PlainOldRuby elapsed=3.01: done
^CINFO 2025-10-22T20:31:31.491Z pid=71115 tid=1jsf: Shutting down
INFO 2025-10-22T20:31:31.492Z pid=71115 tid=1jsf: Terminating quiet threads for default capsule
INFO 2025-10-22T20:31:31.493Z pid=71115 tid=1jsv: Scheduler exiting...
INFO 2025-10-22T20:31:31.601Z pid=71115 tid=1jsj: Pausing to allow jobs to finish...
INFO 2025-10-22T20:31:33.266Z pid=71115 tid=1jsf: Bye!
sidekiq $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment