Make work on Fedora M1 and use faye on http for development

This commit is contained in:
2025-08-29 13:54:43 -05:00
parent 948a787bea
commit 6b02c05a99
8 changed files with 61 additions and 49 deletions
+21 -16
View File
@@ -1,10 +1,11 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.3.0)
coderay (1.1.3)
cookiejar (0.3.3)
cookiejar (0.3.4)
daemons (1.4.1)
em-http-request (1.1.7)
addressable (>= 2.3.4)
@@ -12,10 +13,11 @@ GEM
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.2)
em-socksify (0.3.3)
base64
eventmachine (>= 1.0.0.beta.4)
eventmachine (1.2.7)
faye (1.4.0)
faye (1.4.1)
cookiejar (>= 0.3.0)
em-http-request (>= 1.1.6)
eventmachine (>= 0.12.0)
@@ -23,22 +25,25 @@ GEM
multi_json (>= 1.0.0)
rack (>= 1.0.0)
websocket-driver (>= 0.5.1)
faye-websocket (0.11.1)
faye-websocket (0.12.0)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
websocket-driver (>= 0.8.0)
http_parser.rb (0.8.0)
method_source (1.0.0)
multi_json (1.15.0)
pry (0.14.1)
logger (1.7.0)
method_source (1.1.0)
multi_json (1.17.0)
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rack (2.2.3)
thin (1.8.1)
public_suffix (6.0.2)
rack (3.2.0)
thin (2.0.1)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
websocket-driver (0.7.5)
logger
rack (>= 1, < 4)
websocket-driver (0.8.0)
base64
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
@@ -51,4 +56,4 @@ DEPENDENCIES
thin
BUNDLED WITH
2.1.4
2.7.1
+1
View File
@@ -1,4 +1,5 @@
require 'faye'
require 'pry'
#require 'pry'
# started using (with extra server contexts of cours like full paths):
# thin start -d -R faye/config.ru -p 9296 --pid tmp/pids/faye.pid
+1 -1
View File
@@ -6,7 +6,7 @@ pwd_dirname=$(basename $(pwd))
script_dirname="faye"
arch=$(uname)
if [ $arch == "Darwin" ]; then
certs_dir="/Users/bj/Library/Application Support/mkcert"
certs_dir="~/.mkcert"
else
certs_dir="/etc/letsencrypt/live/mozo.bar"
fi
+9
View File
@@ -0,0 +1,9 @@
# run using: thin start -C thin_config.yml
---
port: 9296
rackup: config.ru
# ssl: true
# ssl-disable-verify: true
# ssl-key-file: /home/bj/.mkcerts/localhost-key.pem
# ssl-cert-file: /home/bj/.mkcerts/localhost.pem