thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Hackarp has joined #ruby
<Hackarp>
To whoever it is concerned, I am a sophomore CSE student from IIT Kanpur looking forward to work under ruby. I am a newbie to programming and looking for some newcomer friendly bugs/ relevant document. Any kind of help would be appreciated
jenrzzz has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 276 seconds]
hutch1 has joined #ruby
kyrylo has joined #ruby
shah^ has quit []
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 245 seconds]
drincruz has quit [Ping timeout: 245 seconds]
bambanx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
bambanx has quit [Quit: Leaving]
banisterfiend has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucasb has quit [Quit: Connection closed for inactivity]
banisterfiend has joined #ruby
peter_ has quit [Quit: Connection closed for inactivity]
AJA4350 has quit [Quit: AJA4350]
banisterfiend has quit [Ping timeout: 265 seconds]
tsujp has joined #ruby
tsujp has quit [Client Quit]
poontangmessiah_ has quit [Remote host closed the connection]
tsujp has joined #ruby
Swyper has quit [Remote host closed the connection]
mre- has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
etupat has quit []
mre- has quit [Ping timeout: 265 seconds]
hutch1 has quit [Ping timeout: 252 seconds]
lukeyb has joined #ruby
alfiemax has joined #ruby
kotisky has joined #ruby
hutch1 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
murarisumit has quit [Ping timeout: 265 seconds]
tdy has joined #ruby
gix- has quit [Ping timeout: 276 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
hutch1 has quit [Ping timeout: 245 seconds]
brool has quit [Ping timeout: 245 seconds]
murarisumit has joined #ruby
ramfjord has joined #ruby
x77686d has quit [Quit: x77686d]
x77686d has joined #ruby
Hackarp has quit [Quit: Ping timeout (120 seconds)]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Freshnuts has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
x77686d has quit [Quit: x77686d]
x77686d has joined #ruby
donofrio has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
kotisky has quit [Remote host closed the connection]
kotisky has joined #ruby
x77686d has quit [Quit: x77686d]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rntsrtoh^ has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Inline has quit [Quit: Leaving]
lukeyb has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
bitwinery has joined #ruby
lukeyb has joined #ruby
fphilipe has joined #ruby
suukim has joined #ruby
jottr_ has joined #ruby
fphilipe_ has joined #ruby
lukeyb has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jottr_ has quit [Ping timeout: 268 seconds]
hd1 has joined #ruby
hd1 has left #ruby [#ruby]
fphilipe has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
jottr_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
schne1der has joined #ruby
jenrzzz has joined #ruby
Freshnuts has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.6]
jenrzzz has quit [Ping timeout: 245 seconds]
j416 has quit [Quit: o/]
suukim has quit [Quit: Konversation terminated!]
vondruch has quit [Quit: vondruch]
fphilipe_ has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
okgo has joined #ruby
okgo has left #ruby [#ruby]
fphilipe_ has joined #ruby
balo_ is now known as balo
nowhere_man has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
chalkmonster has joined #ruby
ellcs has joined #ruby
j416 has joined #ruby
Intelo_ has joined #ruby
Fr4n has quit [Quit: Fr4n]
j416 has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
j416 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
jenrzzz has joined #ruby
Eiam has quit [Ping timeout: 245 seconds]
BH23 has joined #ruby
Intelo_ is now known as Intelo
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 240 seconds]
tsujp has joined #ruby
TomyWork has joined #ruby
arne_ is now known as Bish
alfiemax has joined #ruby
lxsameer has joined #ruby
Fischmiep has joined #ruby
dasher00 has joined #ruby
Fischmiep has quit [Ping timeout: 276 seconds]
jacksop has joined #ruby
jacksop has quit [Remote host closed the connection]
involans has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
Intelo has quit [Ping timeout: 265 seconds]
jacksop has joined #ruby
alfiemax has quit [Remote host closed the connection]
bitwinery has quit [Quit: Leaving]
Intelo has joined #ruby
x86sk has joined #ruby
jacksop has quit [Remote host closed the connection]
jacksop has joined #ruby
houhoulis has joined #ruby
jottr_ has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
titanbiscuit has quit [Read error: Connection reset by peer]
titanbiscuit has joined #ruby
andikr has joined #ruby
rubyonmac has joined #ruby
<rubyonmac>
I'm having issues compiling ruby on my mac, using both rvm and rbenv, is there anyone here comfortable debuging event logs that can give a try of finding out what's going wrong? https://pastebin.com/wB8bWUzS
<ruby[bot]>
rubyonmac: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<leftylink>
in these situations, my usual policy is to look for the line of the log that is actually an error (as opposed to anything else in the log) and go from there. in this case that would be "object: libruby.2.6-static.a(dln.o) malformed object (unknown load command 1)"
Intelo has quit [Ping timeout: 268 seconds]
Fischmiep has quit [Ping timeout: 268 seconds]
<leftylink>
I wish luck
jacksop has quit [Remote host closed the connection]
<rubyonmac>
@leftylink, thanks for the lead! I now found someone with a similar issue, and it appears to be a likely culprit. Will run down the lead :)
chens has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
howdoi has joined #ruby
alfiemax has joined #ruby
Intelo has joined #ruby
houhoulis has quit [Remote host closed the connection]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jottr_ has joined #ruby
tdy has joined #ruby
jacksop has joined #ruby
lupine has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
ur5us has joined #ruby
lupine has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
Swyper has quit [Remote host closed the connection]
bhaak has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
fphilipe_ has joined #ruby
jacksop has quit [Remote host closed the connection]
thexa4 has joined #ruby
Swyper has quit [Remote host closed the connection]
queip has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
jenrzzz has joined #ruby
queip has joined #ruby
TvL2386_ has quit [Quit: leaving]
TvL2386 has joined #ruby
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Ai9zO5AP has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
involans has quit [Quit: involans]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
fphilipe_ has quit [Read error: Connection reset by peer]
involans has joined #ruby
involans has quit [Client Quit]
jackkall has joined #ruby
jottr_ has joined #ruby
jottr has quit [Read error: Connection reset by peer]
<rubyonmac>
leftylink: tracked the issue down to cctools installed via Homebrew(package manager on mac), removed it and retried to install ruby rvm and it completed without issue. Thanks for pointing out the relevant error , it got me on the right track straight away.
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
jacksop has joined #ruby
jottr has joined #ruby
jacksop has quit [Client Quit]
akem-hp has joined #ruby
murarisumit has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
tsujp has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
rubyonmac has quit [Remote host closed the connection]
akem-hp is now known as akemacer
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
murarisumit has joined #ruby
chens has quit [Remote host closed the connection]
murarisumit has quit [Ping timeout: 265 seconds]
hutch1 has joined #ruby
queip has quit [Quit: bye, freenode]
alfiemax has quit [Remote host closed the connection]
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
alfiemax has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
queip has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
bhaak has joined #ruby
murarisumit has joined #ruby
murarisumit has quit [Ping timeout: 246 seconds]
hutch1 has quit [Ping timeout: 276 seconds]
BH23 has joined #ruby
jenrzzz has joined #ruby
hutch1 has joined #ruby
alfiemax has quit [Remote host closed the connection]
involans has joined #ruby
murarisumit has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
jcalla has quit [Ping timeout: 276 seconds]
deathwishdave has joined #ruby
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
murarisumit has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
murarisumit has quit [Ping timeout: 264 seconds]
hiroaki has joined #ruby
akem-lnvo has joined #ruby
<TomyWork>
I'm developing a small sinatra script from scratch. in the past i used rerun to automatically restart such a script. now that hasn't been updated in 1.5 years and, while it works, it could be better.
<TomyWork>
can anyone recommend an alternative tool to rerun that restarts a ruby script if it's changed?
fphilipe_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
fphilipe_ has joined #ruby
drincruz has joined #ruby
murarisumit has joined #ruby
drincruz has quit [Ping timeout: 245 seconds]
donofrio has joined #ruby
<kapil_>
in a class what self.method vs normal method?
grilix has joined #ruby
murarisumit has quit [Ping timeout: 240 seconds]
xco has joined #ruby
akem-lnvo has quit [Remote host closed the connection]
jrafanie has joined #ruby
<NL3limin4t0r>
kapil_: `def self.method` defines a class method while `def method` defines an instances method.
<NL3limin4t0r>
TomyWork: I'm not really familiar with rerun gems, but I do wonder what you mean by "while it works, it could be better"? If it works and does what you want, what do you want to be better?
murarisumit has quit [Ping timeout: 265 seconds]
Esa_ has joined #ruby
involans has quit [Quit: involans]
lucasb has joined #ruby
alfiemax has joined #ruby
dr_mdma_md has joined #ruby
Swyper has quit [Remote host closed the connection]
queip has quit [Ping timeout: 265 seconds]
murarisumit has joined #ruby
poontangmessiah has joined #ruby
jenrzzz has joined #ruby
queip has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
tpanarch1st has joined #ruby
murarisumit has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
jacksop has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
jacksop_ has joined #ruby
Swyper has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Read error: Connection reset by peer]
<TomyWork>
NL3limin4t0r, iirc, there were unfortunate interactions between rerun's user interface and some programs'
<TomyWork>
might not even apply to sinatra now that i think about it
poontangmessiah has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
x86sk has quit [Quit: Connection closed for inactivity]
jcalla has joined #ruby
murarisumit has quit [Ping timeout: 265 seconds]
murarisumit has joined #ruby
jacksop_ has quit [Remote host closed the connection]
jacksop has joined #ruby
jacksop has quit [Remote host closed the connection]
murarisumit has quit [Ping timeout: 250 seconds]
eclm has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jacksop has joined #ruby
Intelo has quit [Remote host closed the connection]
fphilipe_ has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
murarisumit has joined #ruby
Inline has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip has joined #ruby
murarisumit has quit [Ping timeout: 265 seconds]
mre- has joined #ruby
Intelo has joined #ruby
alfiemax has joined #ruby
kotisky has joined #ruby
ua has quit [Ping timeout: 245 seconds]
Intelo has quit [Remote host closed the connection]
murarisumit has joined #ruby
fphilipe_ has joined #ruby
murarisumit has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
ua has joined #ruby
banisterfiend has joined #ruby
catbusters has joined #ruby
jenrzzz has joined #ruby
x77686d has joined #ruby
murarisumit has joined #ruby
hiroaki has quit [Ping timeout: 264 seconds]
schne1der has quit [Ping timeout: 265 seconds]
murarisumit has quit [Ping timeout: 276 seconds]
alfiemax_ has joined #ruby
kyrylo has joined #ruby
yann-kaelig has joined #ruby
andikr has quit [Remote host closed the connection]
<TomyWork>
sounds like that's for a different architecture than mine
<TomyWork>
i mean sinatra uses rack by default, but this looks like it's for a rails app
alfiemax has quit [Ping timeout: 268 seconds]
<TomyWork>
i'll stick with rerun
murarisumit has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
<adam12>
TomyWork: Guard + Guard-Rack is another solution.
<adam12>
TomyWork: Rack-unreloader would work for you, but I find it somewhat verbose to setup, due to the nature of how constant loading and unloading works in Ruby.
murarisumit has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
<TomyWork>
"bundle exec rerun ./app.rb" is all the setup i need with rerun :)
alfiemax has joined #ruby
jbeaudoin_sher has joined #ruby
<adam12>
TomyWork: The difference is going to come down to application boot time. If it takes 20 seconds to run app.rb and start serving requests, you'll see better reload time using Rack-unreloader.
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TomyWork>
takes a second
<adam12>
TomyWork: Right now it does :)
banisterfiend has joined #ruby
<adam12>
Without relying on autoload, if it grows some, it likely won't.
<TomyWork>
call it a microservice. it will stay tiny :)
alfiemax_ has quit [Ping timeout: 276 seconds]
<TomyWork>
btw, in sinatra, is there any way to match a route by body content?
sputnik13 has joined #ruby
rippa has joined #ruby
<adam12>
Haven't heard of one. Might have to check body content and pass if it's a non-match.
DaRock has quit [Ping timeout: 276 seconds]
vondruch_ has joined #ruby
<TomyWork>
my fallback plan exactly :)
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 252 seconds]
vondruch_ is now known as vondruch
brool has joined #ruby
blackmesa has joined #ruby
jacksop has quit [Remote host closed the connection]
jacksop has joined #ruby
<adam12>
havenwood: Thoughts on Concurrent::Async?
jacksop has quit [Ping timeout: 265 seconds]
jacksop has joined #ruby
alfiemax has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidw_ has joined #ruby
jacksop has quit [Remote host closed the connection]
jacksop has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
nahra has joined #ruby
Intelo has joined #ruby
cjohnson_ is now known as cjohnson
Intelo_ has joined #ruby
vondruch has quit [Quit: vondruch]
<havenwood>
adam12: Seems like a pretty fancy way to get at a CachedThreadPool, which would be a reasonable way to do parallel work on JRuby.
vondruch has joined #ruby
Intelo_ has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 2.6]
<adam12>
havenwood: I saw you poked around with it a while back in 2015 for elixir.rb.
<havenwood>
adam12: I'm more excited about the concurrent IO reactor work with the socketry/async libraries.
<havenwood>
adam12: Ah, yeah - it's a nice way to seem like a gen_server, just no linker or supervision trees.
<adam12>
havenwood: Me too, but in this case I'm not sure I'd gain anything. I'm basically looking for a fancier Thread.new {}.
<adam12>
havenwood: ie. Sending a message to Slack out of band, but without the cermony of the SlackMessengerJob for Sidekiq or something. Suckerpunch not an option here.
<havenwood>
adam12: For parallel computation or what's the reason for another thread?
<havenwood>
Ahh
<adam12>
Seems super simple. Mixin Concurrent::Async, call async.method_that_calls_slack.
<havenwood>
adam12: I think I saw a mention of Slack with ioquatix's Async libs. I'd lean that way, for sure.
<adam12>
Maybe too simple?
<havenwood>
Async::IO is fancy. :)
<adam12>
Yeah. The official Slack client uses async IIRC.
<adam12>
Ah interesting. I was looking at the one under the Slack GH namespace.
jacksop has quit [Ping timeout: 240 seconds]
<havenwood>
adam12: That one ^ is Fiber backed rather than Thread backed. Reaallly nicely done Reactor.
<havenwood>
adam12: I'd not be surprised to see Async in Ruby alongside Guilds. It's just lovely for IO.
<adam12>
I'm excited about it but not here I think. Maybe it's because I don't care about the IO part, just that I don't want the rest of the request to sit idle if Slack is down.
<adam12>
Using a fiber might not get me enough if it blocks the thread the web request is in.
<adam12>
Which is where I'd usually dump it to Sidekiq or Que but just trying to cut down some boilerplate.
<havenwood>
adam12: Yeah, if you're not switching to Falcon, which I assume you're not, then it's not clearcut what you'd do.
<havenwood>
Good point.
<adam12>
Gonna try Concurrent::Async. Seems like just enough syntatic sugar around Thread.new and Queue.
<adam12>
havenwood: Using Iodine on this project because it has great websocket support. Might switch to Falcon down the road tho...
<havenwood>
adam12: I do like that async-websocket supports HTTP/2.0 websockets :)