00:02
Guest9014 has quit [Ping timeout: 256 seconds]
00:08
typ1cal_c0ffxe3 has joined #ruby
00:09
ur5us has quit [Ping timeout: 240 seconds]
00:11
typ1cal_c0ffxe3 has quit [Client Quit]
00:14
typ1cal_c0ffxe3 has joined #ruby
00:15
graywolf has joined #ruby
00:20
typ1cal_c0ffxe3 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:25
typ1cal_c0ffxe3 has joined #ruby
00:28
random-jellyfish has joined #ruby
00:29
<
adam12 >
micah: You could strace it probably, tho it wouldn't be elegant.
00:48
John_Ivan has joined #ruby
00:59
random-jellyfish has quit [Ping timeout: 256 seconds]
01:02
szkl has joined #ruby
01:26
ur5us has joined #ruby
01:34
duderonomy has joined #ruby
01:39
graywolf has quit [Quit: WeeChat 3.4]
01:46
BSaboia has quit [Quit: This computer has gone to sleep]
01:48
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:49
BSaboia has joined #ruby
01:53
BSaboia has quit [Client Quit]
01:53
H4Z3 has joined #ruby
02:35
goldfish has quit [Ping timeout: 240 seconds]
03:33
Rounin has joined #ruby
03:38
polishdub has joined #ruby
03:50
<
ox1eef >
micah: for every environment it uses a host and port ? maybe it's running in an environment configured to use unix sockets.
03:51
polishdub has quit [Ping timeout: 256 seconds]
03:58
perrierjouet has quit [Quit: WeeChat 3.4]
04:07
kaivai has joined #ruby
04:49
bluedust has joined #ruby
04:57
duderonomy has joined #ruby
06:00
ur5us has quit [Ping timeout: 240 seconds]
06:42
teclator has joined #ruby
06:50
_ht has joined #ruby
07:26
bluedust_ has joined #ruby
07:30
bluedust has quit [Ping timeout: 240 seconds]
07:46
Guest9014 has joined #ruby
07:48
Thanzex has quit [Ping timeout: 256 seconds]
08:13
Bounga has joined #ruby
08:31
TomyWork has joined #ruby
08:56
bluedust_ has quit [Remote host closed the connection]
09:14
bluedust has joined #ruby
09:20
oxfuxxx has joined #ruby
09:41
teclator has quit [Read error: Connection reset by peer]
09:46
teclator has joined #ruby
09:47
infinityfye has joined #ruby
09:49
infinity_fye has joined #ruby
09:52
infinityfye has quit [Ping timeout: 240 seconds]
09:59
bluedust_ has joined #ruby
10:00
infinity_fye has quit [Quit: Leaving]
10:00
infinity_fye has joined #ruby
10:01
infinity_fye has quit [Client Quit]
10:03
bluedust has quit [Ping timeout: 250 seconds]
10:06
bluedust_ has quit [Ping timeout: 250 seconds]
10:07
bluedust has joined #ruby
10:39
gproto23 has joined #ruby
10:46
dviola has quit [Quit: WeeChat 3.4]
10:52
infinityfye has joined #ruby
10:53
bluedust has quit [Remote host closed the connection]
10:55
gproto23 has quit [Remote host closed the connection]
10:56
oxfuxxx has quit [Quit: can you please adjust your IRC quit message to be less transphobic?]
11:29
bluedust has joined #ruby
11:31
gr33n7007h has quit [Quit: WeeChat 3.4]
11:32
BSaboia has joined #ruby
11:34
gr33n7007h has joined #ruby
11:36
BSaboia has quit [Client Quit]
11:50
Hypnosz has joined #ruby
11:55
BSaboia has joined #ruby
11:59
Guest9014 has quit [Ping timeout: 256 seconds]
12:05
Hypnosz has quit [Quit: Konversation terminated!]
12:05
Hypnosz has joined #ruby
12:12
Hypnosz has quit [Quit: Konversation terminated!]
12:12
Hypnosz has joined #ruby
12:25
perrierjouet has joined #ruby
12:26
BSaboia has quit [Quit: This computer has gone to sleep]
12:52
BSaboia has joined #ruby
12:56
BSaboia has quit [Client Quit]
12:59
BSaboia has joined #ruby
13:05
<
micah >
ox1eef: i only configured the production environment and am passing RAILS_ENV=production
13:06
robotmay has quit [Quit: Be excellent to each other]
13:18
<
adam12 >
micah: DATABASE_URL set?
13:20
<
micah >
adam12: I do have DATABASE_URL set, but I tried mysql2://localhost:3310/crabgrass and it still went for the socket
13:20
<
adam12 >
Is that mysql2 schema correct? I'd maybe double check that.
13:21
<
adam12 >
Nevermind. I did look it up and it is. Interesting.
13:27
gproto23 has joined #ruby
13:29
<
micah >
its coming via bundler exec rake, so maybe that isn't picking up the environment properly somehow
13:31
royo25 has joined #ruby
13:34
<
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
13:44
BSaboia has quit [Quit: This computer has gone to sleep]
13:52
Hypnosz has quit [Ping timeout: 250 seconds]
13:53
BSaboia has joined #ruby
13:53
BSaboia has quit [Client Quit]
13:55
robotmay has joined #ruby
14:02
perrierjouet has quit [Quit: WeeChat 3.4]
14:18
perrierjouet has joined #ruby
14:26
perrierjouet has quit [Quit: WeeChat 3.4]
14:32
perrierjouet has joined #ruby
14:45
Thanzex has joined #ruby
15:20
royo25 has quit [Read error: Connection reset by peer]
15:32
CrazyEddy has quit [Ping timeout: 240 seconds]
15:37
Sheilong has joined #ruby
16:01
yossarian has quit [Ping timeout: 256 seconds]
16:01
yossarian has joined #ruby
16:01
yossarian has quit [Changing host]
16:01
yossarian has joined #ruby
16:05
roshanavand has quit [Remote host closed the connection]
16:05
roshanavand has joined #ruby
16:10
bluedust_ has joined #ruby
16:13
bluedust has quit [Ping timeout: 240 seconds]
16:23
roshanavand has quit [Remote host closed the connection]
16:23
lucerne has joined #ruby
16:33
gproto23 has quit [Ping timeout: 256 seconds]
16:52
perrierjouet has quit [Quit: WeeChat 3.4]
16:53
bluedust_ has quit [Remote host closed the connection]
16:54
perrierjouet has joined #ruby
17:03
<
Sheilong >
I am looking for 'read' method of File class on the documentation of ruby 3.0, but I can't find it.
17:04
perrierjouet has quit [Quit: WeeChat 3.4]
17:04
perrierjouet has joined #ruby
17:05
<
leah2 >
it's in IO i guess?
17:06
<
leftylink >
pandabot: rb File.method(:read).owner #this is the way that Sheilong can use to tell where File.read comes from.
17:07
<
leah2 >
i just type ri File#read and get IO#read :p
17:08
<
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.
17:09
<
leah2 >
i use File.open("filename") { |file| while line = file.gets; ...; end } usually
17:10
<
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?
17:14
fef has joined #ruby
17:21
<
leah2 >
the nice thing about gets is that you can run it inline again
17:21
<
Sheilong >
I need to read only the first line in a method of my class. Then another method will deal with the other lines.
17:22
TomyWork has quit [Remote host closed the connection]
17:36
shokohsc has joined #ruby
17:39
bluedust has joined #ruby
17:44
bluedust has quit [Ping timeout: 256 seconds]
17:56
bluedust has joined #ruby
17:58
bluedust_ has joined #ruby
17:58
Thanzex has quit [Read error: Connection reset by peer]
17:59
Thanzex has joined #ruby
18:02
bluedust has quit [Ping timeout: 240 seconds]
18:17
kaleido has quit [Remote host closed the connection]
18:17
kaleido has joined #ruby
18:23
idk has joined #ruby
18:29
gproto23 has joined #ruby
18:30
CrazyEddy has joined #ruby
18:35
shokohsc has joined #ruby
18:55
AEtherC0r3 has quit [Quit: No Ping reply in 180 seconds.]
18:57
AEtherC0r3 has joined #ruby
19:08
Duneyrr has joined #ruby
19:13
idk has quit [Remote host closed the connection]
19:14
idk has joined #ruby
19:20
idk has quit [Remote host closed the connection]
19:29
perrierjouet has quit [Quit: WeeChat 3.4]
19:31
perrierjouet has joined #ruby
19:43
hanzo has joined #ruby
19:48
yassernasc has joined #ruby
19:50
Duneyrr has quit [Read error: Connection reset by peer]
19:54
bluedust has joined #ruby
19:57
bluedust_ has quit [Ping timeout: 240 seconds]
20:00
Thanzex has quit [Read error: Connection reset by peer]
20:01
Thanzex has joined #ruby
20:09
bluedust_ has joined #ruby
20:09
ur5us has joined #ruby
20:12
bluedust has quit [Ping timeout: 256 seconds]
20:12
bluedust has joined #ruby
20:13
bluedust_ has quit [Remote host closed the connection]
20:13
yassernasc has quit [Ping timeout: 256 seconds]
20:13
bluedust_ has joined #ruby
20:14
fef has quit [Ping timeout: 276 seconds]
20:16
yassernasc has joined #ruby
20:17
bluedust has quit [Ping timeout: 240 seconds]
20:22
AEtherC0r3 has quit [Quit: No Ping reply in 180 seconds.]
20:24
AEtherC0r3 has joined #ruby
20:30
bluedust has joined #ruby
20:31
bluedus__ has joined #ruby
20:34
bluedust_ has quit [Ping timeout: 240 seconds]
20:35
bluedust_ has joined #ruby
20:35
bluedust has quit [Ping timeout: 250 seconds]
20:36
bluedus__ has quit [Ping timeout: 256 seconds]
20:39
bluedust_ has quit [Ping timeout: 240 seconds]
20:39
bluedust has joined #ruby
20:47
halodayi has joined #ruby
20:47
halodayi has quit [Client Quit]
21:04
_ht has quit [Remote host closed the connection]
21:06
joast has quit [Quit: Leaving.]
21:06
bluedust has quit [Remote host closed the connection]
21:24
joast has joined #ruby
21:25
CeNedra has quit [Remote host closed the connection]
21:25
CeNedra has joined #ruby
21:31
oxfuxxx has joined #ruby
21:38
perrierjouet has quit [Quit: WeeChat 3.4]
21:39
perrierjouet has joined #ruby
21:55
yassernasc has quit [Remote host closed the connection]
22:06
Guest9014 has joined #ruby
22:15
infinityfye has quit [Quit: Leaving]
22:18
kaleido has quit [Remote host closed the connection]
22:18
kaleido has joined #ruby
22:19
Thanzex has quit [Read error: Connection reset by peer]
22:19
Thanzex has joined #ruby
22:25
gproto23 has quit [Ping timeout: 240 seconds]
22:26
perrierjouet has quit [Quit: WeeChat 3.4]
22:33
perrierjouet has joined #ruby
22:50
mixfix41 has quit [Ping timeout: 256 seconds]
22:52
Guest9014 has quit [Ping timeout: 240 seconds]
22:52
perrierjouet has quit [Quit: WeeChat 3.4]
22:58
perrierjouet has joined #ruby
23:03
John_Ivan has quit [Read error: Connection reset by peer]
23:16
typ1cal_c0ffxe3 has joined #ruby
23:25
ur5us has quit [Ping timeout: 240 seconds]
23:32
John_Ivan has joined #ruby
23:59
typ1cal_c0ffxe3 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]