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!
konsolebox has quit [Read error: Connection reset by peer]
Eiam has quit [Ping timeout: 240 seconds]
Fusl has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
adu has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
evdubs has quit [Quit: Leaving]
evdubs has joined #ruby
Fusl has joined #ruby
bsdband77 has quit [Ping timeout: 256 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jetchisel has joined #ruby
bsdband30 has joined #ruby
pabs has joined #ruby
robert__ has quit [Quit: Leaving]
pwnd_nsfw has joined #ruby
pwnd_nsfw has quit [Client Quit]
UncleCid has joined #ruby
UncleCid has quit [Client Quit]
UncleCidd has joined #ruby
UncleCidd is now known as UncleCid
pabs has quit [Ping timeout: 264 seconds]
pabs has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
pabs has quit [Ping timeout: 260 seconds]
drincruz has joined #ruby
pabs has joined #ruby
troulouliou_dev has joined #ruby
konsolebox has joined #ruby
akem has quit [Ping timeout: 240 seconds]
pabs has quit [Ping timeout: 256 seconds]
pabs has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
Fusl has quit [Read error: Connection reset by peer]
Fusl has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
bsdband30 has quit [Quit: -a- Connection Timed Out]
bsdband25 has joined #ruby
factormystic has joined #ruby
konsolebox has joined #ruby
alfiemax has joined #ruby
mnathani_ has joined #ruby
mnathani has quit [Ping timeout: 240 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
mnathani has joined #ruby
mnathani_ has quit [Ping timeout: 264 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
davispuh has joined #ruby
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
theelous3 has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
bsdband25 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
xco has joined #ruby
greengriminal has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
alfiemax has quit [Ping timeout: 246 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
mossplix has quit [Remote host closed the connection]
greengriminal has quit [Quit: Leaving]
greypack has joined #ruby
ChmEarl has quit [Quit: Leaving]
xylophone has joined #ruby
ur5us has joined #ruby
akem has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
xylophone has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
laball70 has joined #ruby
Tempesta has quit [Ping timeout: 260 seconds]
xylophone has joined #ruby
<laball70> what's a great ruby book to read after "Poignant Guide to Ruby"? Not my 1st language but love Ruby.
wymillerlinux has quit [Ping timeout: 240 seconds]
<apotheon> laball70: Eloquent Ruby
<apotheon> laball70: Practical Object Oriented Design in Ruby
<laball70> cool, sounds good
<laball70> thank you apotheon
ur5us has quit [Ping timeout: 244 seconds]
<apotheon> welcome
<apotheon> laball70: Understanding Computation
cthu| has quit [Ping timeout: 246 seconds]
mossplix has joined #ruby
xco has joined #ruby
xylophone has quit [Ping timeout: 260 seconds]
mossplix has quit [Ping timeout: 256 seconds]
drincruz has quit [Ping timeout: 265 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
xylophone has joined #ruby
<apotheon> Yeah, that.
<apotheon> Among other things, that book helps get a grasp of some aspects of how to do some interesting things in Ruby, including DSL work.
<apotheon> It's also just quite interesting.
<uplime> thanks, yeah, that seems like its worth a read
alfiemax has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xylophone has quit [Read error: Connection reset by peer]
xylophonezy has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
xco has joined #ruby
<apotheon> uplime: I liked it a lot.
<uplime> I wish I still reviewed ruby code. Now I don't review ruby code at all, although i still write a mjority of my tooling in ruby
<uplime> That's actually how I learned, by reviewing $WORK's ruby code
<apotheon> That's awesome.
<uplime> yeah, it was a pretty nice part of the job
bsdbandit-01 has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
<uplime> Now I do UAT stuff, which means absolutely no code, but I still at least get to tell developers why their PRs suck
<apotheon> funny
xylophonezy has quit [Ping timeout: 256 seconds]
<apotheon> I enjoyed reviewing Ruby PRs at a previous job, at least when my brain wasn't fried because it was the end of the day and I'd been problem-solving in code all day.
<apotheon> That "all updates get reviewed" approach was really cool.
bocaneri has joined #ruby
<apotheon> It's late. G'night.
<uplime> o/
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
xylophone has joined #ruby
xylophone has quit [Remote host closed the connection]
xylophone has joined #ruby
coniptor has joined #ruby
xylophonezy has joined #ruby
xylophone has quit [Read error: Connection reset by peer]
blender has joined #ruby
xylophonezy has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
zapata has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
MadLamb has joined #ruby
xylophone has joined #ruby
<MadLamb> I'm facing a funny issue that my rails app connects to postgres in local environment but does not in production. I am using docker, connected to the container and was able to verify the container has visibility to the postgres server with psql.
<MadLamb> I am not using any database.yml and expect the connection details is obtained by DATABASE_URL. I also bashed in the server and did pp ENV and I can see the DATABASE_URL environment variable
alfiemax has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
imode has quit [Ping timeout: 240 seconds]
adu has quit [Quit: adu]
skape has quit [Quit: Connection closed for inactivity]
schne1der has joined #ruby
alexherbo2 has joined #ruby
alexherbo2_ has joined #ruby
roadie has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
zacts has quit [Quit: WeeChat 2.8]
konsolebox has joined #ruby
zacts has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
zacts has quit [Quit: WeeChat 2.8]
alexherbo2_ has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ruby
mossplix has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
coniptor has quit [Ping timeout: 246 seconds]
mossplix has quit [Remote host closed the connection]
coniptor has joined #ruby
mossplix has joined #ruby
edwardly has quit [Ping timeout: 246 seconds]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
<ruurd> Can you ping the db server?
<ruurd> Can you do a traceroute from the container to the postgresql server?
<ruurd> (you need to log into the container to do that)
<ruurd> I suspect you're using the wrong network type for your container.
<ruurd> I suspect that if you add a postgresql container to your docker environment and run the database on that you will be able to connect to that one.
mossplix has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
<ruurd> From cursory examination of docker documentation, question, do you use host networking on the container you're running the app in?
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
roadie has quit [Ping timeout: 272 seconds]
mossplix has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
UncleCid has quit [Remote host closed the connection]
mossplix has joined #ruby
drincruz has joined #ruby
mossplix has quit [Remote host closed the connection]
colins has quit [Ping timeout: 244 seconds]
drincruz has quit [Ping timeout: 240 seconds]
Ven`` has joined #ruby
<ruurd> Mind you on real operating systems you must make sure that the docker daemon is started as root in order to be able to use port <= 1024
mossplix has joined #ruby
leitz has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
gix has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
konsolebox has joined #ruby
arzWZM has quit [Ping timeout: 240 seconds]
arzWZM has joined #ruby
bukkitgerman8608 has joined #ruby
Fischmiep has joined #ruby
Fusl has quit [Max SendQ exceeded]
Fusl has joined #ruby
UncleCid has joined #ruby
UncleCidd has joined #ruby
UncleCid has quit [Quit: Leaving]
Fischmiep has quit [Quit: WeeChat 2.3]
ur5us has joined #ruby
jeromelanteri has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
drincruz has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
mnathani_ has joined #ruby
mnathani has quit [Ping timeout: 265 seconds]
bsdbandit-01 has joined #ruby
GodFather has joined #ruby
alfiemax has joined #ruby
xco has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 256 seconds]
ldepandis has joined #ruby
postmodern has quit [Quit: Leaving]
ldepandis has quit [Client Quit]
ur5us has quit [Ping timeout: 260 seconds]
ldepandis has joined #ruby
Spectari has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
mossplix has quit []
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
magickid has joined #ruby
leitz has quit [Quit: Leaving]
TCZ has quit [Quit: Leaving]
magickid_ has joined #ruby
magickid has quit [Read error: Connection reset by peer]
x0f has quit [Quit: quit]
x0f has joined #ruby
lucasb has joined #ruby
bsdbandit-01 has quit [Ping timeout: 240 seconds]
bsdband43 has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
wymillerlinux has joined #ruby
konsolebox has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
magickid has joined #ruby
magickid_ has quit [Read error: Connection reset by peer]
theelous3 has joined #ruby
ldepandis has joined #ruby
<theelous3> yo, I'm trying to run some part of a rails app and getting an error that ExecJS can't find a js runtime
ldepandis has quit [Client Quit]
<theelous3> I've installed execjs and therubyracer to no avail
<theelous3> any ideas?
konsolebox has joined #ruby
TCZ has joined #ruby
alfiemax has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
drincruz has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
<theelous3> I'm using a plain old global /usr/bin/ruby install
drincruz has quit [Ping timeout: 264 seconds]
drincruz has joined #ruby
<theelous3> so it seems the bundle install has a bunch of stuff its self, including execjs
<theelous3> however the gemfile of the app is a much shorter list, not and doesn't include, for example, execjs
Ven`` has quit [Quit: Textual IRC Client: www.textualapp.com]
<theelous3> it's specifically this step of the app install I'm struggling with: https://github.com/postalhq/postal/wiki/Installation#initialize-database--assets
roadie has joined #ruby
heidar has joined #ruby
gitter1234 has joined #ruby
<theelous3> alright, randomly installing node worked for that error
akem has quit [Ping timeout: 240 seconds]
DaRock has quit [Ping timeout: 256 seconds]
ChmEarl has joined #ruby
wymillerlinux has quit [Read error: Connection reset by peer]
wymillerlinux has joined #ruby
akem has joined #ruby
orbyt_ has joined #ruby
akem has quit [Remote host closed the connection]
bsdband43 has quit [Read error: Connection reset by peer]
bsdband26 has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
bsdband95 has joined #ruby
bsdband26 has quit [Ping timeout: 240 seconds]
skape has joined #ruby
hiroaki has joined #ruby
mnathani_ has quit []
TCZ has quit [Quit: Leaving]
arzWZM has quit [Ping timeout: 240 seconds]
arzWZM has joined #ruby
imode has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
hiroaki has quit [Ping timeout: 272 seconds]
wymillerlinux has quit [Ping timeout: 256 seconds]
hiroaki has joined #ruby
laball70 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
davispuh has joined #ruby
BenDover has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
leitz has joined #ruby
<leitz> Do module_functions maintain state between iterations?
<leitz> Ah, count is taking multiple things...
konsolebox has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
laball70 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.9]
cnsvc has joined #ruby
gueorgui has quit [Ping timeout: 240 seconds]
<leitz> str.scan works, though.
konsolebox has quit [Read error: Connection reset by peer]
ldepandis has joined #ruby
konsolebox has joined #ruby
cow[moo] has quit [Ping timeout: 264 seconds]
drincruz has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
roadie has joined #ruby
hiroaki has joined #ruby
ctOS has quit [Quit: Connection closed for inactivity]
theelous3 has quit [Ping timeout: 265 seconds]
xylophone has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
<leitz> Okay, I've been staring at this for too long, with no end in sight. Any ideas on why the hash has a value of 1 instead of 15 or so? https://gist.github.com/LeamHall/5f9b39608967de89dfdf0ecd1bcbd617
jenrzzz_ has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
dviola has quit [Ping timeout: 265 seconds]
<Rounin> leitz: Is most of the code missing? I don't see the symbol :contractions defined anywhere
<Rounin> leitz: Anyway, It seems like you should debug count_contractions in tools.rb ... What is the value of apostrophes, what's the final return value of the function, etc.
Dreamer3 has joined #ruby
<Rounin> leitz: From the / / construction, I would guess this is a regex of some kind? If so, ' might not work the way one might expect... Perhaps it has some special meaning in a regex
<Rounin> In which case, perhaps /\'/ might work
<Rounin> Anyway, you should look at the values in that function and find out
magickid has quit [Read error: Connection reset by peer]
bocaneri is now known as Sauvin
roadie has quit [Ping timeout: 272 seconds]
<leitz> Rounin, those tests pass.
<leitz> Erg, I'm going to have to bail, storms in the area. Back on later, hopefully.
<leitz> :q!
leitz has quit [Quit: Leaving]
dviola has joined #ruby
roadie has joined #ruby
hiroaki has quit [Ping timeout: 272 seconds]
schne1der has quit [Ping timeout: 260 seconds]
magickid has joined #ruby
dviola has quit [Quit: WeeChat 2.9]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gr33n7007h has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
bsdband9 has joined #ruby
ldepandis has quit [Ping timeout: 256 seconds]
bsdband95 has quit [Ping timeout: 264 seconds]
iNs_ has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
henninb has joined #ruby
drincruz has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
danielk43[m] has joined #ruby
akem has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
drincruz has joined #ruby
henninb has quit [Quit: leaving]
drincruz has quit [Ping timeout: 256 seconds]
laball70 has quit [Quit: Textual IRC Client: www.textualapp.com]
adu has joined #ruby
roadie has joined #ruby
BenDover has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
sagax has joined #ruby
sagax has quit [Read error: Connection reset by peer]
jetchisel has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
Spectari has quit [Quit: Leaving]
magickid has quit [Quit: -a- Connection Timed Out]
magickid has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 260 seconds]
adu has quit [Quit: adu]
roadie has joined #ruby
bsdband9 has quit [Read error: Connection reset by peer]
roadie has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
iNs_ has quit [Remote host closed the connection]
iNs has joined #ruby
bsdband66 has joined #ruby
oneeggeach has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
BSaboia has joined #ruby
ctOS has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
Dreamer3 has quit [Quit: Leaving...]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
BSaboia has joined #ruby
TCZ has quit [Quit: Leaving]
drincruz has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
BSaboia has quit [Quit: This computer has gone to sleep]
oneeggeach has quit [Quit: Leaving...]
greypack has quit [Quit: All your IRC are belong to ZNC]
greypack has joined #ruby
magickid has quit [Ping timeout: 256 seconds]
greypack has quit [Quit: All your IRC are belong to ZNC]
greypack has joined #ruby
schne1der has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
adu has joined #ruby
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
konsolebox has quit [Ping timeout: 264 seconds]
magickid has joined #ruby
BSaboia has joined #ruby