apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
Vile` has joined #ruby
mlefevers has left #ruby [#ruby]
crixet has quit [Quit: Leaving]
alaibe has quit [Ping timeout: 265 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beauby has quit [Read error: Connection reset by peer]
Gasher has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 265 seconds]
jphase has joined #ruby
jphase has quit [Changing host]
jphase has joined #ruby
LoneHerm_ has joined #ruby
jcao219 has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
beauby has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_sfiguser has quit [Ping timeout: 272 seconds]
jaguarmagenta has joined #ruby
marr has quit [Remote host closed the connection]
JoshS has quit [Quit: Leaving]
roamingdog has joined #ruby
jottr_ has joined #ruby
Not-Zee2 has joined #ruby
Not-Zee2 is now known as Not-Zee3
<Not-Zee3> 1
<Not-Zee3> 2
<Not-Zee3> 3
<Not-Zee3> 4
<Not-Zee3> 5
<Not-Zee3> 6
<Not-Zee3> 7
<Not-Zee3> 8
<Not-Zee3> 9
<Not-Zee3> 8
<Not-Zee3> 7
<Not-Zee3> 6
<Not-Zee3> 5
<Not-Zee3> 4
<Not-Zee3> 3
<Not-Zee3> 2
<mr_foobar> again
<Not-Zee3> 1
<mr_foobar> we have loops for that
<mr_foobar> no need to type literaly
<mr_foobar> *literals
<mr_foobar> (1..9).each { |n| puts n }
Not-Zee3 has quit [Client Quit]
<mr_foobar> but i told him the answer...
sp_ has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 244 seconds]
<baweaver> mr_foobar: ignore it. Just a test account for something.
_sfiguser has joined #ruby
pabloh has quit [Quit: Leaving]
Satyajit has joined #ruby
roflmyeggo has quit [Ping timeout: 264 seconds]
soulisson has joined #ruby
merlin2049er has quit [Quit: Leaving.]
Ali__ has joined #ruby
<Ali__> hi
<Ali__> anyone there?
madgen has joined #ruby
<Ali__> hi
merlin2049er has joined #ruby
<Ali__> hi
<mr_foobar> uh sorry
<mr_foobar> multitasking
<mr_foobar> yes
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
perniciouscaffei has joined #ruby
Yzguy has quit [Quit: Zzz...]
<Ali__> you are the same guy from the other chat right?
madgen has quit [Ping timeout: 248 seconds]
<mr_foobar> Ali__, i am still me
<mr_foobar> Ali__, yes rubyonrails
<mr_foobar> Ali__, i sent you an answer there...
harai has quit [Ping timeout: 265 seconds]
nettoweb has joined #ruby
abernstein has quit [Quit: abernstein]
elvin has joined #ruby
xentity1x has quit [Ping timeout: 265 seconds]
boogeyman has quit [Quit: bb]
soulisson has quit [Ping timeout: 248 seconds]
blackgoat has joined #ruby
hahuang62 has joined #ruby
Devalo has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alaibe has joined #ruby
hahuang62 has quit [Ping timeout: 272 seconds]
rodfersou has quit [Quit: leaving]
Devalo has quit [Ping timeout: 272 seconds]
arashb has joined #ruby
merlin2049er has quit [Quit: Leaving.]
merlin2049er has joined #ruby
alaibe has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
arashb has quit [Ping timeout: 264 seconds]
johnmilton has joined #ruby
frankiee_ has quit [Ping timeout: 244 seconds]
madgen has joined #ruby
rsampaio_ has joined #ruby
CharlieLo has joined #ruby
frankiee_ has joined #ruby
beauby has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 264 seconds]
Blaguvest has quit []
madgen has quit [Ping timeout: 252 seconds]
CharlieLo has quit [Ping timeout: 244 seconds]
tdy-err has joined #ruby
zacts has quit [Ping timeout: 252 seconds]
<tdy-err> Is block_given? an instance method of method objects? When I try to call self.block_given? within a method ruby throws a nomethod private exception
<tdy-err> I found the declaration but it is within the kernel module
RegulationD has joined #ruby
beauby has joined #ruby
<tdy-err> There's no particular reason for asking, I just feel uneasy not knowing how it works and using it
jottr_ has joined #ruby
merlin2049er1 has joined #ruby
boogeyman has joined #ruby
visor is now known as gusrub
merlin2049er has quit [Ping timeout: 264 seconds]
tdy has quit [Ping timeout: 272 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
AnarchyAo has joined #ruby
jottr_ has quit [Ping timeout: 248 seconds]
capitainIsh has joined #ruby
capitainIsh has quit [Client Quit]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
merlin2049er1 has quit [Quit: Leaving.]
merlin2049er has joined #ruby
merlin2049er has quit [Client Quit]
capitainIsh has joined #ruby
Pupeno has joined #ruby
gusrub_ has joined #ruby
merlin2049er has joined #ruby
gusrub_ has quit [Client Quit]
gusrub_ has joined #ruby
merlin2049er has quit [Client Quit]
elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
merlin2049er has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
elvin_ has joined #ruby
gusrub has quit [Disconnected by services]
tdy has joined #ruby
gusrub has joined #ruby
gusrub has quit [Disconnected by services]
gusrub has joined #ruby
merlin2049er has quit [Quit: Leaving.]
merlin2049er has joined #ruby
gusrub has quit [Disconnected by services]
gusrub has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.5]
gusrub has quit [Disconnected by services]
gusrub has joined #ruby
ec0 has joined #ruby
gusrub has left #ruby [#ruby]
gusrub_ has quit [Quit: Leaving]
merlin2049er has quit [Client Quit]
merlin2049er has joined #ruby
mr_foobar has quit [Quit: Leaving]
pwnd_nsfw` has joined #ruby
merlin2049er has quit [Client Quit]
merlin2049er has joined #ruby
pwnd_nsfw has quit [Ping timeout: 272 seconds]
gusrub_ has joined #ruby
gusrub_ has quit [Client Quit]
symm- has quit [Ping timeout: 244 seconds]
symm-_ has joined #ruby
govg has joined #ruby
CloCkWeRX has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
ledestin has quit [Ping timeout: 244 seconds]
optiz0r has quit [Ping timeout: 248 seconds]
Axy has quit [Quit: Leaving]
vitd has joined #ruby
Rodya_ has quit [Remote host closed the connection]
nuclearsandwich has joined #ruby
Rodya_ has joined #ruby
Bellthoven has quit []
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
jarred has quit [Quit: Connection closed for inactivity]
pwnd_nsfw has joined #ruby
Rodya_ has quit [Ping timeout: 248 seconds]
madgen has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 248 seconds]
GodFather has quit [Ping timeout: 244 seconds]
johnmilton has quit [Ping timeout: 272 seconds]
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
braincra- has joined #ruby
capitainIsh has quit [Quit: Textual IRC Client: www.textualapp.com]
madgen has quit [Ping timeout: 264 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
braincrash has quit [Ping timeout: 248 seconds]
tdy1 has joined #ruby
tdy has quit [Ping timeout: 265 seconds]
jottr_ has joined #ruby
tdy2 has joined #ruby
eljimador has quit [Ping timeout: 272 seconds]
eljimador has joined #ruby
Silthias has quit [Ping timeout: 252 seconds]
tdy1 has quit [Ping timeout: 272 seconds]
anisha has joined #ruby
anisha has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 272 seconds]
Ali__ has quit [Ping timeout: 240 seconds]
hypercube32 has quit [Quit: bye]
beauby has quit [Read error: Connection reset by peer]
hypercube32 has joined #ruby
A_Drone has joined #ruby
Cohedrin_ has joined #ruby
Cohedrin has quit [Ping timeout: 248 seconds]
houhoulis has joined #ruby
roamingdog has quit []
Bellthoven has joined #ruby
twistedpixels has quit [Ping timeout: 248 seconds]
wz520 has joined #ruby
hypercube32 has quit [Read error: Connection reset by peer]
CloCkWeRX has quit [Quit: Leaving.]
twistedpixels has joined #ruby
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
beauby has joined #ruby
eljimmy has quit [Ping timeout: 272 seconds]
johnmilton has joined #ruby
tcrypt has joined #ruby
Bellthoven has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 265 seconds]
eljimador has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
houhoulis has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
ichkv has joined #ruby
brendan- has joined #ruby
A_Drone has joined #ruby
JoshS has joined #ruby
abernstein has joined #ruby
Cohedrin has joined #ruby
A_Drone has quit [Remote host closed the connection]
hypercube32 has joined #ruby
tdy3 has joined #ruby
Cohedrin_ has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tdy2 has quit [Ping timeout: 248 seconds]
rakm has joined #ruby
tekku has quit [Ping timeout: 264 seconds]
tdy4 has joined #ruby
tekk has joined #ruby
hahuang62 has joined #ruby
tdy3 has quit [Ping timeout: 265 seconds]
Derperperd has quit [Quit: Derperperd]
ichkv has quit [Remote host closed the connection]
aryaching has joined #ruby
alaibe has joined #ruby
aryaching_ has quit [Read error: Connection reset by peer]
hahuang62 has quit [Ping timeout: 265 seconds]
Silthias has joined #ruby
Velizar has quit [Quit: Velizar]
Hobogrammer has joined #ruby
tdy has joined #ruby
arescorpio has joined #ruby
alaibe has quit [Ping timeout: 252 seconds]
tdy4 has quit [Ping timeout: 248 seconds]
A124 has quit [Read error: Connection reset by peer]
braincra- has quit [Quit: bye bye]
A124 has joined #ruby
roflmyeggo has joined #ruby
nankyokusei has joined #ruby
madgen has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
whiteline has quit [Ping timeout: 265 seconds]
Mrgoose has quit []
tcrypt has quit [Ping timeout: 244 seconds]
madgen has quit [Ping timeout: 252 seconds]
dviola has quit [Quit: WeeChat 1.5]
whiteline has joined #ruby
Madplatypus has joined #ruby
RegulationD has joined #ruby
Aria has quit [Ping timeout: 268 seconds]
A_Drone has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
A_Drone has joined #ruby
jottr_ has joined #ruby
aredridel has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tdy-err has quit [Quit: Connection closed for inactivity]
RegulationD has quit [Ping timeout: 272 seconds]
chessguy has joined #ruby
braincrash has joined #ruby
<chessguy> why is the key in https://ruby-doc.org/stdlib-2.0.0/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html a private key? shouldn't that be a public key?
jottr_ has quit [Ping timeout: 248 seconds]
RushPL has joined #ruby
beauby has quit [Read error: Connection reset by peer]
roflmyeggo has quit [Quit: Lost terminal]
optiz0r has joined #ruby
tcrypt has joined #ruby
beauby has joined #ruby
zacts has joined #ruby
anisha has joined #ruby
craigp_ has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 272 seconds]
CloCkWeRX has joined #ruby
anisha has quit [Client Quit]
<matthewd> chessguy: ... no?
<chessguy> why not? what would it need the private key for?
gix has joined #ruby
<matthewd> Because you can't prove your identity without the private key
moei has joined #ruby
<chessguy> hmm. so it's not possible to use this to make a call on behalf of someone else?
<chessguy> i'm trying to set up a sort of reverse-proxy service where i have a rails app that takes requests with an x509 certificate and queries an ldap server on behalf of that client
A_Drone has quit [Remote host closed the connection]
Velizar has joined #ruby
<matthewd> The whole point of certificate validation is that you use the private key to prove that you are who you say you are, so no, if you don't have the key you can't pretend to be someone else
<chessguy> wait, so how does it work in the case of an http request from a browser, then? the private key doesn't get passed there...
<chessguy> err, https i meant, of course
elvin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tcrypt has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
tcrypt has joined #ruby
charliesome_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
xentity1x has joined #ruby
charliesome_ has quit [Ping timeout: 248 seconds]
beauby has quit [Read error: Connection reset by peer]
statelesscode has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
<chessguy> @matthewd ?
cibs has joined #ruby
<matthewd> The server uses its private key to prove it owns the certificate; the client doesn't supply a certificate, so it doesn't need a private key either
beauby has joined #ruby
A_Drone has quit [Remote host closed the connection]
<chessguy> matthewd i'm talking about cases where the server does require the browser to provide an x509 certificate
skweek has quit [Ping timeout: 264 seconds]
<matthewd> Oh, then yes, the client does have the private key
tax has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chessguy> @matthewd and provides it to the server?
<matthewd> No
A_Drone has joined #ruby
<matthewd> The client's SSL implementation uses it
<chessguy> right, that's my point, the client doesn't provide the private key to the server
<chessguy> so.....how is my case different?
<matthewd> The client uses the private key to calculate a value proving it has the key
beecushman has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<matthewd> If your (web) server is the (ldap) client, it needs the key in order to do that
<chessguy> yeah
<chessguy> ok, so then requests to an ldap server can't really be proxied
madgen has joined #ruby
A_Drone has quit [Remote host closed the connection]
<matthewd> Not without the server having the private key for the certificate it's using to talk to LDAP, no
<chessguy> gotcha
<chessguy> thanks
tdy has quit [Ping timeout: 248 seconds]
<matthewd> The most likely solution to that sort of arrangement would be to give the server its own key, then have it apply its own authentication of the end clients
beauby has quit [Read error: Connection reset by peer]
<matthewd> (so it becomes a trusted part of the access control mechanism)
<chessguy> so how would it pass on that authentication to the ldap server?
A_Drone has joined #ruby
<matthewd> It wouldn't; that's the point. It has to apply its own access control, and the ldap server just trusts it to do so.
<chessguy> but then the server is duplicating the access control that the ldap server already provides
<chessguy> i.e., the ldap server already knows what the real client is authorized to do
aryaching has quit [Read error: Connection reset by peer]
<chessguy> seems silly for the in-between app to also know that
tcrypt has quit [Ping timeout: 264 seconds]
<matthewd> Then you'd need to find some way to get the real identity to the ldap server, outside of the actual authentication mechanism
<matthewd> I don't know enough about LDAP to propose a solution to that / know whether it's possible
madgen has quit [Ping timeout: 272 seconds]
<chessguy> yeah, that sounds sleazy, too
<chessguy> ok, well, thanks anyway
<matthewd> There's no getting around the fact someone has to have absolute trust in the middleman... the whole point of using SSL is to guarantee there isn't an untrusted party in the middle
beauby has joined #ruby
<chessguy> right, but if you have absolute trust in the middleman, you should allow the middleman to make a request on behalf of someone else
CloCkWeRX has quit [Quit: Leaving.]
jottr_ has joined #ruby
<matthewd> Isn't that what I just suggested? You authenticate the middleman as being itself, then it passes the identity along in a secondary non-authentication field
<chessguy> in my case, i actually have a cert i can use, but i don't want all _my_ clients to have the same level of access i do
<matthewd> The challenge is just whether the protocol even has such a mechanism; most protocols aren't designed with an open-ended 'sudo' mechanism "just in case"
<chessguy> right
<chessguy> and i don't have access to the ldap server, either
<chessguy> so i doubt that's a possibility
<matthewd> I'd be looking at how effectively you (with your relatively powerful cert) can interrogate the server's access control setup
<chessguy> what do you mean by "access control setup"?
<matthewd> So, have the middleman *apply* the access control, but have it apply it in the form of constant conditions it adds to the queries it's passing along
<matthewd> The server's ACLs
<matthewd> IME LDAP servers tend to be pretty dogfoody... so there's a good chance the ACLs exist inside the LDAP database
bearche has joined #ruby
<matthewd> You end up with duplication of the "apply rules" logic, but the actual rules come straight from the source
<chessguy> so let me see if i understand what you're suggesting:
A_Drone has quit [Remote host closed the connection]
<chessguy> 1.) my client asks me for something
<chessguy> 2.) i ask the ldap server what my client can see
bearche has quit [Client Quit]
<chessguy> 3.) i use the ldap server's response to modify the original request
jottr_ has quit [Ping timeout: 264 seconds]
<matthewd> Exactly
bearche has joined #ruby
<chessguy> interesting
<chessguy> i'll give that some thought
beauby has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
Velizar has quit [Quit: Velizar]
A_Drone has joined #ruby
aupadhye is now known as aupadhye|ooo
aupadhye|ooo is now known as aupadhye
jcao219 has quit [Ping timeout: 272 seconds]
RTFM[away] has joined #ruby
tcrypt has joined #ruby
beauby has joined #ruby
chessguy has quit []
User458764 has joined #ruby
Jakey3 has quit [Ping timeout: 265 seconds]
Channel6 has quit [Quit: Leaving]
tdy has joined #ruby
tmtwd has joined #ruby
beauby has quit [Read error: Connection reset by peer]
User458764 has quit [Remote host closed the connection]
ledestin has joined #ruby
tonini has joined #ruby
djbkd has joined #ruby
beauby has joined #ruby
_djbkd has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
A_Drone has quit [Remote host closed the connection]
astrobunny has joined #ruby
vuoto has joined #ruby
A_Drone has joined #ruby
postmodern has joined #ruby
A_Drone has quit [Remote host closed the connection]
_srose_ has joined #ruby
govg has joined #ruby
A_Drone has joined #ruby
vuoto has quit [Client Quit]
gizmore has joined #ruby
jackjackdripper has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
_srose__ has quit [Ping timeout: 252 seconds]
tragique has quit [Quit: Connection closed for inactivity]
alaibe has joined #ruby
segy has quit [Ping timeout: 244 seconds]
gizmore has quit [Remote host closed the connection]
gizmore has joined #ruby
segy has joined #ruby
tcrypt has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
Hyuk has joined #ruby
jphase has quit [Remote host closed the connection]
RTFM[away] has quit [Ping timeout: 265 seconds]
pwnd_nsfw has joined #ruby
alaibe has quit [Ping timeout: 272 seconds]
Devalo has joined #ruby
nankyokusei has joined #ruby
Bellthoven has joined #ruby
CharlieLo has joined #ruby
madgen has joined #ruby
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
tristanp has quit [Remote host closed the connection]
Bellthoven has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 252 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
tristanp has joined #ruby
vitd has quit [Ping timeout: 244 seconds]
CharlieLo has quit [Ping timeout: 264 seconds]
ec0 has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 248 seconds]
Pupeno has quit [Ping timeout: 248 seconds]
tristanp has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
jottr_ has joined #ruby
c0mrad3 has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
vitd has joined #ruby
jottr_ has quit [Ping timeout: 248 seconds]
tcrypt has joined #ruby
beauby has quit [Read error: Connection reset by peer]
hakunin has quit [Ping timeout: 264 seconds]
beauby has joined #ruby
ARCADIVS has joined #ruby
Edward__ has joined #ruby
hakunin has joined #ruby
Pupeno has joined #ruby
Xing has joined #ruby
pawnbox has quit [Remote host closed the connection]
meatchicken has quit [Ping timeout: 248 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
pawnbox has joined #ruby
hakunin has quit [Ping timeout: 244 seconds]
gusrub_ has joined #ruby
gusrub_ has quit [Client Quit]
hakunin has joined #ruby
beauby has quit [Read error: Connection reset by peer]
Xing has left #ruby ["Leaving"]
beauby has joined #ruby
l4v2 has joined #ruby
Edward__ is now known as meatchicken
hakunin_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
hakunin has quit [Read error: Connection reset by peer]
A_Drone has quit [Remote host closed the connection]
tcrypt has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
agit0 has quit [Quit: zzzZZZ….]
Hyuk has joined #ruby
raeoks has joined #ruby
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
Devalo has quit [Remote host closed the connection]
jcao219 has joined #ruby
harfangk has joined #ruby
rippa has joined #ruby
Bellthoven has joined #ruby
lxsameer has joined #ruby
l4v2 has quit [Quit: l4v2]
blaxter has joined #ruby
Bellthoven has quit [Ping timeout: 248 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
nando294021 has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
agit0 has joined #ruby
_djbkd has quit [Quit: My people need me...]
craigp_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
madgen has joined #ruby
shinnya has joined #ruby
tdy-err has joined #ruby
tristanp has joined #ruby
bigkevmcd has joined #ruby
ur5us has quit [Remote host closed the connection]
alaibe has joined #ruby
ur5us has joined #ruby
A_Drone has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
ur5us has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
Cohedrin has quit [Ping timeout: 272 seconds]
PlasmaStar has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
A_Drone has quit [Remote host closed the connection]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
madgen has joined #ruby
harfangk has joined #ruby
A_Drone has joined #ruby
mark_66 has joined #ruby
PlasmaStar has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
madgen has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
dtscode has joined #ruby
Burgestrand has joined #ruby
frankiee_ has quit [Ping timeout: 265 seconds]
inteq has quit [Ping timeout: 244 seconds]
summation has joined #ruby
conta has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
A_Drone has quit [Remote host closed the connection]
_srose__ has joined #ruby
A_Drone has joined #ruby
tcrypt has joined #ruby
samof76 has joined #ruby
A_Drone has quit [Client Quit]
prawnzy has quit [Remote host closed the connection]
<samof76> one question.. should ruby version and gem version be consistent with each other?
Silthias1 has joined #ruby
A_Drone has joined #ruby
<samof76> that is should they be equal
<samof76> ?
sp_ has joined #ruby
_srose_ has quit [Ping timeout: 252 seconds]
Silthias has quit [Ping timeout: 248 seconds]
boogeyman has quit [Quit: bb]
duncannz has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
djbkd has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
AlphaAtom has joined #ruby
wugy has joined #ruby
arashb has joined #ruby
govg has quit [Ping timeout: 264 seconds]
madgen has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
Bellthoven has joined #ruby
dionysus69 has joined #ruby
bearche has quit [Quit: WeeChat 1.5]
arashb has quit [Ping timeout: 272 seconds]
<matthewd> samof76: No.
<samof76> mathewd: i just want to know if it is a best practice to keep them consistent?
<matthewd> Maybe I'm misunderstanding your question
Bellthoven has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<matthewd> `ruby -v` and `gem -v` will show different versions, because they're different pieces of software, versioned separately
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
Rutix has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
tcrypt has joined #ruby
_joes__ has joined #ruby
jaruga___ has joined #ruby
nankyokusei has joined #ruby
frankiee_ has joined #ruby
Bellthoven has joined #ruby
Snickers has joined #ruby
magellanicloud has joined #ruby
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
craigp_ has quit [Quit: WeeChat 1.5]
craigp has joined #ruby
craigp has quit [Client Quit]
craigp has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
craigp has quit [Client Quit]
tjbiddle has joined #ruby
craigp has joined #ruby
Bellthoven has quit [Ping timeout: 252 seconds]
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
aganov has joined #ruby
Jameser has joined #ruby
RegulationD has joined #ruby
boogeyman has joined #ruby
tmtwd has quit [Ping timeout: 252 seconds]
alaibe has quit [Ping timeout: 265 seconds]
Jameser has quit [Client Quit]
Jameser has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
lacour has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 248 seconds]
gingray has joined #ruby
P1ro has quit [Remote host closed the connection]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta__ has quit [Remote host closed the connection]
<samof76> thanks @mathewd
pwnd_nsfw` has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
A_Drone has quit [Remote host closed the connection]
vitd has quit [Ping timeout: 264 seconds]
beauby has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
teclator has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Ping timeout: 272 seconds]
Pupeno has quit [Remote host closed the connection]
nobitanobi has joined #ruby
strax has joined #ruby
nobitanobi has quit [Client Quit]
ur5us has joined #ruby
Choups has joined #ruby
Choups has left #ruby [#ruby]
tcrypt has quit [Ping timeout: 264 seconds]
tmtwd has joined #ruby
sameerynho has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
aufi has joined #ruby
Snickers has quit [Read error: Connection reset by peer]
aufi has quit [Client Quit]
aufi has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
AlexRussia_ has quit [Ping timeout: 244 seconds]
P_R_Deltoid has joined #ruby
pontiki has quit [*.net *.split]
alaibe has joined #ruby
teclator has joined #ruby
tcrypt has quit [Ping timeout: 248 seconds]
samof76 has quit [Ping timeout: 244 seconds]
ctp has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
Ishido has joined #ruby
sameerynho has joined #ruby
cibs has joined #ruby
conta has quit [Quit: conta]
Couch has joined #ruby
bigkevmcd has quit [Ping timeout: 248 seconds]
vondruch has joined #ruby
conta has joined #ruby
stupidystupid has joined #ruby
A_Drone has joined #ruby
saneax-_-|AFK is now known as saneax
AlexRussia_ has joined #ruby
govg has joined #ruby
iMadper has joined #ruby
NTrash has joined #ruby
Burgestrand has joined #ruby
madgen has quit [Ping timeout: 265 seconds]
Burgestrand has quit [Client Quit]
Hyuk has joined #ruby
aries_liuxueyang has joined #ruby
_sfiguser has quit [Ping timeout: 252 seconds]
tcrypt has joined #ruby
CHoltk has joined #ruby
tristanp has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
eljimmy has joined #ruby
aries_liuxueyang has quit [Ping timeout: 248 seconds]
tristanp has quit [Ping timeout: 264 seconds]
bigkevmcd has joined #ruby
Burgestrand has joined #ruby
tdy-err has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 248 seconds]
pontiki has joined #ruby
alaibe has quit [Ping timeout: 252 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
jottr_ has joined #ruby
alaibe has joined #ruby
Burgestrand has quit [Client Quit]
vitd has joined #ruby
_sfiguser has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
maloik25 is now known as maloik
jottr_ has quit [Ping timeout: 244 seconds]
TheHodge has joined #ruby
A_Drone has quit [Remote host closed the connection]
CHoltk has quit [Quit: Verlassend]
ta_ has joined #ruby
aries_liuxueyang has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
salut has joined #ruby
Burgestrand has joined #ruby
rsampaio_ has quit [Ping timeout: 272 seconds]
A_Drone has joined #ruby
tomphp has joined #ruby
codelogix has joined #ruby
govg has quit [Ping timeout: 264 seconds]
xentity1x has quit [Ping timeout: 264 seconds]
samof76 has joined #ruby
codelogix has quit [Ping timeout: 272 seconds]
A_Drone has quit [Remote host closed the connection]
marr has joined #ruby
vitd has quit [Ping timeout: 248 seconds]
sandelius has joined #ruby
Coldblackice has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
mim1k|wo1k is now known as mim1k|work
P_R_Deltoid has quit [Read error: Connection reset by peer]
flying has joined #ruby
aries_liuxueyang has quit [Ping timeout: 248 seconds]
_srose_ has joined #ruby
hahuang62 has joined #ruby
codelogix has joined #ruby
ICantCook has quit [Ping timeout: 265 seconds]
dtscode has joined #ruby
_srose__ has quit [Ping timeout: 252 seconds]
ICantCook has joined #ruby
dtscode has quit [Client Quit]
A_Drone has joined #ruby
hahuang62 has quit [Ping timeout: 265 seconds]
Coldblackice has quit []
alaibe has quit [Ping timeout: 252 seconds]
codelogix has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
biberu has joined #ruby
jaequery has joined #ruby
<zotherstupidguy> is there a refrence(blog or similar) for explaining the diffs between Dependency Injection pattern vs Builder pattern with ruby examples?
nankyokusei has joined #ruby
bsrd has joined #ruby
edgr has quit [Ping timeout: 276 seconds]
tjbiddle has quit [Quit: tjbiddle]
tjbiddle has joined #ruby
tjbiddle has quit [Client Quit]
edgr has joined #ruby
CharlieLo has joined #ruby
A_Drone has quit [Remote host closed the connection]
qba73 has joined #ruby
tcrypt has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
CharlieLo has quit [Ping timeout: 265 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
erlingur has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
jottr_ has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
nofxx has quit [Ping timeout: 248 seconds]
govg has joined #ruby
<hanmac> zotherstupidguy: it might not 100% answer your question but did you checkout https://github.com/nslocum/design-patterns-in-ruby yet?
CloCkWeRX has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
vasilakisfil has quit [Quit: Konversation terminated!]
jackjackdripper has quit [Quit: Leaving.]
alaibe has joined #ruby
madgen has joined #ruby
ur5us has joined #ruby
pragmaticus has joined #ruby
astrobunny has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
aries_liuxueyang has joined #ruby
bnagy has joined #ruby
tcrypt has joined #ruby
zipace has joined #ruby
postmodern has quit [Quit: Leaving]
vitd has joined #ruby
madgen has quit [Quit: Lost terminal]
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
tty1 has joined #ruby
Silthias1 has quit [Ping timeout: 248 seconds]
maloik72 has joined #ruby
codelogix has joined #ruby
Camusensei has left #ruby [#ruby]
<danst> can't join rails, so will ask here. After running project for years I get NoMethodError (undefined method `to_datetime' for nil:NilClass) if I want to update an existing record with image (using paperclip)
<danst> what is this to_datetime thing, I can't even trace it
<danst> I didn't write that code :(
<danst> any ideas?
maloik has quit [Ping timeout: 248 seconds]
<danst> the line which causing that looks just @good.update_attributes(params[:good]), nothing else
tcrypt has quit [Ping timeout: 264 seconds]
<danst> and to_datetime happens only when image is being updated, or record is trying to be removed completely
codelogix has quit [Ping timeout: 264 seconds]
<canton7> someone tried to call to_datetime on a value which was nil
<canton7> we can't guess why that might be, as you haven't given the code which calls to_datetime
<danst> the app is simple like an axe
sp_ has quit [Ping timeout: 264 seconds]
<danst> I don't have that code in my project :)
<danst> I'm using rails 4.0.0 and paperclip 4.2 for that one
<canton7> somewhere in that project, someone calls something.to_datetime
gingray has quit [Ping timeout: 248 seconds]
tcrypt has joined #ruby
<ljarvis> this is what error messages are for
<danst> nothing, maybe that comes from paperclip
govg has quit [Ping timeout: 264 seconds]
<canton7> look at the stack trace, that will tell you where the call is, and what calls it
<ljarvis> the error backtrace will point out where it's called
<meatchicken> you need to paste the stacktrace
<danst> I get only to_datetime error for update_attributes string. Can I extend trace to see how far it goes?
<ljarvis> it'll be in your log
<danst> I'm running app in development with default logging settings
<danst> looks like this http://pastebin.com/nRFSL1NR
<helpa> Hi danst. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<ruby[bot]> danst: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/5f480872485539f9ed9e5fe4f0777d6b
<ruby[bot]> danst: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
vitd has quit [Ping timeout: 248 seconds]
bonhoeffer_ has joined #ruby
<danst> sorry
bonhoeffer_ is now known as bonhoeffer
<meatchicken> danst, line 55
<meatchicken> block in destroy action
<bonhoeffer> i installed via rbenv install, but now get ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16] from ruby -v
<danst> it's just if @good.destroy
<danst> then render another page
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis> danst: why are you using rails 4.0.0 btw?
Silthias has joined #ruby
<danst> because its an old project which I've almost forgot about
<ljarvis> it's not even stable
<danst> I see
<danst> what should I do in this case?
<ljarvis> you should upgrade rails
<ljarvis> and probably paperclip, and then see if the error happens still
<danst> which rails 4 version is stable enough?
<ljarvis> just use the latest version of the 4.x range
<danst> thank you will try that
ocbtec has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
hahuang62 has joined #ruby
gregf_ has joined #ruby
<hanmac> why do we have two bots reacting to pastebin?
craigp has quit [Ping timeout: 272 seconds]
<bonhoeffer> rbenv global does produce 2.3.1
<bonhoeffer> but ruby -v doesn't match
Robtop__ has joined #ruby
<hanmac> bonhoeffer: looks like that "ruby" does point to he system, instead of the rbenv one
<bonhoeffer> yes -- looking at the doc now
sp_ has joined #ruby
<bonhoeffer> ah -- zsh -- got it
hahuang62 has quit [Ping timeout: 248 seconds]
<bonhoeffer> i was updating .bash-profile
pwnd_nsfw` has quit [Ping timeout: 248 seconds]
senayar has joined #ruby
<bonhoeffer> out!
bonhoeffer has quit [Quit: Page closed]
jaguarmagenta has quit [Remote host closed the connection]
workmad3 has joined #ruby
User458764 has joined #ruby
Jameser has joined #ruby
Burgestrand has joined #ruby
sp_ has quit [Ping timeout: 248 seconds]
<danst> ljarvis: yeah that solved the problem
<danst> very weird
User458764 has quit [Remote host closed the connection]
<danst> thank you
Burgestrand has quit [Client Quit]
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby
workmad3 has quit [Quit: leaving]
workmad3 has joined #ruby
stamina has joined #ruby
jottr_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
qba73 has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
Burgestrand has joined #ruby
symm-_ has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 252 seconds]
ferr has joined #ruby
GodFather has joined #ruby
craigp has joined #ruby
ferr has left #ruby [#ruby]
<danst> damn it tells me that can't find nokogiri 1.6.8.1 in any of the sources when I try to deploy it with capistrano and it does ~/.rvm/bin/rvm default do bundle install
<danst> although I was able to gem install nokogiri -v=1.6.8.1 successfully for same ruby ver it's running
<danst> 2.3.0 is the only ruby installed there
<danst> no idea why it says like that
Silthias has quit [Ping timeout: 248 seconds]
jaruga___ has quit [Quit: jaruga___]
nettoweb has joined #ruby
<danst> I've read your bot's ad about pastie, but its 503 (
workmad3 has quit [Quit: Lost terminal]
<danst> how can this be possible?
_srose_ has quit [Remote host closed the connection]
tcrypt has joined #ruby
Silthias has joined #ruby
workmad3 has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
edgr has quit [Ping timeout: 244 seconds]
summation has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
govg has joined #ruby
edgr has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
minimalism has quit [Ping timeout: 272 seconds]
vitd has joined #ruby
koooge has quit [Quit: Leaving...]
miqlas-H has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
aries_liuxueyang has quit [Ping timeout: 248 seconds]
NTrash has quit [Quit: Konversation terminated!]
symm- has joined #ruby
bsrd has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
bsrd has joined #ruby
aries_liuxueyang has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
qba73 has joined #ruby
sdothum has joined #ruby
qba73 has quit [Read error: Connection reset by peer]
Velizar has joined #ruby
bnagy has left #ruby [#ruby]
qba73 has joined #ruby
vitd has quit [Ping timeout: 244 seconds]
vasilakisfil has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
minimalism has joined #ruby
fivmo has joined #ruby
<_sfiguser> how cna i increment by one ? like ++ or -- ?
<_sfiguser> in ruby
<_sfiguser> i found out ruby doesn't have ++
<canton7> += 1
<_sfiguser> why '? ?
<canton7> because integers are immutable in ruby, and ++ implies mutation
_sfiguser has quit [Remote host closed the connection]
pandaant has joined #ruby
pandaant has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
CharlieLo has joined #ruby
yeticry has joined #ruby
chwbacca has joined #ruby
chwbacca has quit [Remote host closed the connection]
gnufied has joined #ruby
gnufied has quit [Max SendQ exceeded]
gnufied has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
gnufied has quit [Max SendQ exceeded]
ldnunes has joined #ruby
gnufied has joined #ruby
gnufied has quit [Max SendQ exceeded]
Guest32525 has quit [Ping timeout: 244 seconds]
gnufied has joined #ruby
gnufied has quit [Max SendQ exceeded]
mziemys has joined #ruby
rodfersou has joined #ruby
mziemys has quit [Client Quit]
gnufied has joined #ruby
nuck has joined #ruby
tcrypt_ has joined #ruby
nuck is now known as Guest81200
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
tcrypt has quit [Ping timeout: 264 seconds]
johnmilton has quit [Remote host closed the connection]
jottr_ has joined #ruby
tcrypt_ has quit [Ping timeout: 265 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
pwnd_nsfw has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
bobdobbs` has quit [Remote host closed the connection]
RTFM[away] has quit [Ping timeout: 252 seconds]
Robtop__ has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 252 seconds]
houhoulis has joined #ruby
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
jottr_ has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
jcao219 has quit [Remote host closed the connection]
crameth has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
govg has joined #ruby
johnmilton has joined #ruby
LastWhisper____ has joined #ruby
hahuang62 has joined #ruby
samof76 has quit [Ping timeout: 264 seconds]
pwnd_nsfw` has joined #ruby
sameerynho has joined #ruby
murilo has joined #ruby
dionysus69 has joined #ruby
tcrypt has joined #ruby
vitd has joined #ruby
pwnd_nsfw has quit [Ping timeout: 248 seconds]
hahuang62 has quit [Ping timeout: 272 seconds]
Silthias has quit [Ping timeout: 252 seconds]
Silthias has joined #ruby
jaguarmagenta has joined #ruby
ponga has joined #ruby
Hyuk has joined #ruby
Hyuk has quit [Client Quit]
tristanp has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
alaibe has quit [Ping timeout: 265 seconds]
SpX has quit [Read error: Connection reset by peer]
tristanp has quit [Ping timeout: 264 seconds]
alibby has joined #ruby
alaibe has joined #ruby
qba73 has quit [Ping timeout: 248 seconds]
synthroid has joined #ruby
SpX has joined #ruby
jhack has quit []
alibby has left #ruby [#ruby]
nfk has joined #ruby
csk has quit [Quit: ZZZzzz…]
Snickers has joined #ruby
tyang has joined #ruby
tyang has quit [Read error: Connection reset by peer]
brendan- has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samof76 has joined #ruby
codelogix has joined #ruby
vitd has quit [Ping timeout: 244 seconds]
jcao219 has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
codelogix has quit [Ping timeout: 265 seconds]
govg has quit [Ping timeout: 272 seconds]
hutch34 has joined #ruby
teclator has quit [Ping timeout: 252 seconds]
Vile` has quit [Ping timeout: 248 seconds]
emilkarl has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
jonyijoe has quit [Remote host closed the connection]
fmcgeough has joined #ruby
jonyijoe has joined #ruby
Pumukel has joined #ruby
tyang has joined #ruby
Pumukel has quit [Client Quit]
jmignault has quit [Ping timeout: 248 seconds]
jonyijoe has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
boogeyman has quit [Quit: bb]
b________ has joined #ruby
zotherstupidguy has quit [Client Quit]
boogeyman has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
minimalism has quit [Quit: minimalism]
tcrypt has joined #ruby
be_______ has quit [Ping timeout: 264 seconds]
b________ has quit [Ping timeout: 248 seconds]
govg has joined #ruby
teclator has joined #ruby
eggoez has quit [Ping timeout: 272 seconds]
patarr has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
pwnd_nsfw` has joined #ruby
eggoez has joined #ruby
govg has quit [Quit: leaving]
Hyuk has joined #ruby
last_staff has quit [Quit: last_staff]
jaguarmagenta has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
hutch34 has quit [Ping timeout: 272 seconds]
wldcordeiro has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
c355e3b has joined #ruby
wldcordeiro has joined #ruby
DaniG2k has joined #ruby
nankyokusei has joined #ruby
ramortegui has joined #ruby
csk has joined #ruby
sepp2k has joined #ruby
merlin2049er has left #ruby [#ruby]
be_______ has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 248 seconds]
samof76 has quit [Ping timeout: 272 seconds]
dminuoso has joined #ruby
da3mon has joined #ruby
DaniG2k has quit [Quit: leaving]
Burgestrand has joined #ruby
be_______ has quit [Remote host closed the connection]
catphish_ has joined #ruby
aupadhye has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
mr_foobar has joined #ruby
RTFM[away] has quit [Ping timeout: 264 seconds]
be_______ has joined #ruby
Snickers has quit [Ping timeout: 265 seconds]
sameerynho has quit [Quit: WeeChat 1.5]
averna has joined #ruby
wz520 has quit []
vitd has joined #ruby
CharlieLo has quit [Killed (Sigyn (Spam is off topic on freenode.))]
averna has quit [Client Quit]
averna has joined #ruby
be_______ has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 265 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
RTFM[away] has joined #ruby
be_______ has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
tcrypt has joined #ruby
malconis has joined #ruby
pawnbox has joined #ruby
gizless has joined #ruby
jrafanie has joined #ruby
jottr_ has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
jaguarmagenta has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 248 seconds]
jonyijoe has joined #ruby
NTrash has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
sepp2k has quit [Ping timeout: 252 seconds]
sepp2k has joined #ruby
jaguarmagenta has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
jonyijoe has quit [Remote host closed the connection]
tcrypt has joined #ruby
jonyijoe has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
<ule> canton7: I was curious about that too.. your answer made me happy
jonyijoe has quit [Remote host closed the connection]
edrocks has joined #ruby
jaguarmagenta has joined #ruby
jonyijoe has joined #ruby
blackwind_123 has quit [Ping timeout: 264 seconds]
vitd has quit [Ping timeout: 248 seconds]
<edrocks> is there a way to get the total system memory in 2.3?
<edrocks> apeiros: thank you
<apeiros> used it today for a ruby process which accumulated as little as 9GB of rss :D
blackwind_123 has joined #ruby
pawnbox has joined #ruby
<edrocks> I want to use it for vagrant
jonyijoe has quit [Remote host closed the connection]
jonyijoe has joined #ruby
tristanp has joined #ruby
<ule> 9GB yaike!
<apeiros> AR instances are costly :(
jaguarmagenta has quit [Remote host closed the connection]
<apeiros> and I kept ~1e6 in memory
JeanCarloMachado has joined #ruby
banisterfiend has joined #ruby
FINbit has joined #ruby
dionysus69 has joined #ruby
catphish_ has left #ruby ["Leaving"]
tcrypt has quit [Ping timeout: 264 seconds]
aegis3121 has joined #ruby
craigp has quit [Ping timeout: 248 seconds]
null_ref has joined #ruby
gix has quit [Ping timeout: 244 seconds]
jcao219 has quit [Ping timeout: 248 seconds]
hutch34 has quit [Quit: WeeChat 1.5]
hahuang62 has joined #ruby
<LyndsySimon> I asked this in #RubyOnRails, but haven't gotten a response and I'm stuck:
<LyndsySimon> I need to set a flash message inside an ActiveModel concern, but `flash` isn't defined. Anyone know how I can access it?
<LyndsySimon> nm, getting a response now.
codelogix has joined #ruby
gix has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
edrocks has quit [Ping timeout: 264 seconds]
saneax is now known as saneax-_-|AFK
charliesome has joined #ruby
<mr_foobar> LyndsySimon, hold on there
<mr_foobar> LyndsySimon, models are not supposed to know anything about flash messages?
bsrd has joined #ruby
<mr_foobar> LyndsySimon, other channel...
<LyndsySimon> mr_foobar: That's what I'm learning, and that's cool. I'll just have to figure out a different way to handle it.
hutch34 has joined #ruby
hahuang62 has quit [Ping timeout: 264 seconds]
fivmo has left #ruby ["Textual IRC Client: www.textualapp.com"]
be_______ has quit [Remote host closed the connection]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ctp has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
jayjo has joined #ruby
<jayjo> I am trying to install this package via "bundler": https://github.com/HouseTrip/km-db
<jayjo> it says to run gem 'km-db', but I get "Unknown command km-db". Do I need to clone the repo, or do they live someone like PyPi in python?
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
be_______ has joined #ruby
<canton7> no, it says to put `gem 'km-db'` in your Gemfile
<canton7> it doesn't say to run it
<jayjo> OK, in my working directory I just put that line in a file "Gemfile"?
<canton7> jayjo, do you know what bundler is?
ctp has quit [Ping timeout: 244 seconds]
<jayjo> no not at all - I work in python and java.
<jayjo> is it a package manager like pip?
<canton7> not really. 'gem' is like pip - so you could 'gem install km-db', and that would install it as a user-wide or system-wide gem, in the same way as pip
<apeiros> it's a package isolator
<apeiros> building up on the package manager "rubygems"
<canton7> bundler is a way of specifying all of the dependencies that your application needs - like pom.xml in java
<canton7> then you say "hey, go and install all of the dependencies that this app requires", and it goes off and does it
theRoUS has joined #ruby
<jayjo> ok got it ... to keep projects isolated. virtual environments even
<canton7> read the quick start: http://bundler.io/
<hanmac> apeiros: rubygems did absorb bundler
troulouliou_div2 has joined #ruby
<apeiros> hanmac: all of it? iirc only the dependency installation from gemfile/.lock?
edrocks has joined #ruby
<hanmac> the third directory "@ bundler"
<apeiros> interesting
be_______ has quit [Remote host closed the connection]
jonyijoe has quit [Remote host closed the connection]
RTFM[away] has quit [Ping timeout: 272 seconds]
jonyijoe has joined #ruby
<hanmac> apeiros: specially this one: https://github.com/rubygems/rubygems/issues/1681
be_______ has joined #ruby
<hanmac> i like this section: "Bundler & RubyGems merged: what now?"
pawnbox has quit [Remote host closed the connection]
jonyijoe has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
Kruppe has quit [Quit: ZNC - http://znc.in]
tyang has quit [Ping timeout: 264 seconds]
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
l4v2 has joined #ruby
Hyuk has joined #ruby
pawnbox has joined #ruby
averna has quit [Quit: terminated!]
averna has joined #ruby
Kruppe has joined #ruby
jottr_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
codelogix has quit [Ping timeout: 272 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
nando293921 has joined #ruby
nando294021 has joined #ruby
tyang has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
pwnd_nsfw has joined #ruby
RTFM[away] has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
s2013 has joined #ruby
vitd has joined #ruby
chouhoulis has joined #ruby
tdy has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 248 seconds]
polishdub has joined #ruby
minimalism has joined #ruby
troulouliou_div2 has joined #ruby
Silthias1 has quit [Ping timeout: 248 seconds]
futilegames has joined #ruby
jonyijoe has joined #ruby
tcrypt has quit [Read error: Connection reset by peer]
tcrypt_ has joined #ruby
d34th4ck3r has joined #ruby
edrocks has quit [Ping timeout: 272 seconds]
tyang has quit [Ping timeout: 264 seconds]
Silthias has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crameth has quit [Quit: crameth]
Zamyatin has joined #ruby
RTFM[away] has joined #ruby
futilegames has quit [Quit: futilegames]
GodFather has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Velizar has quit [Quit: Velizar]
RTFM[away] has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
tcrypt_ has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
murilo has quit [Quit: murilo]
averna has quit [Quit: terminated!]
averna has joined #ruby
mr_foobar has left #ruby ["Leaving"]
sp_ has joined #ruby
mrgrieve1 has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
havenwood has quit [Changing host]
havenwood has joined #ruby
lacour has joined #ruby
dionysus70 has joined #ruby
vitd has quit [Ping timeout: 272 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
dionysus70 is now known as dionysus69
aganov has quit [Quit: Leaving]
<jayjo> I am using bundle, and I get an error on bundle install requries ruby version>=2.0. When I run ruby --version I get ruby 1.9.3. Is there an easy way to upgrade on Ubuntu 14.04?
<havenwood> jayjo: Brightbox maintains up-to-date Ruby packages for Ubuntu: https://www.brightbox.com/docs/ruby/ubuntu/
<havenwood> jayjo: Or if you want a different Ruby engine try ruby-install: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you//
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
beecushman has joined #ruby
tcrypt has quit [Read error: Connection reset by peer]
tcrypt_ has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
RTFM[away] has joined #ruby
Bounga has joined #ruby
Silthias1 has joined #ruby
tyang has joined #ruby
nankyokusei has joined #ruby
Hyuk has joined #ruby
Silthias has quit [Ping timeout: 265 seconds]
jonyijoe has quit [Remote host closed the connection]
jonyijoe has joined #ruby
DoubleMalt has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
synthroid has quit [Remote host closed the connection]
tcrypt_ has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
sandelius has joined #ruby
shinnya has quit [Ping timeout: 272 seconds]
jphase has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JakFrist[WVU] has joined #ruby
jonyijoe has quit [Ping timeout: 265 seconds]
edrocks has joined #ruby
sandelius has quit [Client Quit]
eljimador has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LastWhisper____ has joined #ruby
RTFM[away] has quit [Quit: Leaving]
ccooke has quit [Ping timeout: 276 seconds]
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
RTFM[away] has joined #ruby
nando294021 has quit [Ping timeout: 248 seconds]
nando293921 has quit [Ping timeout: 248 seconds]
jmignault has joined #ruby
Silthias1 has quit [Ping timeout: 265 seconds]
aufi has quit [Quit: Leaving]
Oclair_ has joined #ruby
Oclair has quit [Ping timeout: 244 seconds]
saneax-_-|AFK is now known as saneax
nando293921 has joined #ruby
nando294021 has joined #ruby
Hyuk has quit [Read error: No route to host]
tcrypt has quit [Ping timeout: 264 seconds]
ccooke has joined #ruby
tcrypt has joined #ruby
AnarchyAo has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 244 seconds]
tragique has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
synthroid has joined #ruby
tcrypt has quit [Ping timeout: 248 seconds]
tcrypt has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
Devalo has joined #ruby
edrocks has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
agit0 has quit [Ping timeout: 264 seconds]
edrocks has joined #ruby
skweek has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
mark_66 has quit [Remote host closed the connection]
Silthias has joined #ruby
nando293921 has quit [Ping timeout: 264 seconds]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
nando294021 has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
gingray has joined #ruby
l4v2 has quit [Quit: l4v2]
elementaru has joined #ruby
<elementaru> hi
<havenwood> hi
tcrypt has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
tcrypt has joined #ruby
<elementaru> every time I touch ruby's while loop I can't get the syntax right, and I end up reworking the code and whatnot to use some different loop
RTFM[away] has quit [Ping timeout: 248 seconds]
<elementaru> even tho I bet it's very simple, and all the examples I think shows this, I believe I'm missing very elementary piece
<elementaru> I get syntax error, unexpected keyword_end for the 'end' on line 15
<elementaru> why..?
<havenwood> elementaru: there's no `x++` in Ruby
<elementaru> oh..
<havenwood> try: x += 1
<elementaru> yep lol works now, thanks
<havenwood> elementaru: there's no `none` either, use `nil`
Snickers has joined #ruby
<elementaru> I have method called none
<havenwood> ah, gotcha
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
sp_ has quit [Ping timeout: 264 seconds]
erlingur_ has joined #ruby
LastWhisper____ has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
tcrypt_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
erlingur has quit [Ping timeout: 272 seconds]
prawnzy has joined #ruby
amclain has joined #ruby
erlingur_ has quit [Ping timeout: 252 seconds]
<jayjo> perhaps more a REDIS question... but this gem says to set a REDIS url connection string... https://github.com/HouseTrip/km-db , which is 'redis://localhost/14'. Is 14 the port or database name?
jesk has quit [Ping timeout: 244 seconds]
babblebre has joined #ruby
<lacour> 14 would be the database name
minimalism has quit [Quit: minimalism]
[Butch] has joined #ruby
vitd has joined #ruby
tcrypt_ has quit [Max SendQ exceeded]
nando293921 has joined #ruby
Puffball_ has quit [Remote host closed the connection]
marxarelli has joined #ruby
tcrypt has joined #ruby
l4v2 has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
ichkv has joined #ruby
Puffball has joined #ruby
Coldblackice has joined #ruby
relix has joined #ruby
jackjackdripper has joined #ruby
tomphp has quit [Ping timeout: 252 seconds]
Coldblackice has quit [Max SendQ exceeded]
Couch has quit [Ping timeout: 244 seconds]
nando294021 has joined #ruby
Coldblackice has joined #ruby
^mtkd has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
<yorickpeterse> Does anybody know how the CRuby GC recycles memory? Since it doesn't do compacting/is non moving my best guess is that holes of memory aren't re-used until memory that follows it is released. This however would require resetting of the pointer to start allocations at once in a while
sp_ has joined #ruby
edrocks has quit [Ping timeout: 264 seconds]
averna has quit [Ping timeout: 260 seconds]
coolboy has joined #ruby
harambea has quit [Quit: Leaving]
tcrypt has quit [Ping timeout: 264 seconds]
Bounga has quit [Remote host closed the connection]
Guest38 has joined #ruby
tty has joined #ruby
be_______ has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
tcrypt has joined #ruby
flak has joined #ruby
rippa has quit [Ping timeout: 264 seconds]
wldcordeiro has quit [Client Quit]
Jmickey has joined #ruby
wldcordeiro has joined #ruby
ziprar has joined #ruby
zipace has quit [Disconnected by services]
<matthewd> yorickpeterse: It keeps track of free slots
blaxter has quit [Quit: foo]
aupadhye has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
nando294021 has quit [Ping timeout: 264 seconds]
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nando293921 has quit [Ping timeout: 264 seconds]
vitd has quit [Ping timeout: 264 seconds]
Coldblackice has quit []
tcrypt has joined #ruby
ta_ has quit [Remote host closed the connection]
edrocks has joined #ruby
nando293921 has joined #ruby
nando294021 has joined #ruby
Guest49007 has left #ruby ["bye folks"]
ruurd has joined #ruby
csk has quit [Quit: ZZZzzz…]
cdg has joined #ruby
twe4ked has quit [Ping timeout: 250 seconds]
jcao219 has joined #ruby
lxsameer has joined #ruby
JohnDorian has joined #ruby
arashb has joined #ruby
<jayjo> I am running the command kmdb-import and it takes about 10 seconds and outputs nothing. is there a way to run a ruby file with verbose output?
twe4ked has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
<yorickpeterse> matthewd: Right, does it prioritize free flots over bump allocating on the heap's tail?
<yorickpeterse> errr free slots
<matthewd> yorickpeterse: Yes, it'll only allocate a new [ruby] heap page if it needs one
tcrypt has quit [Ping timeout: 252 seconds]
P1ro has joined #ruby
tcrypt_ has joined #ruby
edgr has quit [Ping timeout: 265 seconds]
xentity1x has joined #ruby
arashb has quit [Ping timeout: 248 seconds]
samof76 has joined #ruby
nitric has joined #ruby
<yorickpeterse> matthewd: OK, thanks
sp_ has quit [Ping timeout: 248 seconds]
edgr has joined #ruby
Puffball_ has joined #ruby
Puffball has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
Vingador has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
RTFM[away] has joined #ruby
rakm has joined #ruby
brendan- has joined #ruby
nofxx has joined #ruby
ChiefAlexander has joined #ruby
qba73 has joined #ruby
senayar has quit []
jottr_ has joined #ruby
postmodern has joined #ruby
flying has quit []
aryaching has joined #ruby
postmodern has quit [Client Quit]
gheegh has joined #ruby
Ferdroid has joined #ruby
<jayjo> I tried to just run it manually... how do I use foreman to start KMDB commands with the environment set?
tcrypt_ has quit [Ping timeout: 252 seconds]
<jayjo> So I create a file .env in my working directory, how do I have foreman launch the commands?
Ishido has joined #ruby
<yorickpeterse> matthewd: do you know if these free slots are determined upon allocation, or during collection? That is, does it scan for the first free slot on every allocation or does the collector reset the allocation position to the first slot?
tcrypt has joined #ruby
<yorickpeterse> (and the allocator then moves to the next free slot, if any)
troulouliou_div2 has joined #ruby
Puffball_ has quit [Ping timeout: 265 seconds]
craigp has joined #ruby
<matthewd> I believe it keeps a list of free slots -- adding them during collection, then popping them during allocation
<matthewd> That's pushing up on the boundary of how I know it works vs how I think it works, though :)
jottr_ has quit [Ping timeout: 252 seconds]
qba73 has quit [Ping timeout: 248 seconds]
<yorickpeterse> Ah gotcha, thanks
<yorickpeterse> it's kinda annoying this isn't properly documented somewhere that I can find
<yorickpeterse> Then again this is Ruby, so one shouldn't expect too much
Puffball has joined #ruby
<yorickpeterse> ᕕ(ᐛ)ᕗ
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
Ferdroid has quit []
JoshS has quit [Ping timeout: 272 seconds]
Silthias1 has joined #ruby
gusrub_ has joined #ruby
jcao219 has quit [Ping timeout: 265 seconds]
FINbit has quit [Ping timeout: 244 seconds]
Silthias1 has quit [Client Quit]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Devalo has quit [Remote host closed the connection]
<ljarvis> yorickpeterse: how's aeon?
<ljarvis> i see you went with whitespace, thus rulling out my using it :( :P
craigp has quit [Ping timeout: 244 seconds]
troulouliou_div2 has quit [Quit: Leaving]
Alayde has joined #ruby
elifoster has joined #ruby
nofxx has quit [Ping timeout: 248 seconds]
<yorickpeterse> ljarvis: working on fleshing out the GC, should be done in a week or two
<yorickpeterse> basically all I need to implement is evacuation
tcrypt has quit [Ping timeout: 264 seconds]
<yorickpeterse> then write tests...lots of tests
<ljarvis> noice
<yorickpeterse> My goal is to get it into a working state (basic standard/core lib, etc) by the end of this year
Silthias has quit [Ping timeout: 248 seconds]
kitikonti has joined #ruby
nofxx has joined #ruby
<yorickpeterse> Once the GC is done it's basically focusing on the Ruby based compiler, and writing tests
<yorickpeterse> Once that all works I can start rewriting the compiler in Aeon itself
<yorickpeterse> That however will probably take at least a year
tcrypt_ has joined #ruby
<yorickpeterse> If not longer, depends a bit on how many things I first need to write to allow that
codelogix has quit [Ping timeout: 252 seconds]
<ljarvis> :D
<yorickpeterse> also regarding whitespace, I intend to support having other languages run on the VM
<yorickpeterse> So you can just compile JS to it :P
<yorickpeterse> one day I also want to have a web assembly backend, so you can write your kewl web apps using it
gusrub_ has quit []
<ljarvis> sounds interesting
marens_ has quit [Read error: Connection reset by peer]
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
<yorickpeterse> e.g. for running other languages there are a bunch of things taken into account
skweek has quit [Ping timeout: 252 seconds]
<yorickpeterse> e.g. the VM doesn't use class based OO to make it easier to run non class based languages on it (also because it's easier to reason about the internals this way)
<yorickpeterse> and the tests will be separate from the source code, basically using a literate programming style
<yorickpeterse> (just markdown with executable code blocks)
RegulationD has joined #ruby
<yorickpeterse> so if anybody is like "yo I want to reimplement this on the JVM" they don't need to rewrite all the tests
<yorickpeterse> (that will also serve as the documentation)
JoshS has joined #ruby
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> what's annoying about all this is how it's so darn hard to test things like a VM
<yorickpeterse> normally you'd say "I know! I'll use my debugger, pry, etc!"
<yorickpeterse> but none of that exists yet :P
codelogix has joined #ruby
<yorickpeterse> and debugging Rust using gdb isn't exactly fun
<ljarvis> step 1. build a debugger. step 2. build the language that the debugger is written in
sp_ has joined #ruby
jaequery has joined #ruby
troulouliou_div2 has joined #ruby
<yorickpeterse> heh
alexis has joined #ruby
alexis is now known as Guest59016
<yorickpeterse> it's interesting to see how long it takes to build a proper thing though
symm- has quit [Ping timeout: 264 seconds]
<yorickpeterse> This Rust repo dates back to Mar 30th, 2015
codelogix has quit [Ping timeout: 265 seconds]
<yorickpeterse> but I've been noting stuff down since at least a year before that
saneax is now known as saneax-_-|AFK
saneax-_-|AFK is now known as saneax
<ljarvis> it's a big/ambitious project, glad to see you're still pluggin' at it consistently
troulouliou_div2 has quit [Remote host closed the connection]
ichkv has quit [Remote host closed the connection]
<yorickpeterse> well, ultimately my goal is to get it in the top...20 I think in 10 years
strax has quit [Quit: Connection closed for inactivity]
AlphaAtom has joined #ruby
<yorickpeterse> based on whatever popular index there is (TIOBE or w/e)
tcrypt_ is now known as tcrypt[away]
<yorickpeterse> Having said that I fully expect this to fail tremendously :P
zacstewart has quit [Ping timeout: 248 seconds]
<Guest59016> Hello, I have an array of hashes, I want to know if a given value is in any of these hashes for a known key, how can i do this in an idiomatic way?
<ljarvis> Guest59016: arr.any? { |h| h.key?(value) }
<ljarvis> oh wait
Eiam has joined #ruby
cdg has quit [Remote host closed the connection]
<ljarvis> Guest59016: arr.any? { |h| h[known_key] == value }
<Guest59016> ljarvis: thanks, I am amazed at Ruby's elegant way of doing things
AnarchyAo has joined #ruby
Puffball has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
vasilakisfil has quit [Quit: Konversation terminated!]
nebben has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Puffball has joined #ruby
tcrypt[away] has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
jonyijoe has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
al2o3-cr has joined #ruby
Snowy has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
graft has joined #ruby
<jayjo> I think bundle is using an incorrect ruby version. But when I run ruby --version it shows 2.3.1 and bundle is installing to /S/L/F/Ruby.framework/Versions/2.0/
vitd has joined #ruby
tomphp has joined #ruby
<nofxx> ljarvis, never found a use to &&= until today ;) ary[:key] &&= 1
tomphp has quit [Client Quit]
<nofxx> Guest59016, ^
craigp has joined #ruby
Puffball_ has joined #ruby
<Guest59016> nofxx: interesting
Puffball has quit [Ping timeout: 248 seconds]
<matthewd> jayjo: `bundle env`
<jayjo> matthewd: ok, yea, it's incorrect. How do I adjust it?
d34th4ck3r has quit [Quit: d34th4ck3r]
<ljarvis> nofxx: what for?
jonyijoe has quit [Ping timeout: 265 seconds]
<matthewd> jayjo: Check `gem env` next
<jayjo> It reads Rubygems 2.0.14.1 and Ruby 2.0.0p648
<jayjo> yea those are still 2.0.0 ruby. I want to use the newer version
<matthewd> How'd you get the new one? Are you using a version manager?
<jayjo> I used homebrew
bluOxigen has quit [Ping timeout: 264 seconds]
<jayjo> I can undo that if that is not the appropriate way to go forward
bluOxigen has joined #ruby
nando294021 has quit [Ping timeout: 252 seconds]
nando293921 has quit [Ping timeout: 252 seconds]
<matthewd> I'd suggest using rbenv or chruby, and then installing the new version using their recommended mechanism
<matthewd> RVM is also a thing that exists
alaibe has quit [Ping timeout: 265 seconds]
<nofxx> don't.... just set your paths correctly jayjo
<nofxx> jayjo, you need to set yr cellar paths before others
Ishido has quit [Remote host closed the connection]
sp_ has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
<Guest59016> nofxx: where can i find documentation about &&= ? I haven't found any
Ishido has joined #ruby
Hyuk has joined #ruby
cloaked1 has quit [Quit: cloaked1]
cloaked1 has joined #ruby
<nofxx> Guest59016, not even google knows him, ppl only know their brother who was on x-factor: ||=
tcrypt has quit [Ping timeout: 264 seconds]
<nofxx> try 'conditional assign'
<Guest59016> nofxx: alright
<nofxx> Guest59016, x ||= 1 , set if x is nil.... x &&= 1 set if x is NOT nil
postmodern has joined #ruby
<nofxx> Guest59016, its actually... x = x || 1
<nofxx> please change your nick ;)
<Guest59016> nofxx: yes so how does it work when testing for the presence of a value actually ?
GodFather has quit [Ping timeout: 248 seconds]
<nofxx> Guest59016, its actually... x = x || 1 it's just 'or'
abernstein has quit [Quit: abernstein]
<Guest59016> nofxx: okay
<nofxx> or 'and' ... check out logic gates
arashb has joined #ruby
<Guest59016> yes
<baweaver> nofxx: Nope
<baweaver> x || x = 1
<Guest59016> baweaver: nice, you found some doc about it
<baweaver> subtle, but there is a difference.
<baweaver> Just look up Ruby operators.
<Guest59016> baweaver: thank you
<nofxx> baweaver, oh yea...got it. thanks
<jayjo> one more question before I just try to do this whole process locally. I have this running on a server but I want to check the ui via the browser. Can I have this host on 0.0.0.0 instead of localhost? again using this repo https://github.com/HouseTrip/km-db and the km-db-ui
JeanCarloMachado has quit [Ping timeout: 265 seconds]
<jayjo> sorry kmdb-ui
DoubleMalt has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
da3mon has quit [Quit: Zzzz...]
da3mon has joined #ruby
symm- has joined #ruby
arashb has quit [Ping timeout: 244 seconds]
codelogix has joined #ruby
replay has joined #ruby
<nofxx> jayjo, 0.0.0.0 means it's avaiable on all networks a computer connects
marxarelli is now known as marxarelli|afk
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nofxx> localhost == 127.0.0.1, or only local access... it's just that , nothing to do with langs or servers
<nofxx> available to all*
<jayjo> nofxx: I need it available to all, its running on an ec2 server
<jayjo> Right now it is on localhost only, I need it to be 0.0.0.0
<nofxx> go for it
<jayjo> do you know where I change that?
Devalo has joined #ruby
daffy_duck_2 is now known as na_belom_kone
vitd has quit [Ping timeout: 244 seconds]
samof76 has quit [Ping timeout: 272 seconds]
craigp has quit [Ping timeout: 244 seconds]
Silthias has joined #ruby
finisherr has joined #ruby
codelogix has quit [Ping timeout: 248 seconds]
jonyijoe has joined #ruby
arashb has joined #ruby
skweek has joined #ruby
jonyijoe has quit [Remote host closed the connection]
terlar has joined #ruby
jottr_ has joined #ruby
jonyijoe has joined #ruby
polishdub has quit [Quit: Leaving]
phaza has joined #ruby
zeroDi has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
cdg has joined #ruby
arashb has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 248 seconds]
jonyijoe has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
emilkarl has joined #ruby
jonyijoe has joined #ruby
alaibe has joined #ruby
elvin_ has joined #ruby
nando293921 has joined #ruby
nando294021 has joined #ruby
shinnya has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
be_______ has joined #ruby
<jayjo> I can't find where to change the 0.0.0.0
__main__ has quit [Ping timeout: 276 seconds]
tty is now known as minimalism
Snowy has quit [Remote host closed the connection]
<LyndsySimon> Not really expecting anyone to care, but coming from Python Ruby's yield/block syntax is fairly slick. It's the second thing I've found so far where I like Ruby's implementation better.
Snowy has joined #ruby
codelogix has joined #ruby
pwnd_nsfw` has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
be_______ has quit [Remote host closed the connection]
tomphp has joined #ruby
edrocks has quit [Ping timeout: 265 seconds]
tcrypt has quit [Ping timeout: 252 seconds]
<baweaver> LyndsySimon: Wait until you read through Enumerable, find out what you can do with Hashes, and what Case does in Ruby.
tcrypt has joined #ruby
da3mon has quit [Quit: Zzzz...]
pwnd_nsfw has quit [Ping timeout: 248 seconds]
__main__ has joined #ruby
Snowy has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
codelogix has quit [Ping timeout: 265 seconds]
polishdub has joined #ruby
be_______ has joined #ruby
djbkd has joined #ruby
tomphp has quit [Client Quit]
<LyndsySimon> baweaver: I've played with Enumerable some, but in the context of trying to figure out how to do infinite series in Ruby. I've thus far found it inferior to Python's generator expressions.
<LyndsySimon> Is Ruby's case statement substantially different than other languages'? If not, it's not something I really missed in Python.
<baweaver> Enumerator
<baweaver> Lazy
<baweaver> both can technically do infinites
<baweaver> case uses === for comparisons
<LyndsySimon> Right. Python is lazy by default if you're writing it properly.
<baweaver> and in ruby === is overriden for certain classes.
<baweaver> >> 1..10 === 5
<ruby[bot]> baweaver: # => bad value for range (ArgumentError) ...check link for more (https://eval.in/654370)
<LyndsySimon> Ah, gotchya on the case statement then. That makes sense why you wouldn't use === outside of a case statement - so you can have logic specific to case statements in your objects.
<baweaver> >> (1..10) === 5
cdg has quit [Remote host closed the connection]
<ruby[bot]> baweaver: # => true (https://eval.in/654372)
<baweaver> picky thing
<baweaver> >> Integer === 5
<ruby[bot]> baweaver: # => true (https://eval.in/654373)
<baweaver> >> -> x { x * 5 } === 5
<ruby[bot]> baweaver: # => 25 (https://eval.in/654374)
<LyndsySimon> I understand.
<baweaver> >> /foo/ === 'foobar'
<ruby[bot]> baweaver: # => true (https://eval.in/654375)
<baweaver> so lots of fun you can do with case from that
<baweaver> it also works with IP ranges using IpAddr
Zamyatin has joined #ruby
<baweaver> &ri Enumerator
dionysus69 has quit [Remote host closed the connection]
codelogix has joined #ruby
<apeiros> don't forget that `when` takes a comma separated list of expressions (which can also be splatted)
<LyndsySimon> baweaver: yeah, I can see that. I could (and have) done similar things in Python, but I'm not really trying to pit one against the other - only trying to learn idiomatic Ruby and find the things it's great at.
craigp has joined #ruby
nikivi has joined #ruby
<baweaver> Eloquent Ruby is probably the best book to page through to find out how to code Ruby like Ruby
<LyndsySimon> Awesome, tyvm
<baweaver> and the Ruby style guide from bbatsov is a good read as well.
bsrd has quit [Read error: Connection reset by peer]
<baweaver> or just outright ask in here and put code in a gist.
<LyndsySimon> Yeah, I've got that open in another tab. Reading it in its entirety as I get time.
edrocks has joined #ruby
vitd has joined #ruby
dionysus69 has joined #ruby
<baweaver> Rubocop uses it so you can just jack that into an editor if you're so inclined.
<LyndsySimon> Also done :)
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood has quit [Remote host closed the connection]
hahuang62 has joined #ruby
dviola has joined #ruby
Silthias has joined #ruby
codelogix has quit [Ping timeout: 248 seconds]
__main__ has quit [Ping timeout: 248 seconds]
vdamewood has joined #ruby
Shmulik has quit [K-Lined]
jonyijoe has quit [Remote host closed the connection]
charliesome has joined #ruby
jonyijoe has joined #ruby
brendan- has joined #ruby
hakunin_ is now known as hakunin
jonyijoe has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 272 seconds]
jonyijoe has joined #ruby
codelogix has joined #ruby
__main__ has joined #ruby
vitd has quit [Ping timeout: 248 seconds]
hahuang62 has quit [Ping timeout: 244 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
joelwallis has joined #ruby
tcrypt has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
codelogix has quit [Ping timeout: 248 seconds]
__main__ has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
jaequery has joined #ruby
tcrypt_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Snowy has joined #ruby
Dobler has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
elifoster has quit [Quit: out]
nikivi has quit [Quit: irc]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
<jayjo> when I run ruby --version I get 2.3.1. When I put ruby '2.3.1' in my Gemfile, bundle install gives me Your Ruby version is 2.0.0, but your Gemfile specified 2.3.1. I'm missing the disconnect here
auxbuss has joined #ruby
<havenwood> jayjo: Install Bundler for Ruby 2.3.1: gem install bundler
<havenwood> jayjo: Then sanity check that `which bundle` and `gem which bundler` are as expected.
Pupeno has joined #ruby
riceandbeans has joined #ruby
pawnbox has quit [Quit: gotta go guys.]
catphish has left #ruby ["Leaving"]
__main__ has joined #ruby
Devalo has quit [Remote host closed the connection]
pawnbox has joined #ruby
qba73 has joined #ruby
jesk has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
codelogix has joined #ruby
tcrypt_ has quit [Ping timeout: 264 seconds]
synthroid has quit [Remote host closed the connection]
zacstewart has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
synthroid has joined #ruby
behemot has joined #ruby
Yxhuvud has quit [Remote host closed the connection]
tcrypt has joined #ruby
Yxhuvud has joined #ruby
tomphp has joined #ruby
agent_white has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
codelogix has quit [Ping timeout: 265 seconds]
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
__main__ has quit [Ping timeout: 264 seconds]
auxbuss has quit [Quit: I'm gone.]
mtkd has joined #ruby
craigp_ has joined #ruby
stamina has quit [Quit: WeeChat 1.5]
beauby has joined #ruby
Dimik has joined #ruby
__main__ has joined #ruby
jottr_ has joined #ruby
bsrd has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
marxarelli|afk is now known as marxarelli
Devalo has quit [Remote host closed the connection]
ta_ has joined #ruby
DoubleMalt has joined #ruby
da3mon has joined #ruby
craigp_ has quit [Ping timeout: 244 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 264 seconds]
rodferso1 has joined #ruby
AlexRussia_ has quit [Ping timeout: 272 seconds]
pragmaticus has quit [Ping timeout: 248 seconds]
boogeyman has quit [Quit: bb]
__main__ has quit [Ping timeout: 248 seconds]
qba73 has quit [Remote host closed the connection]
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
qba73 has joined #ruby
tomphp has joined #ruby
erlingur_ has joined #ruby
rodfersou has quit [Ping timeout: 265 seconds]
__main__ has joined #ruby
phredus has joined #ruby
phredus has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
tcrypt has joined #ruby
codelogix has joined #ruby
qba73 has quit [Ping timeout: 265 seconds]
charliesome has quit [Ping timeout: 264 seconds]
edrocks has quit [Ping timeout: 252 seconds]
AlphaAtom has quit [Ping timeout: 252 seconds]
_main_ is now known as __main__
duderonomy has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
<ziprar> using open3, how the funk do i check whether the command ran successfully at all?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
edrocks has joined #ruby
csk has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
AlexRussia_ has joined #ruby
<hanmac> ziprar: what did you try so far? from the example it did look as if you need something with the waiting_thread value
harai has joined #ruby
<ziprar> hanmac: what i'm doing right now is just reading both stdout and stderr, checking error code from the thread (which would be #value), and then... processing both the data from stdout and stderr
bio_grin has joined #ruby
<bio_grin> Hello
<ziprar> it's just, i don't really think that's how you're supposed to do it
<hanmac> ziprar: from reading http://ruby-doc.org/stdlib-1.9.3/libdoc/open3/rdoc/Open3.html#method-c-popen3 it does look correct for me
bio_grin has quit [Client Quit]
<ziprar> hanmac: huh, that's cool
<havenwood> ziprar: yup: stdin, stdout, stderr, wait_thr = Open3.popen3 "echo abc"; wait_thr.value.exitstatus
sdothum has joined #ruby
elvin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<hanmac> hm i would prefer the block form if possible
<havenwood> yeah, blocks for the win
sandelius has joined #ruby
AnarchyAo has quit [Ping timeout: 244 seconds]
beecushman has quit [Quit: Textual IRC Client: www.textualapp.com]
AlphaAtom has joined #ruby
<ziprar> hanmac: obviously, but it's cool that i basically just guessed it
<ziprar> i seriously thought i just added another layer of boilerplate
csk has quit [Quit: ZZZzzz…]
skweek has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
craigp_ has joined #ruby
nankyokusei has joined #ruby
codelogix has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<postmodern> what is the defacto gem for saving models into redis?
<postmodern> i see redis_orm and redis-model
sagax has joined #ruby
<sagax> hi all
Vingador has quit [Ping timeout: 264 seconds]
<postmodern> also ohm
<sagax> ruby 2.2.1p85
boogeyman has joined #ruby
tomphp has joined #ruby
<sagax> why when i 1 * 0.1 = 0.1
<sagax> but when 3 * 0.1 = 0.30000000000000004
codelogix has quit [Ping timeout: 244 seconds]
jcao219 has joined #ruby
elastix has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
mr_foobar has joined #ruby
<sagax> and 6 * 0.1 = 0.6000000000000001
<sagax> but 8 * 0.1 = 0.8
johnmilton has quit [Remote host closed the connection]
<sagax> i need only one number after point,
Biciato has joined #ruby
ruby_ has joined #ruby
<riceandbeans> can someone show me a better way to do this?
<ruby[bot]> riceandbeans: as I told you already, please use https://gist.github.com
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<helpa> Hi riceandbeans. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
craigp_ has quit [Ping timeout: 265 seconds]
tcrypt_ has quit [Read error: Connection reset by peer]
<apeiros> ?float
<ruby[bot]> apeiros: I don't know anything about float
<riceandbeans> if pastie allows auto expiration, I'll do that
ruby_ has quit [Client Quit]
<Biciato> hi !!! using tk, how can i create a button and make it looks like pressed and i press it ?
<matthewd> apeiros: I checked for that first ;)
<apeiros> !fact add float Your numbers don't add up? You get "weird" results? read http://floating-point-gui.de/
<ruby[bot]> apeiros: I will remember that float is Your numbers don't add up? You get "weird" results? read http://floating-point-gui.de/
zacstewart has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
<apeiros> !fact ln floats float
<ruby[bot]> apeiros: I already know that float is Your numbers don't add up? You get "weird" results? read http://floating-point-gui.de/
<apeiros> !fact ln float floats
<ruby[bot]> apeiros: I will remember that float is also called floats.
<apeiros> ?cookie ruby[bot]
<ruby[bot]> ruby[bot]: here's your cookie: 🍪
da3mon has quit [Quit: Zzzz...]
coolboy has quit [Ping timeout: 264 seconds]
<apeiros> matthewd: thanks for that link :) (active links on the page tell me I actually knew about it… but obviously I forgot :-S)
armyriad has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
armyriad has joined #ruby
<matthewd> Pastie seems to have achieved peak auto-expiration, so that may not help at the moment
csk has joined #ruby
<riceandbeans> pastie.org is down
<sagax> first about i think it's (3 * 0.1).to_s.split('').slice(0, 3).join('').to_f
<apeiros> sagax: that's a bad way to implement Float#round
<sagax> yep
<sagax> it's just example my think
jenrzzz has joined #ruby
<apeiros> also it doesn't solve the underlying issue of floats
<matthewd> sagax: Converting back to a float is pretty pointless. If you're formatting for display, sprintf can help.
last_staff has joined #ruby
<apeiros> >> "%.40f" % (3 * 0.1).to_s.split('').slice(0, 3).join('').to_f
<ruby[bot]> apeiros: # => "0.2999999999999999888977697537484345957637" (https://eval.in/654404)
Devalo has joined #ruby
<apeiros> sagax: ^ that's what ruby (or any IEEE 754 float implementing language) thinks about your rounded 0.3
<matthewd> riceandbeans: If you're logged in to gist you can manually delete things, if that helps you
Naz has quit [Ping timeout: 244 seconds]
Jmickey has quit [Quit: Today's strong opinions and general awkwardness was brought to you by Textual IRC Client: www.textualapp.com]
Biciato has quit [Quit: Page closed]
<sagax> now i make (3 * 0.1).round(1)
c355e3b has quit [Quit: Connection closed for inactivity]
johnmilton has joined #ruby
bio_grin has joined #ruby
<bio_grin> hello
pawnbox has quit [Remote host closed the connection]
<havenwood> bio_grin: hi
<bio_grin> my friend
<bio_grin> :)
Ali_ has joined #ruby
<bio_grin> would you like to help me?
<bio_grin> lol
<havenwood> bio_grin: Have a Ruby question? Ask away!
<bio_grin> yeah
<bio_grin> well its more maths
<bio_grin> if you have two dots
<bio_grin> given coordinates
<bio_grin> x1 y1 and x2 y2
<bio_grin> you make a line
<apeiros> bio_grin: no need to write 3 word messages
<bio_grin> ok sorry
<apeiros> you're allowed to write full phrases
<bio_grin> in what quadrant is the line
<bio_grin> it can be brute forced easily
<bio_grin> im looking for better way to do it
<apeiros> how's the quadrant defined? or do you mean +/+, +/-,-/-,-/+ on the axis?
<bio_grin> yes
<bio_grin> no
jackjackdripper1 has joined #ruby
<apeiros> maybe?
<matthewd> I don't know
<bio_grin> here
johnmilton has quit [Ping timeout: 265 seconds]
<apeiros> ok, and the line is always in a single quadrant?
qba73 has joined #ruby
<bio_grin> it can be in 3 quadrants
erlingur_ has quit [Ping timeout: 265 seconds]
jackjackdripper has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 252 seconds]
<bio_grin> any 2 dots
<apeiros> and you need to know all quadrants it touches?
<bio_grin> yeah
johnmilton has joined #ruby
<apeiros> you can work out 2 of the 3 quadrants by simply investigating the two point's signs
tcrypt has joined #ruby
<bio_grin> that is brute forcing?
Dobler has quit [Remote host closed the connection]
<apeiros> how'd your brute-force approach work?
<matthewd> And my homework alarm just went off
<bio_grin> hmm
<bio_grin> if it touches 3 quadrants?
Dobler has joined #ruby
Devalo has quit [Remote host closed the connection]
da3mon has joined #ruby
<bio_grin> look at this
jottr_ has joined #ruby
<bio_grin> only way to do it?
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> no
<bio_grin> you got in mind anything simpler?
<apeiros> yes
Dobler has quit [Max SendQ exceeded]
<jayjo> I'm getting an error when I run this gem: https://bpaste.net/show/d0562972f3e3
<bio_grin> :)
<bio_grin> would you share it?
<jayjo> it says undefined method Pathname.
Naz has joined #ruby
jmignault has quit [Ping timeout: 272 seconds]
<apeiros> my homework alarm went off too, so I'd rather have the answer to my earlier question and see what/how much you do yourself
<bio_grin> ok
elifoster has joined #ruby
tcrypt has quit [Max SendQ exceeded]
zacstewart has joined #ruby
Devalo has joined #ruby
jackjackdripper has joined #ruby
craigp_ has joined #ruby
jackjackdripper1 has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
Snowy has quit [Quit: ragequit]
FINbit has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
<jayjo> another problem... when I gem unpack km-db and cd into the directory, it says ruby-2.1.2 is not installed. Why is that relevant?
edrocks has quit [Ping timeout: 248 seconds]
gheegh has quit [Ping timeout: 272 seconds]
Pupeno has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 265 seconds]
NTrash has joined #ruby
jcao219 has quit [Ping timeout: 244 seconds]
synthroid has quit [Remote host closed the connection]
hutch34 has joined #ruby
edrocks has joined #ruby
tcrypt has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
jackjackdripper1 has joined #ruby
synthroid has joined #ruby
jackjackdripper has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
Ali_ has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
craigp_ has quit [Ping timeout: 252 seconds]
Velizar has joined #ruby
gingray has quit [Ping timeout: 248 seconds]
tyang_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tyang_ has quit [Read error: Connection reset by peer]
edrocks has quit [Ping timeout: 248 seconds]
tcrypt has joined #ruby
replay has quit [Ping timeout: 244 seconds]
tyang has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
bio_grin has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pragmaticus has joined #ruby
<baweaver> apeiros: looks like they ran off.
blackgoat has joined #ruby
tcrypt has quit [Max SendQ exceeded]
tcrypt has joined #ruby
hahuang62 has joined #ruby
tax has quit [Quit: Leaving]
al2o3-cr has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
Pupeno has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
Rodya_ has joined #ruby
kingkong- has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hahuang62 has quit [Ping timeout: 252 seconds]
marxarelli is now known as marxarelli|afk
replay has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Pupeno has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
jrafanie has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 264 seconds]
jrafanie has joined #ruby
jrafanie has quit [Client Quit]
DoubleMalt has joined #ruby
_Th1nkT4nk_ has joined #ruby
nando294021 has quit [Ping timeout: 272 seconds]
nando293921 has quit [Ping timeout: 272 seconds]
m_antis has joined #ruby
coolboy has joined #ruby
<_Th1nkT4nk_> MINASWAN
<sagax> how to select :between in array?
<sagax> if my array it's range number
AlphaAtom has quit [Read error: Connection reset by peer]
minimalism has quit [Quit: minimalism]
AlphaAtom has joined #ruby
minimalism has joined #ruby
JohnDorian has left #ruby [#ruby]
terlar has quit [Quit: WeeChat 1.5]
djbkd has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
tragique has left #ruby [#ruby]
tcrypt has quit [Read error: Connection reset by peer]
bsrd has quit [Max SendQ exceeded]
<_Th1nkT4nk_> Sagax, I am learning ruby, but maybe this can be of help --> https://ruby-doc.org/core-2.2.4/Array.html
craigp has joined #ruby
JeanCarloMachado has joined #ruby
tcrypt_ has joined #ruby
bsrd has joined #ruby
<_Th1nkT4nk_> arr = [1, 2, 3, 4, 5, 6] |||||| arr[2] #=> 3
mr_foobar has quit [Quit: Leaving]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<_Th1nkT4nk_> with the brackets [] you can select an elemento fo the array
<_Th1nkT4nk_> element*
<_Th1nkT4nk_> of the array*
<_Th1nkT4nk_> :-P
<_Th1nkT4nk_> @sagax
tcrypt_ is now known as tcrypt[away]
DoubleMalt has quit [Ping timeout: 264 seconds]
<sagax> -_- , i just thought that ruby has special for this case
<sagax> special method*
<apeiros> sagax: can you make an example of what you want to do?
<havenwood> sagax: Give an example of what you have and what you want?
fmcgeough has quit [Quit: fmcgeough]
be_______ has quit [Remote host closed the connection]
erlingur_ has joined #ruby
<sagax> [0.1, 1.1, 2.2, 3.5, 4.6, 5.7].between(2, 4) => [2.2, 3.5]
<sagax> example this
robnester has quit [Quit: I wonder what this button does...?]
c355e3b has joined #ruby
<baweaver> &ri Array#select
<baweaver> &ri Range
NTrash has quit [Quit: Konversation terminated!]
NTrash has joined #ruby
be_______ has joined #ruby
tcrypt[away] has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
robnester has joined #ruby
<sagax> thanks, reading docs
<jayjo> if I try to run foreman start and it says Procfile does not exist, can someone reference to me what I put into this procfile?
craigp has quit [Ping timeout: 265 seconds]
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
l4v2 has quit [Quit: l4v2]
ur5us has joined #ruby
<sagax> .select it's that was i needed
* apeiros prefers Comparable#between? there
<apeiros> combined with select, of course
lxsameer has quit [Quit: WeeChat 1.5]
ta_ has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
nando293921 has joined #ruby
nando294021 has joined #ruby
fuzzyhorns has joined #ruby
Pupeno has quit [Remote host closed the connection]
be_______ has quit [Remote host closed the connection]
Puffball_ has quit [Ping timeout: 272 seconds]
be_______ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
bsrd has joined #ruby
NTrash has joined #ruby
bsrd has quit [Client Quit]
synthroid has quit []
qba73 has quit [Remote host closed the connection]
NTrash has quit [Client Quit]
imightbestupid12 has joined #ruby
<imightbestupid12> how can we see what the return values in rspec are?
<hanmac> hey why not this:
<hanmac> &ri Array#grep
NTrash has joined #ruby
Pupeno has joined #ruby
<imightbestupid12> i would like the output to contain what it expected and what it got
tdy has joined #ruby
<hanmac> imightbestupid12: isn't it already like that if it does not match, rspec does show "x != y" or something like that where you can see the value?
relix has quit [Ping timeout: 264 seconds]
<imightbestupid12> no it just says that your test failed
<hanmac> sagax: the Array#grep was for you
<fuzzyhorns> huh really? for me it shows the mismatched values when i use `expect`
<imightbestupid12> 1 deprecation warning total Finished in 0.01436 seconds (files took 0.07747 seconds to load) 8 examples, 1 failure Failed examples: rspec ./player_spec.rb:54 # Player with a health greater than 100 is strong
<fuzzyhorns> you may need to write your own RSpec::Core::Formatter if you want the comparison output all the time
<hanmac> apeiros: Array#grep does like Regexp too
<fuzzyhorns> i havent seen one around
<fuzzyhorns> what's your —format optioon?
<imightbestupid12> well the only expect i am using right now is for the failing test case
<imightbestupid12> everything else is using the old should syntax
<fuzzyhorns> huh, and which rspec are you on?
<imightbestupid12> 3.5.3
<imightbestupid12> test@ubuntu:~/Desktop$ rspec --version 3.5.3
<fuzzyhorns> what's your expectation look like?
tcrypt_ has joined #ruby
tcrypt has quit [Read error: Connection reset by peer]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<imightbestupid12> http://pasteguru.com/83553
Vingador has joined #ruby
Vingador_ has joined #ruby
cyphase has quit [Ping timeout: 252 seconds]
<fuzzyhorns> well one thing, id recommend using let(:player) instead of creating instance var
<fuzzyhorns> idk why it wouldnt be showing you the failure explanation tho
polyidus has joined #ruby
erlingur_ has quit [Ping timeout: 244 seconds]
qba73 has joined #ruby
<imightbestupid12> i'm taking the pragmatic studio ruby course
jcao219 has joined #ruby
<imightbestupid12> i paid $160 for the thing
joelwallis has quit [Quit: Leaving]
Puffball has joined #ruby
<imightbestupid12> fuzzyhorns: you're recommending i use the style guide as defined here? http://rspec.info/documentation/3.5/rspec-core/
Puffball has quit [Remote host closed the connection]
<imightbestupid12> because i see a lot of symbols on that page
matp has quit [Quit: ZZzzzZz...]
Guest59016 has quit [Remote host closed the connection]
<fuzzyhorns> i'd recommend this
<imightbestupid12> could you please post your configuration file?
<fuzzyhorns> let(:item) { double('something') }
<fuzzyhorns> i have none set up here imightbestupid12 — so it is defaults
<imightbestupid12> wow =*(
graft has quit [Quit: leaving]
<imightbestupid12> i must have done something to deserve this
<imightbestupid12> not seeing the output is cruel and unusual punishment
claudiuinberlin has quit []
Puffball has joined #ruby
cyphase has joined #ruby
Puffball has quit [Remote host closed the connection]
<fuzzyhorns> imightbestupid12: well, what is your config?
matp has joined #ruby
<imightbestupid12> defaults as well
<fuzzyhorns> do you have a .rspec?
<fuzzyhorns> hmm
<imightbestupid12> i'm going to set the --color option to be the default though
Pupeno has quit [Remote host closed the connection]
<imightbestupid12> i recommend you do the same
<imightbestupid12> so do echo...
<imightbestupid12> hold on let me practice on my own system to make sure it works
Vingador has quit [Remote host closed the connection]
qba73 has quit [Ping timeout: 264 seconds]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<imightbestupid12> fuzzyhorns: do this command
<imightbestupid12> if you want the --color option to be run automatically without having to append it each time you run the rspec command
craigp has joined #ruby
Puffball has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
<imightbestupid12> echo '--color' >> ~/.rspec
tcrypt_ has quit [Max SendQ exceeded]
zeroDi has joined #ruby
Vingador_ has quit [Remote host closed the connection]
NTrash has quit [Quit: Konversation terminated!]
Vingador has joined #ruby
NTrash has joined #ruby
<fuzzyhorns> sure, i generally have that
<fuzzyhorns> i dont think it'll solve your current issue though
<fuzzyhorns> i dont know why you wouldnt see the output i do
nullniverse has quit [Ping timeout: 265 seconds]
Puffball has quit [Remote host closed the connection]
<sagax> hanmac, no thanks, select it's my change
<sagax> Array.select
<hanmac> sagax: are you sure?
<hanmac> >> [0.1, 1.1, 2.2, 3.5, 4.6, 5.7].grep(2..4)
<ruby[bot]> hanmac: # => [2.2, 3.5] (https://eval.in/654438)
tcrypt has joined #ruby
<sagax> hm,
tyang has joined #ruby
<sagax> it's working to
nullniverse has joined #ruby
<hanmac> in ruby there are infinite + 1 ways to solve a problem ;P
<sagax> great! trying both
l4v2 has joined #ruby
<imightbestupid12> hanmac: that's not true
<imightbestupid12> you're confined to a finite amount of solutions given the basic nature of computers
<Nilium> Well, you've got infinite solutions but can only implement as many as you can store in memory / on disk.
<imightbestupid12> no there are no infinite solutions
<Nilium> After all, you could just have a huge tower of functions that call each other to get the result.
<fuzzyhorns> imightbestupid12: it is kinda pedantic to point that out
<Nilium> As long as you can keep adding functions, it's infinite.
craigp has quit [Ping timeout: 272 seconds]
<Nilium> Add turtles get results
<imightbestupid12> adding an extra function and considering it as a new solution is stupid
NTrash has quit [Client Quit]
* Nilium looks at imightbestupid12's username.
tcrypt is now known as tcrypt[away]
NTrash has joined #ruby
<hanmac> Nilium: its turtles all the way down, ne? xD
<Nilium> One of us is enjoying life.
<imightbestupid12> i love my life
<Nilium> The other of us is actually arguing about whether infinite variations on solutions constitute new solutions.
<imightbestupid12> i sell stuff and get paid a nice sum of money which i use on "adult" stuff
<Nilium> I want to buy a trampoline.
be_______ has quit [Remote host closed the connection]
<Nilium> And I could, but I'd just hurt myself.
<imightbestupid12> trampolines are dangerous
<imightbestupid12> you have to dig a hole in the ground and fill it with foam and make sure the trampoline is big enough so you land right
be_______ has joined #ruby
ldnunes has quit [Quit: Leaving]
<Nilium> Listen, there's nothing you shouldn't dig a hole and fill it with foam for.
<Nilium> That just goes without saying.
<imightbestupid12> you also have to make sure you have foam around the trampoline
<imightbestupid12> foam blocks are about $2 each and it's going to get really expensive really fast
nankyokusei has joined #ruby
xall has joined #ruby
<Nilium> The new Doom game's soundtrack makes for surprisingly good coding music.
Vingador has quit [Remote host closed the connection]
rodferso1 is now known as rodfersou|dinner
tcrypt[away] has quit [Ping timeout: 264 seconds]
be_______ has quit [Remote host closed the connection]
be_______ has joined #ruby
Pupeno has joined #ruby
Puffball has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
tyang has quit [Ping timeout: 272 seconds]
be_______ has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
Pupeno has quit [Remote host closed the connection]
fuzzyhorns has quit [Quit: Leaving.]
James has joined #ruby
James is now known as Guest22242
Yukon has joined #ruby
elifoster has quit [Quit: class]
Yukon has left #ruby [#ruby]
tcrypt has quit [Ping timeout: 244 seconds]
Yukon has joined #ruby
whathappens has joined #ruby
Puffball has quit [Ping timeout: 264 seconds]
Guest22242 has quit [Ping timeout: 240 seconds]
dsea has joined #ruby
Yukon has quit [Client Quit]
blackwind_123 has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elenatanasoiu has joined #ruby
RTFM[away] has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
blackwind_123 has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
_sfiguser has joined #ruby
NTrash has joined #ruby
<atmosx> Hello, if you'd like to build a storage service with content re-use using ruby, which libraries would you use? Content re-use is what dropbox, backblaze and others storage provides use to save space. Of course the simplest idea is to use fingerprinting (e.g. sha512) but I wonder if there's any library to take care of everything.
Puffball has joined #ruby
NTrash has quit [Client Quit]
Dimik has quit [Ping timeout: 244 seconds]
NTrash has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
[Butch] has quit [Quit: I'm out . . .]
_Th1nkT4nk_ has quit [Quit: Page closed]
tcrypt has joined #ruby
marxarelli|afk is now known as marxarelli
ramortegui has quit [Quit: Ex-Chat]
Dobler has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
imightbestupid12 has quit [Quit: Page closed]
Silthias has quit [Ping timeout: 252 seconds]
duncannz has joined #ruby
Dobler has quit [Max SendQ exceeded]
ChiefAlexander has quit [Quit: Leaving...]
Ahab has joined #ruby
<Ahab> Heya
be_______ has joined #ruby
Madplatypus has joined #ruby
nettoweb1 has joined #ruby
Silthias has joined #ruby
<Ahab> I'm stuck with a problem here
<Ahab> I have a 2d array
<Ahab> lets call it twodee
bjmllr has quit [Quit: WeeChat 1.0.1]
<Ahab> i can access its values using:
<Ahab> twodee = [x][y]
bjmllr has joined #ruby
<Ahab> what no
<Ahab> value = twodee[x][y]
nettoweb has quit [Ping timeout: 265 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
<Ahab> is there a way to make a variable that will store the coordinates [x][y] ?
tcrypt_ has joined #ruby
polyidus has quit [Quit: Gone]
<xybre> coord = [4,5]
jackjackdripper1 has quit [Ping timeout: 264 seconds]
be_______ has quit [Ping timeout: 272 seconds]
<Ahab> hmm I think I was not clear enough, sorry
Silthias1 has joined #ruby
jackjackdripper has joined #ruby
pabloh has joined #ruby
<xybre> Or: class Coord; attr_accessor :x, :y; end
Silthias has quit [Ping timeout: 252 seconds]
<Ahab> hmm
whathappens has quit [Ping timeout: 248 seconds]
<xybre> I like building "cursor" or coordinate" classes that keep track of locations and let you "move around" within a data structure.
craigp has quit [Ping timeout: 265 seconds]
patarr has quit [Quit: patarr]
dviola has quit [Quit: WeeChat 1.5]
<matthewd> Ahab: You can have twodee[x, y] by defining def [](x, y)
<Ahab> The problem is that I want to make my script more readable
zacstewart has joined #ruby
<Ahab> hmm
<Ahab> matthewd this is what i was looking for
<Ahab> thank you
kingkong- has joined #ruby
tcrypt_ has quit [Max SendQ exceeded]
djbkd has quit [Read error: Connection reset by peer]
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
tcrypt has joined #ruby
<Ahab> where in the docummentation I can find how to do this?
<matthewd> It's just defining a method
<Ahab> its just this?
kingkong- has quit [Client Quit]
<Ahab> inside the matrix class i define this method?
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
jphase_ has joined #ruby
nettoweb1 has quit [Ping timeout: 264 seconds]
edrocks has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
blackwind_123 has quit [Ping timeout: 272 seconds]
blackwind_123 has joined #ruby
moneylotion has quit [Ping timeout: 260 seconds]
jphase has quit [Ping timeout: 272 seconds]
sp_ has joined #ruby
jphase_ has quit [Ping timeout: 248 seconds]
edrocks has quit [Ping timeout: 252 seconds]
Snickers has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
behemot has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt_ has joined #ruby
moneylotion has joined #ruby
jenrzzz has joined #ruby
newbie22 has joined #ruby
claw has quit [Ping timeout: 264 seconds]
jayjo has quit [Quit: Lost terminal]
whathappens has joined #ruby
newbie22 has quit [Client Quit]
newbie22 has joined #ruby
hahuang62 has joined #ruby
elenatanasoiu has quit [Ping timeout: 248 seconds]
elastix has quit [Quit: elastix]
nando294021 has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
marxarelli is now known as marxarelli|afk
ramfjord has joined #ruby
hahuang62 has quit [Ping timeout: 272 seconds]
marxarelli|afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
magellanicloud has quit [Ping timeout: 272 seconds]
whathappens has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
polyidus has joined #ruby
polyidus has quit [Client Quit]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polyidus has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
Guest43 has joined #ruby
newbie22 has quit [Quit: Leaving]
Guest43 has quit [Changing host]
Guest43 has joined #ruby
polishdub has quit [Quit: Leaving]
Guest43 is now known as Rufus
craigp has joined #ruby
marxarelli has joined #ruby
last_staff has quit [Ping timeout: 272 seconds]
whathappens has joined #ruby
last_staff has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elenatanasoiu has joined #ruby
claw has joined #ruby
coolboy has quit [Ping timeout: 252 seconds]
Dobler has joined #ruby
Axl_ has joined #ruby
Axl_ has quit [Client Quit]
kingkong- has joined #ruby
tcrypt_ has quit [Ping timeout: 248 seconds]
tcrypt has joined #ruby
spiette has joined #ruby
jottr_ has quit [Quit: WeeChat 1.5]
marxarelli is now known as marxarelli|afk
marxarelli|afk is now known as marxarelli
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
craigp has quit [Ping timeout: 265 seconds]
nando293921 has joined #ruby
nando294021 has joined #ruby
JoshS has quit [Read error: Connection reset by peer]
Ahab has quit [Ping timeout: 240 seconds]
ledestin has quit [Ping timeout: 244 seconds]
JakFrist[WVU] has joined #ruby
kingkong- has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
charliesome has joined #ruby
JeanCarloMachado has joined #ruby
Jakey3 has joined #ruby
kingkong- has joined #ruby
<Jakey3> if i do gem install unicorn
tcrypt has quit [Ping timeout: 264 seconds]
<Jakey3> where is the default config file
<Jakey3> how do i confirm its been installed correctly
kingkong- has quit [Client Quit]
kingkong- has joined #ruby
tcrypt has joined #ruby
Devalo has joined #ruby
biberu has quit []
kingkong- has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dviola has joined #ruby
<yorickpeterse> Jakey3: `gem install` does not install any default configuration files
<yorickpeterse> You may be able to find the config file in the Gem's installation directory, but only if it was explicitly included in the Gem
<yorickpeterse> but it doesn't move files to e.g. /etc/unicorn/whatever
jenrzzz has quit [Ping timeout: 248 seconds]
<yorickpeterse> or ~/.config/unicorn/...
<Jakey3> yorickpeterse, i see you must set these yourself
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yorickpeterse> Typically what people do is grab the config file from some website, then point the command to it
<yorickpeterse> e.g. `unicorn -c path/to/your/own/config.rb ...`
<yorickpeterse> or -C, whichever the option was
<yorickpeterse> for exmaple
<yorickpeterse> * example
<Jakey3> yorickpeterse, thanks for the info
Devalo has quit [Ping timeout: 265 seconds]
fmcgeough has joined #ruby
<yorickpeterse> np
m_antis has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
workmad3 has quit [Quit: Lost terminal]
tcrypt has quit [Read error: Connection reset by peer]
kingkong- has joined #ruby
<havenwood> Jakey3: Asides, but you can see the spec file (if it's installed) with `gem specification unicorn` or where it was installed with `gem which unicorn` or the contents that were installed with `gem contents unicorn`or even `gem open unicorn` to open the gem source in an editor.
tcrypt_ has joined #ruby
<havenwood> Jakey3: See: gem help commands
<Jakey3> havenwood, ok thanks for the help
dionysus69 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
craigp has joined #ruby
pand0ra has joined #ruby
sp_ has quit [Ping timeout: 252 seconds]
charliesome_ has joined #ruby
pand0ra has left #ruby [#ruby]
hutch34 has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
tcrypt_ has quit [Ping timeout: 264 seconds]
alaibe has quit [Ping timeout: 264 seconds]
kingkong- has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
charliesome has quit [Ping timeout: 265 seconds]
tcrypt has joined #ruby
kingkong- has joined #ruby
elenatanasoiu has quit [Ping timeout: 264 seconds]
craigp has quit [Ping timeout: 272 seconds]
bsrd has joined #ruby
kingkong- has quit [Client Quit]
bsrd has quit [Client Quit]
ResidentBiscuit has joined #ruby
finisherr has quit [Quit: finisherr]
finisherr has joined #ruby
bmurt has joined #ruby
s2013 has joined #ruby
Devalo has joined #ruby
duderonomy has joined #ruby
jenrzzz has joined #ruby
pabloh has quit [Quit: Leaving]
csk has quit [Quit: ZZZzzz…]
mim1k|work has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
Devalo has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
finisherr has quit [Quit: finisherr]
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
mim1k|work has joined #ruby
dlam has joined #ruby
<dlam> can i use ruby 1 and 2 at the same times
<dlam> ?
<kaspergrubbe> what do you mean at the same time?
RTFM[away] has joined #ruby
RTFM[away] has joined #ruby
RTFM[away] has quit [Changing host]
<havenwood> dlam: Ruby 2.1 is in maintenance mode and isn't receiving bugfix patches. Earlier Rubies are all past end-of-life and don't receive security patches. If you can use Ruby 2.2 or 2.3.
nankyokusei has quit [Ping timeout: 252 seconds]
ocbtec has quit [Quit: leaving]
evie_hammond has quit [Ping timeout: 240 seconds]
koooge has joined #ruby
whathappens has quit [Quit: Leaving...]
evie_hammond has joined #ruby
jphase has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby
gnufied has quit [Ping timeout: 248 seconds]
Silthias1 has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: poof]
jenrzzz has quit [Ping timeout: 244 seconds]
Pupeno has quit [Ping timeout: 265 seconds]
Silthias has joined #ruby
tcrypt has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
craigp has joined #ruby
charliesome has joined #ruby
charliesome_ has quit [Ping timeout: 265 seconds]
Snickers has quit [Ping timeout: 243 seconds]
Vile` has joined #ruby
pragmaticus has quit [Ping timeout: 248 seconds]
Alayde has quit [Ping timeout: 248 seconds]
wldcordeiro has quit [Ping timeout: 248 seconds]
rbr has quit [Read error: Connection reset by peer]
unreal has joined #ruby
nando294021 has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
rbr has joined #ruby
kingkong- has joined #ruby
CloCkWeRX has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 252 seconds]
polyidus has quit [Quit: Gone]
fmcgeough has quit [Quit: fmcgeough]
kingkong- has quit [Client Quit]
amclain has quit [Quit: Leaving]
eljimmy has quit [Quit: This computer has gone to sleep]
Silthias has quit [Ping timeout: 265 seconds]
rbr has quit [Ping timeout: 244 seconds]
nebben has joined #ruby
amclain has joined #ruby