akem has quit [Read error: Connection reset by peer]
akem__ has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
cschneid_ has quit [Ping timeout: 252 seconds]
venmx has quit [Ping timeout: 252 seconds]
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
cschneid_ has joined #ruby
za1b1tsu has joined #ruby
<JJonah>
When you create a new gem using `bundle gem mygem`, the auto-generated `mygem_spec.rb` begins with the line: `require "bundler/setup"` (ie, this file: https://github.com/bundler/bundler/blob/master/lib/bundler/setup.rb). It's unclear to me, though, why this would be needed for a default spec file. Anyone know?
tdy has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marz_d`ghostman>
seriously? with the "did_you_mean"=>#<Gem::Specification:0x0000000002371098
<apeiros>
yes. exceptions don't look like this.
<apeiros>
you get a hash of gem specifications.
<marz_d`ghostman>
O.o whoa!, didn't know that. Thought it didn't know what the loaded_spec was so it is telling me did_you_mean . . .
<apeiros>
no. it gives you the spec of the "did_you_mean" gem among others. inspect results you get closely.
asphyxia has quit [Quit: leaving]
<marz_d`ghostman>
apeiros: Oh I see, geee, sorry about that. :)
aufi has quit [Ping timeout: 252 seconds]
mike11 has quit [Read error: Connection reset by peer]
AJA4350 has quit [Quit: AJA4350]
AJA4350 has joined #ruby
dbz has joined #ruby
andikr has joined #ruby
Puffball has quit [Remote host closed the connection]
dbz has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
Tempesta has joined #ruby
headius has joined #ruby
aufi has joined #ruby
cschneid_ has joined #ruby
aufi has quit [Read error: Connection reset by peer]
aufi has joined #ruby
nickjj_ is now known as nickjj
nowhere_man has quit [Ping timeout: 252 seconds]
venmx has quit [Ping timeout: 252 seconds]
cschneid_ has quit [Remote host closed the connection]
dmitch has joined #ruby
tdy has quit [Ping timeout: 252 seconds]
apparition47 has quit [Quit: Bye]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
marz_d`ghostman: eh, shit happens. no need to apologize :D
xfbs has joined #ruby
bmurt has joined #ruby
venmx has joined #ruby
vrtra has quit [Ping timeout: 252 seconds]
catphish has left #ruby ["Leaving"]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
andikr has quit [Remote host closed the connection]
apeiros has quit []
conta1 has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
r3m_ has joined #ruby
beowuff has joined #ruby
r3m has quit [Ping timeout: 252 seconds]
r3m_ is now known as r3m
dbz has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
Eiam has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
aufi has quit [Ping timeout: 252 seconds]
bak1an has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xfbs has quit [Quit: afk]
lxsameer has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
cthulchu_ has joined #ruby
nowhere_man has joined #ruby
roshanavand has quit [Ping timeout: 268 seconds]
roshanavand has joined #ruby
xfbs has joined #ruby
orbyt_ has joined #ruby
yohji has quit [Remote host closed the connection]
prestorium has quit [Quit: prestorium]
graphene has quit [Read error: Connection reset by peer]
graphene has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
weaksauce has quit [Ping timeout: 252 seconds]
wojnar has joined #ruby
darkhanb has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
xfbs has quit [Quit: afk]
agent_white has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snickers has joined #ruby
AJA4350 has quit [Quit: AJA4350]
druonysus has joined #ruby
desperek has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
za1b1tsu has joined #ruby
xfbs has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
apeiros_ has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
duderonomy has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
reber has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
roshanavand has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
dellavg_ has joined #ruby
SeepingN has joined #ruby
govg has joined #ruby
za1b1tsu has joined #ruby
miah_ is now known as miah
dbz has quit [Remote host closed the connection]
za1b1tsu has quit [Ping timeout: 246 seconds]
roshanavand has quit [Ping timeout: 252 seconds]
meinside has quit [Quit: Connection closed for inactivity]
venmx has quit [Ping timeout: 245 seconds]
Xiti has quit [Quit: Xiti]
Furai has quit [Quit: WeeChat 2.2]
xfbs has quit [Quit: afk]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
nowhere_man has joined #ruby
Furai has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
weaksauce has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
roshanavand has quit [Ping timeout: 268 seconds]
roshanavand has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
sauvin has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
grenierm_ has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
xfbs has joined #ruby
Xiti has joined #ruby
InfinityFye has quit [Quit: Leaving]
venmx has joined #ruby
drale2k_ has joined #ruby
conta1 has quit [Quit: conta1]
roshanavand has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
grenierm_ has quit [Quit: grenierm_]
roshanavand has quit [Client Quit]
Emmanuel_Chanel has quit [Quit: Leaving]
discopatrick has quit [Quit: Connection closed for inactivity]
Emmanuel_Chanel has joined #ruby
clemens3 has quit [Ping timeout: 272 seconds]
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
venmx has quit [Remote host closed the connection]
sameerynho has joined #ruby
nowhere_man has joined #ruby
marmotini_ has joined #ruby
jottr has joined #ruby
jottr has quit [Client Quit]
xfbs has quit [Quit: afk]
marmotini_ has quit [Client Quit]
akem__ is now known as akem
troulouliou_div2 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs has quit [Ping timeout: 252 seconds]
evdubs has joined #ruby
code_zombie has joined #ruby
wojnar has quit [Remote host closed the connection]
xfbs has joined #ruby
fluxAeon has joined #ruby
desperek has quit [Quit: xoxo]
LiftLeft2 has joined #ruby
LiftLeft has quit [Ping timeout: 240 seconds]
LiftLeft2 has quit [Ping timeout: 260 seconds]
<cthulchu_>
guys, when you have two pieces of code independedly running on one system and then suddenly you need them to start talking to each other, how would you arrange that?
<cthulchu_>
I would think there should be something more elegant than a file, db, or a network request for this
<cthulchu_>
they are neighbors in a friendly environment.
<cthulchu_>
I feel like they should be able to talk directly to each other via a shorthanded protocol
<cthulchu_>
I probably should ask it on ##programming rather than here
<cthulchu_>
it's not ruby-specific
reber has quit [Remote host closed the connection]
<havenwood>
cthulchu_: There's a Ruby-specific solution called DRb that you might want to look into.
dmitch has quit [Remote host closed the connection]
<cthulchu_>
is that for Ruby-Ruby connection or Anything-Ruby?
<havenwood>
cthulchu_: What languages are on each end?
<cthulchu_>
I found out that it's easier go with a file anyways, but it's good to know there is something
<cthulchu_>
I was thinking about Node-Ruby or Java-Ruby
LiftLeft2 has joined #ruby
<havenwood>
cthulchu_: With JRuby you can use Java or Nashorn/RingoJS. Or with TruffleRuby you can natively interop both with Java and JavaScript via Graal.js.
duderonomy has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
<havenwood>
cthulchu_: GRPC is nice and has generators for all those langs as well.
marmotini_ has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 252 seconds]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
vondruch_ is now known as vondruch
TheBloke has quit [Read error: Connection reset by peer]
<TheNet>
I have a ruby script at /usr/local/bin/fswatch that claims to have been installed by RubyGems as part of a gem. How can I find out which gem added it and potentially remove that gem?
sagax_ is now known as sagax
<TheNet>
ah, I think I get it. fswatch was likely a gem that I uninstalled, and ruby didn't remove the bin file
LiftLeft2 is now known as LiftLeft
grvgr_ has joined #ruby
grvgr has quit [Ping timeout: 268 seconds]
grvgr_ is now known as grvgr
nofxx has quit [Read error: Connection reset by peer]
<weaksauce>
how do you force bundler to redo a gem?
<weaksauce>
is it just using the gem commands?
xfbs has joined #ruby
tdy has joined #ruby
grvgr has quit [Quit: grvgr]
GodFather has quit [Ping timeout: 252 seconds]
clemens3 has quit [Ping timeout: 272 seconds]
<havenwood>
weaksauce: bundle pristine
mzo has joined #ruby
<havenwood>
weaksauce: That'll restore the bundled gems to pristine state, but not restore bundler itself. So you might want to chase it with a:
<havenwood>
gem pristine bundler
<weaksauce>
ah cool thanks
<havenwood>
Final answer: gem pristine bunlder && bunlde pristine
<havenwood>
bundler* gah
<havenwood>
Next to last answer!
* havenwood
mutters something about off-by-one
<weaksauce>
is there anything less finicky than nokogiri to install for html parsing
<havenwood>
weaksauce: oga
Vapez has joined #ruby
<weaksauce>
havenwood thanks
<havenwood>
weaksauce: no prob - oga still has C-extensions but they don't wrap libxml2 or libxslt libs so it *just works* and compiles reliably