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
r0bby has quit [Ping timeout: 260 seconds]
r3my has quit [Ping timeout: 260 seconds]
caleb has quit [Ping timeout: 264 seconds]
itok_ has quit [Ping timeout: 268 seconds]
jposer has quit [Ping timeout: 244 seconds]
lunarkitty has quit [Ping timeout: 246 seconds]
siasmj has quit [Ping timeout: 264 seconds]
the_finn has quit [Ping timeout: 245 seconds]
Liothen has quit [Read error: Connection reset by peer]
joenoon has quit [Write error: Connection reset by peer]
JSharp has quit [Ping timeout: 264 seconds]
dohtem has quit [Ping timeout: 246 seconds]
howdoi has quit [Read error: Connection reset by peer]
keyvan has quit [Read error: Connection reset by peer]
pusewic|away_ has quit [Read error: Connection reset by peer]
josephl has quit [Read error: Connection reset by peer]
hwrd has quit [Read error: Connection reset by peer]
JayDoubleu has quit [Read error: Connection reset by peer]
psb has quit [Read error: Connection reset by peer]
cuppajoeman has quit [Read error: Connection reset by peer]
vito has quit [Read error: Connection reset by peer]
integral has quit [Read error: Connection reset by peer]
pjlsergeant has quit [Read error: Connection reset by peer]
rubin55 has quit [Read error: Connection reset by peer]
michigan has quit [Ping timeout: 246 seconds]
joenoon has joined #ruby
dohtem has joined #ruby
michigan has joined #ruby
pusewic|away_ has joined #ruby
the_finn has joined #ruby
JSharp has joined #ruby
TCZ has joined #ruby
TCZ has quit [Client Quit]
TCZ has joined #ruby
joenoon has quit [Ping timeout: 256 seconds]
pusewic|away_ has quit [Ping timeout: 256 seconds]
the_finn has quit [Ping timeout: 268 seconds]
michigan has quit [Ping timeout: 264 seconds]
dohtem has quit [Ping timeout: 256 seconds]
JSharp has quit [Ping timeout: 264 seconds]
r0bby has joined #ruby
dohtem has joined #ruby
michigan has joined #ruby
joenoon has joined #ruby
pusewic|away_ has joined #ruby
siasmj has joined #ruby
JSharp has joined #ruby
psb has joined #ruby
rubin55 has joined #ruby
pjlsergeant has joined #ruby
TCZ has quit [Quit: Leaving]
TCZ has joined #ruby
caleb has joined #ruby
jposer has joined #ruby
itok_ has joined #ruby
the_finn has joined #ruby
vito has joined #ruby
keyvan has joined #ruby
hwrd has joined #ruby
JayDoubleu has joined #ruby
lunarkitty has joined #ruby
vit has quit [Ping timeout: 256 seconds]
r3my has joined #ruby
integral has joined #ruby
victori has quit [Ping timeout: 260 seconds]
Arkantos has joined #ruby
Liothen has joined #ruby
cuppajoeman has joined #ruby
josephl has joined #ruby
Arkantos_ has joined #ruby
<michigan> Doja Cat flirts with a random girl on GTA V (16th October 2021): https://youtu.be/4GxMMSBRZG0?t=262
<michigan> She's like "Oh my God, it's like a Ruby!"
<michigan> lol
Arkantos has quit [Ping timeout: 260 seconds]
Arkantos_ has quit [Client Quit]
Arkantos has joined #ruby
skered has left #ruby [#ruby]
lunarkitty has quit [Quit: Connection closed for inactivity]
Arkantos_ has joined #ruby
Arkantos has quit [Ping timeout: 260 seconds]
Arkantos_ has quit [Client Quit]
justache has quit [Read error: Connection reset by peer]
justache has joined #ruby
Rounin has quit [Ping timeout: 256 seconds]
<libsys> how could I call a method on a controller as rails does?
howdoi has joined #ruby
<libsys> seems like the only way would be `eval("ClassName").new.public_send` ?
<libsys> *how could I call a method on a controller from the router as rais does?
<libsys> not neccesarily needs to be as rails does, but I'm exploring routing and I don't seems to find a way which doesn't use eval to call a controller from a string
<libsys> s/seems/seem
<libsys> sorry for by english xd
<libsys> ok... looks like it's been too many hours today, ha
<adam12> libsys: I'm not sure it's possible, because not only does Rails initialize the controller, but it sets a bunch of values too.
<adam12> libsys: You can do it through the console I thought tho.
<adam12> Can't call a controller, but you can simulate a request (app.get "/")
TCZ has quit [Quit: Leaving]
<havenwood> libsys: FWIW, I'd Object.const_get('ClassName') rather than eval.
tkonto has quit [Quit: tkonto]
tkonto has joined #ruby
tkonto has quit [Client Quit]
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
donofrio has quit [Max SendQ exceeded]
donofrio has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
justache has quit [Read error: Connection reset by peer]
justache has joined #ruby
<libsys> havenwood: const_get is exactly was I what looking for
michigan has quit [Quit: Connection closed for inactivity]
pwnd_sfw has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
BSaboia has joined #ruby
victori has joined #ruby
victori has quit [Remote host closed the connection]
victori has joined #ruby
lunarkitty has joined #ruby
jpw has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Guest80 has joined #ruby
Guest80 has quit [Ping timeout: 256 seconds]
vigumnov has joined #ruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
KOTP has quit [Ping timeout: 260 seconds]
KOTP has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
gr33n7007h has joined #ruby
Pixi_ has quit [Quit: Leaving]
berkhan has joined #ruby
vit has joined #ruby
Pixi has joined #ruby
jpw has quit [Remote host closed the connection]
itok_ has quit [Ping timeout: 264 seconds]
ralu has joined #ruby
itok_ has joined #ruby
<ralu> Hello i want to install binary package in docker (fpm) . I am new to gem and I would like to store dependencies in file and installed from such list to have reproducible dockerfile. What is natural way to store list of dependencies in file and than install that binary from such list to be used in docker container?
<nakilon> ruby gems are not binaries; you make a 'Gemfile' file that lists gem versions that is then being downloaded from rubygems.org
<nakilon> and in docker the reproducibility is done by building a layer that includes the installation step
<ralu> can you show how that would go with creating Gemfile and installing from there?
<nakilon> also rubygems.org remembers the gem versions so you can't push another code to the same version
<nakilon> you don't even need Gemfile if you use docker -- they are basically solving the same problem
<ralu> but how do i create dockerfile that creates reproducable container?
<ralu> i am looking for set of commands here
<nakilon> you can build an image with RUN gem install <mygem>
<ralu> will this command install same binary every time this is executed?
<ralu> "same package"
<ralu> and same set of packages
<nakilon> docker does not execute it everytime
<nakilon> it's stored as a layer
<ralu> Yea I know that, but i want to have also reproducable dockerfile
<ralu> so when i build docker file i want to have same container
<nakilon> then docker has nothing to do with it
<ralu> no it does not have to do with that
<nakilon> this smells like misuing the docker
<nakilon> gem install command has flag -v
<ralu> yeah but dependencies are vaugley defined
<nakilon> (this is why I don't go to work with rails)
<ralu> aha ok i see
con3 has quit [Quit: ZNC 1.8.2 - https://znc.in]
con3 has joined #ruby
cnsvc has quit [Read error: Connection reset by peer]
cnsvc- has joined #ruby
<ralu> I will then relax my requrements :)
gr33n7007h has quit [Quit: WeeChat 3.3]
berkhan has quit [Ping timeout: 268 seconds]
Rounin has joined #ruby
cnsvc- has quit [Remote host closed the connection]
cnsvc has joined #ruby
dohtem has quit [Quit: Connection closed for inactivity]
zoro_dies_tomorr has quit [Remote host closed the connection]
zoro_dies_tomorr has joined #ruby
teclator has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 246 seconds]
Bounga has joined #ruby
vigumnov has quit [Read error: Connection reset by peer]
victori has joined #ruby
Bounga has quit [Ping timeout: 264 seconds]
teclator has joined #ruby
newton has quit [Ping timeout: 264 seconds]
TomyWork has quit [Remote host closed the connection]
newton has joined #ruby
Andrew_ is now known as AndrewYu
tweaks has quit [Ping timeout: 260 seconds]
slothby has quit [Ping timeout: 260 seconds]
newton has quit [Ping timeout: 250 seconds]
slothby has joined #ruby
newton has joined #ruby
BSaboia has joined #ruby
sam113101 has quit [Ping timeout: 250 seconds]
Guest19 has joined #ruby
sam113101 has joined #ruby
Arkantos has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
Guest19 has quit [Quit: Client closed]
tweaks has joined #ruby
splud is now known as n2
n2 is now known as splud
Arkantos has quit [Read error: No route to host]
itok_ has quit [Read error: Connection reset by peer]
josephl has quit [Ping timeout: 256 seconds]
integral has quit [Ping timeout: 256 seconds]
hwrd has quit [Ping timeout: 256 seconds]
vito has quit [Ping timeout: 256 seconds]
the_finn has quit [Ping timeout: 256 seconds]
jposer has quit [Ping timeout: 256 seconds]
pjlsergeant has quit [Ping timeout: 256 seconds]
siasmj has quit [Ping timeout: 256 seconds]
caleb has quit [Ping timeout: 264 seconds]
rubin55 has quit [Ping timeout: 268 seconds]
Liothen has quit [Ping timeout: 260 seconds]
r3my has quit [Ping timeout: 240 seconds]
keyvan has quit [Ping timeout: 256 seconds]
JayDoubleu has quit [Ping timeout: 264 seconds]
JSharp has quit [Ping timeout: 268 seconds]
cuppajoeman has quit [Ping timeout: 250 seconds]
JSharp has joined #ruby
vito has joined #ruby
jposer has joined #ruby
pjlsergeant has joined #ruby
psb_ has joined #ruby
integral has joined #ruby
r0bby has quit [Ping timeout: 264 seconds]
pusewic|away_ has quit [Ping timeout: 264 seconds]
joenoon_ has joined #ruby
r0bby has joined #ruby
psb has quit [Ping timeout: 268 seconds]
joenoon has quit [Ping timeout: 268 seconds]
r3my has joined #ruby
joenoon_ is now known as joenoon
josephl has joined #ruby
siasmj has joined #ruby
Liothen has joined #ruby
itok_ has joined #ruby
the_finn has joined #ruby
keyvan has joined #ruby
cuppajoeman has joined #ruby
caleb has joined #ruby
pusewic|away_ has joined #ruby
Arkantos has joined #ruby
JayDoubleu has joined #ruby
rubin55 has joined #ruby
hwrd has joined #ruby
caleb has quit [Changing host]
caleb has joined #ruby
FetidToot0 has joined #ruby
FetidToot has quit [Ping timeout: 260 seconds]
FetidToot0 is now known as FetidToot
cuppajoeman has quit [Ping timeout: 250 seconds]
Arkantos has quit [Ping timeout: 256 seconds]
keyvan has quit [Ping timeout: 260 seconds]
josephl has quit [Ping timeout: 250 seconds]
rubin55 has quit [Ping timeout: 264 seconds]
JayDoubleu has quit [Ping timeout: 264 seconds]
r0bby has quit [Ping timeout: 264 seconds]
vito has quit [Ping timeout: 264 seconds]
r3my has quit [Ping timeout: 250 seconds]
integral has quit [Ping timeout: 250 seconds]
JSharp has quit [Ping timeout: 250 seconds]
pusewic|away_ has quit [Ping timeout: 264 seconds]
jposer has quit [Ping timeout: 264 seconds]
pjlsergeant has quit [Ping timeout: 240 seconds]
itok_ has quit [Ping timeout: 260 seconds]
Liothen has quit [Ping timeout: 264 seconds]
the_finn has quit [Ping timeout: 240 seconds]
psb_ has quit [Ping timeout: 250 seconds]
siasmj has quit [Ping timeout: 240 seconds]
joenoon has quit [Ping timeout: 264 seconds]
hwrd has quit [Ping timeout: 250 seconds]
caleb has quit [Ping timeout: 250 seconds]
integral has joined #ruby
hwrd has joined #ruby
pusewic|away_ has joined #ruby
vito has joined #ruby
rubin55 has joined #ruby
joenoon has joined #ruby
jposer has joined #ruby
keyvan has joined #ruby
itok_ has joined #ruby
cuppajoeman has joined #ruby
roadie has joined #ruby
<libsys> how can I call custom setters (def var=) on initialize?
r3my has joined #ruby
siasmj has joined #ruby
Arkantos has joined #ruby
the_finn has joined #ruby
<adam12> libsys: self.var = "foobar"
caleb has joined #ruby
JayDoubleu has joined #ruby
pjlsergeant has joined #ruby
Liothen has joined #ruby
josephl has joined #ruby
<libsys> danken
<libsys> btw, how do you call these things on ruby?
Guest1 has joined #ruby
<libsys> simply setters?
<libsys> or... manual writers?
<adam12> libsys: setters
<adam12> or writer
<adam12> I guess I've never bothered to double check. I juse both interchangable.
Guest1 has quit [Quit: Client closed]
psb_ has joined #ruby
Pixi_ has joined #ruby
JSharp has joined #ruby
Pixi has quit [Ping timeout: 260 seconds]
r0bby has joined #ruby
roadie` has joined #ruby
Inline has joined #ruby
roadie has quit [Ping timeout: 245 seconds]
dohtem has joined #ruby
roadie` has quit [Remote host closed the connection]
roadie` has joined #ruby
TomyWork has joined #ruby
roadie` has quit [Ping timeout: 268 seconds]
roadie` has joined #ruby
Arkantos has quit [Quit: Connection closed for inactivity]
roadie` has quit [Ping timeout: 250 seconds]
roadie` has joined #ruby
jpw has joined #ruby
roadie` has quit [Ping timeout: 264 seconds]
agladkyi has joined #ruby
roadie` has joined #ruby
vit has quit [Quit: Konversation terminated!]
vit has joined #ruby
agladkyi has quit [Quit: WeeChat 3.3]
Xeago has quit [Ping timeout: 264 seconds]
FetidToot5 has joined #ruby
FetidToot has quit [Ping timeout: 256 seconds]
FetidToot5 is now known as FetidToot
FetidToot6 has joined #ruby
FetidToot has quit [Ping timeout: 246 seconds]
FetidToot6 is now known as FetidToot
jpw has quit [Remote host closed the connection]
menace has joined #ruby
menace has quit [Changing host]
menace has joined #ruby
roadie` is now known as roadie
jpw has joined #ruby
TomyWork has quit [Quit: Leaving]
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #ruby
berkhan has joined #ruby
berkhan has quit [Ping timeout: 260 seconds]
FetidToot has quit [Ping timeout: 260 seconds]
FetidToot has joined #ruby
___nick___ has joined #ruby
g0zart has joined #ruby
g0zart has quit [Remote host closed the connection]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
Inline has quit [Quit: Leaving]
_ht has joined #ruby
lunarkitty has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
___nick___ has quit [Ping timeout: 250 seconds]
_ht has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 264 seconds]
peer is now known as rails
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 264 seconds]
BSaboia has joined #ruby
jpw has quit [Remote host closed the connection]
Inline has joined #ruby
phryk has quit [Quit: ZNC 1.8.2 - https://znc.in]
TCZ has joined #ruby
phryk has joined #ruby
phryk has quit [Remote host closed the connection]
phryk has joined #ruby
dohtem has quit [Quit: Connection closed for inactivity]
dohtem has joined #ruby
georgemp has quit [Quit: ZNC - https://znc.in]
yosafbridge has quit [Quit: Leaving]
georgemp has joined #ruby
yosafbridge has joined #ruby