havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.0, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
Guest9014 has quit [Ping timeout: 256 seconds]
typ1cal_c0ffxe3 has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
typ1cal_c0ffxe3 has quit [Client Quit]
typ1cal_c0ffxe3 has joined #ruby
graywolf has joined #ruby
typ1cal_c0ffxe3 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
typ1cal_c0ffxe3 has joined #ruby
random-jellyfish has joined #ruby
<adam12> micah: You could strace it probably, tho it wouldn't be elegant.
typ1cal_c0ffxe3 has quit [Quit: Textual IRC Client: www.textualapp.com]
John_Ivan has joined #ruby
random-jellyfish has quit [Ping timeout: 256 seconds]
szkl has joined #ruby
ur5us has joined #ruby
duderonomy has joined #ruby
graywolf has quit [Quit: WeeChat 3.4]
BSaboia has quit [Quit: This computer has gone to sleep]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
H4Z3 has joined #ruby
goldfish has quit [Ping timeout: 240 seconds]
Rounin has joined #ruby
polishdub has joined #ruby
<ox1eef> micah: for every environment it uses a host and port ? maybe it's running in an environment configured to use unix sockets.
polishdub has quit [Ping timeout: 256 seconds]
perrierjouet has quit [Quit: WeeChat 3.4]
kaivai has quit [Quit: ZNC - https://znc.in]
kaivai has joined #ruby
bluedust has joined #ruby
duderonomy has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
_ht has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
Guest9014 has joined #ruby
Thanzex has quit [Ping timeout: 256 seconds]
Bounga has joined #ruby
TomyWork has joined #ruby
bluedust_ has quit [Remote host closed the connection]
bluedust has joined #ruby
oxfuxxx has joined #ruby
teclator has quit [Read error: Connection reset by peer]
teclator has joined #ruby
infinityfye has joined #ruby
infinity_fye has joined #ruby
infinityfye has quit [Ping timeout: 240 seconds]
bluedust_ has joined #ruby
infinity_fye has quit [Quit: Leaving]
infinity_fye has joined #ruby
infinity_fye has quit [Client Quit]
bluedust has quit [Ping timeout: 250 seconds]
bluedust_ has quit [Ping timeout: 250 seconds]
bluedust has joined #ruby
gproto23 has joined #ruby
dviola has quit [Quit: WeeChat 3.4]
infinityfye has joined #ruby
bluedust has quit [Remote host closed the connection]
gproto23 has quit [Remote host closed the connection]
oxfuxxx has quit [Quit: can you please adjust your IRC quit message to be less transphobic?]
bluedust has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.4]
BSaboia has joined #ruby
gr33n7007h has joined #ruby
BSaboia has quit [Client Quit]
Hypnosz has joined #ruby
BSaboia has joined #ruby
Guest9014 has quit [Ping timeout: 256 seconds]
Hypnosz has quit [Quit: Konversation terminated!]
Hypnosz has joined #ruby
Hypnosz has quit [Quit: Konversation terminated!]
Hypnosz has joined #ruby
perrierjouet has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
BSaboia has joined #ruby
<micah> ox1eef: i only configured the production environment and am passing RAILS_ENV=production
robotmay has quit [Quit: Be excellent to each other]
<adam12> micah: DATABASE_URL set?
<micah> adam12: I do have DATABASE_URL set, but I tried mysql2://localhost:3310/crabgrass and it still went for the socket
<adam12> Is that mysql2 schema correct? I'd maybe double check that.
<adam12> Nevermind. I did look it up and it is. Interesting.
<micah> yeah :p
gproto23 has joined #ruby
<micah> its coming via bundler exec rake, so maybe that isn't picking up the environment properly somehow
royo25 has joined #ruby
<micah> if I unset DATABASE_URL it complains that DATABASE_URL cannot be empty, which makes me wonder if it is reading the database.yml at all
BSaboia has quit [Quit: This computer has gone to sleep]
Hypnosz has quit [Ping timeout: 250 seconds]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
robotmay has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
Thanzex has joined #ruby
royo25 has quit [Read error: Connection reset by peer]
CrazyEddy has quit [Ping timeout: 240 seconds]
Sheilong has joined #ruby
yossarian has quit [Ping timeout: 256 seconds]
yossarian has joined #ruby
yossarian has quit [Changing host]
yossarian has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
roshanavand has quit [Remote host closed the connection]
lucerne has joined #ruby
gproto23 has quit [Ping timeout: 256 seconds]
perrierjouet has quit [Quit: WeeChat 3.4]
bluedust_ has quit [Remote host closed the connection]
perrierjouet has joined #ruby
<Sheilong> I am looking for 'read' method of File class on the documentation of ruby 3.0, but I can't find it.
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
<leah2> it's in IO i guess?
<leftylink> pandabot: rb File.method(:read).owner #this is the way that Sheilong can use to tell where File.read comes from.
<pandabot> #<Class:IO> - https://carc.in/#/r/cmfr
<leah2> til :)
<leah2> i just type ri File#read and get IO#read :p
<Sheilong> I am trying to learn the right way to read a file and then read its lines. At first I'd like to read the first line of a file to do some preprocessing on it and then read the rest of the lines.
<leah2> i use File.open("filename") { |file| while line = file.gets; ...; end } usually
<leftylink> I feel like for the very first line I'll use IO#readline to read one line ofit, then each_line for all the subsequent ones?
fef has joined #ruby
<leah2> the nice thing about gets is that you can run it inline again
<Sheilong> I need to read only the first line in a method of my class. Then another method will deal with the other lines.
TomyWork has quit [Remote host closed the connection]
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
shokohsc has joined #ruby
bluedust has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
bluedust has joined #ruby
bluedust_ has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
kaleido has quit [Remote host closed the connection]
kaleido has joined #ruby
idk has joined #ruby
gproto23 has joined #ruby
CrazyEddy has joined #ruby
shokohsc has joined #ruby
AEtherC0r3 has quit [Quit: No Ping reply in 180 seconds.]
AEtherC0r3 has joined #ruby
Duneyrr has joined #ruby
idk has quit [Remote host closed the connection]
idk has joined #ruby
idk has quit [Remote host closed the connection]
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
hanzo has joined #ruby
yassernasc has joined #ruby
Duneyrr has quit [Read error: Connection reset by peer]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
bluedust_ has joined #ruby
ur5us has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedust_ has quit [Remote host closed the connection]
yassernasc has quit [Ping timeout: 256 seconds]
bluedust_ has joined #ruby
fef has quit [Ping timeout: 276 seconds]
yassernasc has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
AEtherC0r3 has quit [Quit: No Ping reply in 180 seconds.]
AEtherC0r3 has joined #ruby
bluedust has joined #ruby
bluedus__ has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 250 seconds]
bluedus__ has quit [Ping timeout: 256 seconds]
bluedust_ has quit [Ping timeout: 240 seconds]
bluedust has joined #ruby
halodayi has joined #ruby
halodayi has quit [Client Quit]
_ht has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
bluedust has quit [Remote host closed the connection]
joast has joined #ruby
CeNedra has quit [Remote host closed the connection]
CeNedra has joined #ruby
oxfuxxx has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
yassernasc has quit [Remote host closed the connection]
Guest9014 has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
infinityfye has quit [Quit: Leaving]
kaleido has quit [Remote host closed the connection]
kaleido has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
gproto23 has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
mixfix41 has quit [Ping timeout: 256 seconds]
Guest9014 has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
typ1cal_c0ffxe3 has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
John_Ivan has joined #ruby
typ1cal_c0ffxe3 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]