havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<adam12> eggbean: if you use `FROM ruby:2.7` you'll get a debian container that way too.
<eggbean> alpine containers only have sh with busybox
<eggbean> Sure, thanks. I'll do that next time.
<adam12> eggbean: If you use one of the slim tags you might get alpine. There are slim tags with buster tho.
<eggbean> Sure, ok
gaussblurinc1 has quit [Quit: Leaving.]
siery has quit [Quit: WeeChat 2.8]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<CommunistWolf> docker < *
pwnd_nsfw` has joined #ruby
pwnd_nsfw` has quit [Client Quit]
greypack_1 is now known as greypack
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
bambanx has quit [Max SendQ exceeded]
TCZ has quit [Quit: Leaving]
bambanx has joined #ruby
TCZ has joined #ruby
ChmEarl has quit [Quit: Leaving]
<sagax> hi all!
<adam12> sagax: hello!
<sagax> why this path work? https://github.com/beshur/activesupport/commit/f7f066a3c5e5ba843effb987585dc329f1637187 what different between `self * something` vs `something * self` ?
<adam12> sagax: The object that receives `*` as a method call is different.
<sagax> don't understand, please more
<adam12> sagax: On the left it looks like an Integer. On the right, I'm presuming 30.days returns someting else.
<adam12> sagax: brb
<sagax> operator `*` have some strange for me
<sagax> ok, thanks
<sagax> what you think about this? https://termbin.com/u1y6m
<sagax> why ruby 2.3.8 can't install? i see that openssl have some problems
henninb has joined #ruby
drincruz has joined #ruby
bruce_lee has quit [Ping timeout: 256 seconds]
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
henninb has quit [Quit: leaving]
maxx88 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
drincruz has quit [Ping timeout: 264 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
<adam12> sagax: In Ruby, +, -, *, etc. are all methods on objects. Ruby just let's you do foo * bar. So by switching the receiver, they were now calling the * method on the ActiveSupport::Duration object, and not on Fixnum. The implementation of ActiveSupport::Duration#* was likely different than Fixnum#*
<adam12> sagax: That error might be something to do with your version of openssl. I'd just try a newer version of Ruby, unless you absolutely need 2.3. Don't forget maintenance of 2.3 ended over a year ago.
greypack has quit [Quit: All your IRC are belong to ZNC]
<sagax> i now, just can't move to rails 4 or upper, only rails 3 with ruby 2.3.8
<sagax> thanks
greypack has joined #ruby
drincruz has joined #ruby
bambanx has quit [Quit: Leaving]
oneeggeach has joined #ruby
gix has quit [Disconnected by services]
oneeggeach has quit [Quit: Leaving...]
TCZ has quit [Quit: Leaving]
tpanarch1st_ has quit [Ping timeout: 256 seconds]
fluxAeon has joined #ruby
segy has quit [Ping timeout: 256 seconds]
grimgnr has quit [Ping timeout: 264 seconds]
segy has joined #ruby
grimgnr has joined #ruby
millerti has quit [Ping timeout: 264 seconds]
cliluw has quit [Ping timeout: 256 seconds]
SanguineAnomaly has quit [Ping timeout: 272 seconds]
drincruz has quit [Ping timeout: 265 seconds]
deimos_ has quit [Remote host closed the connection]
deimos_ has joined #ruby
crankharder has joined #ruby
eggbean has quit [Quit: WeeChat 2.8]
eggbean has joined #ruby
eggbean has quit [Client Quit]
Pixi__ has quit [Quit: Leaving]
eggbean has joined #ruby
crankharder has quit [Ping timeout: 258 seconds]
gix has joined #ruby
Xiti has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jetchisel has joined #ruby
gix has quit [Ping timeout: 258 seconds]
duckpupp- has quit [Remote host closed the connection]
polishdub has joined #ruby
gnufied has quit [Ping timeout: 246 seconds]
Inoperable has joined #ruby
Inoperable has quit [Quit: All your buffer are belong to us!]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inoperable has joined #ruby
Inoperable has quit [Excess Flood]
Inoperable has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
duckpuppy has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
duckpuppy has quit [Remote host closed the connection]
duckpuppy has joined #ruby
cd has quit [Quit: cd]
schne1der has joined #ruby
vlitvak has joined #ruby
vlitvak has left #ruby [#ruby]
vlitvak has joined #ruby
vlitvak has quit [Ping timeout: 256 seconds]
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
crisfm has quit [Quit: WeeChat 2.7.1]
polishdub has quit [Quit: leaving]
sauvin has joined #ruby
schne1der has quit [Ping timeout: 265 seconds]
d3bug has quit [Quit: Connection closed for inactivity]
alexherbo2 has joined #ruby
snosk8r has quit [Remote host closed the connection]
snosk8r has joined #ruby
donofrio has quit [Remote host closed the connection]
imode has quit [Ping timeout: 256 seconds]
maxxx888 has quit [Read error: Connection reset by peer]
maxx88 has joined #ruby
conta has joined #ruby
cnsvc has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
djdduty has joined #ruby
ellcs has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
TCZ has joined #ruby
ellcs has joined #ruby
SanguineAnomaly has joined #ruby
bruce_lee has joined #ruby
maxx88 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
ur5us_ has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
huma has joined #ruby
TCZ has quit [Quit: Leaving]
ur5us_ has quit [Quit: Leaving]
gaussblurinc1 has joined #ruby
schne1der has joined #ruby
schne1der has quit [Client Quit]
alexherbo2 has joined #ruby
TCZ has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
snosk8r has quit [Ping timeout: 256 seconds]
djdduty has quit [Quit: Textual IRC Client: www.textualapp.com]
huma has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 272 seconds]
xco has joined #ruby
cliluw has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
ellcs has quit [Remote host closed the connection]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
chalkmonster has joined #ruby
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
lxsameer has joined #ruby
ellcs has joined #ruby
schne1der has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zlogan has quit [Read error: Connection reset by peer]
zlogan has joined #ruby
xco has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
crankharder has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
conta has quit [Ping timeout: 264 seconds]
xco has joined #ruby
cd has joined #ruby
<NGC3982> im new to installing stuff using ruby and i need to get better at interpreting what actually goes wrong with the program
<NGC3982> for instance, i get this and i have no idea how to actually approach it: https://pastebin.pl/view/756fc488
<NGC3982> any suggestions on where to start reading?
<jhass> NGC3982: the core error message is can't modify frozen String: ""
<jhass> that should be fairly googlable
<jhass> then it's always good to look where the backtrace touches your code
nowhere_man has joined #ruby
<jhass> but that doesn't seem to happen at all here
<NGC3982> it is, and a lot of people have that problem with a lot of things but i dont understand any of them
<NGC3982> and that is my core issue right now
<NGC3982> jhass: i see.
<jhass> or maybe you cut it off before
<NGC3982> that's all the output i get
jetchisel has quit [Ping timeout: 256 seconds]
<jhass> &>> "foo".free << "bar"
<jhass> eh
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/92y2)
<jhass> &>> "foo".freeze << "bar"
<rubydoc> stderr: -e:4:in `<main>': can't modify frozen String: "foo" (FrozenError)... check link for more (https://carc.in/#/r/92y3)
<NGC3982> allright, ill check that
<NGC3982> thanks
apurkrt has joined #ruby
<apurkrt> hi, I've installed redmine on gentoo, running it under apache with passenger
<apurkrt> I had to set "PassengerDefaultUser redmine" in /etc/apache2/modules.d/30_mod_passenger.conf, otherwise the app would not start
<apurkrt> which seems like an overkill
<apurkrt> I have "PassengerUserSwitching On" - somehow it probably wanted to run ruby as apache:apache (or even as root)
<apurkrt> anybody has an experience with setting this up the right way?
<jhass> I'm afraid passenger is not super popular here. You might want to check if there's still active people in #passenger
<apurkrt> jhass: thank you
<apurkrt> ok
<CommunistWolf> aye, normally I'd deploy such a thing with its own application server and reverse-proxy to that
<jhass> apurkrt: quick look at the docs, maybe you're just looking for https://www.phusionpassenger.com/docs/references/config_reference/apache/#passengeruser ?
<apurkrt> jhass: thanks, I will try to modify vhost config - it would be better to at least have it in one place with other redmine config and not scattered in the plugin config
<apurkrt> going to try it
<jhass> or maybe the ownership of your config.ru is just wrong
<apurkrt> and right you are probably! it is root:root
<jhass> (that should be what passenger calls the startup file)
<apurkrt> trying to fix that first
<apurkrt> it works! thank you very much, jhass
<jhass> you're welcome :)
TCZ has quit [Quit: Leaving]
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
stdedos has joined #ruby
ldepandis has joined #ruby
BTRE has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nowhereman has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
tpanarch1st_ has joined #ruby
mibr has joined #ruby
TCZ has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
fuzzface has joined #ruby
TCZ has quit [Quit: Leaving]
nowhereman has quit [Ping timeout: 256 seconds]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
nowhereman has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
factormystic has joined #ruby
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
jinmiaol1 has quit [Remote host closed the connection]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
jinmiaol1 has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
phaul has quit [Ping timeout: 256 seconds]
cliluw has quit [Remote host closed the connection]
phaul has joined #ruby
cliluw has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
xco has joined #ruby
xco has quit [Client Quit]
xco has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.8]
al2o3-cr has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
nowhereman has quit [Ping timeout: 244 seconds]
clemens3 has joined #ruby
stdedos has quit [Quit: Connection closed]
nowhereman has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
zlogan has quit [Quit: Leaving]
chalkmonster has quit [Client Quit]
TCZ has joined #ruby
fanta1 has joined #ruby
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
kristian_on_linu has joined #ruby
cnsvc has joined #ruby
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
BTRE has joined #ruby
plutes has quit [Killed (Sigyn (Stay safe off irc))]
arekushi has joined #ruby
fuzzface has quit [Quit: Leaving]
jinmiaol1 has quit [Remote host closed the connection]
jimbeaudoin has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxx88 has joined #ruby
plutes has joined #ruby
plutes has quit [Max SendQ exceeded]
kinduff has quit [Quit: gg]
ChmEarl has joined #ruby
jimbeaudoin has quit []
kinduff has joined #ruby
jbeaudoin has joined #ruby
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
johnny56 has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
<lucianp> I frequently find I need to cycle over elements in an array using it once within another loop e.g. array = [0,1,2]; other_big_enumerable.map { |x| x + array.next_in_cycle }.join. What'd be a recommended way to accomplish this? monkey patch Enumerable?
infinityfye has joined #ruby
imode has joined #ruby
<havenwood> lucianp: other_big_enumerable.zip(array.cycle)
<havenwood> lucianp: (If I'm understanding the question.)
<havenwood> &>> 5.times.zip(%i[a b c].cycle)
<rubydoc> # => [[0, :a], [1, :b], [2, :c], [3, :a], [4, :b]] (https://carc.in/#/r/9304)
kinduff has quit [Quit: Ping timeout (120 seconds)]
kinduff has joined #ruby
kinduff has quit [Client Quit]
crankharder has joined #ruby
<lucianp> thanks. cycle does the trick nicely.
cliluw has quit [Remote host closed the connection]
cliluw has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
henninb has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
jinie has left #ruby [#ruby]
henninb has quit [Quit: leaving]
henninb has joined #ruby
henninb has quit [Client Quit]
ellcs has joined #ruby
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
TCZ has quit [Quit: Leaving]
pwnd_nsfw has quit [Quit: Leaving]
darkstardev13 has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
kozowu has joined #ruby
danguita has quit []
BTRE has quit [Ping timeout: 265 seconds]
chalkmonster has joined #ruby
drincruz has joined #ruby
dviola has joined #ruby
pwnd_nsfw has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
maxx88 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
BTRE has joined #ruby
akem has quit [Quit: Leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inoperable has quit [Excess Flood]
crankharder has joined #ruby
Inoperable has joined #ruby
tpanarch1st_ has quit [Read error: Connection reset by peer]
d3bug has joined #ruby
Pixi__ has joined #ruby
crankharder has quit [Ping timeout: 272 seconds]
Xiti` has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
Inoperable has quit [Excess Flood]
bambanx has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
mikecmpbll has joined #ruby
Inoperable has joined #ruby
cliluw has joined #ruby
Inoperable has quit [Excess Flood]
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
SuperL4g has joined #ruby
infinityfye has quit [Ping timeout: 256 seconds]
Pixi__ has quit [Quit: Leaving]
SuperLag has quit [Ping timeout: 256 seconds]
Inoperable has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
orbyt_ has joined #ruby
SuperLag has joined #ruby
SuperL4g has quit [Ping timeout: 260 seconds]
fanta1 has quit [Quit: fanta1]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 258 seconds]
Xiti has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
oneeggeach has joined #ruby
oneeggeach has quit [Client Quit]
akem has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 256 seconds]
Xiti` has quit [Remote host closed the connection]
kristian_on_linu has quit [Remote host closed the connection]
dviola has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
FastJack has joined #ruby
apurkrt has quit [Quit: Leaving]
mibr has quit [Ping timeout: 260 seconds]
rkoller has joined #ruby
rkoller has quit [Client Quit]
Xiti has joined #ruby
crankharder has quit [Ping timeout: 272 seconds]
pwnd_nsfw has joined #ruby
tomg has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
maxxx888 has quit [Read error: Connection reset by peer]
maxxx888 has joined #ruby
masticass has quit [Ping timeout: 260 seconds]
pwnd_nsfw has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
r29v has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
SuperLag has quit [Ping timeout: 265 seconds]
SuperLag has joined #ruby
SuperLag has quit [Ping timeout: 265 seconds]
masticass has joined #ruby
tomg has joined #ruby
SuperLag has joined #ruby
caterfxo has quit [Quit: leaving]
ellcs has quit [Ping timeout: 244 seconds]
crankharder has joined #ruby
SuperL4g has joined #ruby
fluxAeon has quit [Ping timeout: 258 seconds]
SuperLag has quit [Ping timeout: 256 seconds]
SuperLag has joined #ruby
SuperL4g has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 264 seconds]