apeiros_ changed the topic of #ruby to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
checkit has joined #ruby
jonr2219 has quit [Remote host closed the connection]
jwinder has joined #ruby
juanpablo__ has quit [Ping timeout: 272 seconds]
davispuh has quit [Read error: Connection reset by peer]
pietr0 has quit [Quit: pietr0]
reinaldob has joined #ruby
senayar has quit [Remote host closed the connection]
icebourg has joined #ruby
valkyrka has quit [Ping timeout: 264 seconds]
snockerton has quit [Quit: Leaving.]
juanca_ has joined #ruby
sevvie has joined #ruby
loop3r has joined #ruby
Stalkr has quit [Quit: Leaving...]
x77686d has joined #ruby
Asher has quit [Quit: Leaving.]
momomomomo_ has joined #ruby
Asher has joined #ruby
<loop3r> hello, is this "ready worker" and `reaped #<Process::Status: pid 2344 SIGKILL (signal 9)> worker=1` fixable? I try use unicorn and gitlab, but always 502
ghostmoth has quit [Quit: ghostmoth]
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
airdisa_ has quit []
bayed has quit [Quit: Connection closed for inactivity]
arrubin has joined #ruby
tlarevo has joined #ruby
nfk|laptop has quit [Quit: yawn]
bim has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
hpoydar has quit [Remote host closed the connection]
icebourg has quit []
robertt_dex has joined #ruby
LJT has quit [Quit: Sleeping...]
LJT has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
marr has quit [Ping timeout: 252 seconds]
jottr has quit [Ping timeout: 246 seconds]
LJT has quit [Ping timeout: 252 seconds]
_pakchoi_ops has joined #ruby
pwattste has quit [Remote host closed the connection]
neanderslob has quit [Read error: Connection reset by peer]
plashchynski has quit [Quit: plashchynski]
bim has joined #ruby
Flcn has joined #ruby
krisquigley has joined #ruby
bim has quit [Remote host closed the connection]
luksaur has quit [Quit: Leaving]
trollses has joined #ruby
<trollses> hi all
bronson has joined #ruby
<trollses> all niggers if you could please part the channel and go to #ruby-niggers I would be greatful. this is a white channel.
trollses has quit [Killed (idoru (Spam is off topic on freenode.))]
<bricker> apeiros: plz
Flcn has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
bim has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
juanca_ has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
Pupeno has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
deliani__ has quit [Remote host closed the connection]
avahey has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
Papierkorb has joined #ruby
nii2361 has joined #ruby
jerius has quit [Quit: /quit]
paulcsmith has joined #ruby
oo_ has joined #ruby
<Papierkorb> Hi, currently having a look at ruby and scripting stuff. So, the sqlite3 gem docs say something like this: #execute(*bind_vars) {|@results| ... } ⇒ Object | Now, what does tha * before bind_vars tell me? Does that indicate an optional argument?
weendox has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
tris has quit [Quit: Leaving]
<jokester> it indicates there can be multiple arguments, and they will be captured in an array
senayar has joined #ruby
<Radar> bricker: I have admin rights here too btw.
paulcsmith has quit [Ping timeout: 256 seconds]
<Radar> bricker: !r
<helpa> bricker: Radar: you have been summoned by Radar
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<Radar> use ^
<jamgood96> I'm installing ruby on a ubuntu box (14.04) using rbenv. all goes well until i try to do gem install bundler - i'm receiving "Connection reset by peer - SSL_connect". I googled around a bit but found no solution other than possible firewall issues, which this is not
<Papierkorb> jokester: thanks
checkit has quit [Ping timeout: 255 seconds]
<Radar> jamgood96: willing to give something other than rbenv a try? No guarantees it will fix it.
<Radar> jamgood96: If not, do you have a stacktrace for that issue?
<jamgood96> no, unfortunately i'm rather commited to rbenv for this project and it's infrastructure... although what would you recommend as an alternative?
<jamgood96> forgive my noobness, but I know little to nothing about doing a stacktrace
blackmesa has quit [Ping timeout: 256 seconds]
nii2361 has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Quit: zzzzz…..]
<Radar> I have a guide that uses chruby+ruby-install that hundreds, maybe even thousands of people have followed successfully
<Radar> jamgood96: No worries. Is there anything else that's output from that "Connection reset by peer" error? Can you put all the output in a Gist? https://gist.github.com
<jamgood96> Radar: I'll look into your guide for our next project. I like rbenv, but it's a pita at times, especially when using something like Ansible for provisioning machines
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
pontiki has joined #ruby
<bricker> Radar: TIL
bim has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
<bricker> (that you have admin rights here)
blackmesa has joined #ruby
<Radar> Recent development
<Radar> we got freenode to grant "founder" permission to apeiros and I
<Radar> jamgood96: Did you install libopenssl-dev before installing Ruby?
kblake has joined #ruby
<jamgood96> hmm.. i see that my script is installing libssl-dev, not libopenssl-dev
blackmes1 has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
neruda has quit [Ping timeout: 246 seconds]
dorei has quit [Ping timeout: 265 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
sargas has quit [Quit: This computer has gone to sleep]
baroquebobcat has quit [Client Quit]
reinaldob has quit [Remote host closed the connection]
<jamgood96> Radar: I believe libssl-dev is the correct package
<Radar> jamgood96: ah that's the one
<Radar> jamgood96: I am not sure what could be wrong, sorry :(
iteratorP has joined #ruby
nii2361 has joined #ruby
iteratorP has quit [Remote host closed the connection]
<Papierkorb> So, I have an array with instances of my Person class. each person has a unique id. Now, I want a method which returns if a person is in that array by id. How do I do that in ruby?
mikecmpbll has quit [Quit: i've nodded off.]
iteratorP has joined #ruby
<Radar> Papierkorb: people.detect { |p| p.id == 2 }
<Radar> or .find
<Papierkorb> neat, thanks
ghr has quit [Ping timeout: 245 seconds]
zorak8 has quit [Read error: Connection reset by peer]
jespada has quit [Ping timeout: 264 seconds]
zorak8 has joined #ruby
led has quit [Remote host closed the connection]
ereslibre has quit [Ping timeout: 252 seconds]
Megtastique has quit []
nii2361 has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
paradisaeidae has joined #ruby
nii2361 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
coderkevin_ has quit [Quit: Connection closed for inactivity]
robustus has quit [Read error: Connection reset by peer]
bricker has quit [Ping timeout: 256 seconds]
Lewix has joined #ruby
Lewix has joined #ruby
tcrypt has quit [Ping timeout: 245 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
nii2361 has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
tris has joined #ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
robustus has joined #ruby
nii2361 has joined #ruby
bim has joined #ruby
tkuchiki has joined #ruby
amclain has joined #ruby
arescorpio has joined #ruby
jack_rabbit has joined #ruby
<Radar> Is there a way to find where a super method is defined?
<Radar> Not the method called "super" but ... you know what I mean :)
jottr has joined #ruby
nettoweb has joined #ruby
tris has quit [Ping timeout: 256 seconds]
nii2361 has quit [Ping timeout: 250 seconds]
twistedpixels is now known as zz_twistedpixels
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bim has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 255 seconds]
vim_shimm has joined #ruby
tris has joined #ruby
ghostpl_ has joined #ruby
yfeldblum has joined #ruby
tris has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
freerobby has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
<jokester> enumerate ancestors and list their methods?
<hoelzro> Radar: I don't think there's a builtin method, but you could probably whip something up using superclass and included_modules
duncannz has joined #ruby
<Radar> jokester and hoelzro thanks
Yzguy has joined #ruby
<jokester> may not be that simple when metaprogramming is involved
duncannz has quit [Max SendQ exceeded]
<hoelzro> I'm not sure if included_modules takes method resolution order into account
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
<hoelzro> also, the method could be a singleton method, in which case I think super dispatches to the class' definition
bricker has joined #ruby
tris has joined #ruby
tris- has joined #ruby
jamgood96 has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Ping timeout: 256 seconds]
<hoelzro> jokester: can you provide an example?
sevvie has quit [Ping timeout: 265 seconds]
JDiPierro has quit [Remote host closed the connection]
mjulian has left #ruby [#ruby]
momomomomo has quit [Quit: momomomomo]
teddyp1cker has joined #ruby
riotjones has joined #ruby
<jokester> hoelzro: can't come up with one now..
<hoelzro> ok, I was just curious
<hoelzro> let me know if you think of one!
wallerdev has quit [Quit: wallerdev]
mistergibson has quit [Quit: Quitting ... be good to each other :)]
teddyp1cker has quit [Ping timeout: 250 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
yfeldblum has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 245 seconds]
Pharaoh2_ has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
Pharaoh2_ has quit [Max SendQ exceeded]
x77686d has quit [Quit: x77686d]
Pharaoh2_ has joined #ruby
juanpablo__ has joined #ruby
Pharaoh2 has quit [Ping timeout: 250 seconds]
towski_ has quit [Remote host closed the connection]
<jokester> um.. I was just feeling metaprogramming may bring some marginal case. will tell you if I can forge one
jonr22 has joined #ruby
juanpablo__ has quit [Ping timeout: 252 seconds]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hoelzro> you're probably right; I don't have a lot of experience with Ruby
jwinder has quit [Ping timeout: 256 seconds]
jonr22 has quit [Ping timeout: 250 seconds]
Vile` has quit [Remote host closed the connection]
iterator_ has joined #ruby
Takle has quit [Remote host closed the connection]
fenzil has joined #ruby
Vile` has joined #ruby
sankaber has joined #ruby
Ohga has joined #ruby
thinkswan has joined #ruby
iteratorP has quit [Ping timeout: 265 seconds]
<centrx> Good work team
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bricker> :|
<bricker> :}
<bricker> :]
<bricker> :>
jespada has joined #ruby
<Ohga> Don't know if this is the right channel for this, but gem have a problem where it tries to get the wrong binaries on windows (there's an issue on the tracker).. would anyone know how long until there's a new version of rubygem?
caveat- has quit [Ping timeout: 248 seconds]
genpaku has quit [Ping timeout: 252 seconds]
blackmes1 has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
Mon_Ouie has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 272 seconds]
genpaku has joined #ruby
caveat- has joined #ruby
yokel has joined #ruby
thinkswan has quit [Ping timeout: 250 seconds]
<centrx> Ohga, I don't know. There's also a #rubygems channel
arrubin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ohga> centrx: ah, alright. heading over
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
jespada has quit [Ping timeout: 256 seconds]
thomas is now known as evilthomas
havenwood has joined #ruby
veduardo has joined #ruby
Authenticator has joined #ruby
Authenticator is now known as DiscoStuart
vim_shimm has quit [Ping timeout: 248 seconds]
rokob has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
slackbotgz has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
juanca_ has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
vim_shimm has joined #ruby
x77686d has joined #ruby
arrubin has joined #ruby
a346 has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
juanca_ has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 252 seconds]
juanca_ has joined #ruby
juanca_ has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
dopie has quit [Ping timeout: 256 seconds]
doodlehaus has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
martinbmadsen has joined #ruby
krisquigley has joined #ruby
nii2361 has joined #ruby
RegulationD has joined #ruby
iwaffles has quit [Quit: iwaffles]
OtterCoder has joined #ruby
tus has quit []
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
krisquigley has quit [Ping timeout: 272 seconds]
juanca_ has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
bricker has quit [Quit: leaving]
phutchins has quit [Ping timeout: 252 seconds]
thinkswan has joined #ruby
ghostpl_ has joined #ruby
kblake has quit [Remote host closed the connection]
dfinninger has joined #ruby
Crazy_Atheist has joined #ruby
nfk has quit [Quit: yawn]
christiandsg has joined #ruby
iterator_ has quit [Remote host closed the connection]
iteratorP has joined #ruby
swgillespie has joined #ruby
balazs has joined #ruby
bronson has joined #ruby
Chris27 has joined #ruby
lessless has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
swgillespie has quit [Client Quit]
ghostpl_ has quit [Ping timeout: 248 seconds]
nii2361 has quit [Ping timeout: 252 seconds]
christiandsg has quit [Ping timeout: 252 seconds]
DavidDudson has joined #ruby
dfinninger has quit [Remote host closed the connection]
rokob has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 246 seconds]
rokob has joined #ruby
DavidDudson has quit [Client Quit]
Aswebb_ has joined #ruby
rokob has quit [Ping timeout: 256 seconds]
arrubin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nii2361 has joined #ruby
Limix has joined #ruby
arrubin has joined #ruby
krz has joined #ruby
Limix has quit [Client Quit]
arrubin has quit [Client Quit]
Limix has joined #ruby
patrick99e99 has quit [Read error: Connection reset by peer]
AlphaAtom has quit [Ping timeout: 265 seconds]
juanpablo__ has joined #ruby
Aswebb_ has quit [Ping timeout: 272 seconds]
avahey has quit [Quit: Connection closed for inactivity]
freerobby has quit [Quit: Leaving.]
dc_ has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
arrubin has joined #ruby
juanpablo__ has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
rbennacer has joined #ruby
Papierkorb has quit [Ping timeout: 252 seconds]
doodlehaus has quit [Remote host closed the connection]
dfinninger has joined #ruby
snath has joined #ruby
NivenHuH has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
dfinninger has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 272 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x77686d has quit [Quit: x77686d]
jespada has joined #ruby
freerobby has joined #ruby
morenoh149 has joined #ruby
<morenoh149> given this object https://gist.github.com/morenoh149/c96aa6e3ba5c87e095bd#file-model_save_error-rb-L27 how do I verify icons is present?
senayar has joined #ruby
dfinninger has joined #ruby
<morenoh149> r.errors.messages.icon throws an error about it being a hash
<morenoh149> r.errors.messages[:icon] probably
michael_mbp has quit [Excess Flood]
jespada has quit [Ping timeout: 252 seconds]
Andrevan has joined #ruby
jottr has joined #ruby
michael_mbp has joined #ruby
nii2361 has quit [Ping timeout: 245 seconds]
senayar has quit [Ping timeout: 252 seconds]
ghostmoth has joined #ruby
Limix has quit [Quit: Limix]
dseitz has joined #ruby
veduardo has quit [Ping timeout: 265 seconds]
nii2361 has joined #ruby
elfuego has quit [Quit: elfuego]
jottr has quit [Ping timeout: 264 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
Limix has joined #ruby
DavidDudson has joined #ruby
Renich has joined #ruby
paradisaeidae has quit [Ping timeout: 256 seconds]
virtualbsd has joined #ruby
hpoydar has joined #ruby
hpoydar has quit [Read error: Connection reset by peer]
hpoydar has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
jerematic has quit [Remote host closed the connection]
Yzguy has joined #ruby
jerematic has joined #ruby
nii2361 has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
x77686d has joined #ruby
jerematic has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
paradisaeidae has quit [Client Quit]
virtualbsd has quit [Ping timeout: 246 seconds]
hpoydar has quit [Ping timeout: 272 seconds]
shellox has joined #ruby
<shellox> hi
<shellox> can you guys help me with a CSV issue
n008f4g_ has quit [Ping timeout: 255 seconds]
<shellox> if there's just the header row in the one CSV file and i try to access .headers it's empty
RegulationD has quit [Ping timeout: 250 seconds]
<shellox> but if i add one data row to it, it .headers is correct
<shellox> why is that happening?
hmsimha has joined #ruby
techsethi has joined #ruby
<centrx> shellox, It doesn't know what the headers are until the first row is read
ponga has joined #ruby
<centrx> until it starts reading
<centrx> shellox, You can use the 'headers' option to tell it what the headers are beforehand
<shellox> centrx: can you modify my gist to show an example pls?
dfinninger has quit [Remote host closed the connection]
juanca_ has quit [Remote host closed the connection]
triple_b has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<centrx> I think you can just do CSV.read(filename, headers: [:name, :age, :sex])
jayeshsolanki has joined #ruby
<centrx> change headers from true to an array
<centrx> it works with CSV.open and CSV.new at least
Limix has quit [Quit: Limix]
elfuego has joined #ruby
juanca__ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
bronson has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
icebourg has joined #ruby
teddyp1cker has joined #ruby
jonr22 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
juanca__ has quit [Remote host closed the connection]
delianides has joined #ruby
Lewix has quit [Remote host closed the connection]
delianides has quit [Read error: Connection reset by peer]
juanca_ has joined #ruby
dfinninger has joined #ruby
teddyp1cker has quit [Ping timeout: 252 seconds]
techsethi has quit [Quit: techsethi]
zorak8 has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 265 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
zorak8 has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc_ has joined #ruby
jamto11 has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
wosk has joined #ruby
dfinninger has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dfinninger has joined #ruby
<shellox> centrx: even when doing it on customers = CSV.new(headers: ["First Name", "Last Name", "Email", "Company", "Address1", "Address2", "City", "Province", "Province Code", "Country", "Country Code", "Zip", "Phone", "Accepts Marketing", "Total Spent", "Total Orders", "Tags", "Note"])
<shellox> customers.headers is still empty
<shellox> is that a bug?
sevvie has joined #ruby
tubuliferous has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
dc_ has quit [Ping timeout: 272 seconds]
tubuliferous has quit [Ping timeout: 250 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<centrx> shellox, Looks like first parameter of CSV.new is supposed to be data, not options
juanca_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
DavidDudson has joined #ruby
ndejay has joined #ruby
wosk has quit [Remote host closed the connection]
ndejay has left #ruby [#ruby]
senayar has joined #ruby
braincrash has quit [Quit: bye bye]
yfeldblum has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
kblake has joined #ruby
krisquigley has joined #ruby
ismaelga has quit [Remote host closed the connection]
christiandsg has joined #ruby
senayar has quit [Ping timeout: 272 seconds]
havenn has joined #ruby
Renich has quit [Quit: leaving]
krisquigley has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
milesmatthias has quit [Remote host closed the connection]
kblake has quit [Ping timeout: 256 seconds]
havenwood has quit [Ping timeout: 252 seconds]
kp666 has joined #ruby
mdarby has joined #ruby
cfengineers has joined #ruby
braincrash has joined #ruby
mdarby has quit [Client Quit]
tlarevo has quit [Remote host closed the connection]
Ohga has left #ruby [#ruby]
tlarevo has joined #ruby
kyrylo has quit [Ping timeout: 246 seconds]
_lexjm has joined #ruby
elfuego has quit [Quit: elfuego]
_lexjm has quit [Remote host closed the connection]
ghostpl_ has joined #ruby
Wolland has joined #ruby
perrier has quit [Remote host closed the connection]
perrier has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
arescorpio has quit [Excess Flood]
vim_shimm has quit [Ping timeout: 272 seconds]
rpad has joined #ruby
jerematic has joined #ruby
Guest74 has joined #ruby
nahtnam has joined #ruby
kubunto has joined #ruby
bim has joined #ruby
<kubunto> jw is there a ruby api to reddit or would i have to use rest calls?
tlarevo has quit [Ping timeout: 264 seconds]
<havenn> kubunto: There're gems.
Joufflu has joined #ruby
<kubunto> havenn: how do i get said gem?
<rpad> New to ruby and running into an issue. Was hoping someone could point me in the right direction. https://gist.github.com/anonymous/4e1dcd4ff49ddd0000d4
djbkd has joined #ruby
jerematic has quit [Ping timeout: 265 seconds]
<havenn> kubunto: It appears there're multiple maintained Reddit gems. Here's one: https://github.com/avidw/redd#readme
<havenn> kubunto: You'd install it with: gem install redd
<mozzarella> not sure if that's the best one, never used it
bim has quit [Ping timeout: 252 seconds]
ghostpl_ has quit [Ping timeout: 245 seconds]
pontiki has quit [Quit: fixing environment]
pontiki has joined #ruby
Channel6 has quit [Quit: Leaving]
<kubunto> i am looking to get a script to pull down my messages
<mozzarella> shouldn't be too hard
OtterCoder has quit [Ping timeout: 255 seconds]
<kubunto> the gems you showed dont seem to do it though
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kubunto> havenn: what did you search?
<kubunto> i got wierd garbage
Aswebb_ has joined #ruby
perrier has quit [Remote host closed the connection]
perrier has joined #ruby
teddyp1cker has joined #ruby
<havenn> rpad: What's the contents of `lib/dom/version.rb`?
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<havenn> rpad: (You can drop the `.rb` when you require it.)
<havenn> kubunto: You mean using the gem or to find the gem?
<kubunto> finding the gems
juanpablo__ has joined #ruby
NivenHuH has joined #ruby
bronson has joined #ruby
Aswebb_ has quit [Ping timeout: 272 seconds]
<rpad> havenn: Figured it out. Thanks for the offer
<havenn> rpad: Ah good. No porb.
<rpad> For google: I had to wrap the GLI code in a module since GLI and AWS both use the same global name
<havenn> prob*
<havenn> rpad: aha
Hijiri has quit [Quit: WeeChat 1.0.1]
Hijiri has joined #ruby
havenn is now known as havenwood
Xoro__ has joined #ruby
dfinninger has quit [Remote host closed the connection]
lifenoodles has quit [Ping timeout: 256 seconds]
juanpablo__ has quit [Ping timeout: 250 seconds]
Davey has quit [Excess Flood]
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
kubunto has quit [Quit: Live long and prosper]
Rarikon has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
lifenoodles has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
juanca_ has joined #ruby
teddyp1cker has joined #ruby
Vile` has quit [Remote host closed the connection]
maximski has joined #ruby
techietrash has quit [Quit: Bye! <(^_^<)]
teddyp1cker has quit [Ping timeout: 264 seconds]
Vile` has joined #ruby
oo_ has quit [Remote host closed the connection]
jespada has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
yeticry has joined #ruby
Vile` has quit [Remote host closed the connection]
startupality has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Client Quit]
jespada has quit [Ping timeout: 256 seconds]
Vile` has joined #ruby
jottr has joined #ruby
arrubin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
balazs has quit [Ping timeout: 252 seconds]
sevvie has quit [Ping timeout: 256 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
jottr has quit [Ping timeout: 252 seconds]
startupality has quit [Quit: startupality]
oo_ has joined #ruby
braincra- has joined #ruby
sevvie has joined #ruby
senayar has joined #ruby
maximski has quit []
astrobunny has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
keen__________27 has joined #ruby
krz has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keen__________26 has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
jayeshsolanki has quit [Ping timeout: 256 seconds]
Deele has joined #ruby
teddyp1cker has joined #ruby
riotjones has joined #ruby
tenseiten has joined #ruby
seitensei has quit [Ping timeout: 244 seconds]
fenzil has quit [Read error: Connection reset by peer]
riotjones has quit [Ping timeout: 264 seconds]
enterprisedc has quit [Quit: enterprisedc]
tlarevo has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
Renich has joined #ruby
jonr22 has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
baash05 has joined #ruby
dcarmich has joined #ruby
baash05 has quit [Client Quit]
teddyp1cker has quit [Read error: Connection reset by peer]
teddyp1c_ has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
baash05 has joined #ruby
thinkswan has quit [Remote host closed the connection]
RandyT_ has quit [Ping timeout: 264 seconds]
pontiki has quit [Remote host closed the connection]
Morkel has joined #ruby
techsethi has joined #ruby
thinkswan has joined #ruby
thinkswan has quit [Remote host closed the connection]
bronson has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
sevvie has joined #ruby
nii2361 has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
zorak8 has quit [Ping timeout: 252 seconds]
tubuliferous has joined #ruby
mistermocha has quit [Remote host closed the connection]
juanca_ has quit []
tubuliferous has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
nym has quit [Quit: Connection closed for inactivity]
mistermocha has joined #ruby
lemur has joined #ruby
nii2361 has quit [Ping timeout: 256 seconds]
rpad has quit [Remote host closed the connection]
anarang has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
nii2361 has joined #ruby
krisquigley has joined #ruby
krz has joined #ruby
Pharaoh2 has joined #ruby
rickruby has quit [Quit: Connection closed for inactivity]
sevvie has quit [Ping timeout: 246 seconds]
krisquigley has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
christiandsg has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
ikeike443 has quit [Quit: Leaving...]
RegulationD has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
sevvie has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
christiandsg has joined #ruby
Mon_Ouie has joined #ruby
icebourg has quit []
senayar has quit [Ping timeout: 246 seconds]
jerematic has joined #ruby
swgillespie has joined #ruby
ghostpl_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
tlarevo has quit [Ping timeout: 250 seconds]
frem has quit [Quit: Connection closed for inactivity]
jerematic has quit [Ping timeout: 246 seconds]
sevvie has quit [Ping timeout: 252 seconds]
oo_ has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 265 seconds]
sevvie has joined #ruby
vim_shimm has joined #ruby
oo_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
Aswebb_ has joined #ruby
vim_shimm has quit [Ping timeout: 265 seconds]
iml has quit [Remote host closed the connection]
_688as has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
juanpablo__ has joined #ruby
Aswebb_ has quit [Ping timeout: 246 seconds]
<_688as> ███████▀▀▀░░░░░░░▀▀▀███████
<_688as> ████▀░░░░░░░░░░░░░░░░░▀████
<_688as> ███│░░░░░░░░░░░░░░░░░░░│███
<_688as> ██▌│░░░░░░░░░░░░░░░░░░░│▐██
<_688as> ██░└┐░░░░░░░░░░░░░░░░░┌┘░██
<_688as> ██░░└┐░░░░░░░░░░░░░░░┌┘░░██U HAVE BEEN SPOOKED
<_688as> ██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██
<_688as> ██▌░│███████▌░▐███████│░▐██
<_688as> ███░│▐███▀▀░░▄░░▀▀███▌│░███
<_688as> ██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██
<_688as> ██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██
<_688as> ████▄─┘██▌░░░░░░░▐██└─▄████
<_688as> █████░░▐█─┬┬┬┬┬┬┬─█▌░░█████ BY THE COPY AND PASTE
<_688as> ████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████ SKELETON
<_688as> █████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████
<jokester> wth
<_688as> DCC SEND startkeylogger 0 0 0
hmsimha has quit [Read error: Connection reset by peer]
snath has quit [Read error: Connection reset by peer]
kobain has quit [Read error: Connection reset by peer]
kobain has joined #ruby
* wasamasa sighs
<wasamasa> noo
<wasamasa> tell #freenode
_688as was kicked from #ruby by havenwood [_688as]
haasn has left #ruby ["WeeChat 1.2-dev"]
snath has joined #ruby
hmsimha has joined #ruby
<wasamasa> since it's probably bothering other channels, too
SouL has quit [Read error: Connection reset by peer]
mc0e has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
tlarevo has joined #ruby
juanpablo__ has quit [Ping timeout: 252 seconds]
dc_ has joined #ruby
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
christiandsg has quit [Remote host closed the connection]
mocchi has quit [Quit: ZNC - http://znc.in]
tobago has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
pwnz0r has joined #ruby
dc_ has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
colorados has joined #ruby
thinkswan has joined #ruby
bronson has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
nii2361 has quit [Ping timeout: 248 seconds]
shellox has quit [Quit: Lost terminal]
jespada has joined #ruby
tagrudev has joined #ruby
MyMind has quit [Read error: Connection reset by peer]
Pisuke has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
thinkswan has quit [Ping timeout: 252 seconds]
nickjj has joined #ruby
michael_mbp has quit [Excess Flood]
sivsushruth has joined #ruby
jespada has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
last_staff has joined #ruby
keen__________27 has quit [Read error: Connection timed out]
jottr has joined #ruby
rocknrollmarc has joined #ruby
keen__________27 has joined #ruby
Joufflu has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
overcrush has quit [Remote host closed the connection]
joonty has joined #ruby
anaeem1 has joined #ruby
overcrush has joined #ruby
mc0e has joined #ruby
Renich has quit [Quit: leaving]
riotjones has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
iteratorP has quit [Remote host closed the connection]
overcrush has quit [Client Quit]
nii2361 has joined #ruby
oo_ has joined #ruby
lkba has joined #ruby
markholmes has joined #ruby
tvw has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
Pisuke has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
Sembei has joined #ruby
<certainty> moin
pagios has quit [Ping timeout: 272 seconds]
astrobunny has quit [Read error: Connection reset by peer]
<apeiros> moin
astrobunny has joined #ruby
<havenwood> Friday \o/
<certainty> thank god
<havenwood> aye, long week!
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
krz has quit [Ping timeout: 245 seconds]
joonty has quit [Quit: joonty]
<flughafen> moin certainty
<flughafen> apeiros: wasamasa
<wasamasa> flughafen: guten morgen
<jokester> morning
<certainty> o/ flughafen
<flughafen> hows it going
<flughafen> i've been up since 2am
<certainty> why is that?
* wasamasa is playing with a virtualbox gitlab again
<wasamasa> why the heck does it not go with ldap
<wasamasa> or rather, why does it and tell me my credentials are invalid
<flughafen> dunno
<flughafen> couldn't sleep
<flughafen> i have sleep problems
<flughafen> vbox? meh
<wasamasa> oh, I suspect why
<wasamasa> changed a default too many
senayar has joined #ruby
<wasamasa> what irks me most about this is that it takes like five minutes to start up
<wasamasa> and reboot
<flughafen> wasamasa: what takes that long to reboot?
<flughafen> windows 95?
<wasamasa> gitlab
<flughafen> oh
Wolland has quit [Remote host closed the connection]
<wasamasa> ok, it's based on rails and comes with dependencies to other beefy services, so I shouldn't be surprised
bigmac_ has quit [Ping timeout: 264 seconds]
baash05 has quit [Ping timeout: 250 seconds]
<certainty> xD
<flughafen> oh it's better than github! it says so on the page
<certainty> enterprisey
<wasamasa> I doubt that
<flughafen> wasamasa: certainty did you guys ever see this? https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
<wasamasa> the only way they could beat github would be by copying everything from them, then improving the bug tracker manifold
<wasamasa> like, by adding time tracking
senayar has quit [Ping timeout: 246 seconds]
<wasamasa> that would be a pretty cool extension
<certainty> flughafen: hah, no
<wasamasa> or maybe offering integration for something different to have an alternative to issue threads for technical discussion
<certainty> wtf
sinkensabe has joined #ruby
<certainty> flughafen: that's insane
<flughafen> lol
<flughafen> 108 commits? ha
sinkensabe has quit [Remote host closed the connection]
<wasamasa> FU
sinkensabe has joined #ruby
<wasamasa> I've found the error, typed "cd" instead of "dc" somewhere
<certainty> i didn't see the commits, that's insane too but the amount of involved classes/interfaces
<flughafen> yeah
* wasamasa proceeds banging head against hard surface
<certainty> wasamasa: alias dc=cd
<wasamasa> certainty: no, it's for a ldap parameter
<wasamasa> this is so fucking stupid
<flughafen> oh, then alias cd = dc ;)
<wasamasa> ...
<certainty> muha
<certainty> wasamasa: be assured. those are the kinds of mistakes i do regularily
<flughafen> i think everybody does those kinds of mistakes
<wasamasa> certainty: you know, so far I had the impression that from the few technologies I've worked with LDAP seemed to be pretty ok
<flughafen> it makes me feel slightly less retarded
<wasamasa> certainty: and then I discover it errors out on something totally unrelated
<certainty> wasamasa: been there, done that
bal has joined #ruby
* wasamasa waits another five minutes for gitlab to restart
bigmac_ has joined #ruby
jonr22 has joined #ruby
jimms has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
jack_rabbit has quit [Ping timeout: 244 seconds]
SouL has joined #ruby
andikr has joined #ruby
unclouded has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
ta has quit [Remote host closed the connection]
<wasamasa> but I can't believe this actually made it work
amclain has quit [Quit: Leaving]
<flughafen> hehe
Guest74 has quit [Quit: Textual IRC Client: www.textualapp.com]
<wasamasa> the worst is that I'm one of these guys preaching to not assume elaborate wrongdoings and looking for the simplest error possible
Wolland has joined #ruby
Takle has joined #ruby
jack_rabbit has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
<certainty> there are so many simple errors. I try to aim for the one that appears to be most likely
<certainty> (with the information i currently have)
sivsushruth has joined #ruby
reinaldob has joined #ruby
<certainty> but i also assume that i'm the cause of the error before i consider that something else is broken
f3lp has quit [Ping timeout: 245 seconds]
<apeiros> moin flughafen
<flughafen> sup apeiros
<apeiros> not much. should still change my znc setup so I get the backlog separately on each computer.
Morkel has quit [Quit: Morkel]
<apeiros> also working on a website for this channel + official chanbot. interested in helping out?
elaptics is now known as elaptics_away
<wasamasa> we don't have an official chanbot?
Xiti has quit [Quit: Xiti]
<flughafen> bring in geordi from #c++
<apeiros> wasamasa: we have semi official ones
<apeiros> we have helpa + eval-in
tubuliferous has joined #ruby
<flughafen> helpa: sudo bring me coffee
reinaldob has quit [Ping timeout: 252 seconds]
djbkd has quit [Quit: My people need me...]
<wasamasa> apeiros: what exactly can helpa do?
<flughafen> wasamasa: don't ask it to bring you coffee
<certainty> help
<wasamasa> apeiros: I've only seen some factoids used and a pastebin detection
<apeiros> wasamasa: no idea about its full functionality
<wasamasa> flughafen: I don't drink coffee anyways
<flughafen> neither do i. so i gues it's good functionality
<wasamasa> apeiros: would a bot not written in ruby be ok?
<certainty> ^5
<apeiros> yeah. factoids and pastebin detection is the only thing I'm aware of.
<certainty> wasamasa: haha nice :)
bruno- has joined #ruby
<flughafen> apeiros: does it repaste to not pastebin?
<apeiros> wasamasa: I'd prefer a cinch based bot
<wasamasa> apeiros: ok ._.
tubuliferous has quit [Ping timeout: 264 seconds]
<apeiros> flughafen: no, it only informs about it being a bad choice
<flughafen> ok
<helpa> Hi flughafen. 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!
<wasamasa> repasting wouldn't be cool if it were spam
<wasamasa> I really like this feature of it, makes a more convincing case compared to the !pastebin factoids on #archlinux*
<apeiros> I think that'd actually be negligible
bronson has joined #ruby
<apeiros> at least I don't remember even a single instance of paste spam
<certainty> we have some over in #chicken
jenrzzz has joined #ruby
<wasamasa> mhh
<certainty> flughafen: curious eh?
oo_ has quit [Remote host closed the connection]
<flughafen> certainty: yes!
Takle has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 272 seconds]
ghostpl_ has joined #ruby
ta has joined #ruby
ta has quit [Remote host closed the connection]
<apeiros> open question to all - what do you all expect from this channel and from the people in this channel?
ta has joined #ruby
<certainty> tough question
bronson has quit [Ping timeout: 256 seconds]
vdamewood has joined #ruby
<certainty> i expect not so much, but i'm happy when i can learn something new about ruby. Which is what i regulary do by following the conversations
hs366 has joined #ruby
<apeiros> indeed. I wanted to phrase the rules as a 2 section piece - "what you can expect from us" + "what we expect from you"
<apeiros> so far I've only got 2 points in "what you can expect from us"
krisquigley has joined #ruby
<certainty> you certainyl can expect to get some well informed answers if you happen to have your question answered by the right people
<certainty> and that's not only about ruby itself but can be about general computer science topics
<certainty> also you can see me producing loads of different mistakes in only a few sentences
ghostpl_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
<certainty> what you can't expect from us is: doing your homework
<certainty> but that's probably too negative
Chris27 has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 255 seconds]
nii2361 has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
lemur has quit [Remote host closed the connection]
Xiti has joined #ruby
<flughafen> +1 certainty
RegulationD has joined #ruby
Crazy_Atheist has quit [Ping timeout: 265 seconds]
blueOxigen has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 256 seconds]
sivsushruth has joined #ruby
ta has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
jerematic has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
Takle has joined #ruby
jerematic has quit [Ping timeout: 250 seconds]
pwnz0r has quit [Remote host closed the connection]
Macaveli has joined #ruby
shanlar has joined #ruby
anarang has quit [Quit: Leaving]
wookiehangover has quit [Ping timeout: 256 seconds]
shanlar- has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
senayar has joined #ruby
vozcelik has quit [Ping timeout: 245 seconds]
queequeg1 has quit [Ping timeout: 252 seconds]
riceandbeans has quit [Ping timeout: 250 seconds]
NightMonkey has quit [Ping timeout: 272 seconds]
M-Technic has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
psmolen has quit [Ping timeout: 265 seconds]
NivenHuH has quit [Ping timeout: 248 seconds]
__main__ has quit [Ping timeout: 248 seconds]
jordanm has quit [Ping timeout: 256 seconds]
ByronJohnson has quit [Ping timeout: 252 seconds]
bayed has joined #ruby
jordanm has joined #ruby
M-Technic has joined #ruby
queequeg1 has joined #ruby
Aswebb_ has joined #ruby
x77686d has quit [Quit: x77686d]
oo_ has quit [Remote host closed the connection]
codecop has joined #ruby
yfeldblum has joined #ruby
MasterNayru has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Client Quit]
juanpablo__ has joined #ruby
psmolen has joined #ruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
MasterNayru has quit [Remote host closed the connection]
yfeldblum has joined #ruby
oo_ has joined #ruby
agrinb has joined #ruby
jph98 has joined #ruby
roolo has joined #ruby
juanpablo__ has quit [Ping timeout: 244 seconds]
nii2361 has joined #ruby
einarj has joined #ruby
vim_shimm has joined #ruby
suffice has quit [Quit: leaving]
__main__ has joined #ruby
_1_shaz has joined #ruby
<_1_shaz> helli
<_1_shaz> hello
_1_shaz has quit [Remote host closed the connection]
senayar has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
<atmosx> Good Morning
<mosez> 07:26 Warning: Port sent with DCC request is a lowport (0, unknown) - this isn't normal. It is possible the address/port is faked (or maybe someone is just trying to bypass firewall)
<mosez> 07:26 DCC SEND from _688as [0.0.0.0 port 0]: startkeylogger [0B bytes] requested in channel #ruby
<mosez> lol
<apeiros> certainty: sorry. got talked to and didn't expect it to take this long.
blueOxigen has quit [Ping timeout: 248 seconds]
relix has joined #ruby
riceandbeans has joined #ruby
riceandbeans has joined #ruby
<certainty> apeiros: no problem
bluOxigen has joined #ruby
<certainty> apeiros: did you see what i wrote?
<apeiros> certainty: I actually intend to put something wrt "we're not writing your code for you" into it
shredding has joined #ruby
vim_shimm has quit [Ping timeout: 248 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ByronJohnson has joined #ruby
wookiehangover has joined #ruby
jenrzzz has joined #ruby
rdark has joined #ruby
NightMonkey has joined #ruby
Takle has quit [Remote host closed the connection]
<certainty> apeiros: yeah that makes sense although that should be clear. Also how to ask smart questions is a good source for general guides on how to participate
A205B064 has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
martinbmadsen has quit [Ping timeout: 244 seconds]
lessless has quit [Max SendQ exceeded]
yfeldblu_ has joined #ruby
jespada has joined #ruby
hanmac1 has joined #ruby
ki0 has joined #ruby
jph98 has quit [Quit: jph98]
yfeldblum has quit [Ping timeout: 246 seconds]
msgodf has joined #ruby
krz has joined #ruby
dc has joined #ruby
thinkswan has joined #ruby
<apeiros> certainty: yeah, everything in the rules *should* be clear. experience shows that it isn't clear.
<apeiros> and yes, I'll try to fit in a stripped down version of "asking good questions" in the rules too.
jespada has quit [Ping timeout: 246 seconds]
DEA7TH has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
jottr has joined #ruby
cats has quit [Read error: Connection reset by peer]
govg has quit [Quit: leaving]
<certainty> apeiros: sounds good
oo_ has quit [Remote host closed the connection]
Morkel has joined #ruby
dc has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
livathinos has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
ponga has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
ta has joined #ruby
bronson has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamninja has quit [Read error: Connection reset by peer]
RDash has quit [Ping timeout: 272 seconds]
Pharaoh2 has joined #ruby
iamninja has joined #ruby
ghostpl_ has joined #ruby
monzie has joined #ruby
<flughafen> eval-in_: a = "foo" ; a << "bar"
Morkel has quit [Quit: Morkel]
<flughafen> i get it!@
yfeldblu_ has quit [Read error: Connection reset by peer]
Kilo`byte has quit [Read error: Connection reset by peer]
<certainty> >> a = "foo" ; a << "bar"
<eval-in_> certainty => "foobar" (https://eval.in/305601)
bronson has quit [Ping timeout: 264 seconds]
<flughafen> ah
yfeldblum has joined #ruby
<flughafen> i tried it in irb
<flughafen> >> "thanks for nothing"
<eval-in_> flughafen => "thanks for nothing" (https://eval.in/305602)
<flughafen> your're welcome eval-in_
<weaksauce> apeiros I expect technical questions that may be somewhat basic but indicate a willingness to learn
yfeldblu_ has joined #ruby
<weaksauce> I'm sure that's a common sentiment
<weaksauce> I would hope most questions have been googled
hgl has quit [Ping timeout: 248 seconds]
<weaksauce> or bingged if you are into that sort of thing
jph98 has joined #ruby
noname1 has quit [Ping timeout: 272 seconds]
AlexRussia has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 248 seconds]
yfeldblu_ has quit [Read error: Connection reset by peer]
allenn has joined #ruby
yfeldblum has joined #ruby
The_Phoenix has joined #ruby
hgl has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
ghostpl_ has quit [Ping timeout: 248 seconds]
nOgAnOo has joined #ruby
Cust0sL1men has joined #ruby
monzie has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
The_Phoenix has joined #ruby
yfeldblu_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
<wasamasa> anyways, I've completed the gitlab task
<wasamasa> time for breakfast
craigp has joined #ruby
imanzarrabian has joined #ruby
_pakchoi_ops has quit [Remote host closed the connection]
jph98 has quit [Quit: jph98]
craigp has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
craigp_ has joined #ruby
<apeiros> hm, github still slow…
pwattste has joined #ruby
markholmes has quit [Quit: So it goes.]
oo_ has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
<apeiros> the rails channel rules and CoC are there as a template
joonty has joined #ruby
mikecmpbll has joined #ruby
psy_ has quit [Ping timeout: 248 seconds]
michael_mbp has joined #ruby
<weaksauce> maybe something along the lines of "expect pointers, not production code"?
monzie has joined #ruby
pagios has joined #ruby
<weaksauce> and I like the gist rule for things more than a few lines
<apeiros> 10:01 weaksauce: maybe something along the lines of "expect pointers, not production code"?
<apeiros> can you turn that into a full rule? I'm not quite sure I follow
yfeldblum has joined #ruby
<weaksauce> Expect to be pointed along the path to a solution as most people will not write the code completely for you.
terlar has joined #ruby
<weaksauce> not sure the best way to phrase it but kind of a prevention of a "codez plz" mentality if
marr has joined #ruby
<weaksauce> that's something that needs to be codified
nii2362 has joined #ruby
jonr22 has joined #ruby
Hounddog has joined #ruby
<weaksauce> though, the people that do that kind of begging do not read the rules
nii2361 has quit [Ping timeout: 246 seconds]
Macaveli has joined #ruby
ponga has joined #ruby
Aswebb_ has joined #ruby
gidea has joined #ruby
yfeldbl__ has joined #ruby
postmodern has quit [Remote host closed the connection]
craigp_ has quit []
yfeldblu_ has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
Hounddog has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 252 seconds]
gidea has quit [Remote host closed the connection]
Hounddog has joined #ruby
gidea has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
mistermocha has joined #ruby
crdpink has quit [Ping timeout: 256 seconds]
agrinb has quit [Ping timeout: 265 seconds]
elaptics_away is now known as elaptics
baash05 has joined #ruby
<apeiros> weaksauce: ah, I see. yeah, right. I have the mantra "I will help you, that does not mean I will solve it for you". have to put that in words.
jenrzzz has quit [Ping timeout: 256 seconds]
dumdedum has joined #ruby
stef204 has joined #ruby
<apeiros> weaksauce: re "not read the rules". I want the rules to be individually linkable through a bot command
psy_ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
_64k has joined #ruby
<nii2362> 6/close
oo_ has joined #ruby
nii2362 has left #ruby ["WeeChat 1.1.1"]
lkba has quit [Ping timeout: 248 seconds]
gfawcettpq has quit [Ping timeout: 252 seconds]
zzing has joined #ruby
zzing has quit [Client Quit]
Morkel has joined #ruby
AlexRussia has joined #ruby
tvw has quit []
tvw has joined #ruby
krz has quit [Ping timeout: 264 seconds]
astrobunny has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
bruno- has joined #ruby
Zai00 has joined #ruby
oo_ has quit [Remote host closed the connection]
kstuart has quit [Quit: WeeChat 1.1.1]
_pakchoi_ops has joined #ruby
virtualbsd has joined #ruby
krz has joined #ruby
leafybasil has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 246 seconds]
livathin_ has joined #ruby
huddy has joined #ruby
pwattste has quit [Remote host closed the connection]
livathin_ has quit [Remote host closed the connection]
livathin_ has joined #ruby
elabs-developer has joined #ruby
christiandsg has joined #ruby
elabs-developer has left #ruby [#ruby]
krisquigley has joined #ruby
Burgestrand has joined #ruby
oo_ has joined #ruby
livathinos has quit [Ping timeout: 272 seconds]
Burgestrand has joined #ruby
<niko> hi Radar, maybe you could set this channel +C to avoid channel's ctcp ( http://freenode.net/using_the_network.shtml )
sevvie has quit [Ping timeout: 245 seconds]
christiandsg has quit [Ping timeout: 252 seconds]
<apeiros> hi niko. thanks for helping resolve the ownership issue!
virtualbsd has quit [Ping timeout: 246 seconds]
_pakchoi_ops has quit [Quit: No Ping reply in 240 seconds.]
krisquigley has quit [Ping timeout: 248 seconds]
<niko> you're welcome
jespada has joined #ruby
astrobunny has quit [Remote host closed the connection]
<apeiros> thanks for the tip re +C
_pakchoi_ops has joined #ruby
jimms has quit [Remote host closed the connection]
RegulationD has joined #ruby
tvw has quit [Ping timeout: 255 seconds]
livathinos has joined #ruby
livathinos has quit [Remote host closed the connection]
livathinos has joined #ruby
bronson has joined #ruby
<Burgestrand> Nice to see you’re still a regular here apeiros :)
<apeiros> oh hi Burgestrand, long time no see
<apeiros> not just a regular anymore. co-owner now :D
krisquigley has joined #ruby
<adaedra> Congrats
<Burgestrand> Even better! No merge of the channels still though I see ;)
<apeiros> that's not out of question
<Burgestrand> Even though #ruby is kind of winning the race nowadays, I suppose most of the #ruby-lang are overlappers too
djellemah has joined #ruby
<apeiros> I have not really made up my mind upon what I consider best. I somehow started to like having 2 channels.
<Burgestrand> I don’t get the chance to IRC as much any more, ever since I started working with ruby I started programming less and less (towards 0) at my own leisure time, and at work we do pair programming most of the time so not much chance of being in here
<apeiros> sad
chthon has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
livathin_ has quit [Ping timeout: 264 seconds]
<Burgestrand> There’s upsides and downsides to everything I guess :)
<apeiros> but yeah, my presence on irc has suffered too. 100% job + private projects…
<apeiros> but I guess I'm still easily in the top 10 most active users in #ruby/#ruby-lang
Pharaoh2_ has joined #ruby
<Burgestrand> Hah, that’s nice to hear!
bronson has quit [Ping timeout: 244 seconds]
<apeiros> I do hope that with the new ops, my title as most active op will drop, though :D
<Burgestrand> :)
ghostpl_ has joined #ruby
<Burgestrand> Hah, shevy still in here too
workmad3 has joined #ruby
Wolland has quit [Remote host closed the connection]
Pharaoh2 has quit [Ping timeout: 245 seconds]
<certainty> shevy has no time!
<Burgestrand> It’s nice to see some recognizable names
oo_ has quit [Remote host closed the connection]
jerematic has joined #ruby
<Burgestrand> Don’t get me wrong it’s nice to see everyone else too
<Burgestrand> but it’s a bit nostalgic to see some old names here still
<certainty> for shevy it's not only the name that's old xD
davispuh has joined #ruby
<Burgestrand> ;)
<workmad3> Burgestrand: heh :) soon I'm going to be counted as one of those names :P
sevvie has joined #ruby
<certainty> workmad3: will you /nick to workmad30 then?
<Burgestrand> workmad3: in my book you already do ;)
<workmad3> certainty: if I was going to do that, I should have done it a month ago :(
<certainty> damn you missed that opportunity
<workmad3> certainty: give it a few years and I'll try to remember to /nick workmad33 :)
<certainty> but i somehow expected that you're older than me
<certainty> you have that oldisch aura :p
<workmad3> certainty: I plan on spending a decent amount of time as 'old' so I figured I should learn how to enjoy it while I'm still young ;)
<certainty> workmad3: smart move
* Burgestrand steals quote
<workmad3> Burgestrand: feel free... it's BS I just made up (afaik) that's just a bit of a reversal of "Youth is wasted on the young" :P
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jerematic has quit [Ping timeout: 250 seconds]
<Burgestrand> workmad3: nowadays everything is some BS refactored from some older wisdom, nonetheless I’ll stick an attribution note on it :)
<apeiros> workmad3: I expect the meaning of "old" to shift rapidly upwards. so I plan to stay young for another couple of decades.
jimms has joined #ruby
stef204 has joined #ruby
max96at|off is now known as max96at
bigkevmc_ is now known as bigkevmcd
ghostpl_ has quit [Ping timeout: 264 seconds]
lanemeyer has quit [Ping timeout: 272 seconds]
teddyp1c_ has left #ruby [#ruby]
Flcn has joined #ruby
wallerdev has joined #ruby
<workmad3> apeiros: :)
wallerdev has quit [Client Quit]
AlexRussia has quit [Ping timeout: 265 seconds]
juanpablo__ has joined #ruby
<certainty> http://akgupta.ca/blog/2013/05/14/so-you-still-dont-understand-hindley-milner for those that take a look at features present in other languages ;)
agrinb has joined #ruby
arietis has joined #ruby
<arietis> hello
timonv has joined #ruby
zz_twistedpixels is now known as twistedpixels
<apeiros> hi arietis
juanpablo__ has quit [Ping timeout: 246 seconds]
Vivex has joined #ruby
MasterPiece has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
sivsushruth has quit [Read error: Connection reset by peer]
<loop3r> hello, is this `reaped #<Process::Status: pid 1880 SIGKILL (signal 9)> worker=3 ` unicorn error fixable ?
blackmes1 has joined #ruby
yeticry has joined #ruby
aswen has joined #ruby
<loop3r> I've read that its about insufficent amount of ram, but there is a lot unused ram, but unicorn workers are still getting signal 9
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
sivsushruth has joined #ruby
withnale_ has joined #ruby
<atmosx> loop3r: digital ocean?
<loop3r> atmosx: kimsufi
<atmosx> loop3r: is that a vps provider?
<loop3r> atmosx: its dedicated server
<atmosx> loop3r: how do you monitor memory when you run unicorns?
<canton7> ^ that's not a phrase you hear every day (taken out of context)
<loop3r> atmosx: when I run unicorn I am looking at htop
<atmosx> awesome, and it nevers gets to the a point where it's red?
<atmosx> loop3r: I mean on tmux, when you launch unicorn
DerisiveLogic has quit [Ping timeout: 256 seconds]
<atmosx> split screen etc.
crdpink has joined #ruby
yeticry has quit [Ping timeout: 246 seconds]
decoponio has joined #ruby
<loop3r> atmosx: so I do
<loop3r> atmosx: I am check mem in htop
<loop3r> I am checking*
quimrstorres has joined #ruby
<atmosx> loop3r: You run multiple projects or one?
yeticry has joined #ruby
<loop3r> atmosx: I am trying to setup gitlab, but it shows 502 cause of this unicors problem
leafybasil has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
vim_shimm has joined #ruby
pagios has quit [Remote host closed the connection]
<atmosx> oh
<atmosx> how many workers?
sevvie has joined #ruby
<atmosx> out of curiosity, can you try using another rack server, like puma, raptor, thin?
<loop3r> atmosx: nproc is 4, but I tried all 1,2,3,4 the same
<atmosx> I had to switch from unicorn to puma recently, due to an update.
<loop3r> atmosx: I've read about puma, but I am not ruby dev, I am not sure if can handle this at this moment to swtich gitlab from unicorn to puma
anaeem1 has quit [Remote host closed the connection]
<atmosx> loop3r: it's very easy really. But first, how do you launch unicorn?
nahtnam has quit [Quit: Connection closed for inactivity]
anaeem1_ has joined #ruby
quimrstorres has quit [Ping timeout: 246 seconds]
<loop3r> atmosx: its all from gitlab init script
<loop3r> atmosx: I've installed gitlab from sources
rocknrollmarc has quit []
vim_shimm has quit [Ping timeout: 255 seconds]
monzie has quit [Ping timeout: 252 seconds]
elfuego has joined #ruby
Pharaoh2_ is now known as Pharaoh2
<loop3r> atmosx: its a little bit different I guess due to I have debian instead of centos
<atmosx> loop3r: if you do "gem list|grep unicorn" how many versions do you get?
<atmosx> loop3r: ruby is installed via rvm, system-wide? debian binaries
<atmosx> ?
anaeem1_ has quit [Ping timeout: 264 seconds]
<loop3r> atmosx: I didnt use rvm or rbenv, just bundle, all like https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md#install-gems
gidea has quit [Remote host closed the connection]
fgo has joined #ruby
Stoge88 has joined #ruby
quimrstorres has joined #ruby
<atmosx> loop3r: what your 'ruby --version' say and the command I gave you above? How many unicorn versions you currently have in your system?
<loop3r> atmosx: ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux] i will check unicorn version sec
xcombelle has joined #ruby
gfawcettpq has joined #ruby
Beliq has joined #ruby
<loop3r> atmosx: unicorn seems to be (4.8.3)
gidea has joined #ruby
<atmosx> loop3r: okay, can you please go to the directory where gitlab (rails) is installed and run unicorn from there? You'll just have to issue the 'unicorn' command.
oo_ has quit [Remote host closed the connection]
<jokke> hey
<atmosx> or unicorn_rails if 'unicorn' doesn't work.
<jokke> anyone here familiar with the json-schema gem?
<jokke> i'd like to "filter" a hash through a json schema
<jokke> so that if additionalAttributes is false they are stripped from the hash
<jokke> is this possible?
trampi has joined #ruby
<jhass> there are several gems to parse schemas, I'd look through them
haxrbyte_ has joined #ruby
<jhass> at least one of them will probably give you AST like access to it so that implementing such a filter becomes easier
<jokke> hm ok
<jokke> thanks
<jokke> json-schema is awesome for testing an api
hgl has quit [Max SendQ exceeded]
<jhass> gosh, can we please stop DDoSing Github? stupid idiots :/
bruno- has joined #ruby
<certainty> hmm?
bronson has joined #ruby
<certainty> i'm not DDoSing anyone
hgl has joined #ruby
<loop3r> atmosx: I've stopped gitlab, run just unicorn and there is `/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- unicorn/worker_killer (LoadError)`
haxrbyte has quit [Ping timeout: 250 seconds]
<atmosx> certainty: I know you do. Please stop DOSSing US government websites and github.
<certainty> atmosx: ok you got me.
* certainty shuts down his botnet
<loop3r> atmosx: so.. ruby versions are messed up
oo_ has joined #ruby
* atmosx waits until black men with SUV take certainty away
<atmosx> lol
<certainty> xD
blueOxigen has joined #ruby
nfk has joined #ruby
<atmosx> loop3r: awesome, now. You are the system administrator of this server?
gidea has quit []
<atmosx> loop3r: oh, before we try anything complicated, try running "bundle exec unicorn" and if that fails "bundle exec unicorn_rails" in the same directory.
<atmosx> I mean in project's directory.
RDash has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
vtunka has joined #ruby
<loop3r> atmosx: Yes, I am. So unicorn missing the gem to worker managment ?
monzie has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 255 seconds]
blueOxigen has quit [Ping timeout: 246 seconds]
<atmosx> loop3r: this must be a sort of missconfiguration between your unicorn version and ruby. let me check out something.
maximski has joined #ruby
juanca_ has joined #ruby
maximski has quit [Max SendQ exceeded]
n008f4g_ has joined #ruby
maximski has joined #ruby
techsethi has quit [Quit: techsethi]
<atmosx> loop3r: if you run 'rails s' in the rails directory, tries to load unicorn?
juanca_ has quit [Client Quit]
* flughafen shudders... i think i'm going to be sick.
techsethi has joined #ruby
<flughafen> for the love of god make it stop!
<jhass> ok
CorpusCallosum has joined #ruby
* jhass fetches the gun
* flughafen just wrote a line of perl
<flughafen> please put me out of my misery
Takle has quit [Remote host closed the connection]
* jhass puts flughafen into the truck and drives into the woods
<loop3r> atmosx: unicorn has new error `/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:76:in `require': cannot load such file -- rb-inotify (LoadError) `
<atmosx> loop3r: I'm reading now at unicorn github account that this error, is resolved with ruby-2.2.1 ... So you might wanan consider making a ruby manual system-wide installation and removing debian's ruby.
govg has joined #ruby
<flughafen> this is for my own good jhass
<jhass> yes
hanmac has quit [Ping timeout: 256 seconds]
<flughafen> good bye cruel world
<loop3r> atmosx: ok I will try change the ruby version
<jhass> bye
<mikecmpbll> how is it even possible that this line: https://github.com/pdfkit/pdfkit/blob/master/lib/pdfkit/configuration.rb#L22 is giving me "undefined method `chomp' for nil:NilClass" ?
<mikecmpbll> mind blown..
<atmosx> loop3r: out of experience, instead of going RVM better install ruby manually. (./configure && make && make install). Grab the latest from the website. (ruby-lang.org)
<atmosx> loop3r: it will save you hours of hacking around to mae rvm work with sudo and what not.
<loop3r> atmosx: ok I will, yea I just wanted fast gitlab, not tweaking something with ruby, but I used to use rbenv some time ago, isnt it better than rvm ?
<loop3r> atmosx: thanks for help! thanks for your time
jonr22 has joined #ruby
terlar has quit [Ping timeout: 252 seconds]
jimms has quit [Remote host closed the connection]
sivsushruth has quit [Read error: Connection reset by peer]
Kilo`byte has joined #ruby
Takle has joined #ruby
_pakchoi_ops has quit [Remote host closed the connection]
sdothum has joined #ruby
jimms has joined #ruby
agrinb has joined #ruby
sivsushruth has joined #ruby
blizzy has quit [Ping timeout: 252 seconds]
Aswebb_ has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 255 seconds]
<jhass> mikecmpbll: mmh, precedence rules? gotta check if ternary binds higher than &&
<jhass> mmh, no it doesn't. Weird indeed
<mikecmpbll> it does but even so, still shouldn't be nil
<mikecmpbll> doesn't*
vtunka has quit [Quit: Leaving]
<mikecmpbll> really weird :/
<jhass> >> defined?(Foo)
<eval-in_> jhass => nil (https://eval.in/305662)
<mikecmpbll> oh
<mikecmpbll> good spot.
<jhass> it's the only nil I see in that expression, that's why
<mikecmpbll> :D
<mikecmpbll> i thought that returned false.
agrinb has quit [Ping timeout: 246 seconds]
n008f4g_ has quit [Ping timeout: 252 seconds]
<mikecmpbll> ok actually, the github was a more recent version, the actual gem code that I'm using has @wkhtmltopdf ||= (defined?(Bundler::GemfileError) ? `bundle exec which wkhtmltopdf` : `which wkhtmltopdf`).chomp
* mikecmpbll shrugs
<jhass> so one of the Kernel#` calls must return nil for some reason
<mikecmpbll> i've played around with it a bit can't make it return anything but string.
<jhass> but you can repro the issue?
<atmosx> loop3r: both rvm and rbenv are good for development. But for server deployments you're better of with vanilla ruby.
<mikecmpbll> i can't either. happening in prod.
<jhass> meh
<atmosx> loop3r: you'll install gems using 'sudo' and you'll live a happy life :-)
Aswebb_ has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
hanmac has joined #ruby
ItSANgo has joined #ruby
martinbmadsen has joined #ruby
<jhass> ^ or even better: bundle install --deployment on prod
<jhass> works as long as you can load bundler and execute ruby, regardless of environment
ItSAN____ has joined #ruby
tubuliferous has joined #ruby
r3Dk1nG has joined #ruby
Spami has quit [Ping timeout: 272 seconds]
martinbmadsen has quit [Ping timeout: 246 seconds]
ItSANgo has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
oo_ has quit [Remote host closed the connection]
gregf_ has quit [Ping timeout: 252 seconds]
tubuliferous has quit [Ping timeout: 248 seconds]
d10n-work has joined #ruby
arup_r has joined #ruby
reinaldob has joined #ruby
<arup_r> Hi All.. I'm back.
Akagi201_ has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
gregf_ has joined #ruby
Akagi201 has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
mc0e has quit [Ping timeout: 250 seconds]
michael_mbp has joined #ruby
<atmosx> arup_r: welcome back arup_r
<arup_r> atmosx: thanks :) How are you ?
Zai00 has quit [Quit: Zai00]
Flcn is now known as flcn
robbyoconnor has joined #ruby
Zai00 has joined #ruby
lanemeyer has joined #ruby
paradoja has joined #ruby
Stoge88 has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
jefus_ has joined #ruby
RegulationD has joined #ruby
<atmosx> arup_r: good, I'm configuring my eshop :-P
<arup_r> wow.. using Spree ?
<atmosx> arup_r: haha no. I tried but then took a look at OpenCart and decided to go with OpenCart. Bought a template and will buy any additional addons I might gonna need.
Musashi007 has quit [Quit: Musashi007]
<arup_r> ok
Lewix has joined #ruby
<atmosx> arup_r: It's mostly setup things (on FreeBSD, php, etc.). Fixing the template. no coding required
<atmosx> arup_r: would take me a lifetime to build something similar using Spree.
<arup_r> yes.. Spree is good.. but not se well documented IMO
livathin_ has joined #ruby
kyrylo has joined #ruby
jefus has quit [Ping timeout: 265 seconds]
n008f4g_ has joined #ruby
tiago_ has quit [Quit: ZNC - http://znc.in]
<atmosx> arup_r: there are no templates, no addons, etc. You need to code/modify many things by yourself. I'm sure it's good as a fully custom solution.
<atmosx> I'm not able to pay someone, nor I have the time (and will) to do it myself :-P
RegulationD has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
livathinos has quit [Ping timeout: 244 seconds]
livathin_ has quit [Remote host closed the connection]
jerematic has joined #ruby
livathinos has joined #ruby
oo_ has joined #ruby
dumdedum has quit [Quit: foo]
ghostpl_ has joined #ruby
elfuego has quit [Quit: elfuego]
anaeem1_ has joined #ruby
mc0e has joined #ruby
ldnunes has joined #ruby
Hirzu has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
Aswebb_ has quit [Remote host closed the connection]
Hirzu_ has joined #ruby
bronson has joined #ruby
quimrstorres has quit [Remote host closed the connection]
wald0 has joined #ruby
duncannz has quit [Ping timeout: 256 seconds]
anaeem1_ has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
ghostpl_ has quit [Ping timeout: 255 seconds]
Hirzu has quit [Ping timeout: 252 seconds]
robertt_dex has quit [Ping timeout: 255 seconds]
mc0e has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 256 seconds]
siwica has joined #ruby
<siwica> I am looking for a ruby gem that is capable of doing a triangle-triangle intersection test in 3D-space. Is anybody aware of any?
<apeiros> siwica: check ruby-toolbox.com
juanpablo__ has joined #ruby
agrinb has joined #ruby
Guest92473 has joined #ruby
<Guest92473> hello
<Guest92473> where am I ?
oo_ has quit [Remote host closed the connection]
Guest92473 has quit [Quit: Lost terminal]
sjohnsen has quit [Quit: Gone]
sjohnsen has joined #ruby
<workmad3> Guest92473: you're standing on a planet that's revolving at 900 miles an hour
dc has joined #ruby
RDash has quit [Ping timeout: 250 seconds]
juanpablo__ has quit [Ping timeout: 255 seconds]
<apeiros> workmad3: they're gone
AlphaAtom has joined #ruby
<workmad3> apeiros: drats, they left while I was looking up the monty python lyrics :P
<apeiros> btw. workmad3 - have I already asked you whether you want to help out with http://ruby-community.com, the upcomming channel website?
<workmad3> I can't recall you asking, but I could have missed it... I've been a bit all over the place over the last week or so
agrinb has quit [Ping timeout: 256 seconds]
<workmad3> (and this is when you say "That's OK, because I was about to tell you we don't need your kind of help" :P)
yowell has joined #ruby
<apeiros> That's OK, because I was about to tell you we don't need your kind of help
<workmad3> :)
<apeiros> ;-)
brb3 has joined #ruby
<apeiros> we're over in #ruby-community to plan and work on it. feel free to join!
quimrstorres has joined #ruby
<workmad3> cool :) I'll add it to my autojoin channels
|Zz_fan| has joined #ruby
oo_ has joined #ruby
aclearman037 has joined #ruby
robertt_dex has joined #ruby
gr33n7007h has joined #ruby
startupality has joined #ruby
livathinos has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
mc0e has joined #ruby
<arup_r> Well.. I have something to ask you guys..
kp666 has quit [Remote host closed the connection]
pwnz0r has joined #ruby
Guest6521 has joined #ruby
Limix has joined #ruby
startupality has quit [Client Quit]
<jhass> arup_r: because it reduces indentation
adriancb has quit [Remote host closed the connection]
monzie has quit [Ping timeout: 256 seconds]
adriancb has joined #ruby
<jhass> there's a technical downside to it too though: the file can no longer be loaded on its own/without preparations
<arup_r> so can I put it on **People Preference list** having no technical reasons ..
<apeiros> there's an additional difference
jimms has joined #ruby
<apeiros> constant search path within the class differs
<Guest6521> I'm wondering if I can use de 'openssl' library to perform a request with the 'EXPORT' cipher only. much like you would do in bash using: $(openssl s_client -connect host:port -cipher EXPORT). I tried setting "ssl_context = OpenSSL::SSL::SSLContext.new(); ssl_context.cipers = ['EXPORT']" but that does not seem to work.
<apeiros> a `Foo` on line 11 of that gist is only valid as ::Foo and ::A::B::C::Foo
<apeiros> between line 3 & 4, it additionally looks for ::A::Foo and ::A::B::Foo
baash05 has quit [Read error: Connection reset by peer]
baash05 has joined #ruby
<jhass> Guest6521: how are you using the context?
<Burgestrand> Anybody ever played around with IO#dup? I’ve dup’ed a bidirectional IO, let’s call them A and my dup B, when I write to B I do not get IOErrors on write when my remote end closes. My current solution is to write on A instead of B when B reports ready for writing, but it is a bit annoying.
phutchins has joined #ruby
varunwachaspati has joined #ruby
pwnz0r has quit [Ping timeout: 265 seconds]
Squarepy has joined #ruby
oo_ has joined #ruby
<loop3r> atmosx: the newest ruby and still ``require': cannot load such file -- unicorn/worker_killer (LoadError)`
|Zz_fan| has quit [Quit: WeeChat 0.4.2]
<arup_r> apeiros: well.. Only just for the constant look up matters..
<arup_r> Otherwise there is no other reason.. Right ?>
hectortrope has joined #ruby
<apeiros> arup_r: the one jhass mentioned
<apeiros> class A::B::C requires A::B to be defined
<apeiros> so your load order starts to matter
shredding has quit [Ping timeout: 252 seconds]
<apeiros> oh, and with regards to rails, `module A; module B; class C` can interfere with autoloading.
spyderman4g63 has joined #ruby
<arup_r> means ?
_64k has quit [Ping timeout: 250 seconds]
<apeiros> well, `module A; end` defines A. so referencing A will no longer trigger autoload.
<arup_r> ok
yowell has quit [Quit: -a- Android IRC 2.1.16]
Darryl___ has joined #ruby
lkba has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
ponga has quit [Quit: Leaving...]
vim_shimm has joined #ruby
nettoweb has joined #ruby
Musashi007 has quit [Quit: Musashi007]
hectortrope has joined #ruby
maximski has quit []
ndrei has quit [Ping timeout: 250 seconds]
vim_shimm has quit [Ping timeout: 250 seconds]
baash05 has quit [Ping timeout: 245 seconds]
jcromartie has joined #ruby
pwattste has joined #ruby
spyderma_ has joined #ruby
terlar has joined #ruby
spyderman4g63 has quit [Ping timeout: 272 seconds]
plashchynski has joined #ruby
anaeem1_ has joined #ruby
[BNC]pagios has joined #ruby
jerematic has joined #ruby
jespada has quit [Ping timeout: 265 seconds]
livingstn has joined #ruby
[BNC]pagios is now known as pagios
mbeasley_ has joined #ruby
jconnolly has joined #ruby
Hobogrammer has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
jerematic has quit [Ping timeout: 256 seconds]
jerematic has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
bronson has joined #ruby
Takle has quit [Remote host closed the connection]
jayeshsolanki has joined #ruby
silkfox has joined #ruby
jonr22 has joined #ruby
Asmurf has joined #ruby
<certainty> anothertime benchmark-ips saved my day. thanks evan
sivsushruth has joined #ruby
Asmurf has quit [Quit: leaving]
<certainty> so i now have a cache which is great and fast. Now i have another problem... cache invalidation xD
<apeiros> haha
<apeiros> LUFO
Takle has joined #ruby
<certainty> apeiros: LUFO?
<apeiros> last used first out
<apeiros> not sure it's really a term :o)
<jhass> isn't that called LRU?
<certainty> lru
<certainty> yeah
<c-c> cant you just set it to short period, so it becomes meaningless
<apeiros> LRU sounds familiar, ya
bronson has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 256 seconds]
<hectortrope> jhass hi
<jhass> hi
<certainty> it's actually not that bad. the data is not in flux it rarely changes. The thing is that it is currently only present in a mysql view which is slow as hell. I introduced a cache table which is way faster. I'll invalidate by time and if one of the dependent records is updated
robertt_dex has quit [Remote host closed the connection]
<avril14th> good weekend everyone
spiderbyte has quit [Ping timeout: 265 seconds]
avril14th has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
jerius has joined #ruby
bruno- has joined #ruby
<certainty> and no, switching to a better RDBMS is not an option :(
jerius has quit [Client Quit]
delianides has joined #ruby
Akagi201_ has joined #ruby
jerius has joined #ruby
Limix has quit [Quit: Limix]
krz has quit [Quit: WeeChat 1.0.1]
phutchins has quit [Quit: leaving]
dc has quit [Remote host closed the connection]
Akagi201 has quit [Ping timeout: 250 seconds]
dx7 has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seal has joined #ruby
delianides has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
sgambino has joined #ruby
Aswebb_ has joined #ruby
basiclaser has joined #ruby
sigurding has joined #ruby
plashchynski has quit [Quit: plashchynski]
tubuliferous has joined #ruby
jconnolly has quit [Ping timeout: 248 seconds]
zorak8 has joined #ruby
pandaant has joined #ruby
vim_shimm has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
plashchynski has joined #ruby
dblessing has joined #ruby
bruno- has joined #ruby
psy_ has quit [Ping timeout: 245 seconds]
JDiPierro has joined #ruby
enebo has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Beliq has quit [Quit: My computer has gone to sleep. ZZZzzz…]
tubuliferous has quit [Ping timeout: 272 seconds]
plashchynski has quit [Client Quit]
JDiPierro has joined #ruby
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
joonty has quit [Quit: joonty]
arietis has quit [Quit: Leaving.]
plashchynski has joined #ruby
SouL has quit [Ping timeout: 250 seconds]
aclearma_ has joined #ruby
arietis has joined #ruby
Aswebb_ has quit []
krisquigley has quit [Remote host closed the connection]
zenith_ has joined #ruby
krisquigley has joined #ruby
aclearman037 has quit [Ping timeout: 272 seconds]
govg has quit [Ping timeout: 264 seconds]
Tuxero has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Hirzu_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
krz has joined #ruby
trampi has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 244 seconds]
sandelius has joined #ruby
krisquigley has quit [Ping timeout: 256 seconds]
Hirzu has joined #ruby
phutchins has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
otisZart has joined #ruby
anaeem1_ has joined #ruby
RegulationD has joined #ruby
Hirzu_ has joined #ruby
phutchins has quit [Client Quit]
Feyn has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby
Hirzu has quit [Ping timeout: 248 seconds]
livathinos has joined #ruby
anaeem1_ has quit [Ping timeout: 250 seconds]
phutchins has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
anaeem1 has joined #ruby
<Tuxero> hello
<apeiros> hi Tuxero
eshiffob has joined #ruby
ndrei has joined #ruby
triple_b has joined #ruby
rodfersou has joined #ruby
_64k has joined #ruby
ghostpl_ has joined #ruby
joonty has joined #ruby
snath has quit [Ping timeout: 246 seconds]
Ohga has joined #ruby
triple_b_ has joined #ruby
<Ohga> I'm trying to compile a fork of the wdn gem on windows when I get this: "d:/Ruby22/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
<Ohga> You have to install development tools first.", But... I have the devkit installed....
livathinos has quit [Remote host closed the connection]
jamto11 has joined #ruby
triple_b has quit [Ping timeout: 248 seconds]
jconnolly has joined #ruby
jespada has joined #ruby
<nOgAnOo> peepee
<nOgAnOo> shut up nigger also
robbyoconnor has quit [Ping timeout: 256 seconds]
* nOgAnOo snugs up close to kzss
juanpablo__ has joined #ruby
ghostpl_ has quit [Ping timeout: 244 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
<nOgAnOo> juan pablo gegt
<nOgAnOo> get the fuck ok
Takle has quit [Read error: Connection reset by peer]
Papierkorb has joined #ruby
Parker0 has joined #ruby
JDiPierro has quit [Remote host closed the connection]
jespada has quit [Ping timeout: 256 seconds]
govg has joined #ruby
bluOxigen has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
shazaum has joined #ruby
mitchellhenke has joined #ruby
anaeem1 has quit [Quit: Leaving...]
<shevy> lol
<shevy> that must be a bot
aswen has quit [Ping timeout: 248 seconds]
<wasamasa> "get the fuck ok"
<wasamasa> awesome
snath has joined #ruby
seal has quit [Quit: Ex-Chat]
bronson has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
jokester has quit [Quit: 飞升]
<bradland> i've got the fuck. what now?
sankaber has quit [Ping timeout: 244 seconds]
nOgAnOo was kicked from #ruby by apeiros [you're not welcome]
hs366 has quit [Quit: Leaving]
sankaber has joined #ruby
<bradland> great. now what am I supposed to do with this fuck?
airdisa has joined #ruby
<apeiros> sorry bradland, but they won't answer as they've been removed from this channel
<bradland> Ohga: what devkit do you have installed? also, do you mean wdm gem?
ismaelga has joined #ruby
<bradland> apeiros: no problem. i'll just hang on to this thing. i'm sure i'll need it to give later.
<bradland> i was running low anyway.
<apeiros> I'm sure that fuck will give you lots of pleasure. have fun.
agarie has joined #ruby
<apeiros> but you really shouldn't give it.
aswen has joined #ruby
<certainty> lelele
<bradland> oh, don't worry. i only give them when something is reeeeeally important.
<bradland> like when someone is wrong on IRC.
<bradland> obvs
<apeiros> you must have lots of fucks to give then :D
quimrstorres has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
<bradland> lol
agrinb has joined #ruby
<Ohga> bradland: yes, sorry, the wdm gem. I used the devkit contained in the archive DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
shazaum has joined #ruby
shazaum has quit [Changing host]
elaptics is now known as elaptics_away
<bradland> Ohga: ok, the error and trace you gave is only one line of the stack trace.
elaptics_away is now known as elaptics
JDiPierro has joined #ruby
<bradland> mkmf.rb is part of ruby internals
<bradland> it's part of ruby's 'make' lib
<bradland> so, it's not super helpful in identifying the root cause
<bradland> you'll need to get a full trace
<bradland> try running your compile command with the --trace flag
robertt_dex has joined #ruby
<bradland> (also, I'm just guessing here. i don't use windows or the wdm gem, sorry.)
<bradland> we may be able to get you to a point where you can identify the root cause though
<Ohga> bradland: ok, let me run with --trace and provide a pastebin of the result
<bradland> super
<bradland> plz use pastie.org or gist.
<bradland> helpa: !pastebin
jamto11 has quit [Remote host closed the connection]
<bradland> (crosses fingers)
<bradland> derp
<bradland> helpa: !paste
<bradland> NOPE
manzo has joined #ruby
gokulnath has quit [Quit: Leaving]
ismaelga has quit [Remote host closed the connection]
<helpa> Hi Ohga. 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!
iml has joined #ruby
<bradland> Ohga: looking now
<Ohga> To adhere to the pastebin hate, have a pastie as well: http://pastie.org/10057358
<bradland> thx for that :)
O_the_Del has joined #ruby
juanca_ has joined #ruby
jespada has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
<DefV> oh wow, I never saw the ads on pastebin until now
O_the_Del has left #ruby [#ruby]
<DefV> life without an adblocker must be awful
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> Ohga: do you know where to find mkmf.log ?
jcromartie has joined #ruby
nettoweb has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> it's in your gem directory
<Ohga> .\wdm\tmp\i386-mingw32\wdm_ext\2.2.1\
mistermocha has joined #ruby
<bradland> probably
<bradland> can you pastie the contents of that file?
<Ohga> (back slashes due to windows :-) )
<bradland> you're missing a library
<Ohga> will do
<bradland> but i'm not sure which
<bradland> cuz i'm not all that smart
doodlehaus has joined #ruby
<bradland> but this info will def be helpful for someone who can actually solve this
<bradland> thx
arup_r has quit []
rbennacer has joined #ruby
Megtastique has joined #ruby
mistermo_ has joined #ruby
<Ohga> sadly wdm seems unmaintained by the main author. this fork I'm trying to compile fixes an issue due to ruby 2.2
Megtastique has quit [Max SendQ exceeded]
livathinos has joined #ruby
<Ohga> but... it's used by listen, which is used by jekyll
tlarevo has quit [Remote host closed the connection]
Megtastique has joined #ruby
techsethi has quit [Quit: techsethi]
n80 has joined #ruby
paulcsmith has joined #ruby
dfinninger has joined #ruby
<Ohga> btw, the fork is at https://github.com/lowjoel/wdm
mistermocha has quit [Ping timeout: 245 seconds]
<bradland> also good info
<r3Dk1nG> is there a shorter way to check a variable being nil? empty? or set to true? rather than using a bunch of || statements?
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
<Ohga> r3dk1ng: what code do you have right now?
rbennacer has quit [Read error: Connection reset by peer]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_64k has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
<r3Dk1nG> unless node['iptables_enable'].nil? || node['iptables_enable'].empty? || node['iptables_enable'] == "true"
rbennacer has joined #ruby
<jokke> ok i'm having a blackout here. i have two arrays and want to merge them so that the first element comes from the first array, the second from the second array and then the second value from the first array again etc. I always thought #zip would do this but it doesnt/
nszceta has joined #ruby
<bradland> jokke: zip, then flatten
<jokke> ahh
<jokke> sure
<jokke> thanks
<bradland> you bet
<DefV> zip.flatten
<DefV> idd
<bradland> Ohga: if you unroll the contents of the first line in mkmf.log, you can see the checks being performed
<ytti> rbennacer, unless [[], 'true', nil'].include? node['iptables_enable']
pandaant has quit [Remote host closed the connection]
<bradland> i would look at the flags being passed to gcc, then verify that they exist on your system
<r3Dk1nG> ytti: cool
<bradland> the devkit install is probably missing something
<ytti> but your questions makes my spidey senses tingle
<ytti> it seems like the design may not be entirely kosher
<Ohga> r3dk1ng, ytti: one too many quotes, right? should be [[], 'true', nil]
<ytti> yeah
<ytti> typo
<r3Dk1nG> gotch
<r3Dk1nG> thans
juanpablo__ has joined #ruby
<r3Dk1nG> thanks
martinbmadsen has joined #ruby
<bradland> Ohga: here's that first line unrolled: http://pastie.org/10057378
<Ohga> bradland: where is my gcc in the first place...
* Ohga hunts for the gcc
mc0e has quit [Ping timeout: 256 seconds]
<bradland> does windows have which?
<bradland> which gcc
crueber has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
<bradland> man, i don't know how you cope (ruby dev on windows)
cpruitt has joined #ruby
<bradland> i'd run a VM
<Ohga> git bash ftw
<bradland> oy
<bradland> sounds like even more hurt
<bradland> lol
<Ohga> na, it's fine
blackmes1 has joined #ruby
<Ohga> I mean it's not *nix.. but it's ok
<bradland> verify the existence of all the -I switch paths
<Ohga> hm, that I can do without gcc
_64k has joined #ruby
<bradland> i don't really have any ill feelings towards windows, but ruby tools just aren't all that well tested on windows
<bradland> so you end up with additional yaks to shave
agarie has quit [Remote host closed the connection]
<bradland> try executing gcc from a command line and see what it says
<Ohga> yeah
<Ohga> it's not in the path, but now I've found where it lives in the devkit
<bradland> the items with -l switches need to be verified as well
<bradland> if any of those are missing, it'll fail
martinbmadsen has quit [Ping timeout: 248 seconds]
nszceta_ has joined #ruby
krisquigley has joined #ruby
<bradland> "checking for main() in -lkernel32"
<bradland> kernel32 lib?
<bradland> seems rather generic for a point of failure
mistermo_ has quit [Remote host closed the connection]
makrusak has joined #ruby
RegulationD has joined #ruby
mistermocha has joined #ruby
<bradland> Ohga: ah ha!
<bradland> So the first thing you need to know is that on Windows -lkernel32 won't be trying to pull in kernel32.dll but rather an import library. With MSVC this is called kernel32.lib, but Mingw calls it libkernel32.a. This should have been installed along with the C compiler.
<bradland> this smells like an environment issue. libs not on the lib path.
nszceta has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
<Ohga> bradland: well, before even that I looked in d:/Ruby22/include/ and found nothing but a lone FlexLexer.h .. no ruby-2.2.0 directory
agarie has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
<bradland> dun dun daaaaaa
<bradland> the plot thickens
<Ohga> panic, screems and horror
dfinninger has quit [Remote host closed the connection]
elfuego has joined #ruby
jokester has joined #ruby
<Ohga> oh.... now I remember... the latest devkit is for ruby 2.0/2.1 .. I downloaded it and hoped I'd be fine..
<Ohga> well, here's the answer.. I'm not fine
<bradland> ugh
<bradland> that sucks
blackmes1 has quit [Ping timeout: 250 seconds]
milesmatthias has joined #ruby
milesmatthias has quit [Remote host closed the connection]
livingstn has quit []
livingstn has joined #ruby
milesmatthias has joined #ruby
<Ohga> so..... rip out R2.2, throw in 2.1, be happy?
xymbol has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quimrstorres has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
Spami has quit [Quit: Leaving]
quimrstorres has joined #ruby
bronson has joined #ruby
jokester has quit [Client Quit]
Pharaoh2 has quit [Client Quit]
ndrei has joined #ruby
Pharaoh2 has joined #ruby
vim_shimm has quit [Ping timeout: 252 seconds]
msgodf has quit [Ping timeout: 264 seconds]
Pharaoh2 has quit [Max SendQ exceeded]
<jhass> note that include is for header files, -l links stuff, those are rather unrelated
Pharaoh2 has joined #ruby
vtunka has joined #ruby
n80 has quit [Quit: n80]
milesmatthias has quit [Ping timeout: 252 seconds]
milesmat_ has joined #ruby
Spami has joined #ruby
<kaleido> in my mind ruby is a lot like golf. a lot of fun and i try to do it as much as i can, but in the end i usually end up pissed off and drunk.
zorak8 has quit [Ping timeout: 248 seconds]
Channel6 has joined #ruby
ta has quit [Remote host closed the connection]
nszceta_ has quit [Quit: Textual IRC Client: www.textualapp.com]
fryguy9 has joined #ruby
Soda has joined #ruby
banister has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
jokester has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
<jhass> what does "try do it as much as i can" mean? maybe that's the issue, trying to use all of Rubys liberty all the time ;P
juanpablo__ has quit [Ping timeout: 265 seconds]
ghostpl_ has joined #ruby
Akagi201_ has quit [Remote host closed the connection]
<certainty> maybe he meant he tries to use ruby as much/often as he can
Akagi201 has joined #ruby
Akagi201 has quit [Remote host closed the connection]
GPH|work has joined #ruby
<Ohga> jhass: sure, I know.. I did c++ once upon a time (or so it feels these days)
brb3 has quit [Quit: ZZZzzz…]
brb3 has joined #ruby
brb3 has quit [Client Quit]
Akagi201 has joined #ruby
<sandelius> is it possible to use rspec-rails in a sinatra/activerecord application?
<jhass> just saying because you were looking through some include/ while having it failing on -lkernel32, I remain silent about your issue now, no idea about windows setups :P
<jhass> sandelius: what feature of rspec-rails do you need?
mistermocha has quit [Ping timeout: 245 seconds]
<Ohga> jhass: ok, sure.. but I only have like three gems globaly installed, it'll be easy to just test if it works with ruby 2.1
juanpablo__ has joined #ruby
hamilcart has joined #ruby
<sandelius> jhass Transactional fixtures. I'm using database_cleaner now and it's soo slow. I ported a small rails app to sinatra and the testing time is way better with the rails app. (no spring used)
airdisa has quit [Remote host closed the connection]
GPH|work has quit [Client Quit]
jonr22 has quit [Ping timeout: 265 seconds]
airdisa has joined #ruby
sanguisdex has quit [Quit: Leaving.]
<jhass> sandelius: https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/fixture_support.rb seems easy enough to set up yourself
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paradoja has quit [Remote host closed the connection]
juanca_ has quit [Remote host closed the connection]
Hounddog has quit [Read error: Connection reset by peer]
last_staff has quit [Quit: last_staff]
juanca_ has joined #ruby
juanca_ has quit [Read error: Connection reset by peer]
juanca_ has joined #ruby
JDiPierro has quit [Read error: Connection reset by peer]
speakingcode has quit [Ping timeout: 255 seconds]
<jhass> and there hits the DDoS again, sigh
ghostpl_ has quit [Ping timeout: 245 seconds]
airdisa has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
jespada has quit [Ping timeout: 246 seconds]
djellemah_ has joined #ruby
<agarie> damnit
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
balazs has joined #ruby
xymbol has quit [Quit: Be back later ...]
makrusak has quit [Ping timeout: 252 seconds]
Channel6 has quit [Remote host closed the connection]
tubuliferous has joined #ruby
Takle has joined #ruby
djellemah has quit [Ping timeout: 252 seconds]
mdarby has joined #ruby
riotjones has quit [Remote host closed the connection]
dfinninger has joined #ruby
fawkes1 has joined #ruby
fawkes1 has quit [Max SendQ exceeded]
quimrstorres has quit [Read error: Connection reset by peer]
fawkes1 has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
fawkes1 has quit [Max SendQ exceeded]
quimrstorres has joined #ruby
tubuliferous has quit [Ping timeout: 248 seconds]
hpoydar has joined #ruby
siwica` has joined #ruby
bim has joined #ruby
thinkswan has quit [Remote host closed the connection]
<arietis> what's the easiest way to remove the attribute from each object in array?
triple_b_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermocha has joined #ruby
meatherly has joined #ruby
<arietis> it's not object actually but hash
siwica has quit [Ping timeout: 272 seconds]
Mives has joined #ruby
triple_b has joined #ruby
jespada has joined #ruby
<arietis> and i want to remove key for each hash in array
cassianoleal has quit [Quit: (null)]
<meatherly> So i've been listening to the changelog "10 years of rails with DHH" he said he made first release during 2004. I was wondering, was Rack around during this time?
cassianoleal has joined #ruby
<meatherly> basically. how old is rack? lol
<arietis> looks like .except() is the thing i need
<apeiros> meatherly: couple of years. check on rubygems.org
snath has quit [Ping timeout: 272 seconds]
<meatherly> yeah I see Rack 0.2 was released 2007
<meatherly> Rails team didn't make Rack did they? this history is really neat.
<apeiros> no
<apeiros> rails was done by chris2
<apeiros> and because it served its purpose very well, it got adopted by all major webframeworks
mdarby has quit [Quit: Textual IRC Client: www.textualapp.com]
dotix has joined #ruby
thinkswan has joined #ruby
<certainty> rack was, no?
Mon_Ouie has joined #ruby
<apeiros> lelele
edwinvdgraaf has joined #ruby
<apeiros> s/rails/rack/, yes, of course
sanguisdex has joined #ruby
Hirzu_ has quit [Read error: Connection reset by peer]
Hirzu has joined #ruby
<certainty> oh nice, he used darcs before
balazs has joined #ruby
Hirzu has quit [Client Quit]
<apeiros> yes, only one I know who used darcs. actually, maybe manveru did too. no longer sure whether he used darcs or hg
ojargon has joined #ruby
<certainty> interesting
joemeade_ has joined #ruby
<ojargon> hello i am new to ruby and would like to understnad this: in = DB::hello.new host: "domain.com" here host: is an attribute to the initialized contrstructor?
<shevy> ojargon no
<shevy> that is a shortcut for a hash
<certainty> or a kw-arg
<shevy> DB::hello.new({ :host => "domain.com" })
<Ohga> bradland: sadly, ruby2.1 + devkit for 2.1 is also a failure..
<certainty> indistinguishable with that example
<shevy> ojargon that should be the expanded syntax ^^^
dfinninger has quit [Remote host closed the connection]
momomomomo has joined #ruby
<certainty> shevy: we should probably not show hash-rockets to newbies, should we?
<certainty> (unless needed)
momomomomo has quit [Client Quit]
<ojargon> shevy: and then i can do a in.host to refer to it?
<Ohga> ojargon: ruby (from some version) have this syntax shortcut where hash keys that are symbols can be expressed without the arrow and colon on the other side
momomomomo has joined #ruby
<Ohga> (does it have to be all keys? you can mix, can't you?)
<shevy> >> class Foo; def initialize(*args); p args; end; end; Foo.new( host: 'yo there')
<eval-in_> shevy => [{:host=>"yo there"}] ... (https://eval.in/305812)
<shevy> ruby turns host: 'yo there' into {:host=>"yo there"} anyway
hyperdrive has quit [Changing host]
hyperdrive has joined #ruby
<agarie> I thought this syntax was introduced in 2.0+
<shevy> ojargon you want to use .host() method - are you sure it has that method?
snockerton has joined #ruby
hyperdrive is now known as hdrv
<agarie> but then I tested it on 1.9 and it worked wtf
<shevy> ojargon if you have a Hash object, then [] can be used
dfinninger has joined #ruby
<shevy> >> hash = { :cat => 'tom'}; hash[:cat]
<eval-in_> shevy => "tom" (https://eval.in/305813)
<agarie> and you can mix, Ohga
fgo has joined #ruby
nicolastarzia has joined #ruby
Vivex_ has joined #ruby
<agarie> >> {a: 1, :b => 3, "c" => 4}
<eval-in_> agarie => {:a=>1, :b=>3, "c"=>4} (https://eval.in/305814)
<Ohga> agarie: but if you do, you need the curlies?
<ojargon> so in[host]
willharrison has joined #ruby
tlarevo has joined #ruby
snockerton has left #ruby [#ruby]
<shevy> ojargon the reason people use foo: 'bar' is because it is much shorter to type than the long version. If you write this 1000 times, you understand :)
ghostpl_ has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
<shevy> ojargon, not host but :host
dotix has quit [Quit: Leaving]
<shevy> your eyes must be sharp for ruby
bluOxigen has joined #ruby
<shevy> though at first it's indeed confusing to have the : move to the right
<shevy> keep in mind the history of that change - symbols in ruby have the : at the left side
<shevy> >> :world.class
<eval-in_> shevy => Symbol (https://eval.in/305815)
joemeade_ has quit [Read error: No route to host]
ta has joined #ruby
<ojargon> shevy so database = 'site_development' is also considered a kind of hash?
<shevy> that is an assignment
gsd has joined #ruby
<shevy> database is a variable, 'bla' is a string object
<ojargon> :database => 'site_development'
<agarie> :database => 'site_development' would be a hash
rbennacer has quit [Remote host closed the connection]
<shevy> ah so his example was incomplete :D
momomomomo has quit [Ping timeout: 250 seconds]
<shevy> you can use the long form too
<shevy> but
bruno-_ has joined #ruby
<shevy> database: 'site_development'
lordkryss has joined #ruby
<shevy> is so much shorter and simpler!
<shevy> it's one of the few changes I like between 1.8 and 2.x
<shevy> the stabby operator on the other hand is my enemy
<ojargon> shevy: so in = DB::Client.new database, :username => username, :password => password <-- this accepts first argument as a string and the other 2 as a hash right
Vivex has quit [Ping timeout: 272 seconds]
<certainty> shevy: haha, why is that?
siwica` has quit [Remote host closed the connection]
<shevy> ojargon I don't know what is the variable database there, but if it is a string then sure, I guess so. Always look at the API documentation to be 100$ sure, the other 2 are not two different args though, but instead only one argument, a hash
<bradland> the {foo: 'bar'} syntax was introduced in 1.9
siwica` has joined #ruby
<ojargon> shevy: in this database = "blah"
<shevy> erm not 100$ but 100%
<bradland> ojargon: when passing arguments to methods, ruby has uses a modified version of the hash literal syntax
<shevy> yeah ojargon
fgo has quit [Ping timeout: 250 seconds]
<shevy> ojargon if it helps you, it is best to try to understand how the ruby parser looks at code like this
<bradland> this: in = DB::Client.new database, :username => username, :password => password
<shevy> your code:
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> in = DB::Client.new database, :username => username, :password => password
<shevy> will be like this:
<bradland> is the same as in = DB::Client.new(database, {:username => username, :password => password})
<shevy> in = DB::Client.new(database, {:username => username, :password => password})
<shevy> damn
tagrudev has quit [Remote host closed the connection]
<shevy> bradland was faster
<shevy> let's ban him
<bradland> booya!
bruno- has quit [Ping timeout: 250 seconds]
jwingfi has joined #ruby
nettoweb has joined #ruby
<shevy> ojargon I think the reason again is that you can write less code. ruby kind of loves to be flexible, you can use more than one way. in python you must conform more strictly to one way
agrinb has quit [Read error: Connection reset by peer]
<bradland> optional curlies in hash arguments annoy me
<shevy> hehe
The-Compiler has joined #ruby
agrinb has joined #ruby
OtterCoder has joined #ruby
blueOxigen has joined #ruby
<The-Compiler> I'm coming from Python - does Ruby have something akin to virtualenv, where I can install something via gem easily to try it, and then easily get rid of it afterwards?
<ojargon> the { } here are for making these 2 hash look part of 1 {object} ?
<agarie> rvm has the concept of gemsets
AlexRussia has joined #ruby
sandelius has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
<bradland> The-Compiler: https://rvm.io/gemsets
Cadillactica has joined #ruby
<agarie> and for projects, using a Gemfile is generally considered the "right way"
Cadillactica has quit [Client Quit]
sandelius has quit [Max SendQ exceeded]
<bradland> ojargon: not exactly. that's why the optional curlies annoy me.
<apeiros> using a Gemfile == use bundler
<apeiros> (a gem itself)
<bradland> ojargon: the curlies don't change the grouping
<bradland> in your code: in = DB::Client.new database, :username => username, :password => password
<The-Compiler> the project I'm trying to use has a Gemfile, so I'll try bundler I guess
<bradland> :username => username, :password => password is one hash
<bradland> even without the curlies
sandelius has joined #ruby
<bradland> the ruby interpreter keeps slurping name, value pairs as long as the symbols keep coming
iwaffles has joined #ruby
<gregf_> hello. is there a way to capture all of the ajax requests being made when a site is loaded?
<bradland> i'm not sure if this is an actual rule, but i think the hash has to be the last argument
sevvie has quit [Ping timeout: 244 seconds]
<jhass> gregf_: if your browsers dev tools don't provide that, get a better browser. Not a #ruby question anyhow ;)
<gregf_> jhass: i know , i know :)
<ojargon> bradland: :username => username, is one hash and :password => password is another hash?
sandelius has quit [Client Quit]
<agarie> nope, it's the same hash
<bradland> nope, it's one hash
Squarepy has quit [Quit: Leaving]
<bradland> that stackoverflow answer is a good one
<gregf_> jhass: just that i want to automate it. as in get a list of all the requests being made, create a nice hash and make the requests to my dev box
<shevy> ojargon look at the syntax example above by bradland
<shevy> ojargon watch for the {} tokens
sevvie has joined #ruby
<ojargon> where can i read about all these
<shevy> <bradland> is the same as in = DB::Client.new(database, {:username => username, :password => password})
<ojargon> ok
<bradland> this is one of the many "special cases" in ruby
<shevy> you see that it starts before :username, and ends after password
<bradland> even though the key/value pairs are separated by commas, they're treated as one argument (a hash)
<jhass> gregf_: mitmproxy.org might have something
GaryOak_ has joined #ruby
<shevy> if it would be two separate hashes... though I am not sure the following syntax is valid, it would look like so:
<shevy> in = DB::Client.new(database, {:username => username}, {:password => password})
<ojargon> so if i do {:username = .. } {:password = "..."} these are two different hashes
<shevy> you forgot the ,
<shevy> but otherwise yeah
<shevy> in ruby you need good eyesight!
<ojargon> i come from angularjs world
<ojargon> a totally different beast
<shevy> well at least you understand objects already then
airdisa has joined #ruby
<shevy> foo[] or Foo[] in ruby is also a method call
<gregf_> jhass: thanks! reading
<shevy> >> class Foo; def self.[](i); p i; end; end; Foo['yo']
<eval-in_> shevy => "yo" ... (https://eval.in/305818)
benlieb_ has joined #ruby
pauly_oc has joined #ruby
rhllor has joined #ruby
sanguisdex has quit [Ping timeout: 246 seconds]
<GaryOak_> I wish ruby could automatically turn x["something"] into x[:something]
bronson has quit [Remote host closed the connection]
JDiPierro has joined #ruby
bronson has joined #ruby
<agarie> the biggest problem with that, GaryOak_, is that Symbols are not garbage collected
iwaffles has quit [Quit: iwaffles]
<bradland> GaryOak_: there's an ActiveSupport extension for that, but it must be used with caution
<workmad3> GaryOak_: there are many, many implementations of hashes that have that indifferent access
<GaryOak_> yeah I understand why it is
<agarie> there were some talks about GCing symbols, but I didn't follow them lately... not sure if it was implemented
<workmad3> agarie: it was, symbol GC is in 2.2
<agarie> ActiveSupport implements it, I think Hashie does it as well
<GaryOak_> is there a standard for generating hashes?
<agarie> workmad3: didn't know about that, thanks!
<bradland> what do you mean by that?
sevvie has quit [Ping timeout: 252 seconds]
<bradland> many methos implement .to_h which returns a hash
<GaryOak_> like "best-practice" says use symbols vs strings for hashes
<bradland> "generating hashes" is rather generic though
benlieb_ has quit [Client Quit]
<bradland> GaryOak_: symbols save memory because of the way they implemented
sevvie has joined #ruby
<bradland> i think they are faster in lookups too
hornairs has joined #ruby
vtunka has quit [Ping timeout: 264 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderkevin_ has joined #ruby
snath has joined #ruby
<GaryOak_> that makes sense because they are immutable
<shevy> GaryOak_ I think a problem is that this would be doing something automatically
<ojargon> anybody read that book?
<agarie> they do, but in various situations the speed gain is negligible (at least in my experience)
<shevy> and ruby has been sort of reluctant to do automatic conversions
<shevy> I think in perl, you could do string+number
<shevy> in ruby you kind of have to do .to_s or use "#{}"
<bradland> the thing you want to avoid is a scenario where user input can create an arbitrary number of symbols
fibbel has quit [Quit: fibbel]
teddyp1cker has joined #ruby
<bradland> just like agarie mentioned, the performance benefit is small, so you should really only focus on it where it matters
<shevy> ojargon I read the pickaxe years ago, it was fine to read it once. I bought the new one for ruby 1.9 and did not benefit as much as I did from the 1.8 pickaxe
teddyp1cker has quit [Remote host closed the connection]
<ojargon> pickaxe?
<shevy> yeah
<GaryOak_> I guess you can just use to_sym if you want dynamic key searching
<bradland> for example, i do a fair amount of ETL work where I convert data to arrays of hashes
jrichocean has joined #ruby
<shevy> I think you need only one book, otherwise you already know too much :D
coderkevin_ is now known as coderkevin
<bradland> depending on the number of rows, the difference between string keys or symbol keys can make a difference
<shevy> ojargon, that was the old pickaxe https://pragprog.com/book/ruby/programming-ruby
<shevy> it has another name now I think
<GaryOak_> alright, so in general if given the option, just use symbols
<bradland> uuuuh
<bradland> no
<bradland> lol
<shevy> this was the ancient version online http://ruby-doc.com/docs/ProgrammingRuby/
<GaryOak_> gawd
teddyp1cker has joined #ruby
<bradland> quote from earlier: the thing you want to avoid is a scenario where user input can create an arbitrary number of symbols
Mives has quit [Ping timeout: 272 seconds]
<shevy> ojargon though if you don't want to buy it, you could always read through that old version too, just keep in mind that it is semi-outdated now
<bradland> so, use symbols when appropriate
<GaryOak_> ok haha
blueOxigen has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
<bradland> so for example, creating symbols from HTTP request parameters can hurt you if you don't mitigate symbol allocation
jlast has joined #ruby
AlexRussia has quit [Ping timeout: 255 seconds]
rippa has joined #ruby
n008f4g_ has quit [Ping timeout: 246 seconds]
<bradland> mitigate isn't the right word in that sentence. sorry. mitigate the _risk_ associated with giving users the ability to allocate symbols
<GaryOak_> alright
varunwachaspati has quit [Quit: Leaving]
<bradland> rails had a pretty famous memory related DoS vuln because of that
<bradland> after the fact, everyone stood around and talked about how obviously obvious it was
<GaryOak_> was that the mass assignment bug?
<bradland> good times
Violentr has joined #ruby
<bradland> no, that was different, i think
<bradland> this was a DoS bug only
ismaelga has joined #ruby
agarie has quit [Remote host closed the connection]
marr has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
jimms has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
Akagi201_ has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
hanmac1 has quit [Quit: Leaving.]
ta has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
tobago has quit [Remote host closed the connection]
bronson has joined #ruby
Cust0sL1men has quit [Ping timeout: 264 seconds]
Darryl___ has quit [Quit: Connection closed for inactivity]
<ojargon> data = { :value => Value.next } <--- data is an object and value is a hash as a parameter to that object?
<ojargon> property*
<bradland> in that case, data is a hash
<bradland> it contains one key, which has the value Value.next
momomomomo has joined #ruby
<bradland> hashes are objects, so technically what you said is true
xymbol has joined #ruby
<bradland> but it's like saying a human is a mammal
<bradland> true, but not as specific as it can be
<bradland> ojargon: have you used Ruby's REPL yet?
<ojargon> REPL?
<bradland> read, eval, print, loop
<bradland> it's called irb
<bradland> well, irb is the default one
<bradland> it's included with your ruby install
<ojargon> nop
<bradland> at a command line, type irb
<bradland> then type in some ruby code
<bradland> data = { :value => "some value" }
<bradland> then do data.class
<bradland> that will tell you the class of the data variable
anarang has joined #ruby
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
kblake has joined #ruby
dstarh has joined #ruby
<bradland> i strongly recommend an alternative repl called pry though
<bradland> pry has some incredible features that are great for people learning ruby
livathinos has quit [Remote host closed the connection]
<bradland> for example, you can type ls at a pry prompt, and it will list out all the local variables and methods available for the current scope
riotjones has joined #ruby
<bradland> you can "cd" in to objects and use ls to inspect them
<bradland> very, very handy
<dstarh> Given todays date and knowing previous or next anyone have thoughts on how to get the "next" tuesday or "last" tuesday?
xymbol has quit [Ping timeout: 265 seconds]
Violentr has quit [Ping timeout: 265 seconds]
<bradland> it also has a feature that you can use to interrupt execution of a script and get a pry prompt, from which you can inspect the value of variables and such
xcombelle has quit [Ping timeout: 246 seconds]
<bradland> dstarh: if you have ActiveSupport, this is already implemented
<bradland> Time#next_week takes an argument that can specify the day of the week you want
Takle has joined #ruby
<dstarh> bradland ha thats awesome
<bradland> you could always dig in to their implementation in order to extract it to your own method, but ActiveSupport has a tendency to rely on other ActiveSupport methods
bricker has joined #ruby
<bradland> if you decide to use ActiveSupport, be sure to look at the options for requiring it
<bradland> it's a huge lib that will massively increase your startup times if you just require the whole thing
<dstarh> It's a rails project so thats ok
<bradland> ok, cool. you've got it all then! :)
bronson has quit [Remote host closed the connection]
govg has quit [Quit: leaving]
Lewix has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 248 seconds]
Rapier- has joined #ruby
spider-mario has joined #ruby
j_mcnally has joined #ruby
xymbol has joined #ruby
Lewix has joined #ruby
banister has joined #ruby
<The-Compiler> apeiros: thanks, bundle did the job :)
DaniG2k has joined #ruby
bal has quit [Quit: bal]
red_horned_rihno has joined #ruby
AlexRussia has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
quimrstorres has quit [Remote host closed the connection]
mbeasley_ has quit [Quit: WeeChat 1.0.1]
Lewix has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
arietis1 has joined #ruby
icebourg has joined #ruby
mbeasley_ has joined #ruby
arietis has quit [Ping timeout: 264 seconds]
cjim__ has joined #ruby
quimrstorres has joined #ruby
Macaveli has quit [Ping timeout: 256 seconds]
red_horned_rihno has quit [Quit: Leaving]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
blackmes1 has joined #ruby
dfinninger has quit []
dfinninger has joined #ruby
<theRoUS> with the introduction of the "foo: value" hash syntax, is there also a plan to ever deprecate the ":foo => value" syntax ?
<apeiros> theRoUS: no
<apeiros> `foo: val` only works with symbol keys
<theRoUS> apeiros: 's what i thought/hoped. thanks!
sivsushruth has quit [Ping timeout: 255 seconds]
<apeiros> it wouldn't make sense to retire the only syntax which works for any kind of object as key
sargas has joined #ruby
sivsushruth has joined #ruby
arietis1 has quit [Quit: Leaving.]
fgo has joined #ruby
tlarevo has quit [Client Quit]
rbennacer has quit [Remote host closed the connection]
<aewffwea> who controls/designs the ruby language?
<wasamasa> nobody these days
<wasamasa> its design is finished!
<apeiros> aewffwea: the ruby core group
ponga has joined #ruby
The-Compiler has left #ruby ["WeeChat 1.2-dev"]
psy_ has joined #ruby
sigurding has quit [Quit: sigurding]
<workmad3> wasamasa: indeed, ruby is now perfect*
psy_ has quit [Max SendQ exceeded]
JDiPierro has quit [Remote host closed the connection]
<workmad3> * perfect in this case means 'better than PHP' which does, unfortunately, lead to a lot of 'perfect' languages... but ah well
<theRoUS> if you put enough pressure on a ruby, does it become a diamond?
marr has joined #ruby
terlar has quit [Ping timeout: 244 seconds]
psy_ has joined #ruby
fgo has quit [Ping timeout: 248 seconds]
Pupeno has quit [Quit: Leaving...]
jimms has joined #ruby
<GaryOak_> it becomes a crystal ;)
<Ohga> bradland: upon resuming the efforts to fix the compile, the very first of the -l's, the msvcrt-ruby220 one, is nowhere to be found
<pagios> i am trying to use the ruby binding gettng this error `block in post': 404 page not found (InfluxDB::Error) here is the code http://pastebin.com/Z9PkqfRP
<helpa> Hi pagios. 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!
sepp2k has joined #ruby
pietr0 has joined #ruby
milesmat_ has quit [Remote host closed the connection]
nicolastarzia has quit [Remote host closed the connection]
<Ohga> bradland: oh.. there is however a libmsvcrt-ruby220.dll.a in Ruby22/lib
sevvie has quit [Ping timeout: 272 seconds]
milesmatthias has joined #ruby
<Ohga> so.. does the name get converted or is this a win/nix culpit?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Crazy_Atheist has joined #ruby
sevvie has joined #ruby
sepp2k has quit [Client Quit]
deol has joined #ruby
govg has joined #ruby
manzo has quit [Ping timeout: 250 seconds]
jonr22 has joined #ruby
<bradland> Ohga: hrm, i think the argument passed to -l is the lib's symbol name
vim_shimm has joined #ruby
<bradland> i don't know how that matches up to filenames though
<bradland> i'm not sure if the linker loads everything on the lib path, then searches by symbol, or if it has to match filename
thinkswan has quit [Remote host closed the connection]
milesmatthias has quit [Ping timeout: 252 seconds]
naftilos76 has joined #ruby
<bradland> pagios: ditched RRD?
thinkswan has joined #ruby
<pagios> yes bradland big time
<bradland> influxdb looks like a good fit
joonty has quit [Quit: joonty]
<bradland> what happened? couldn't get the rrd-ffi gem working?
<bradland> or didn't like the RRD data model?
<pagios> stone age
adriancb has quit [Remote host closed the connection]
joonty has joined #ruby
<pagios> community is dead
sargas has quit [Quit: Leaving]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agarie has joined #ruby
arietis has joined #ruby
<bradland> pagios: can you post the full error and stack trace?
<pagios> sure
<bradland> also, please use pastie
RegulationD has quit []
<bradland> the moving ads on pastebin drive me nuts
jonr22 has quit [Ping timeout: 265 seconds]
vim_shimm has quit [Ping timeout: 264 seconds]
<Senjai> pastie or gist
<Senjai> preferably gist
<Senjai> because gist
<Senjai> and git
<Senjai> and gist
govg has quit [Ping timeout: 265 seconds]
<bradland> gists can contain multiple files, can be forked, and commented on, which is really handy
<Senjai> Going to say that it cannot connect to your database
<Senjai> bradland: And they have ... REVISIONS
<Senjai> zonm;odfgndskjgbnskdag
fawkes1 has joined #ruby
jimms has quit [Remote host closed the connection]
<Senjai> Also, good morning all
fawkes1 has quit [Max SendQ exceeded]
paulcsmith has quit [Quit: Be back later ...]
cjim__ has quit [Quit: (null)]
<havenwood> Coffeetime!
<jhass> good gist! I mean morning!
thinkswan has quit [Ping timeout: 264 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermo_ has joined #ruby
paulcsmith_ has joined #ruby
pushpak has joined #ruby
cando has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
cjim__ has joined #ruby
<havenwood> pagios: How are you hitting the API? Ruby, curl, browser?
jrichocean has quit [Ping timeout: 246 seconds]
<pagios> havenwood: ruby binding
fawkes1 has joined #ruby
fawkes1 has quit [Max SendQ exceeded]
overcrush has joined #ruby
ismaelga has quit []
anarang has quit [Quit: Leaving]
<cando> What is the current stat of threads? I Can't find anything current discussing if threads in MRI Ruby 2.2 now take advantage of multiple cores like jruby does.
<a5i> How can I run 2 ruby programs at the same time?
triple_b has joined #ruby
<greedo> open 2 terminals
<greedo> ?
<havenwood> pagios: That's ^ returning the 404? I was suspecting you were requesting the wrong content-type when JSON was expected, so nvm.
tubuliferous has joined #ruby
<Senjai> jhass: They're really one in the same
<havenwood> cando: Here's a good little series of articles on the GVL: http://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil
triple_b has quit [Client Quit]
<Senjai> cando: They never will
<Senjai> cando: Because of the GIL, and they don't need to
<a5i> hmm
<Senjai> a5i: Start the program twice
triple_b has joined #ruby
<Senjai> cando: If you need threading, you can use JRuby or Rubinius(pref), odds are you dont and you can just use a process model
<jhass> a5i: how can't you is the harder question I think
<Senjai> or the green threading should be fine
momomomomo has quit [Quit: momomomomo]
<Senjai> jhass: <3
pauly_oc has quit [Ping timeout: 252 seconds]
<a5i> I have an IRC bot, I tried using thread.new {} so it can connect twice
<a5i> so I would have 2 irc bots
<Senjai> a5i: Use a process model insetead
<Senjai> a5i: As a user of an irc bot, I would want one bot per server
<pagios> havenwood: is this kind of corrrect? tempValue = { :value => rand(0..100) }
<Senjai> You can use threads to manage incoming messages and such, and green threads are fine for that
<Senjai> a5i: https://github.com/celluloid/celluloid might also be useful, It's fantastic
_hollywood has joined #ruby
<jhass> a5i: but just run it twice really
<jhass> ruby bot.rb config/freenode.yml; ruby bot.rb config/oftc.yml
tubuliferous has quit [Ping timeout: 272 seconds]
<Senjai> ^
<havenwood> pagios: I'd use snake_case and a 1.9-style Symbol key: temp_value = { value: rand(0..100) }
<Senjai> but who coes to oftc, really
<Senjai> goes*
<a5i> its just a single file
<pagios> havenwood: i am using 2.2
<Senjai> jhass: a5i Can also use the daemons gem https://github.com/ghazel/daemons
<jhass> meh
<Senjai> err
<Senjai> I've read it
<Senjai> :P
<Senjai> But I'm not about to teach someone systemd who doesnt know you can run things twice yet xD
hpoydar has quit [Remote host closed the connection]
<a5i> Really, I want to see if I can run 10 bots on the same irc server and channel, in the same script
siwica` has quit [Ping timeout: 272 seconds]
<jhass> with systemd you can even use the same unit file!
<Senjai> a5i: Are you a spammer or something?
<jhass> same script is no issue
<cando> Senjai: Partly I need simple threading where a thread sends a html request and waits for the response, allowing other threads to run while it waits. But also need to take advantage of other cores for cpu usage.
krisquigley has quit [Remote host closed the connection]
<jhass> same process might, depending on your code
<Senjai> cando: You can use the actor model for that
<a5i> I was hoping you wouldnt say that, but no im not :(
<Senjai> cando: With celluloid. Or you can use a per process approach, like how unicorn works
<havenwood> pagios: But no, I don't see anything wrong with your Hash. It's just a Hash.
krisquigley has joined #ruby
<pagios> any idea bout my error? i am reading the spec page now
cjim__ has quit [Quit: (null)]
krz has quit [Quit: WeeChat 1.0.1]
mesamoo has quit [Quit: Konversation terminated!]
Xeago has joined #ruby
bronson has joined #ruby
mary5030 has joined #ruby
arietis has quit [Read error: Connection reset by peer]
arietis has joined #ruby
<cando> Senjai: what do you mean per process like unicorn? Is that using forking?
<havenwood> pagios: With a Gist you can "Add file" so the code and error are on the same page. If the file is code name it with the right extension. You'll have a lot easier time getting people to review your code that way.
Xeago has quit [Remote host closed the connection]
<cando> The actors model seems to be fine for the wait for response part, its the cpu utilization that I'm not sure of.
martinbmadsen has joined #ruby
<Senjai> cando: Yeah, for unicorn, there is a master process, and 4 - 8 sub processes, per server, usually.
<havenwood> pagios: You didn't name it with .rb extension or add the error.
krisquigley has quit [Ping timeout: 246 seconds]
<Senjai> cando: If you need it to be extremely performant, rubys not the best choice
<havenwood> pagios: Indentation is important for reading code. Use two-space soft tabs consistently.
momomomomo has joined #ruby
Crisix has joined #ruby
<Senjai> cando: You can use all cores with 8 processes, assuming you have 4 logical, and 4 virtual cores
cjim__ has joined #ruby
<Senjai> cando: But you may want to consier Erlang, or another implimentation if you're worried about performance
<workmad3> cando: additionally, while ruby uses native threads and multiple cores for the threads nowadays, MRI still has a GIL, which means only one thread will be active at a time... you'd need to use jruby or rubinius if you wanted a threaded ruby that didn't have that restriction
<havenwood> pagios: Do the Usage examples verbatim give you the same error I wonder?
<spider-mario> Erlang is not really “fast”
<spider-mario> it’s reliable even under load,
<havenwood> pagios: Yay, syntax highlighting! Now just click "Add file" and add the error. Also that's not two-space indent, that's one space. :P
<spider-mario> but it doesn’t have really good “raw speed”
j_mcnally has joined #ruby
<spider-mario> of course, whether it matters is another question
RegulationD has joined #ruby
<shevy> super-mario!
<a5i> jhass, like cmd="..some command..."; for i in $(seq 5); do $cmd; sleep 1; done ?
graft has joined #ruby
<cando> Senjai: Erlang is a pain to program in compared to ruby. :P Been working with it quite a bit in another project.
<Senjai> cando: Write a c extension then
<havenwood> pagios: I've not used this gem. Taking a look.
<Senjai> cando: Ruby is just not the best language for every problem, we have to deal with that
<spider-mario> cando: what about Elixir ?
<jhass> a5i: whatever suites your needs
zzing has joined #ruby
mistermocha has joined #ruby
<a5i> nothing does atm
zzing has quit [Client Quit]
<spider-mario> it’s slightly more Rubyesque than Erlang while targetting the same VM
<a5i> My script is like a sinatra web server
<Ohga> bradland: Have I understood this correct, in ex
codecop has quit [Remote host closed the connection]
<Ohga> ops..
<cando> Senjai: So basically to spread an app to use other cores simultaneous using MIR, I need to use fork or just run my app multiple times. What is unicorn?
<pagios> same error for the verbatim https://gist.github.com/anonymous/5b3d655eed5c886b00a1
<a5i> you can't do anyhing unless you have a new terminal or exit the program
aimada has joined #ruby
Ilyas has joined #ruby
<a5i> cando: Unicorn is a Ruby web server
<Ohga> in extconf.rb it tries to verify kernel32 exists by trying to compile something that includes the kernel32 lib?
<havenwood> pagios: Well, if the example code causes the error it's not your code's fault at least!
codecop has joined #ruby
<workmad3> Ohga: yeah, that's pretty much how all existance checks work
<Senjai> cando: Unicorn is a web server for ruby. Like webrick.
<Senjai> cando: You would need multiple processes yes
<havenwood> pagios: Maybe start an Issue ticket on the Githubs, if there isn't one for this already. I don't know.
<Senjai> cando: Which is fine, in a lot of respects they're better than threads
<Senjai> but it really depends on the usecase
hamilcart has quit [Remote host closed the connection]
<Ohga> bradland, workmad3: so.... why then isn't there a -lkernel32 parameter to the gcc call? (http://pastie.org/10057378)
GnuYawk has joined #ruby
psy_ has quit [Ping timeout: 264 seconds]
<hectortrope> hi
mistermo_ has quit [Ping timeout: 252 seconds]
imanzarrabian has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> pagios: Looking at this code, the only issue I see with your code is that `:host` seems to expect an Array or Strings and you set it to just a String: https://github.com/influxdb/influxdb-ruby/blob/master/lib/influxdb/client.rb#L47
<workmad3> Ohga: no idea, I've never tried to use ruby on windows... at a guess though, it'll be because it's checking in alternative places where kernel32 is sometimes found... again, that's how the configure toolchain figures out where libraries are
<hectortrope> best ruby book
Takle has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<pagios> havenwood: 4 influxdb = InfluxDB::Client.new database, :host => ["localhost"] , :port => "8086"
rbennacer has joined #ruby
mary5030 has quit [Remote host closed the connection]
<Ohga> hm.. would be good to see a list of *all* directories searched... can I get that info from gcc somehow?
<a5i> Sanjo, how do I set-up a process model ?
<havenwood> pagios: Yeah, `["localhost"]` and `"8086"` are the defaults.
<workmad3> Ohga: you should be able to get that from the configure log that extconf has left around somewhere (sorry, I don't know exactly where it'll be)
Ilyas has quit [Quit: Leaving]
<pagios> seems like a bug havenwood ?
<pagios> :(
rhllor has quit [Quit: rhllor]
wallerdev has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
<havenwood> pagios: See if this has already been reported. If it hasn't been, report it!
jimms has joined #ruby
Sirupsen has joined #ruby
heftig has quit [Remote host closed the connection]
tus has joined #ruby
sigurding has joined #ruby
paulcsmith_ has quit [Quit: Be back later ...]
mikecmpbll has quit [Ping timeout: 244 seconds]
DerisiveLogic has joined #ruby
heftig has joined #ruby
einarj has quit [Remote host closed the connection]
paulcsmith_ has joined #ruby
paulcsmith_ has quit [Client Quit]
paulcsmith has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
aimada has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SouL has joined #ruby
<jhass> workmad3: oh, we should totally add that to the site
sevvie has joined #ruby
allenn has quit [Remote host closed the connection]
<workmad3> jhass: :D
quimrstorres has quit [Remote host closed the connection]
graft has quit [Ping timeout: 246 seconds]
swgillespie has joined #ruby
JDiPierro has joined #ruby
lemur has joined #ruby
Takle has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
roolo has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
_64k has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
<jokke> hey
timonv has quit [Ping timeout: 264 seconds]
<jokke> i'm getting a load error for capistrano/rbenv
cjim__ has quit [Quit: (null)]
aimada has joined #ruby
edwinvdg_ has joined #ruby
Morkel has quit [Quit: Morkel]
<jhass> great!
<cando> Senjai: So does forking allow it to use cores in parallel or is it necessary to start completely separate ruby app.
<jhass> cando: you can use it for both
delianides has joined #ruby
<jhass> it creates a new process that inherits the memory of the current one, so to say, you can keep that and continue working with it or use exec to replace it with a new one
<jhass> later approach is neatly packaged up in Kernel#spawn
<Ohga> bradland, workmad3: ok, so there is a libkernel32.a in one of the standard library paths...
cjim__ has joined #ruby
<workmad3> jhass: btw, there's also a book for your new language love ;) http://www.amazon.co.uk/Pokemon-Crystal-Official-Strategy-Primas/dp/0761536663
<jhass> see, it's popular already
<jokke> and i'm 100% sure capistano-rbenv is in my gemspec
<jokke> if i run bundle it shows using capistrano-rbenv
blizzy has joined #ruby
lemur has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 265 seconds]
<jokke> any ideas why i might get this load error
blizzy is now known as _blizzy_
<jhass> you probably don't bundle exec your stuff
tubuliferous has joined #ruby
<havenwood> workmad3: I saw a book on Nim as well: http://www.amazon.com/The-Secret-Nimh-Robert-OBrien/dp/0590417088
<workmad3> :)
edwinvdg_ has quit [Ping timeout: 244 seconds]
codecop has quit [Remote host closed the connection]
<jokke> jhass: i do
<jokke> bundle exec cap production deploy --trace
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
<Senjai> cando: Play around with it. It does allow it to work in parallel, you may want to do your own research on it to determine how appropriate it is
a5i has quit []
<jhass> jokke: try putting require "bundler/setup" above that line
dfinninger has quit [Remote host closed the connection]
<jokke> k
delianides has quit [Ping timeout: 255 seconds]
<jokke> nope
<jokke> no use
vim_shimm has joined #ruby
<jhass> bundle show capistrano-rbenv shows what?
juanca_ has quit [Remote host closed the connection]
juanpablo__ has quit [Quit: (null)]
<jokke> /home/jokke/.gem/ruby/2.2.0/gems/capistrano-rbenv-1.0.3
sigurding has quit [Ping timeout: 250 seconds]
spider-mario has quit [Ping timeout: 256 seconds]
juanpablo__ has joined #ruby
juanca_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> put p $LOAD_PATH above it and show output
teddyp1cker has quit [Ping timeout: 246 seconds]
<jokke> ok
<jhass> between bundler/setup and capistrano/rbenv I mean
<jokke> will do
psy_ has joined #ruby
milesmatthias has joined #ruby
<cando> Senjai: I have been researching, just haven't found stuff that is less than three years old. And nothing that really talks about the use cases of using fork vs thread or a combination.
<jokke> "/home/jokke/.gem/ruby/2.2.0/gems/capistrano-rbenv-1.0.3/lib"
rokob has joined #ruby
<jokke> is there
aimada has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> Ask apache why it's so slow.
nicolastarzia has joined #ruby
<jhass> jokke: 1.0.3 - April 8, 2013 (12.5 KB) 2.0.3 - January 27, 2015 (7 KB)
<jhass> might be worth a shot
<cando> So I use threading and watch cpu usage. When a cpu starts to get high, fork. (over simplified)
sivsushruth has quit [Ping timeout: 265 seconds]
sivsushruth has joined #ruby
Akuma has joined #ruby
DaniG2k has quit [Ping timeout: 244 seconds]
<jokke> oh
rokob has quit [Remote host closed the connection]
<jokke> wrong version
rokob has joined #ruby
<jhass> jokke: yap, looking into 1.0.3 it doesn't have that file
milesmat_ has joined #ruby
rkgudboy has joined #ruby
<jokke> thanks jhass
<Senjai> cando: Too complex, just use one or the other
hpoydar has joined #ruby
rkgudboy has quit [Max SendQ exceeded]
juanca_ has quit [Ping timeout: 256 seconds]
sigurding has joined #ruby
<workmad3> cando: if it's for a ruby rack-based webapp, you could take a look at puma for that too
juanpablo__ has quit [Ping timeout: 256 seconds]
<Papierkorb> cando: Think about processes/threads. Both are the same in the end, thus, forking or threading does not reduce cpu usage in any way and in run-time terms has no one has benefits over the other
rkgudboy has joined #ruby
<jhass> cando: threading vs forking didn't really change in the last 10 years, the only thing to take care of with older resources is that they're less focused on multi-core architectures
<jhass> heck, I'd go as far and say in the last 15-20 years even
rkgudboy has quit [Max SendQ exceeded]
<Papierkorb> cando: Or, a stupid analogy, you can't download more ram, thus, you can't invent additional cores at runtime either ;)
<shadeslayer> ok I'm having some weird issues here
milesmatthias has quit [Ping timeout: 272 seconds]
<shadeslayer> fail 'Mounting failed!' unless `sudo mount #{rootfs_mnt} #{bootstrap_dir}` is my command
<shadeslayer> however, I get : mount: can't find /dev/loop1 in /etc/fstab
<shadeslayer> otoh if I mount it manually, it works
rkgudboy has joined #ruby
<shadeslayer> just doesn't work from a ruby script for some reason
<jhass> shadeslayer: try bypassing the shell
<shadeslayer> jhass: how?
adriancb has joined #ruby
<jhass> system '/usr/bin/sudo', '/bin/mount', rootfs_mnt, bootstrap_dir
<jhass> I think
<shadeslayer> hm
<shadeslayer> specify full paths?
<jhass> might need to be an array, check docs
milesmat_ has quit [Ping timeout: 248 seconds]
DaniG2k has joined #ruby
<jhass> that on its own won't guarantee you to bypass the shell
naftilos76 has quit [Remote host closed the connection]
<cando> I've moved as much as possible out of the web front end using rabbitmq for anything that does not need to be sent back for a request. I'm currently using passenger for the front end.
DaniG2k has quit [Client Quit]
<eam> you have to write a wrapper like this to guarantee shell bypass: https://gist.github.com/eam/5d3b5e39b303fa9ef3f0
<eam> exec/system have the same weird calling convention
<pagios> i have ruby installed by apt-get and ruby in rvm i want to activate the ruby installed by apt-get how cn i do that? rvm is taking over
<havenwood> pagios: rvm use system
<jhass> eam: I think it's fine if you pass an array and make the first item a full path
<pagios> ?
mattrose has joined #ruby
<eam> jhass: yeah, but only if you have argc > 1
<jhass> eam: doesn't Kernel#exec have basically the same semantics?
<pagios> ok cool
<eam> yes
JimmyNeutron has joined #ruby
<mattrose> is there a good ruby lib or gem for reading and writing ISO disk images?
<pagios> gems are seperate too amazing
doodlehaus has quit [Remote host closed the connection]
<shadeslayer> oddly enough, running it from irb works too
iliketurtles has joined #ruby
<shadeslayer> so I'm just perplexed why this happens
zorak8 has joined #ruby
<jhass> shadeslayer: probably one of them is nil in your real code
rkgudboy has quit [Max SendQ exceeded]
<jhass> which my suggestion properly should choke upon
Lewix has quit [Remote host closed the connection]
<shadeslayer> jhass: https://paste.kde.org/p4rv6yzjg
<shadeslayer> jhass: https://paste.kde.org/pcacigbux
<shadeslayer> line 40 is the culprint
<pagios> havenwood: ERROR: Error installing influxdb: ERROR: Failed to build gem native extension.
<jhass> you didn't follow my suggestion
<shadeslayer> jhass: no, just saying that both mntpt and d exist
<shadeslayer> implementing suggestion now
<shadeslayer> jhass: https://paste.kde.org/pn9bbmrhu
<shadeslayer> still fails
FDj has quit [Remote host closed the connection]
<shadeslayer> otoh
Advocation has quit [Quit: Connection closed for inactivity]
<shadeslayer> new error
<shadeslayer> mount: special device /dev/loop1
<shadeslayer> does not exist
<shadeslayer> hm
Burgestrand has quit [Quit: Burgestrand]
<jhass> might just do a quick exec '/bin/bash' there so you can look around
<pagios> how can i install ruby 2.0 from rvm
iMe has joined #ruby
<shadeslayer> hard coding does work
cjim__ has quit [Quit: (null)]
<shadeslayer> jhass: https://paste.kde.org/pjb3hjtli
<shadeslayer> that does work
<shadeslayer> so it's one of the vars
<shadeslayer> which is odd
<shadeslayer> hm
mbeasley_ has quit [Quit: WeeChat 1.0.1]
<jhass> shadeslayer: use p not puts to inspect them then
mbeasley_ has joined #ruby
<shadeslayer> ah
<shadeslayer> stupid newline
ojargon has quit [Ping timeout: 246 seconds]
<shadeslayer> *facedesk*
<shadeslayer> lets se
<shadeslayer> *see
Zai00 has quit [Quit: Zai00]
iMe has left #ruby [#ruby]
tiago has joined #ruby
cjim__ has joined #ruby
tiago is now known as Guest43859
gsd has joined #ruby
riotjones has joined #ruby
ki0 has quit [Ping timeout: 256 seconds]
airdisa has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
airdisa has joined #ruby
mistergibson has joined #ruby
cjim__ has quit [Quit: (null)]
chthon has quit [Ping timeout: 244 seconds]
riotjones has quit [Ping timeout: 272 seconds]
Akagi201_ has quit [Remote host closed the connection]
Morkel has joined #ruby
jwinder has joined #ruby
Akagi201 has joined #ruby
hpoydar has quit [Remote host closed the connection]
j_mcnally has joined #ruby
j_mcnally has quit [Max SendQ exceeded]
airdisa has quit [Ping timeout: 265 seconds]
mbeasley_ has quit [Quit: WeeChat 1.0.1]
j_mcnally has joined #ruby
tcrypt has joined #ruby
mbeasley_ has joined #ruby
cjim__ has joined #ruby
f3lp has joined #ruby
Akagi201 has quit [Ping timeout: 264 seconds]
Guest43859 has quit [Quit: ZNC - http://znc.in]
jenrzzz has joined #ruby
jimms has quit [Remote host closed the connection]
hpoydar has joined #ruby
_maes_ has joined #ruby
krisquigley has joined #ruby
evilthomas has quit [Quit: leaving]
agarie has quit [Remote host closed the connection]
tris- has quit [Ping timeout: 265 seconds]
arup_r has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
towski_ has joined #ruby
milesmatthias has joined #ruby
tris- has joined #ruby
momomomomo has quit [Quit: momomomomo]
airdisa has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
willharrison has joined #ruby
freerobby has joined #ruby
sandelius has joined #ruby
Pharaoh2 has joined #ruby
cassianoleal has quit [Quit: (null)]
sigurding has quit [Ping timeout: 248 seconds]
agarie has joined #ruby
sigurding has joined #ruby
jefus_ is now known as jefus
icebourg has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
<pagios> i am trying to install ruby2.0.0 using rvm and getting this error: http://pastie.org/10058019
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
<jhass> congrats you crashed gcc
ghr has quit [Ping timeout: 256 seconds]
airdisa has quit [Remote host closed the connection]
<jhass> do you get that repeatedly?
airdisa has joined #ruby
<pagios> it crashed and exited
<agarie> try again
<pagios> rvm install 2.0.0
<pagios> will do
icebourg has joined #ruby
<sandelius> PHP7 looks really promising, even for a Rubyist like me :) Looks like it finally grow up :)
jonr22 has quit [Ping timeout: 246 seconds]
edwinvdgraaf has joined #ruby
<ytti> only thing worth salvaging is the community
airdisa_ has joined #ruby
<bradland> PHP screwed the pooch when they chose "." as their string concatenation operator, thus condemning the language to some ridiculous syntax for object method calls.
sigurding has quit [Quit: sigurding]
splud has joined #ruby
<bradland> please do not misconstrue that as some kind of serious argument against PHP :P
<splud> greetings.
dfinninger has joined #ruby
<bradland> salutations
airdisa__ has joined #ruby
<Papierkorb> I don't get this PHP-is-now-good train. It's like, they had how many years to fix their shit? almost 20? And a ton of other languages have the features already
borodin has joined #ruby
sigurding has joined #ruby
<sandelius> bradland yeah sure PHP has its flaws, just like Ruby but a bit more :), but I'm saying alot has happened over there
<Papierkorb> Greetings from the lexer()[1]
juanpablo__ has joined #ruby
<splud> In refactoring some code, I want to have an array with parameters and functions to invoke when an evaluation is true.
airdisa has quit [Ping timeout: 265 seconds]
centrx has joined #ruby
<splud> However, I’d like to pass runtime parms to the functions, such as a directory name (from a variable)
<arietis> hey guys, i'm using HTTParty and when there is %20 in url param i get invalid URI error
<arietis> any ideas why it uses ' ' instead of %20?
<splud> %20 is a space.
<splud> ordinal encoded
elfuego has quit [Quit: elfuego]
<arietis> <URI::InvalidURIError: bad URI(is not URI?): http://192.168.0.73:8080/actions/Trigger Lock>
workmad3 has quit [Ping timeout: 256 seconds]
airdisa_ has quit [Ping timeout: 256 seconds]
edwinvdgraaf has quit [Read error: No route to host]
RedStripe has joined #ruby
<splud> anyway, I’m iterating through the array, perform operations, and then eval( arr[:handler] )
dfinninger has quit [Ping timeout: 246 seconds]
withnale_ has quit [Ping timeout: 272 seconds]
juanpablo__ has quit [Ping timeout: 252 seconds]
<jhass> splud: that's a bit hard to follow, could you make a gist?
DEA7TH has joined #ruby
<jhass> arietis: got some minimal code to reproduce?
jenrzzz has quit [Ping timeout: 272 seconds]
cando has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0.1/20150305021524]]
tohsig has joined #ruby
postmodern has joined #ruby
<splud> ah, just sorted it out - was interpreting the method as a string, and I needed to then put that INTO a string with the args:
<splud> eval ( '#{zone[:handler]}( "#{zone[:dir]}" )' )
<toertore> splud: there is basically never any reason to use eval
<bradland> oh dear
<shevy> instance_eval !
<shevy> splud you know you can also use .send btw?
doodlehaus has joined #ruby
<splud> not familiar with .send
<arietis> jhass: updated gist so username and password are defined values
<bradland> that eval call you've got going there is super scary
<bradland> where does the zone hash come from?
<shevy> splud essentially that is a general way to call any method on any object
<bradland> if you know the method name and have some arguments, you'll want to use Object#send
<toertore> splud: you should explain (with a gist) exactly what it is you're doing
<shevy> splud here is an inelegant example:
_64k has joined #ruby
<shevy> >> hash = Hash['tom','cat']; hash.send :[], 'tom'
<eval-in_> shevy => "cat" (https://eval.in/305872)
<splud> the method is named as an element in an array. The array does not contain an instantiated object.
<bradland> you'll also want to make sure that the contents of zone[:handler] match what you expect, explicitly
xcombelle has joined #ruby
<borodin> why does this fail with nil.should? doesn't make sense to me https://gist.github.com/chewmanfoo/a7efb4d11eca1c395d8a
Musashi007 has joined #ruby
baweaver has joined #ruby
leafybas_ has joined #ruby
airdisa__ has quit [Remote host closed the connection]
<toertore> borodin: i don't know much about cucumber, but.. because it's nil?
airdisa has joined #ruby
leafybas_ has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<borodin> how is it nil? i.e. why doesn't AwsProx.new() work?
<jhass> arietis: mmh, could you add a backtrace to the gist?
<GaryOak_> borodin: why is the class about the Given empty?
sivsushruth has quit [Ping timeout: 252 seconds]
<GaryOak_> above the Given* in cost_mgmt_steps.rb
<jhass> borodin: the new works, the call you call .should on returns nil
martinbmadsen has quit [Ping timeout: 246 seconds]
<toertore> borodin: it does work
mesamoo has joined #ruby
* splud is presently tinkering with send...
leafybasil has quit [Ping timeout: 256 seconds]
_64k has quit [Ping timeout: 272 seconds]
<toertore> borodin: then you run a method on it which returns nil
sivsushruth has joined #ruby
<arietis> jhass: done
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiago has joined #ruby
RedStripe has quit [Read error: Connection reset by peer]
tiago is now known as Guest61372
<eval-in_> jhass => #<URI::HTTP:0x4216c35c URL:http://192.168.0.73:8080/actions/Trigger%20Lock?_method=execute> (https://eval.in/305883)
airdisa has quit [Ping timeout: 244 seconds]
<jhass> that's what the gem is doing as far as i can tell
waxjar has quit [Ping timeout: 256 seconds]
x77686d has joined #ruby
Megtastique has quit []
havenn has joined #ruby
<eam> bradland: php didn't make a choice to use ".", that's inherited from perl
<jhass> arietis: given you shortened the backtrace with "... enter point..." does your gist actually reproduce for you?
<eam> and -> is a better method call syntax than . anyway :D
dfinninger has joined #ruby
<eam> all these syntaxes inherit from C
* bradland throws off gloves
<shevy> -> is two chars
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<bradland> that's it!
* eam tears off shirt
* shevy tears of everything
* bradland counts to 10
<eam> 10 could be any number if you don't tell us the base
<bradland> boy, those anger management classes sure paid off
<shevy> mandatory for php courses
Megtastique has joined #ruby
x77686d has quit [Client Quit]
<GaryOak_> oh->gosh->so()->many->methods()
ghr has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
<eam> ruby is way too clean a language to use -> for anything
<shevy> well ruby adopted -> too
<eam> ;-)
j_mcnally has joined #ruby
<eam> actually, what I really want is a ;-) operator
<shevy> that would be a line separator or?
<GaryOak_> utf8 based language operators
<shevy> GaryOak_ now that would be funny
<shevy> imagine you'd be no longer restricted by amount of tokens
<eam> what if :) was an alias for rescue nil
<eam> dangerous_thing() :)
<shevy> lol eam
<shevy> smileys annoy me
<eam> please_work :)
<shevy> >> :>
<eval-in_> shevy => :> (https://eval.in/305887)
<shevy> ruby uses smileys
<shevy> >> :>.class
<eval-in_> shevy => Symbol (https://eval.in/305889)
<jhass> eam: make a transpiler :P
<shevy> I think perl damage eam
Crazy_Atheist has quit [Ping timeout: 252 seconds]
<GaryOak_> transmiler
<shevy> when he was younger
<shevy> he has all sorts of crazy ideas nowadays
ta has joined #ruby
<eam> look all I'm saying is let's have a rubocop rule that mandates semicolons after every line
<shevy> no please
Parker0 has quit [Ping timeout: 265 seconds]
<shevy> I hate rubocop already as-is
<shevy> it has the most ridiculous error messages that I have ever seen like
<shevy> "Your code sucks."
<eam> shevy: not using rubocop violates the rubocop rules
<shevy> "Stop writing ruby."
rdark has quit [Quit: leaving]
<GaryOak_> >> :
<shevy> this bot is unicode free
<GaryOak_> NOOOO
<Ohga> hehe
<havenn> GaryOak_: #=> Canine
<GaryOak_> DOG FACE
<shevy> is there a method that eliminates leading or trailing characters?
<eam> ("⚀".."⚅").to_a.sample(3)
<shevy> like: string = 'hello world'; string.drop(2) if string.end_with? 'ld'
<havenn> shevy: when you get rid of all leading and trailing characters you end up with an empty string :P
<shevy> right now I use string[0,2] = ''
<havenn> shevy: #clear
<havenn> shevy: ah
freerobby has quit [Quit: Leaving.]
<shevy> well I find it sort of strange
<shevy> because, in the rest of my code, I tend to use .methods()
ta has quit [Ping timeout: 256 seconds]
Akagi201 has joined #ruby
<shevy> but here, I kind of use [] and also =
ramfjord has joined #ruby
n008f4g_ has joined #ruby
juanpablo__ has joined #ruby
juanca_ has joined #ruby
juanca_ has quit [Read error: Connection reset by peer]
<shevy> in the old days, I did: foo[-1,1] = '' if foo[-1,1] == ';'
<shevy> a while ago, I switched to .start_with? and .end_with?
juanca_ has joined #ruby
<shevy> now I'd love to abandon [] = too here
ghr has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
<Ohga> so.. the extconf.rb wants to check if kernel32 is around.. that check defaults to looking for a main function.. a document I found over kernel32's functions does not list a main function...
blackmes1 has quit [Ping timeout: 246 seconds]
<shevy> welcome to reallife
<jhass> uh, wasn't that something like every library should have? I don't remember
xploshioon has joined #ruby
<jhass> I mean if it checks for that it must have been working sometime for someone (tm)
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Musashi007 has quit [Quit: Musashi007]
bricker has quit [Ping timeout: 248 seconds]
plashchynski has quit [Quit: plashchynski]
<shevy> most software has once been working for someone
xploshioon has quit [Client Quit]
<shevy> didn't COBOL reach to the moon?
Akagi201 has quit [Ping timeout: 252 seconds]
<shevy> or was that Ada
TheNet has joined #ruby
valkyrka has joined #ruby
<TheNet> can I create a module/class that acts as it's own method?
<hanmac> shevy like "abc:".gsub!(/:\Z/,'') ?
Asher has quit [Quit: Leaving.]
<TheNet> so module Example; puts 'hi'; end; Example # => "Hi"
Xiti has quit [Quit: Xiti]
<hanmac> TheNet: define module Kernel; def Example; end; end; and then you can do Example()
<jhass> TheNet: no, but you can create a method with the same name
<jhass> not saying you should
hmsimha has quit [Ping timeout: 252 seconds]
<borodin> toertore - so you can't call should on a PORO?
<jconnolly> shevy: that was fortran i think
<shevy> hanmac I dunno... I don't like that syntax there either. that's longer than the [] = variant too :D
<jhass> borodin: that depends on who added should and how
_64k has joined #ruby
stef204 has joined #ruby
<shevy> TheNet you could if you call it like so: Example[] # => "Hi"
<jhass> borodin: find one where it works and puts .method(:should).source_location
DexterLB has quit [Quit: So long and thanks for all the fish]
<borodin> ok can anyone suggest a source for learning about Ruby code in cucumber step definitions? I'm clueless
<shevy> TheNet but without () or [] ruby would assume that you wish to refer to the constant called Example itself
Xiti has joined #ruby
<Ohga> jhass: hm, you might be right in the existance of a main function... so.. why is it broken
<jhass> borodin: usually you would load your favorite testing framework (rspec in your example apparently) and use it there
senayar has quit [Remote host closed the connection]
<TheNet> thanks
<jhass> Ohga: *shrug*, as said no clue about win environments
DerisiveLogic has quit [Read error: Connection reset by peer]
<Ohga> yeah, said it rethoricaly (note the lack of a question mark)
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DerisiveLogic has joined #ruby
<borodin> wow I'm a noob - so cucumber/gherkin doesn't define should? as in should as an add on method to a PORO? I got some reading to do
momomomomo has joined #ruby
<jhass> borodin: no, all cucumber/gherkin does for you is parsing the files and mapping them to the step definitions and running those
thomas has joined #ruby
thomas is now known as evilthomas
<splud> Thanks for pointer to send() - does what I needed.
sandelius has joined #ruby
iliketur_ has joined #ruby
<jhass> splud: come back next time you feel the urge of using eval ;)
<jhass> we'll find a better way then too
<splud> to be fair, the eval wasn’t evaluating _user_input_. I’m well aware that’s totally evil,
milesmatthias has quit [Remote host closed the connection]
<jhass> btw you might want to switch send with public_send, the later respects visibility rules
hornairs_ has joined #ruby
valkyrka has quit [Ping timeout: 252 seconds]
<splud> tkx
j_mcnally has quit [Ping timeout: 264 seconds]
hornairs_ has quit [Client Quit]
iliketurtles has quit [Ping timeout: 272 seconds]
nfk|laptop has joined #ruby
j_mcnally has joined #ruby
evilthomas has quit [Quit: oops]
thomas has joined #ruby
<arietis> jhass: looks like the problem is in response
<jhass> arietis: oh right, it's going through that, I didn't notice :/
hornairs_ has joined #ruby
<jhass> well, crappy response from some embbeded device/router thingy, who would've expected that :P
Rayford has joined #ruby
<arietis> jhass: it replaces proper URI with one which has spaces instead of %20
<arietis> yep
hornairs_ has quit [Client Quit]
<jhass> and violating HTTP RFC doing so ;)
hornairs has quit [Ping timeout: 272 seconds]
Soda has quit [Remote host closed the connection]
<jhass> so I'd just use net/http directly for this instance, else you would need to monkeypatch httparty or URI
juanca_ has quit [Remote host closed the connection]
chrishough has joined #ruby
Takle has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
dseitz has joined #ruby
<arietis> yeah, need to try generic http lib
badfish129 has joined #ruby
badfish129 has left #ruby [#ruby]
Zai00 has joined #ruby
jenrzzz has joined #ruby
<pipework> I just invent new verbs for http whenever I get bored.
jespada_ has joined #ruby
<pagios> again gcc crashed
plashchynski has joined #ruby
<jhass> try a different gcc version or clang
Cust0sL1men has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
thomas has quit [Changing host]
thomas has joined #ruby
jespada has quit [Ping timeout: 250 seconds]
bronson has quit [Remote host closed the connection]
baweaver has joined #ruby
kwd has quit [Remote host closed the connection]
Cache_Money has joined #ruby
<shevy> if only more of you guys would use ruby-gnome
<jhass> shevy: tried ruby-gir yet?
<shevy> never heard of that
<shevy> what is that?
dorei has joined #ruby
<jhass> gobject introspection
banister is now known as banisterfiend
phutchins has quit [Ping timeout: 245 seconds]
<shevy> hmm
<shevy> I am not sure what I can do with gobject introspection
<shevy> I sort of use ruby-gnome in a simple manner, just using the available widgets to build really simple GUIs
<jhass> gtk3, cairo, libnotify, tons of stuff
TheNet has quit [Remote host closed the connection]
Megtastique has quit []
<shevy> cairo I could use, there were some examples where you could draw lines + arcs and such; gtk3 too, it feels very similar to gtk2 from what I have used so far
<shevy> libnotify I do not know about
baweaver has quit [Remote host closed the connection]
<shevy> but why does it feel as if I am the only one here to use ruby-gnome, this makes me a sad panda
ghr has joined #ruby
TheNet has joined #ruby
Asher has joined #ruby
<TheNet> just figured out how to write a dsl, this is amazing
<jhass> libnotify allows for the fancy kind of notifications, with buttons and such
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Rayford has quit [Quit: Rayford]
wottam has joined #ruby
_64k has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Quit: Lost terminal]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
blackmes1 has joined #ruby
<keyofnight> Hey folks... do you know if I can use rubyzip to check if a file is contained within a zip file?
senayar has joined #ruby
govg has joined #ruby
<keyofnight> like... is there an `exist?()` method?
jenrzzz has joined #ruby
vim_shimm has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
AlexRussia has quit [Ping timeout: 246 seconds]
milesmatthias has joined #ruby
AlexRussia has joined #ruby
aimada has joined #ruby
lanemeyer has quit [Ping timeout: 272 seconds]
<GaryOak_> TheNet: what's your DSL for?
<TheNet> generating a hash
Joufflu has joined #ruby
<GaryOak_> haha
<TheNet> it was just to teach myself :P
airdisa has joined #ruby
<GaryOak_> that's cool
<GaryOak_> what's the syntax like?
jimms has joined #ruby
checkit has joined #ruby
<shevy> TheNet now you must show
morenoh149 has quit [Ping timeout: 255 seconds]
<shevy> I'd wish we could make DSLs that are really not valid ruby
<jhass> you can
c355E3B has joined #ruby
tier has joined #ruby
<shevy> DSL.new { create directory bla }
<jhass> you just need to parse it
cheater has left #ruby [#ruby]
flcn has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
<jhass> and write an interpreter or compiler for it
<ytti> shevy, that is entirely possible
<ytti> it'll be hella ugly
<ytti> but you just roll method_missing
riotjones has joined #ruby
<ytti> then run it via case
<shevy> method_missing kind of scares me
<ytti> for bla you'd return 'bla'
<shevy> I once built up several classes that kept on delegating towards other classes based on method_missing
<ytti> for directory, you'd return somethinkg like :mkdir_p
<shevy> half a year later when I looked at what I did, I no longer had any idea what I was doing
<ytti> then create would call send(:mkdir_p, 'bla')
flcn has joined #ruby
<Ohga> bradland, jhass: in one of the issues they just did a gem build and install from the wdm repo. I tried that and... that works..
Megtastique has joined #ruby
<Ohga> but doing a build also compiles c extensions, right?
checkit has quit [Quit: (null)]
baweaver has joined #ruby
<jhass> Ohga: no, but installing the built .gem does
<Ohga> jhass: well, yes, sorry.. but none the less it is being compiled and it works.... so....
cjim___ has joined #ruby
<jhass> probably just an unreleased fix then
<Ohga> jhass: unreleased? how do you mean?
<arietis> jhass: looks like the problem is in Net::HTTPResponse which translates %20 into actual space cymbol
iMe has joined #ruby
riotjones has quit [Ping timeout: 248 seconds]
<arietis> symbol*
<jhass> arietis: huh, I'd expect httparty to have run into that
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DerisiveLogic has quit [Ping timeout: 264 seconds]
<jhass> Ohga: well, if you build it from the repo it likely has changes that are not in a version that's pushed to rubygems.org
rokob has quit [Remote host closed the connection]
<Ohga> jhass: the "bundle exec rake compile" I tried before were from the exact same local copy of the repo
<jhass> oh, mh
<jhass> then that task is just broken I guess?
cjim__ has quit [Ping timeout: 245 seconds]
jespada__ has joined #ruby
kadoppe has quit [Ping timeout: 256 seconds]
<Ove___> Can I specify that one of the dependencies need to use a specific version of a dependency?
jespada_ has quit [Ping timeout: 252 seconds]
<jhass> yes
<Ove___> How will that look like?
<jhass> how does specifying the dependency look like?
bronson has quit [Remote host closed the connection]
<Ohga> jhass: well, as far as we can tell, I guess that's the problem
iliketur_ has quit [Quit: zzzzz…..]
kadoppe has joined #ruby
<Ohga> I'll hold my breath until I've tried out the gem though
ki0 has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
<Ove___> For instance if dependencya "0.0.1" needs deependencyb "0.0.3" ?
<shevy> Ove___ in your .gemspec file
<Ove___> None of these gems are my own.
<shevy> s.add_dependency 'dep_a', '>= 1.0.9'
<jhass> Ove___: yes you can do that, how it looks exactly depends on what we're actually talking about
snath has quit [Ping timeout: 265 seconds]
<shevy> you can not overrule a dependency that was hardcoded like that in another gem; you can try to ignore dependencies though, I think via --force-install or so
r3Dk1nG has quit [Remote host closed the connection]
<shevy> or you could always open up the .gemspec and change it, then gem build and install that gem. and you can upload it somewhere too, and even register a new project name for it :)
<Ohga> I intend to put this gem file in the dir structure of an app. is there a standard sub dir name that is used?
ki0_ has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
hmsimha has joined #ruby
<jhass> vendor/
<Ohga> the bin dir is for the command line wrapper, right?
<shevy> yea
leafybasil has joined #ruby
PaulCapestany has quit [Quit: .]
<Ohga> ok, is there other things that qualify for being in the vendor dir?
<jhass> it became really uncommon to do that these days though
<jhass> anything 3rdparty really
<Ohga> ok
<Ohga> well, special case for me since this wdm thing isn't maintained but I want to be sure to have a local copy of the fixed gem
jayeshsolanki has quit [Quit: bye!]
PaulCapestany has joined #ruby
<bradland> fork it, add the main repo as upstream, and maintain your own version
<bradland> you can specify your github repo in your Gemfile
<jhass> ^
krisquigley has joined #ruby
frem has joined #ruby
<keyofnight> ugh... my client is acting wonky
<bradland> anything less will be a cobbled together mess that you'll regret later. i speak from experience lol
<bradland> keyofnight: do you have a contract?
PaulCapestany has quit [Max SendQ exceeded]
<bradland> sorry, that sounded passive aggressive
<bradland> i just mean to say that if they're acting wonky, you should look out for yourself
centrx has quit [Quit: Shutting down, Please wait...]
PaulCapestany has joined #ruby
iliketurtles has joined #ruby
_waltertv has joined #ruby
<keyofnight> So, do any of you know if I can use rubyzip to check if a file is contained within a zip file?
<Ohga> bradland: I can specify local paths as well.. but I guess you mean in case something else is broken?
delianides has joined #ruby
<keyofnight> like... is there an `exist?()` method? well.. there isn't... because my script failed there...
delianides has quit [Read error: Connection reset by peer]
<bradland> Ohga: sure, local works fine if the files will always be local (like if you check them in as part of your main repo)
<Ohga> bradland: .. in which case I can escalate to a fork at that point
<bradland> but i try to avoid that
<jhass> bradland: I think they meant IRC client :P
leafybasil has quit [Ping timeout: 256 seconds]
<keyofnight> I want my script to continue without failing even if a certain file is missing, huh... what about contains?()?
rokob has joined #ruby
rokob has quit [Remote host closed the connection]
rokob has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
<Ohga> bradland: it will be in the repo, thus the question about directory naming
<bradland> jhass: .... wowow lol
krisquigley has quit [Ping timeout: 255 seconds]
<jhass> keyofnight: docs don't list much beyond http://www.rubydoc.info/gems/rubyzip/Zip/FileSystem/ZipFsFile#exists%3F-instance_method
zorak8 has quit [Read error: Connection reset by peer]
DexterLB has joined #ruby
<bradland> Ohga: i'm not a fan of vendored deps if i can avoid it. slows down my deploys.
<bradland> but i see your previous remarks now. wasn't following closely enough.
zorak8 has joined #ruby
kirun has joined #ruby
<bradland> if it works for you, it works for you though. don't mean to evangelize my method too much.
<jhass> keyofnight: gotta iterate through the entries yourself I guess
<bradland> nothing wrong with that approach
techsethi has joined #ruby
sgambino has quit [Remote host closed the connection]
<Ohga> bradland: I also like the "standard" way of doing things, but this one have special circumstances..
<keyofnight> jhass: hm. I guesso!
c355E3B has quit [Quit: Leaving]
<keyofnight> No biggie.
Guest52850 has joined #ruby
<jhass> yeah, 2 loc + method boilerplate I guess
AlphaAtom has quit [Ping timeout: 248 seconds]
jespada__ has quit [Quit: WeeChat 1.1.1]
<jhass> https://status.github.com/messages wow, seems to be really big this time
DerisiveLogic has joined #ruby
<bradland> man, i do not envy those guys
jonr22 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
gfawcettpq has quit [Ping timeout: 272 seconds]
iamninja has joined #ruby
milesmatthias has quit [Remote host closed the connection]
<arietis> jhass: is there any doc related to digest auth in net/http ?
GnuYawk has quit [Ping timeout: 264 seconds]
wicope has joined #ruby
<arietis> looks like it's available as 3rd party gem only
bricker has joined #ruby
arup_r has quit [Ping timeout: 256 seconds]
<Ohga> bradland: "=PATH= Unlike :git, bundler does not compile C extensions for gems specified as paths.", doh
jonr22 has quit [Ping timeout: 256 seconds]
<jhass> why not steal the code of the part that was working already ;)
jimms has quit [Remote host closed the connection]
TheNet has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ixti has joined #ruby
<arietis> i just wanna check if the issue is global
hornairs has joined #ruby
rhllor has joined #ruby
baweaver has joined #ruby
<arietis> so if ruby can't handle such case, it's good idea to ask device developers to forbid the use of spaces in URL
<jhass> well, that's always a good idea :P
<jhass> pretty sure Ruby can handle it though and your device is just responding improperly (not encoding the URL in the response)
<jhass> net/http should give you that back in raw
<rhllor> man, I was on this channel 4 hours ago and your still talking about problems with url spaces
_ixti_ has quit [Ping timeout: 256 seconds]
<rhllor> unless this is a seperate conversation
<jhass> rhllor: yeah man, looks like we could use your help there!
<arietis> 2 hours only
<arietis> :)
iliketurtles has quit [Read error: Connection reset by peer]
leafybasil has joined #ruby
<rhllor> no, ithink it was some problem with symbols as urls or something
iliketurtles has joined #ruby
TheNet has joined #ruby
<Ohga> bradland: should this be it? gem 'wdm', github: 'lowjoel/wdm'
<bradland> Ohga: doh!
baweaver has quit [Ping timeout: 246 seconds]
hornairs has quit [Ping timeout: 256 seconds]
<bradland> heh, i didn't even know about that shorthand syntax
<bradland> i'm used to using the full url
yqt has joined #ruby
<jhass> it's 1.5 or 1.6 I think
<bradland> but yeah, i see that on the bundler docs
<bradland> should be valid
<Ohga> bradland: but what about that note? (GITHUB entry @ http://bundler.io/man/gemfile.5.html)
pushpak has quit [Quit: Linkinus - http://linkinus.com]
hornairs has joined #ruby
<bradland> oy, that's not good
<bradland> i've never used the shorthand
scottymeuk has quit [Quit: ZNC - http://znc.in]
<bradland> we always specify the full path, and our policy is to use the https github URL
<Ohga> but.. I don't understand.. the :git one is also a git url.....
TheNet has quit [Ping timeout: 264 seconds]
<Ohga> oh.. unless you use the https url
<Ohga> gotcha
TheNet has joined #ruby
thinkswan has joined #ruby
<Ohga> so the whole line would be gem 'wdm', git: 'https://github.com/lowjoel/wdm.git'
rbennacer has quit [Remote host closed the connection]
<bradland> ype
<bradland> *yep
bronson has joined #ruby
JoshGlzBrk has joined #ruby
<jhass> git_source(:githubs) {|repo| "https://github.com/#{repo}.git" } 8)
<bradland> i would probably create a target branch though
JoshGlzBrk has quit [Remote host closed the connection]
<bradland> as in, i would have a branch in that repo that i target for deploys, so that i could currate what goes in to it
ki0_ has quit [Remote host closed the connection]
leafybasil has quit [Remote host closed the connection]
_64k has joined #ruby
<bradland> if you fetch from upstream, and merge in to master, and something breaks...
JoshGlzBrk has joined #ruby
<bradland> you'll have some work on your hands to go back
<bradland> gem 'wdm', git: 'https://github.com/lowjoel/wdm.git', branch: 'stable'
<bradland> or something
ndrei has joined #ruby
<jhass> bradland: not really, bundler locks the revision
_waltertv has quit [Quit: Leaving...]
<jhass> you just revert the bump
<jhass> not saying having a branch you can curate is not nice though
Rodya_ has joined #ruby
<bradland> i mean moreso in the git repo than in the bundle
rbennacer has joined #ruby
<bradland> the specification in the Gemfile is just to follow the workflow
thinkswan has quit [Ping timeout: 264 seconds]
<bradland> man, i haven't looked at the bundler docs in ages
<bradland> there's some cool stuff in here
Jiyuhen has quit [Ping timeout: 252 seconds]
<bradland> shavin' yaks 'n shavin' yaks 'n shavin' yaks 'n shavin' yaks
Aswebb_ has joined #ruby
Jiyuhen has joined #ruby
roolo has joined #ruby
digitalextremist has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toertore has quit [Ping timeout: 245 seconds]
crdpink2 has joined #ruby
crdpink has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
<arietis> jhass: yeah, it's HTTParty issue
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arietis> generic net/http works fine
jwinder has quit [Ping timeout: 264 seconds]
<jhass> well, I'm still pretty sure it's your devices issue
<jhass> net/http is just more tolerant
<arietis> sure
toertore has joined #ruby
Musashi007 has joined #ruby
<arietis> i just mean that httparty has no excuses :)
sandelius has joined #ruby
hpoydar has quit [Remote host closed the connection]
iml has quit []
plashchynski has quit [Quit: plashchynski]
sandelius has quit [Max SendQ exceeded]
bronson has quit [Remote host closed the connection]
a346 has quit [Remote host closed the connection]
a346 has joined #ruby
Parker0 has joined #ruby
nfk|laptop has quit [Quit: yawn]
dx7 has quit [Ping timeout: 244 seconds]
mitchellhenke has quit [Read error: Connection reset by peer]
<jhass> IMO it has
mitchell_ has joined #ruby
<jhass> RFC clearly says it needs to be an URI and URI RFC clearly disallows spaces afaik
havenn has quit [Remote host closed the connection]
<splud> because a space would delimit the end of the request and the start of the ‘http/1.1” or whatever portion of the request clause.
morenoh149 has joined #ruby
havenwood has joined #ruby
qhartman has quit [Quit: Ex-Chat]
last_staff has joined #ruby
airdisa has quit [Remote host closed the connection]
airdisa has joined #ruby
plashchynski has joined #ruby
jimms has joined #ruby
baweaver has joined #ruby
AlphaTech has joined #ruby
_64k has quit [Ping timeout: 256 seconds]
rubie has joined #ruby
wallerdev has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
bim has quit [Remote host closed the connection]
<rubie> hi all: im having a hard time following the recursive calls in this quicksort implementation. I would expect a return on line 24 but it doesn't come until much later anyone willing to help explain? https://gist.github.com/anonymous/811943e376b3379fafff
airdisa has quit [Ping timeout: 265 seconds]
digitalextremist has joined #ruby
martinbmadsen has joined #ruby
<havenwood> rubie: There were two elements in `arr` so it didn't return. You then #pop'ed one off leaving `[3]`.
<rubie> but then it should all go into quicksort(before) + [middle] + quicksort(after)
<havenwood> rubie: Take a look at `p arr` right before your `return` check.
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ominari has quit [Quit: Be back later ...]
shazaum has quit [Quit: Leaving]
stef204 has joined #ruby
dblessing has quit [Ping timeout: 255 seconds]
Notte has joined #ruby
sigurding has joined #ruby
ki0 has quit [Remote host closed the connection]
zzing has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
hectortrope has joined #ruby
Rapier- has quit [Quit: (null)]
Musashi007 has quit [Quit: Musashi007]
hiyosi has joined #ruby
swgillespie has joined #ruby
ta has joined #ruby
plashchynski has quit [Quit: plashchynski]
atal421 has joined #ruby
lxsameer has quit [Quit: Leaving]
ghr has quit [Ping timeout: 252 seconds]
_64k has joined #ruby
A205B064 has joined #ruby
silkfox has quit [Ping timeout: 250 seconds]
leafybasil has joined #ruby
Rodya_ has quit [Quit: Leaving...]
juanca_ has joined #ruby
reinaldob has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
aclearma_ has quit [Quit: I'm out!]
hectortrope has quit [Quit: WeeChat 0.4.2]
gchristensen has joined #ruby
rokob has quit [Remote host closed the connection]
<shevy> if only we could extend both a class or module
iliketurtles has quit [Quit: zzzzz…..]
<shevy> when we do either use class or module as keyword
Crisix has quit [Quit: Textual IRC Client: www.textualapp.com]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DerisiveLogic has quit [Remote host closed the connection]
juanca_ has quit [Ping timeout: 265 seconds]
rodfersou has quit [Quit: leaving]
iliketurtles has joined #ruby
DerisiveLogic has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
JDiPierro has quit [Remote host closed the connection]
juanca_ has joined #ruby
juanca_ has quit [Read error: Connection reset by peer]
fryguy9 has quit [Quit: Leaving.]
<gchristensen> Hi, I'm running ruby 2.2.1, and running @metrics.slice_before(len: 0) do |element, state| ... end, but get the error: warning: initial_state given for slice_before. (Use local variables.). it isn't clear to me what the resolution is. any suggestion?
baweaver has joined #ruby
juanca_ has joined #ruby
speakingcode has joined #ruby
JoshGlzB_ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> weird message indeed
robertt_dex has quit [Remote host closed the connection]
hornairs has quit [Quit: hornairs]
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 265 seconds]
<shevy> awful documentation too!
JoshGlzBrk has quit [Ping timeout: 245 seconds]
<shevy> hmm
<shevy> f.slice_before(/\A\S/).each { |e| pp e }
<apeiros> gchristensen is cross posting.
<havenwood> gchristensen: Please mention where you're crossposting everywhere you crosspost.
<gchristensen> ah! I'm sorry, it wasn't very polite anyway :(
paulcsmith has quit [Quit: Be back later ...]
ominari has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
<havenwood> (The answer is in #ruby-lang.)
<ytti> the docs have really cute example
<rubie> havenwood: does this look correct? https://gist.github.com/anonymous/ca8dfb3962f89dfd3fee
ki0 has joined #ruby
<jhass> yeah, I answered in #ruby-lang before noticing,
hpoydar has joined #ruby
hpoydar has quit [Remote host closed the connection]
<ytti> turning [0,2,3,4,6,7,9] into "0,2-4,6,7,9" is neat
hpoydar has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arietis has quit [Quit: Leaving.]
Lewix has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has joined #ruby
<gchristensen> perhaps throw that in the topic about cross-posting, if it is a habitual issue -- I did check them :/
agarie has quit []
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jerius has quit [Quit: /quit]
baweaver has joined #ruby
Tuxero has quit [Ping timeout: 255 seconds]
blackmes1 has quit [Read error: Connection reset by peer]
davedev2_ has quit []
Parker0 has quit [Read error: Connection reset by peer]
blackmes1 has joined #ruby
paulcsmith has joined #ruby
morihei has joined #ruby
rhllor has quit [Quit: rhllor]
ki0 has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 264 seconds]
stef204 has joined #ruby
ldnunes has quit [Quit: Leaving]
Sirupsen has quit [Ping timeout: 272 seconds]
mburns has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
<havenwood> gchristensen: It does happen from #ruby-lang or #rubyonrails from time to time.
<shevy> hmmm
<shevy> if i.is_a?(String) and i.include?('%')
<shevy> can be simplified to
<shevy> if i.is_a? String and i.include? '%'
<shevy> right?
<apeiros> I think that'll actually have the right precedence to mean the same, yes.
rokob has joined #ruby
aarkerio has joined #ruby
mburns has joined #ruby
<bricker> shevy: doesn't seem like much of a simplification to me
<shevy> yeah, it's strange. I think I remember that I once had problems with precedences but probably because I was also using something like "and !" or perhaps "or !"
<bricker> complexified
kblake has quit [Read error: Connection reset by peer]
bim has joined #ruby
kblake has joined #ruby
<bricker> just always use parens, why wouldn't you
<bricker> anyways, we're not here to dicuss style preference
<bricker> or ARE we
<bricker> no, we are not
* bricker gets back to work
wicope has quit [Remote host closed the connection]
sankaber has joined #ruby
<shevy> bricker yeah
vim_shimm has joined #ruby
aimada has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> but usually when I do single checks like so:
<shevy> if variable.include? 'foo'
<shevy> I don't use parens
<GaryOak_> parens help the reader
arietis has joined #ruby
<shevy> so it feels a bit strange if I have two queries in a line and use:
<GaryOak_> of understanding your intent
<shevy> if variable.include? 'foo' and !variable > 5
<shevy> if variable.include?('foo') and !(variable > 5)
<shevy> in python I would not have to think
<shevy> :)
<GaryOak_> I can understand the ? methods it looks weird
<shevy> some people also write method definitions like so:
<shevy> def foo? bar, bla, ble
<GaryOak_> but it could be `and variable <= 5` instead
ta has quit [Remote host closed the connection]
bim has quit [Ping timeout: 256 seconds]
<GaryOak_> def huh? puts "shrugs" end
wottam has joined #ruby
relix has joined #ruby
vim_shimm has quit [Ping timeout: 246 seconds]
<GaryOak_> In ruby it's like you have to know the rules before you can break them
renanoronfle has quit [Remote host closed the connection]
<GaryOak_> In python the teacher hits you with a stick until you put : at the end of your if and def
ta has joined #ruby
enebo has quit [Quit: enebo]
<bricker> shevy: !variable>5 is an argument error... parens win again.
Guest52850 is now known as alphaatom
swgillespie has joined #ruby
pwattste has joined #ruby
JoshGlzBrk has joined #ruby
Megtastique has quit []
triple_b has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nicolastarzia has quit [Remote host closed the connection]
<bricker> shevy: also, using "and" in a compound conditional like that isn't good. What you're saying it, "if ( !(variable > 5) if variable.include?('foo') )". Maybe that happens to evaluate correctly but you can see how it can quickly become problematic.
davedev24_ has joined #ruby
Nahra has joined #ruby
JoshGlzB_ has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics_away
<bricker> "and" means "and then", && means "also". You should be using "also" in a conditional, "and then" doesn't make sense in that context.
bronson has joined #ruby
doodlehaus has quit [Remote host closed the connection]
tohsig has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Papierkorb_ has joined #ruby
TheNet has quit [Remote host closed the connection]
juanca_ has quit [Remote host closed the connection]
platosha has quit [Quit: This computer has gone to sleep]
juanca_ has joined #ruby
<shevy> bricker I remember that when I used parens, it always worked fine
<shevy> that's how I became conservative - for such statements, I use parens and things are fine. but it feels strange when one is to use parens when they are not needed
<shevy> perhaps I should change to a paren free life
<shevy> and pick lisp
<shevy> '&&' is sort of ugly to read, I like 'and' a lot
Papierkorb has quit [Ping timeout: 246 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
<GaryOak_> is there a way to get rid of arr = [] where I'm just building an array in a for each loop
krisquigley has joined #ruby
xcombelle has quit [Quit: Quitte]
<rokob> use map
<GaryOak_> thanks, just saw that in irb
bronson has quit [Ping timeout: 252 seconds]
juanca_ has quit [Ping timeout: 245 seconds]
airdisa has joined #ruby
Ohga has left #ruby [#ruby]
lanemeyer has joined #ruby
thumpba has joined #ruby
jcromartie has joined #ruby
<shevy> guys
<shevy> we should fly to the mars
krisquigley has quit [Ping timeout: 264 seconds]
colorados has quit [Ping timeout: 244 seconds]
Notte has quit [Remote host closed the connection]
atal421 has quit []
tier has quit [Remote host closed the connection]
jerematic has quit [Remote host closed the connection]
jerematic has joined #ruby
jerematic has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby
juanca_ has joined #ruby
lele is now known as Guest24
davedev2_ has joined #ruby
duncannz has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
amystephen has joined #ruby
airdisa has quit [Ping timeout: 248 seconds]
techsethi has quit [Quit: techsethi]
baweaver has quit [Ping timeout: 256 seconds]
arietis has quit [Quit: Leaving.]
mitchell_ has quit [Quit: Computer has gone to sleep.]
cinch_ has joined #ruby
<jhass> didn't we already?
cinch_ has quit [Remote host closed the connection]
<apeiros> to mars? that robot planet?
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* apeiros prefers to go to twix
cinch_ has joined #ruby
<jhass> you mean raider
Cat_1 has quit [Ping timeout: 264 seconds]
<apeiros> raider got destroyed by twix
<jhass> that's what they want you to think
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
martinbmadsen has quit [Ping timeout: 255 seconds]
davedev2_ is now known as davedev24_
silkfox has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
jph98 has joined #ruby
ki0 has joined #ruby
arietis has joined #ruby
cinch_ has quit [Remote host closed the connection]
bronson has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
jonr22 has quit [Ping timeout: 252 seconds]
airdisa has joined #ruby
paulcsmith has joined #ruby
hectortrope has joined #ruby
silkfox has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
deol has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SouL_ has joined #ruby
reinaldob has joined #ruby
ki0 has quit [Remote host closed the connection]
hectortrope has quit [Client Quit]
jimms has quit [Remote host closed the connection]
deol has quit [Client Quit]
towski_ has quit [Quit: Leaving...]
paulcsmith has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
jph98 has quit [Quit: jph98]
SouL has quit [Ping timeout: 256 seconds]
willharrison has joined #ruby
kyrylo has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
snath has joined #ruby
decoponio has joined #ruby
_honning_ has joined #ruby
reinaldob has quit [Ping timeout: 265 seconds]
deol has joined #ruby
dc has joined #ruby
DerisiveLogic has quit [Ping timeout: 255 seconds]
graydot has joined #ruby
sigurding has quit [Quit: sigurding]
DerisiveLogic has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bim has joined #ruby
mitchellhenke has joined #ruby
SouL has joined #ruby
Soda has joined #ruby
crueber has quit [Quit: Leaving.]
SouL_ has quit [Ping timeout: 248 seconds]
<shevy> jhass I mean a human
sivsushruth has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
spyderma_ has quit [Read error: Connection reset by peer]
KramerC has quit [Ping timeout: 246 seconds]
<jhass> well, it makes no real sense to do so scientifically
spyderman4g63 has joined #ruby
sivsushruth has joined #ruby
momomomomo has quit [Quit: momomomomo]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OtterCoder has quit [Ping timeout: 264 seconds]
flcn has quit [Quit: Be back later ...]
chopperkun has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
delianides has joined #ruby
livingstn has quit []
pengin has quit [Remote host closed the connection]
delianides has quit [Read error: Connection reset by peer]
hpoydar has quit [Remote host closed the connection]
jconnolly has quit [Ping timeout: 248 seconds]
delianides has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
relix has joined #ruby
<chopperkun> Can someone tell me why I'm getting an error while installing gems?
<shevy> an error
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba_ has joined #ruby
<shevy> you think people can help you with this amount of information
<chopperkun> yeah its a connection reset by peer -SSL_CONNECT
<chopperkun> I'm on ubuntu 14.04
Akagi201 has joined #ruby
<shevy> that's a weird error. what is the name of the gem?
<chopperkun> its rubocop
<chopperkun> But I did get the same error while install bundler and rails
<shevy> yeah I guess you may have some connection problem
<shevy> in the worst case, you can download the .gem file directly
nym has joined #ruby
snath has quit [Ping timeout: 248 seconds]
<shevy> at the "Download" link
<chopperkun> But I'm on a wired connection
<chopperkun> and
<chopperkun> everything else is fine and I never got an error like this over pip or anything
<shevy> gem install --ignore-dependencies ./rubocop*.gem
_hollywood has quit [Quit: Leaving]
mjh_ca has joined #ruby
dmr8 has joined #ruby
<shevy> yeah not sure, for me gem install rails + rubocop worked fine, unsure why your connection is weird
max96at is now known as max96at|off
pengin has joined #ruby
<shevy> what is 'gem --version' giving you? I have version 2.4.5
<shevy> my ruby version is: ruby 2.2.1p85 (2015-02-26 revision 49769) [i686-linux]
<shevy> debian based distributions tend to be strange when it comes to ruby + gems
<mjh_ca> Totally new to Ruby. Ridiculously simple question. I have a project with a /vendor path (/vendor/bundle/ruby/2.1.0/...) which contains some gems. I need to make a change to one of those gems and rebuild so that change goes live... What is the command to do that?
<chopperkun> I get the same error over wifi
lkba has quit [Ping timeout: 264 seconds]
<shevy> but you should try with any manual download of any gem
GnuYawk has joined #ruby
<shevy> if the manual installation works then it is most likely a connection problem
<jhass> mjh_ca: that's not the correct way to do that. The correct way would be to fork the gem and point your Gemfile to the fork
<chopperkun> gem 2.4.5 and ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
towski_ has joined #ruby
<shevy> cool, that is quite recent
<jhass> chopperkun: can you gist the full error output?
Akagi201 has quit [Ping timeout: 256 seconds]
<chopperkun> yeah sure
<mjh_ca> Thanks jhass.
<shevy> then see if you can install it manually?
agrinb has quit [Remote host closed the connection]
<chopperkun> I just reinstalled ruby via rbenv if that helps as well
<shevy> dunno, that sounds like some openssl-related problem
<jhass> chopperkun: what does api.rubygems.org resolve for you? Try any of dig api.rubygems.org; nslookup api.rubygems.org; ping -c1 api.rubygems.org;
Akagi201 has joined #ruby
ki0 has joined #ruby
JoshGlzBrk has joined #ruby
<shevy> what is your openssl version btw? mine is: Openssl Version: 1.0.1c, you can use "pkg-config --modversion openssl" perhaps
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
dfinninger has quit [Remote host closed the connection]
<havenwood> shevy: ruby-build ships with its own openssl and ignore the package manager's
<shevy> ah you mean the rbenv one?
jcromartie has quit [Ping timeout: 250 seconds]
<havenwood> shevy: yup
<shevy> I see
<havenwood> shevy: ruby-install would use apt's openssl
Sirupsen has joined #ruby
<havenwood> shevy: nobody seems to realize they're doing it, which has the unfortunately consequence of folk not building against the openssl they expect
Akagi201 has quit [Ping timeout: 246 seconds]
Blaster has joined #ruby
<havenwood> shevy: especially if you install it through the package manager, you expect it to use package manager deps
Sirupsen has quit [Client Quit]
chopperkun has quit [Ping timeout: 265 seconds]
<jhass> yeah, managing multiple libssl's on the same system sounds horrible
jcromartie has joined #ruby
<shevy> yeah
<shevy> so good, we can rule out an openssl related problem for chopperkun too
<shevy> though he is gone now
<bradland> psh. shared libs are for posers.
<shevy> perhaps his connection is not that good anyway :)
<bradland> he'll be back in a few asking why his IRC client said "connection reset by peer"
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> xD
sondr3 has joined #ruby
kubunto has joined #ruby
chopperkun has joined #ruby
kobain has joined #ruby
<chopperkun> I just rebooted my internet
<jhass> the entire one?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> NO WONDER!
<jhass> that's why github is down all day!
<bradland> lol
<havenwood> chopperkun: please reboot the internet when we're sleeping. i just got dropped from my game.
jerematic has joined #ruby
<bradland> remember the time sstephenson posted that upity rant about rvm clobbering cd, then went and bundled libssl
<bradland> (I will probably regret posting that)
<bradland> ...
<bradland> yep, i regret it
<chopperkun> so now when i ping api.rubygems.org I get a respons
<havenwood> bradland: ;)
<jhass> chopperkun: I'm interested in the IP you get really :)
<chopperkun> 54.186.104.15
<kubunto> for some reason i have access ot github
<bradland> 54.186.104.15
<bradland> kubunto: read what you just posted. not sure it came out right.
<kubunto> bradland: i can still get at my Github stuff
jack_rabbit has joined #ruby
<shevy> does gem install work now?
<havenwood> kubunto: https://status.github.com/
triple_b has joined #ruby
<shevy> or shall I reboot the internet too
<kubunto> i know there is a ddos going against it but i still can get in
DerisiveLogic has quit [Ping timeout: 245 seconds]
<bradland> ok
<bradland> congrats?
<shevy> lol
<kubunto> bradland: i thought it was dead
phutchins has joined #ruby
<bradland> fortunately, github employs network engineers who are undertaking efforts to mitigate the DDoS
<chopperkun> oky so I removed https.rubygems.org from gem sources and added http.rubygems.org
<bradland> "dead" isn't a particularly good characterization for a DDoS
<chopperkun> and now
<chopperkun> its working
<bradland> because the service doesn't actually die
<GaryOak_> dang china
<bradland> the line to reach it is just too long
<bradland> the door is too crowded, and no one can get through
<bradland> but the service is alive and well
<GaryOak_> Did you read the article about the attack?
<kubunto> i realize that
<jhass> chopperkun: meh :/
<bradland> chopperkun: that's a pretty good sign that your ssl lib is fubar
ominari has quit [Quit: Be back later ...]
<bradland> you really don't want to rely on HTTP for security reasons
<jhass> chopperkun: hope not literally that though
<kubunto> i expected that it would be longer to load up
<jhass> it's http://
<jhass> and https://
snath has joined #ruby
<pipework> what about httpoac?
ominari has joined #ruby
<jhass> chopperkun: you're on windows? lenovo by any chance? :P
<chopperkun> So bradland how do I get my ssl lib not to be so stupid
jerematic has quit [Ping timeout: 256 seconds]
<chopperkun> ubuntu
ominari has quit [Client Quit]
<jhass> right, you said that, I forgot
arietis has quit [Quit: Leaving.]
<shevy> did not havenwood say that it is not related to ssl because rbenv uses another ssl one anyway
<jhass> how about curl -v https://api.rubygems.org, put that into a gist
SouL has quit [Ping timeout: 245 seconds]
doodlehaus has joined #ruby
palms_ has joined #ruby
SouL has joined #ruby
<shevy> let's make a suggestive question
<bradland> chopperkun: you can manually specify an openssl location, but personally, i don't use rbenv, so i'm not real sure
DerisiveLogic has joined #ruby
<shevy> jhass how comes your ssl works but chopperkun's one does not
juanca_ has quit [Remote host closed the connection]
<bradland> chopperkun: RUBY_CONFIGURE_OPTS=--with-openssl-dir=/opt/local rbenv install
<bradland> note that you probably won't be able to copypasta that and it work
<shevy> ouch
<shevy> /opt/local
<bradland> because your openssl is probably not in /opt/local
<shevy> :)
<jhass> shevy: maybe because I use DNSSEC and got an OpenWRT router? *shrug*
<shevy> jhass do you use ubuntu
<jhass> no
<jhass> do you?
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> no
<shevy> does chopperkun?
<chopperkun> yeah
<shevy> :D
<bradland> i use ubuntu's filthy, ushaven uncle. Debian.
dx7 has joined #ruby
juanca_ has joined #ruby
<shevy> do you use the default ruby version from debian bradland?
<jhass> U-shaven?
<bradland> psh
<bradland> no way brah
<bradland> i build with ruby install to /usr/local
<bradland> and i only run one ruby version per server
<shevy> one day we need to make the debian-ruby good. imagine how many people we can help in the future if those things just work out of the box
<bradland> because i'm already bald
<chopperkun> my openssl localtion ist /usr/bin/openssl
<bradland> there are brightbox ppas that will work
palms has quit [Ping timeout: 246 seconds]
<bradland> chopperkun: you could try rebuilding ruby with that passed to --with-openssl-dir
<chopperkun> what would that command look like?
KramerC has joined #ruby
<chopperkun> rbven install 2.2.0 --with-openssl-dir?
<bradland> check my previous message with RUBY_CONFIGURE_OPTS
<bradland> /usr/bin/openssl is not your lib though
<bradland> that's the openssl executable
<chopperkun> how can I find the opennssl lib?
palms_ has quit [Ping timeout: 252 seconds]
<havenwood> chopperkun: Maybe just use ruby-install and point where rbenv expects: ruby-install --install-dir ~/.rbenv/versions/2.1.1 ruby 2.2.1
SouL has quit [Read error: Connection reset by peer]
<bradland> man, i like that idea
<bradland> ruby-install is what i use for my server build scripts now days
<bradland> wonderfully reliable
doodlehaus has quit [Remote host closed the connection]
<havenwood> bradland: :)
<havenwood> chopperkun: Oops, except don't do my typo... 2.1.1 != 2.2.1
nfk has quit [Quit: yawn]
<havenwood> ruby-install --install-dir ~/.rbenv/versions/2.2.1 ruby 2.2.1
<havenwood> chopperkun: ^ corrected**
<chopperkun> thank you havenwood bradland
<bradland> np
<bradland> shevy: have you seen these? https://www.brightbox.com/docs/ruby/ubuntu/
<havenwood> chopperkun: you're welcome. just point rbenv to 2.2.1 after you've installed.
<shevy> hmmmm
<shevy> "We provide Ruby 2.2 packages for Ubuntu Utopic, Trusty and Precise. Our Ruby 2.2 packages are currently built from unmodified versions of Ruby."
<bradland> i've never tried them under debian
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> what do you run?
Papierkorb_ has quit [Ping timeout: 244 seconds]
<jhass> ShevyOS
<bradland> man, that sounds awesome
<jhass> if you think so...
<bradland> ...if i didn't already know shevy
<bradland> :P
<shevy> they just compile from source!!!
<shevy> bradland I usually compile from source when that is possible
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> glibc still scares me, I once shot my system
Papierkorb_ has joined #ruby
<bradland> i don't have enough hair left for all that
<jhass> just btrfs subvolume snapshot
<bradland> anyone actually run btrfs?
<jhass> <-
<bradland> damn, respect
<bradland> i'm a mainstreamer
<bradland> stay faaaar from the edges
<jhass> I think it's pretty stable since about 3.16
mitchellhenke has joined #ruby
<jhass> and awesome
<bradland> you know, it's funny
<jhass> might even drop the layer of lvm for my next system
wallerdev_ has joined #ruby
<bradland> windows had something very similar to btrfs for a long time: shadow copy
<bradland> not sure if it's exactly the same
jwingfi has quit [Remote host closed the connection]
GaryOak_ has quit []
armyriad has quit [Ping timeout: 244 seconds]
badhatter has quit [Read error: Connection reset by peer]
<bradland> i know that it had some kind of CoW functionality, because you could make snapshots nearly instantly
badhatter has joined #ruby
badhatter has quit [Changing host]
badhatter has joined #ruby
<jhass> with btrfs they're literally instant
<jhass> milliseconds
kblake has quit [Remote host closed the connection]
<bradland> noice
Lewix has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mikecmpbll has joined #ruby
<jhass> for example before I enabled testing to update to gnome 3.16, I just did a snapshot
ki0 has quit [Remote host closed the connection]
SouL has joined #ruby
<jhass> and now I can boot into the old system just by switching the default subvolume
wallerdev has quit [Ping timeout: 244 seconds]
wallerdev_ is now known as wallerdev
<jhass> btrfs subvolume set-default / 123
ghr has joined #ruby
<bradland> that shit is bananas
SouL has quit [Read error: Connection reset by peer]
<bradland> like VM snapshots for my system
<jhass> reboot and you're booting into the old system, yeah
juanca_ has quit [Remote host closed the connection]
<pipework> jhass: Couldn't you just chroot into the new system?
juanca_ has joined #ruby
<jhass> probably, but I got systemd 219 with the same update
<jhass> and manually chrooting on each reboot, meh
<bradland> is the CoW block level or file level
<bradland> ?
<pipework> on, instead of, whichever.
<jhass> I never checked tbh
dmr8 has quit [Quit: Leaving]
<jhass> so with systemd 219 systemd-nspawn learnt --template
mistermocha has quit [Ping timeout: 252 seconds]
<jhass> your point it at some chroot and -D at something not existing and it'll automatically btrfs snapshot if the chroot is a subvolume
armyriad has joined #ruby
martinbmadsen has joined #ruby
<jhass> I've been using systemd-nspawn over VMs quite a lot recently
mistermo_ has quit [Ping timeout: 264 seconds]
<chopperkun> thank you for your help everyone!
<bradland> so it worked chopperkun?
<chopperkun> yeah perfectly now!
<havenwood> chopperkun: nice
<bradland> sweeeeeet. maybe consider a switch to chruby, which is the companion ruby environment manager to ruby-install
cacocola has joined #ruby
<chopperkun> is it better than rbenv??
<chopperkun> Thats the closest that I got to virtualenvwrapper
<bradland> IMO, it is better. it is simpler.
<bradland> and it doesn't bundle openssl
riotjones has joined #ruby
dfinninger has joined #ruby
<pipework> rbenv is a bit annoying to me. I use chruby and ruby-install
<jhass> at the end of the day it's preference, but I yet have to see somebody advocating rbenv over chruby :P
nicolastarzia has joined #ruby
<chopperkun> would you guys mind walking me through the install?
SouL has joined #ruby
<pipework> chopperkun: Yes, we would. We'll halp you with problems though!
triple_b has joined #ruby
<bradland> the install guide is pretty good, but you're talking about switching ruby managers
<bradland> it's something you should take the time to understand
<chopperkun> yeah list how is the swap from rbevn to chruby
<pipework> bradland: He can have both if he wants to migrate slowly.
<pipework> chopperkun: The README covers that.
<chopperkun> Oh thanks pipework !
<shevy> pipework is a big fan of high quality documentation
<pipework> The only gotcha that ever caught me up is that my coworker loves his IDE and rubymine doesn't support chruby. I wasn't super impressed.
<bradland> pipework: i didn't think it was advised to run both concurrently?
wallerdev has quit [Quit: wallerdev]
<pipework> bradland: Why not? I think you may see some fun issues if you use the cd script though.
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<pipework> I've used the, side by side, but not at the same time.
juanca_ has quit []
<bradland> i just thought i read it somewhere, but it might have just been cautionary.
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Quit: (null)]
doodlehaus has joined #ruby
wallerdev has joined #ruby
<bradland> my opinion would be that the only thing worse than one tool changing my environment would be two tools changing my environment xD
juanpablo__ has joined #ruby
juanpablo__ has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 256 seconds]
mjh_ca has quit [Quit: Page closed]
juanpablo__ has joined #ruby
<havenwood> ls
<pipework> sl
<havenwood> choo choo
* pipework waits ~3.5s
<bradland> i'm a big fan of pasting my AWS credentials in to IRC
<jhass> I should make DeBot respond with . .. nope.gif to that
Beoran has quit [Ping timeout: 245 seconds]
SouL has quit [Ping timeout: 246 seconds]
<bradland> that would be pretty swell
<chopperkun> chruby ruby-1.9 unknown ruby????
dc has quit [Disconnected by services]
<postmodern> chopperkun, restart the terminal?
<pipework> I don't know about you guys, but I tweet my build bot with a url to get all the secrets it needs when I deploy.
<chopperkun> notes
<chopperkun> nope
dc_ has joined #ruby
<pipework> chopperkun: You have to exit the current terminal after going through all the setup.
<bradland> pipework: dottwitterenv
<chopperkun> yeah I did that
juanpablo__ has quit [Ping timeout: 246 seconds]
davispuh has quit [Remote host closed the connection]
<jhass> postmodern: you probably should bump the readme examples to 2.2 ;)
otisZart has joined #ruby
<bradland> chopperkun: are you using your old rubies, or installing fresh?
dc_ has quit [Remote host closed the connection]
<chopperkun> installing a fresh one
<chopperkun> but I just re read the readme
otisZart has quit [Client Quit]
<bradland> did you install ruby-1.9 yet?
ominari has joined #ruby
<bradland> type chruby at a command line and see what you get. is ruby-1.9 listed?
<postmodern> jhass, oops good idea
robbyoconnor has joined #ruby
SouL has joined #ruby
freerobby has joined #ruby
flcn has joined #ruby
icebourg has quit []
vim_shimm has joined #ruby
mistergibson has quit [Ping timeout: 264 seconds]
ominari has joined #ruby
ominari has quit [Client Quit]
krisquigley has joined #ruby
hpoydar has joined #ruby
mistermocha has joined #ruby
<chopperkun> Does chruby set the ruby version globally?
tvw has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
<bradland> it can
plashchynski has joined #ruby
<chopperkun> thank you!
flcn has quit [Ping timeout: 265 seconds]
ki0 has joined #ruby
vim_shimm has quit [Ping timeout: 250 seconds]
<postmodern> chopperkun, of course the best solution is to just upgrade the system ruby
<postmodern> chopperkun, or install a newer version into /usr/local
krisquigley has quit [Ping timeout: 250 seconds]
<chopperkun> so if I type chruby at the command line i get nothing
<shevy> I think my eyes are getting tired
<shevy> rather than "Atmospheric pressure decreases with height." I was reading "Atmospheric pressure decreases with weight." and confusingly wondered why being fat changes atmospheric pressure
<postmodern> chopperkun, you'll need to install rubies using ruby-install and restart the terminal
<chopperkun> wait no
<chopperkun> my fault
cpruitt has quit [Quit: cpruitt]
hpoydar has quit [Ping timeout: 252 seconds]
jefus_ has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
dx7 has quit [Remote host closed the connection]
zorak8 has joined #ruby
djbkd has joined #ruby
jefus has quit [Ping timeout: 250 seconds]
waxjar has joined #ruby
kubunto has quit [Ping timeout: 246 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
ParSalian has joined #ruby
<bradland> i know this is totally off topic, but is there a listing of all the godforsaken terminology that homebrew uses
<bradland> kegs, casks, blargh!
aarkerio has quit [Quit: Verlassend]
sondr3 has left #ruby ["Whelp."]
<bradland> hot damn, there's an IRC channel. sry
jwingfi has joined #ruby
ki0 has quit [Remote host closed the connection]
<havenwood> bradland: pouring a bottle if you're lucky enough for a binary
<apeiros> aahaha, yeah, was ranting about that myself
mistermocha has quit [Remote host closed the connection]
jonr22 has joined #ruby
triple_b has joined #ruby
silkfox has joined #ruby
<havenwood> we need a pull request to make the Homebrew theme more robust by adding pirate vernacular on top of the brewery motif. liven up the docs, yarr!
<havenwood> april is soon
adaedra has quit [Ping timeout: 272 seconds]
freerobby has quit [Quit: Leaving.]
<bradland> it makes searching for homebrew related terms really fucking impossible too
GnuYawk has quit [Ping timeout: 255 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<bradland> the problem with these naming schemes is that it is next to impossible for the project maintainers to relate to someone that is new to the tools
<bradland> and i'm not even that new to the tool
baweaver has joined #ruby
OtterCoder has joined #ruby
<bradland> i just don't use it that often, so i can never remember what the hell all this stuff is
adaedra has joined #ruby
kirun has quit [Quit: Client exiting]
thomas has quit [Quit: reconnecting]
thomas has joined #ruby
jerematic has joined #ruby
jonr22 has quit [Ping timeout: 264 seconds]
silkfox has quit [Ping timeout: 246 seconds]
Alex_____ has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
deol has joined #ruby
zorak8 has joined #ruby
rubie has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Quit: zzzzz…..]
baweaver has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Remote host closed the connection]
freerobby has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
cjim___ is now known as cjim
<bradland> for anyone else who is curious, there are some (not so elegant) definitions of terminology for homebrew here: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md#formula-cookbook
baweaver has joined #ruby
kaleido has quit [Ping timeout: 252 seconds]
cjim has quit [Quit: (null)]
mitchellhenke has quit [Quit: Textual IRC Client: www.textualapp.com]
lys has joined #ruby
SouL has quit [Ping timeout: 252 seconds]
SouL has joined #ruby
DerisiveLogic has quit [Ping timeout: 265 seconds]
_64k has quit [Ping timeout: 246 seconds]
flcn has joined #ruby
Alex_____ has quit []
dc_ has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
rokob has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has joined #ruby
razieliyo has joined #ruby
razieliyo has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DerisiveLogic has joined #ruby
razieliyo has quit [Remote host closed the connection]
Crazy_Atheist has joined #ruby
dfinninger has quit [Remote host closed the connection]
Crazy_Atheist has quit [Read error: Connection reset by peer]
sivsushruth has quit [Ping timeout: 256 seconds]
zzing has joined #ruby
a346 has quit [Quit: a346]
sondr3 has joined #ruby
flcn has quit [Ping timeout: 250 seconds]
sondr3 has left #ruby [#ruby]
agrinb has joined #ruby
dc_ has quit [Remote host closed the connection]
fgo has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
sivsushruth has joined #ruby
mitchellhenke has joined #ruby
pietr0 has quit [Quit: pietr0]
chopperkun has quit [Quit: Leaving]