adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
<lembron> kinda other way around i mean - originial author build for 1.9 (according to the readme at least) -- i have it running on 2.7 & 3.0 now - but can only run as development or test, not "production" as production tries to freeze and explodes then
<lembron> so Q is - did this likely never work? author didnt build "prod" and thats just a standard config.ru file he copypasted as template?
<lembron> or should i expect that to function and need some tweaking/updates to fix ((what then leads into a "do i need this?"))
<weaksauce> tough to say
<weaksauce> what was the gem??
graywolf has joined #ruby
parv has joined #ruby
cornett has joined #ruby
random-jellyfish has quit [Ping timeout: 256 seconds]
Inline has quit [Ping timeout: 264 seconds]
aeris has quit [Remote host closed the connection]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
aeris has joined #ruby
cognemo has quit [Quit: ZNC 1.8.2 - https://znc.in]
cognemo has joined #ruby
ralu has quit [Ping timeout: 256 seconds]
ralu has joined #ruby
Rounin has quit [Ping timeout: 268 seconds]
jpw has joined #ruby
trillp has joined #ruby
pusewic|away_ has quit [Ping timeout: 268 seconds]
pusewic|away_ has joined #ruby
Inline has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
libsys has quit [Remote host closed the connection]
libsys has joined #ruby
<libsys> hello people... looks like I'm having a rare error on when using rack
<libsys> IDK what's going on, but it breaks when I use Rack::Response
<libsys> when I run rackup
<libsys> what's weird is that when I replace `Rack::Response.new("hello")` by `[200, { 'Content-Type' => 'text/html' }, ['hello']]` it works fine
<libsys> I've tried with ruby 2.7.2 and 3.0 on different machines, I receive the same error
ur5us has joined #ruby
xyhuvud has joined #ruby
yxhuvud has quit [Ping timeout: 268 seconds]
<libsys> pfff didn't read the docs, i need to do Response#finish
<libsys> seen examples of people not doing the .finish part, probably an old version?
ur5us has quit [Ping timeout: 264 seconds]
Inline has quit [Quit: Leaving]
_ht has joined #ruby
vit has joined #ruby
Inline has joined #ruby
<ox1eef> libsys: traditionally the three element array would be returned, i think returning Rack::Response instead is a new interfacte
<ox1eef> not certain thouggh.
taupiqueur has joined #ruby
random-jellyfish has joined #ruby
gcd has joined #ruby
dohtem has quit [Quit: Connection closed for inactivity]
jetchisel has joined #ruby
parv has quit [Quit: parv]
gcd has quit [Quit: leaving]
robotmay has quit [Quit: No Ping reply in 180 seconds.]
trillp has quit [Quit: nyaa~]
taupiqueur_ has joined #ruby
robotmay has joined #ruby
taupiqueur has quit [Ping timeout: 264 seconds]
menace has quit [Quit: menace]
berkhan has joined #ruby
taupiqueur_ has quit [Ping timeout: 256 seconds]
graywolf has quit [Quit: WeeChat 3.3]
gcd has joined #ruby
coolnickname_ has joined #ruby
Rounin has joined #ruby
coolnickname_ has quit [Ping timeout: 256 seconds]
moldorcoder7_ has quit [Ping timeout: 264 seconds]
moldorcoder7 has joined #ruby
berkhan has quit [Ping timeout: 264 seconds]
ikke has joined #ruby
<ikke> What can cause 'Gem' to be unavailable? gem install rugged -v '1.1.0' --source 'https://rubygems.org/' results into "extconf.rb:49:in `<main>': uninitialized constant Gem (NameError)". This is in an ruby:alpine2.7-alpine3.13 docker image.
coolnickname_ has joined #ruby
<isene> What is the best/most efficient way to split a string after a certain length (to force line breaks in a curses window)?
coolnickname_ has quit [Ping timeout: 260 seconds]
taupiqueur has joined #ruby
dohtem has joined #ruby
<adam12> isene: Probably need to index for whitespace and slice, since I'm not sure you want to force line break in the middle of words?
gcd has quit [Quit: leaving]
<adam12> lines = []; until string == ""; lines << string.slice!(0..string.index("\s", 70)); end
<adam12> ikke: what's the exact docker image?
<ikke> adam12: ruby2.7-alpine3.13
<ikke> adam12: ruby:2.7-alpine3.13
petru has joined #ruby
menace has joined #ruby
menace has joined #ruby
menace has quit [Changing host]
<adam12> ikke: I can't reproduce that error, but that image needs a bunch of build deps to build anything.
<adam12> ikke: Why aren't you using a normal ruby image on buster or similar?
<adam12> s/normal/full
petru is now known as legit
random-jellyfish has quit [Ping timeout: 256 seconds]
<adam12> apk add build-base cmake libressl-dev
<isene> adam12: Great. Thanks.
<ikke> adam12: because we run the application on alpinelinux
<ikke> In this case gitlab
<ikke> We can build it without issue with gitlab 14.2, but 14.3 gives these issues
<ikke> And for us, alpine is normal :)
<adam12> ikke: Installing those packages allows me to install the gem. Good luck :)
duds- has quit [Remote host closed the connection]
jpw has quit [Remote host closed the connection]
BSaboia has quit [Quit: This computer has gone to sleep]
Inline has quit [Ping timeout: 245 seconds]
frodl has joined #ruby
BSaboia has joined #ruby
fef has joined #ruby
Shubham has joined #ruby
<Shubham> Hi Everyone !
Shubham has quit [Client Quit]
<havenwood> Shun: Hi!
<havenwood> Shubham*
fef has quit [Quit: Leaving]
random-jellyfish has joined #ruby
ule has joined #ruby
ur5us has joined #ruby
graywolf has joined #ruby
lunarkitty has joined #ruby
menace has quit [Quit: menace]
taupiqueur has quit [Ping timeout: 256 seconds]
random-jellyfish has quit [Ping timeout: 256 seconds]
shokohsc865 has joined #ruby
shokohsc86 has quit [Ping timeout: 268 seconds]
shokohsc865 is now known as shokohsc86
_ht has quit [Remote host closed the connection]
coolnickname_ has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
coolnickname_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
vit has quit [Quit: Konversation terminated!]
vit has joined #ruby