oleo has quit [Read error: Connection reset by peer]
agjacome has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
greenbagels has joined #ruby
lifenoodles has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 252 seconds]
shime_ has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
ta has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
spider-mario has quit [Read error: Connection reset by peer]
shime has quit [Ping timeout: 250 seconds]
sandshark_ has joined #ruby
supergiel has quit [Ping timeout: 245 seconds]
Deele has quit [Ping timeout: 245 seconds]
xcesariox has joined #ruby
tiwillia has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 250 seconds]
tiwillia has joined #ruby
fabrice31 has joined #ruby
juanpablo___ has joined #ruby
Rollabunna has quit [Quit: Leaving...]
SpikeMaster has joined #ruby
Aova has quit [Read error: Connection reset by peer]
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
mikecmpbll has quit [Quit: ciao.]
jenrzzz has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
juanpablo___ has quit [Ping timeout: 265 seconds]
kalusn has joined #ruby
ta has joined #ruby
dspangenberg has joined #ruby
jimbauds has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
timanema has joined #ruby
Sawbones has joined #ruby
tkuchiki has joined #ruby
supergiel has joined #ruby
Sakens has quit [Read error: Connection reset by peer]
dspangenberg has quit [Ping timeout: 265 seconds]
Pupeno_ has quit [Ping timeout: 264 seconds]
athan has quit [Ping timeout: 246 seconds]
ta has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: Leaving]
athan has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has quit [Quit: Sid05]
FooMunki_ has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
agjacome has joined #ruby
kristian-aalborg has joined #ruby
<kristian-aalborg>
hello
caveat- has joined #ruby
Sid05 has joined #ruby
sent1nel has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
mistermocha has quit [Remote host closed the connection]
quimrstorres has joined #ruby
oo_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
timanema has left #ruby [#ruby]
sent1nel has quit [Ping timeout: 245 seconds]
<kristian-aalborg>
I'm getting: WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.9.1
<Xnfu>
Then don't dynamically load libXML 2.9.1
jenrzzz has quit [Quit: Lost terminal]
<Xnfu>
Or remove 2.9.1 and get 2.9.2
oo_ has joined #ruby
quimrstorres has quit [Ping timeout: 240 seconds]
<Xnfu>
kristian-aalborg: Did you install Nokogiri with bundle?
<kristian-aalborg>
Xnfu, no, sudo gem install... I'm on openSUSE 13.1
caveat- has quit [Ping timeout: 245 seconds]
<kristian-aalborg>
and thanks for the fast suggestions, looking into it
<Xnfu>
gem pristine nokogiri
<Xnfu>
run that, see if it works for you
<Xnfu>
also a sudo if needed
jenrzzz has joined #ruby
<kristian-aalborg>
I already tried, no luck
<jhass>
kristian-aalborg: it's a warning, it's okay
sent1nel has joined #ruby
caveat- has joined #ruby
<Xnfu>
You probably have two versions installed
<jhass>
changes in minor might cause problems
<Xnfu>
Yeah, but it's a warning he wants to surpress
<jhass>
changes in the hotfix don't in my experience
<Xnfu>
I'm sure
<jhass>
gem pristine nokogiri should get rid of it
Sid05 has quit [Quit: Sid05]
<Xnfu>
He already tried that
<Xnfu>
as mentioned above
<jhass>
I'd just ignore it really
<kristian-aalborg>
I want to fix this because someone is going to help me with a jekyll problem... and I want it to execute flawlessly before I send him my questions
<kristian-aalborg>
so he won't be wasting time on my messy system ;)
<jhass>
you updated libxml2 after installing nokogiri
<jhass>
normal thing to do, not messy
<Xnfu>
Let's also forget about CVE-2014-0191 and CVE-2014-3660
<Xnfu>
and the ton of bug fixes too
<jhass>
oh, wait, the lower version is dynamically loaded?
Pupeno has quit [Remote host closed the connection]
<jhass>
ignore me, sorry
<kristian-aalborg>
retrying the pristine thing
Pupeno has joined #ruby
nii236|irssi has joined #ruby
<jhass>
kristian-aalborg: which command is giving you that actually?
<Xnfu>
Likely the program
<Xnfu>
interpreter
<kristian-aalborg>
nokogiri -v gives it
<kristian-aalborg>
also jekyll build
<sevenseacat>
if it causes a problem, uninstall and reinstall nokogiri.
<sevenseacat>
however, its just a warning and doesnt cause a problem.
<kristian-aalborg>
tried pristine again, same thing
<kristian-aalborg>
okay, I guess I will take your word for it... I've installed/uninstalled the thing a dozen times now
<Xnfu>
The correct thing to do would be to fix the warning, not ignore it.
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
icarus has quit [Quit: leaving]
icarus has joined #ruby
cashnguns has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has quit [Ping timeout: 245 seconds]
eka has joined #ruby
kenneth has joined #ruby
Megtastique has joined #ruby
icarus has left #ruby [#ruby]
jenrzzz has joined #ruby
Megtastique has quit [Client Quit]
_djbkd has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
astrobunny has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
dc_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
werelivinginthef has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
supergiel has quit [Remote host closed the connection]
Kn|t3 has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
zachrab has joined #ruby
plashchynski has joined #ruby
shum has joined #ruby
kobain has joined #ruby
CpuID2 has joined #ruby
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
shum has quit [Client Quit]
kobain has quit [Max SendQ exceeded]
shum has joined #ruby
pkrzywicki has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Client Quit]
shum has quit [Client Quit]
shum has joined #ruby
jenrzzz has joined #ruby
shum has quit [Client Quit]
kayloos has quit [Remote host closed the connection]
shum has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
aemeredi_ has quit []
shum has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
jetblack has joined #ruby
shum has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
voglster has joined #ruby
pdoherty has joined #ruby
mitchellhenke has joined #ruby
athan has joined #ruby
LudicrousMango has joined #ruby
mbrumbelow has quit [Quit: mbrumbelow]
<voglster>
whats the best way to run asynchronous commands from a sinatra app?
Aova has quit [Read error: Connection reset by peer]
pdoherty has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
TinkerTyper has quit [Ping timeout: 250 seconds]
<voglster>
ive been messing with sidekiq at the moment but it seems like a lot of overhead...
tunaCanBruh has joined #ruby
ych4k3r has joined #ruby
ponga has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
ta has joined #ruby
Aova has joined #ruby
ych4k3r has quit [Ping timeout: 245 seconds]
djapo has quit [Quit: leaving]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
plashchynski has quit [Quit: plashchynski]
tunaCanBruh has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
joast has joined #ruby
sent1nel has quit [Remote host closed the connection]
caveat- has joined #ruby
sent1nel has joined #ruby
mbrumbelow has joined #ruby
ponga has joined #ruby
ta has quit [Ping timeout: 252 seconds]
vaneda has quit [Quit: Computer has gone to sleep.]
Soda has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 255 seconds]
timanema has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
ajaiswal has joined #ruby
vaneda has joined #ruby
<klap>
I have a Repository (pattern class) that communicates with the DB. I also have a Queue that I wish to communicate only with the repository - it's just a list of objects from the DB ordered & filtered by certain criteria. How can I achieve this?
<klap>
I don't want to put the ordering & filtering logic into the Repository, because really that logic is what defines the Queue
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
timanema has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby
mitchellhenke has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
dspangenberg has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
ta has joined #ruby
dspangenberg has quit [Ping timeout: 244 seconds]
caveat- has joined #ruby
Sawbones has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
fabrice31 has joined #ruby
ta has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
shum1 has quit [Quit: WeeChat 1.1.1]
shum1 has joined #ruby
lioninawhat has joined #ruby
mrmargolis has joined #ruby
Sawbones has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
oo_ has quit [Remote host closed the connection]
<softinio>
so new to ruby
blizzy has quit [Read error: No route to host]
timanema has joined #ruby
blizzy has joined #ruby
Musashi007 has quit [Quit: Musashi007]
razorsharph has quit [Quit: Konversation terminated!]
<softinio>
how do you deploy web apps to a VPS? does it have its own http servers we can use a reverse proxy via nginx or something?
mrmargolis has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
oo_ has joined #ruby
Sawbones has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Client Quit]
<weaksauce>
softinio look up puma, unicorn, or passenger
tkuchiki has quit [Ping timeout: 250 seconds]
<softinio>
weaksauce: ok thanks
<weaksauce>
thin works too softinio
<weaksauce>
np
lemur has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
inspectah_stack has quit [Quit: WeeChat 1.0.1]
Kn|t3 has quit [Quit: Kn|t3]
Sawbones has quit [Remote host closed the connection]
freerobby has joined #ruby
nobitanobi has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ddd has quit [Ping timeout: 250 seconds]
Sid05 has joined #ruby
ddd has joined #ruby
braincrash has joined #ruby
nobitanobi has joined #ruby
andymememe has joined #ruby
andymememe has left #ruby ["Leaving"]
Aova has quit [Read error: Connection reset by peer]
<softinio>
weaksauce: I must admit impressed with ruby so far ... work has given me a reason to learn it
<weaksauce>
softinio it's really nice
<weaksauce>
it can be hell if you try to be cryptic but if you follow the rules it's a great language
zachrab has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
<softinio>
whats special about irb? I keep hearing people at work say its so much better to use than pythons equivalent
lioninawhat has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Aova has joined #ruby
x1337807x has joined #ruby
shum has joined #ruby
mistermocha has joined #ruby
hmsimha has joined #ruby
zachrab has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
<weaksauce>
it has tab completion for one
shum has quit [Client Quit]
ta has joined #ruby
shum has joined #ruby
<weaksauce>
and doesn't make you use the () to exit
oo__ has joined #ruby
kristian-aalborg has quit [Quit: Leaving]
<weaksauce>
I mean come on... if you are going to scold me about exiting why not just fucking exit
jenrzzz has quit [Ping timeout: 256 seconds]
shum has quit [Client Quit]
shum has joined #ruby
<weaksauce>
from __future__ import no_bullshit_exit
shum has quit [Client Quit]
shum has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
shum has quit [Client Quit]
astrobunny has joined #ruby
last_staff has joined #ruby
shum has joined #ruby
swgillespie has joined #ruby
shum has quit [Client Quit]
jenrzzz has joined #ruby
shum has joined #ruby
totimkopf has joined #ruby
kyb3r_ has joined #ruby
jerematic has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.1.1]
shum has quit [Client Quit]
<totimkopf>
what's the difference between a bin directory in .rvm/rubies/ruby-x/bin and .rvm/gems/ruby-x/bin ? they sometimes have the same binaries?
shum has joined #ruby
jetblack has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
Pupeno_ has joined #ruby
Kn|t3 has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
vaneda has quit [Quit: Computer has gone to sleep.]
parduse has quit []
ta has quit [Ping timeout: 264 seconds]
blackoperat has joined #ruby
parduse has joined #ruby
pussygladiator has joined #ruby
<pussygladiator>
yo i have a web server which passenger
<pussygladiator>
and ruby 2.0
<pussygladiator>
how can i make a simple app to check that its actually setup right?
<pussygladiator>
like just a hello world
ozialien has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
agit0 has quit [Quit: This computer has gone to sleep]
exadeci has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
Diabolik has joined #ruby
sigurding has joined #ruby
yellowgh0st has joined #ruby
DrCode has joined #ruby
wallerdev has quit [Quit: wallerdev]
CustosL1men has joined #ruby
agit0 has joined #ruby
<duncannz>
is there any quick oneliner to generate an array where each member is [N, "NvN"], and there are 9 members with N starting at 10 and stepping 5? so [[10, "10v10"], [15, "15v15"], ..., [50, "50v50"]]
hanachin has joined #ruby
ypasmk has quit [Quit: ypasmk]
bjornar has joined #ruby
zwer has quit [Read error: Connection reset by peer]
DrCode has quit [Read error: Connection reset by peer]
<certainty>
note that my brain is still in monday-mode
anaeem1_ has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
<duncannz>
cheers it worked
p0wn3d_mhs has joined #ruby
anaeem1 has joined #ruby
cantonic has joined #ruby
LudicrousMango has joined #ruby
St_Marx has joined #ruby
anarang has quit [Quit: Leaving]
agrinb has joined #ruby
cantonic has quit [Client Quit]
i0n has joined #ruby
kyb3r_ has joined #ruby
oo_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
DrCode has joined #ruby
<pontiki>
certainty: ♫ monday i've got friday on my mind ♫
kamilc__ has quit [Quit: Leaving...]
<certainty>
pontiki: cheers
AFKGeek has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
aganov has quit [Ping timeout: 244 seconds]
<i0n>
what ruby library knows this datetime stamp? 20150202064359Z
<apeiros_>
certainty: monday mode? is that where it tries to secretly sneak in bugs?
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<i0n>
so i can easily convert to epoch
<apeiros_>
i0n: DateTime and Time
<apeiros_>
use strptime
<certainty>
apeiros_: exactly.
oo_ has joined #ruby
<apeiros_>
certainty: aka "funny surprise mode"
<certainty>
yepp, monday code is just like monday cars
<certainty>
they may or may not work
kalusn has joined #ruby
aapole has joined #ruby
<apeiros_>
i0n: "epoch" can be anything. I assume you mean unix time epoch? Time#to_i then.
aganov has joined #ruby
<i0n>
yea
sent1nel has joined #ruby
<i0n>
i cant find a method that will take this ldap time stamp
<apeiros_>
i0n: do you read answers you get? I told you which.
sevenseacat has quit [Remote host closed the connection]
ta has joined #ruby
mikecmpbll has joined #ruby
alex88 has joined #ruby
CustosL1men has quit [Ping timeout: 264 seconds]
dspangen1erg has quit [Ping timeout: 245 seconds]
Morkel has joined #ruby
nii236|irssi has quit [Remote host closed the connection]
Rarikon has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
quazimodo has quit [Ping timeout: 245 seconds]
Xoro has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
<i0n>
i guess .. the zulu time stamp thing is throwing me off when trying to find differences with other time stamps
RDash has quit [Ping timeout: 246 seconds]
agit0 has quit [Quit: This computer has gone to sleep]
jimms has joined #ruby
<apeiros_>
"being thrown off" is not a problem I can help with.
yellowgh0st has quit [Quit: yellowgh0st]
<i0n>
someone pee in your corn flakes?
<apeiros_>
i0n: ok, I see, you don't want help. have a nice day.
Ellypse has quit [Quit: Ellypse]
agit0 has joined #ruby
duncannz has quit [Remote host closed the connection]
ta_ has joined #ruby
RDash has joined #ruby
olivier_bK has joined #ruby
kalusn has quit [Remote host closed the connection]
dimon_ has quit [Ping timeout: 246 seconds]
lyuben_ has joined #ruby
agit0 has quit [Ping timeout: 245 seconds]
wpp has joined #ruby
kalusn has joined #ruby
pdoherty has joined #ruby
davedev24_ has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
aapole has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
sigurding has quit [Quit: sigurding]
pdoherty has quit [Ping timeout: 250 seconds]
jimbauds has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
djbkd has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 240 seconds]
parduse has quit []
arup_r has quit [Remote host closed the connection]
Takle has joined #ruby
cassianoleal has quit [Quit: (null)]
rdark has joined #ruby
Andrevan has quit [Quit: WeeChat 0.4.4-dev]
arup_r has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
dimon_ has joined #ruby
jenrzzz has joined #ruby
arup_r_ has joined #ruby
aapole has joined #ruby
caveat- has joined #ruby
ponga has quit [Remote host closed the connection]
Stoge88 has joined #ruby
rdark has quit [Quit: leaving]
timonv has joined #ruby
rdark has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
<m4rCsi>
I'm using a gem that raises some exceptions to the thread that started the client. Is that common practice?
MasterPiece has joined #ruby
urtokk has quit [Ping timeout: 240 seconds]
arup_r_ has quit [Remote host closed the connection]
Ellypse has joined #ruby
anarang has quit [Ping timeout: 255 seconds]
<m4rCsi>
Even though I can rescue it, there are cases where a second exception is raised from the gem (the thread from gem keeps running) while I am still rescuing it. Which then escapes, and terminates my daemon.
agjacome has quit [Quit: leaving]
rdark has quit [Client Quit]
<m4rCsi>
Or, what I am doing wrong?
rdark has joined #ruby
kaspertidemann has joined #ruby
kyb3r_ has quit [Quit: Leaving]
yeticry has quit [Read error: Connection reset by peer]
kalusn has quit [Remote host closed the connection]
rdark has quit [Client Quit]
<certainty>
m4rCsi: the library might have set Thread.abort_on_exception to true
<apeiros_>
m4rCsi: do you mean your code in the rescue clause triggers a second exception? or are you saying that the gem uses Thread#raise to raise an exception in another thread?
Jakee`__ has joined #ruby
<apeiros_>
hard to tell with the vague information. which gem? example code? (reproducible if possible)
<m4rCsi>
apeiros_: the gem launches its own thread, from which it raises exceptions to the thread that started the gem
ta_ has joined #ruby
ponga has joined #ruby
<m4rCsi>
so I have the case where the gem raises multiple exceptions after each other
<apeiros_>
m4rCsi: well, two ways it can do that: a) Thread.abort_on_exception as certainty said, or b) (less common) Thread#raise
<m4rCsi>
yah, I looked into the source code. it stores the thread that started the client. then it raises it with raise
kamilc__ has joined #ruby
<certainty>
in which case it somehow has to get access to the primordial thread
<certainty>
ah ok
<apeiros_>
m4rCsi: with plain `raise`?
<apeiros_>
or with `thread.raise`?
<m4rCsi>
thread.raise exception
<apeiros_>
ok. that's *bad*.
<certainty>
odd
<apeiros_>
I'd file a bug with the gem. raising in other threads is considered bad practice.
<apeiros_>
(and IMO "bad" is a rather big understatement there)
<certainty>
agreed
yeticry has joined #ruby
anaeem1_ has joined #ruby
<m4rCsi>
yah, I thought so. Just wanted to make sure, it wasnt just me
anarang has joined #ruby
<certainty>
that puts control totally out of the hands of the client
<apeiros_>
yupp. can't be handled.
<apeiros_>
I mean you can spin up a dummy thread
pontiki has quit [Remote host closed the connection]
<apeiros_>
and start the client from there
<certainty>
yeah
<apeiros_>
but it makes everything needlessly complex
krz has quit [Ping timeout: 246 seconds]
<certainty>
but that will break if the gem changes the behaviour to something else like abort_on_exception
jimbauds has joined #ruby
<apeiros_>
IMO abort_on_exception should default to true anyway.
<avril14th>
morning
ta_ has quit [Ping timeout: 252 seconds]
caveat- has quit [Ping timeout: 245 seconds]
<apeiros_>
moin avril14th
<gizmore>
apeiros_: every mistake is an opportunity to learn. if you do nothing or make no mistakes you stay where you are
<apeiros_>
gizmore: hm?
<gizmore>
abort_on_exception sounds ugly
<apeiros_>
gizmore: its current default is a major source of confusion for beginners with threading. and experienced coders turn it on anyway.
<apeiros_>
and I'd smack anybody claiming to be experienced and not having it on around a bit with a large trout :)
Aswebb_ has quit [Remote host closed the connection]
chthon has joined #ruby
<enricostn>
hi there! I need to iterate over a big array retrieving a chunk of items at time until I reach the end of the array. For instance in the following example the chunk size is 5 https://gist.github.com/enricostano/21c0edbb5e2135a16542
quimrstorres has quit [Remote host closed the connection]
ta_ has joined #ruby
<enricostn>
I would like to understand how to achieve this with 2 constrains: it must be some lazy iteration because the array is big, I need to be able to skip elements (maybe this feature can be added later)
<apeiros_>
enricostn: each_cons(5) with a bit of custom code for the last incomplete slices.
<enricostn>
any hint?
<apeiros_>
lazy is pointless if you have the full array already
withnale_ has joined #ruby
<apeiros_>
or rather: if you have an array
<certainty>
maybe it's generated
withnale_ has quit [Client Quit]
<apeiros_>
then it's either not an array or they left out that it's being mutated *while* iterating
<enricostn>
mh, yep actually the array is already there
withnale_ has joined #ruby
<certainty>
ok there we go :)
withnale_ is now known as withnale
giuseppesolinas has joined #ruby
n1lo has joined #ruby
oo_ has quit [Remote host closed the connection]
<enricostn>
the array is an array of objects that I retrieve from an external API
<apeiros_>
if you have an array, you can do it quite easily: array.size.times do |i| yield(array[i, chunk_size]) end
<certainty>
lazy may still be worthwhile if that's not the only transformation in the chain.
<apeiros_>
certainty: true
<enricostn>
actually each chunk will be processed
lzx_ has joined #ruby
<enricostn>
this is a pattern matching algorithm
ta_ has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
bigkevmcd has joined #ruby
<enricostn>
inside this external iteration I will look for a pattern in: first_chunk = [1,2,3,4,5]; then I'll try to match [1,2,3,4,5], if not [1,2,3,4] ,[1,2,3], etc
<enricostn>
but that's the internal iteration
jimbauds has quit [Quit: Connection closed for inactivity]
<apeiros_>
making something which yields lazy is relatively simple: enum_for(:yielding_method, *args)
<enricostn>
I've been trying but with not much luck... first time here with Enumerator
lzx has quit [Ping timeout: 244 seconds]
n1lo has quit [Quit: Leaving]
alex88 has joined #ruby
n1lo has joined #ruby
Aova has quit [Read error: Connection reset by peer]
knut has joined #ruby
quazimod1 has joined #ruby
lyuben_ has quit [Quit: Leaving]
yfeldblu_ has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
tokik has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
quazimodo has quit [Ping timeout: 245 seconds]
aqabiz has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
Aova has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
aqabiz has quit [Client Quit]
aapole has joined #ruby
riotjones has joined #ruby
aqabiz has joined #ruby
tunaCanBruh has joined #ruby
Takle has quit [Remote host closed the connection]
timonv has joined #ruby
fantazo has quit [Quit: Verlassend]
aqabiz has quit [Client Quit]
ponga has joined #ruby
agrinb has joined #ruby
aqabiz has joined #ruby
tokik_ has joined #ruby
bMalum has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 244 seconds]
arup_r has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
zzzbra has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
<enricostn>
apeiros_, using your non-lazy solution, how I can change the offset and skip iterations?
<enricostn>
like changing the i
<enricostn>
by an offset
<apeiros_>
enricostn: just use whatever you need to yield you the numbers. can't be that hard?
<apeiros_>
like (offset...array.size).step(stepsize) { |i| …
leafybasil has quit [Remote host closed the connection]
caveat- has joined #ruby
i0n has quit [Quit: snooze]
aqabiz has quit [Quit: aqabiz]
anarang has quit [Ping timeout: 250 seconds]
chinaski has joined #ruby
livathin_ has joined #ruby
<enricostn>
apeiros_, mh but my stepsize comes from inside the block that I pass to the yield
Kn|t3 has quit [Quit: Kn|t3]
<enricostn>
updating the gist with basic implementation
<apeiros_>
enricostn: ok, look, you keep changing your requirements. the basic principle is in the code I gave you. have fun.
cpt_yossarian has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
einarj has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
ta_ has joined #ruby
hamakn has quit [Remote host closed the connection]
seal has joined #ruby
anarang has joined #ruby
kalusn has joined #ruby
einarj has joined #ruby
Tuxero has joined #ruby
juanpablo___ has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
aryaching has quit [Ping timeout: 264 seconds]
mrsqueeble has joined #ruby
posixpascal has joined #ruby
jetblack has joined #ruby
<mrsqueeble>
hi i know almost nothing about ruby and i am a hand on types of guy and would like someone to give me some suggestions on what lib/framework to use. Basically I have a bunch of scripts on my machine which do various tasks, i would like these tasks to be accessible by others via the web. thats basically it.
<mrsqueeble>
lol supposed to say *hands on type of guy
Takle has joined #ruby
pika_pika has joined #ruby
<wasamasa>
I'm not sure what exactly you mean by "accessible by other via the web"
<wasamasa>
it sounds like the equivalent of sitting down in a crowded street on a chair with a pair of scissors next to you to wait until someone gives you a haircut
juanpablo___ has quit [Ping timeout: 245 seconds]
<mrsqueeble>
wasamasa: a basic web interface, a hyperlink to some url which triggers the scripts
juanpablo____ has joined #ruby
<mrsqueeble>
wasamasa: haha
<wasamasa>
mrsqueeble: in other words, pretty dangerous
<mrsqueeble>
wasamasa: well i mean people who have auth, there must be an ACL
timanema has joined #ruby
<mrsqueeble>
wasamasa: also it should go over a private network
Morkel has joined #ruby
<mrsqueeble>
or a tunnel or something
<mrsqueeble>
but that is a later issue, right now i would just like to know how to make an app like that
<wasamasa>
use VPN
<mrsqueeble>
wasamasa: it will have to depend on where i put the machine in the end, i might just put it in the office since its nothing fancy
iamninja has joined #ruby
<wasamasa>
that should do the authentication+private network bit
<wasamasa>
as for the rest, you could create a simple webapp and make your buttons trigger scripts on the machine
<wasamasa>
there's rails for bigger stuff and microframeworks for smaller stuff
<wasamasa>
such as sinatra and whatnot
<mrsqueeble>
wasamasa: so you think i should use rails for this_
jottr_ has joined #ruby
<wasamasa>
mrsqueeble: probably not
hiyosi has joined #ruby
<wasamasa>
mrsqueeble: its benefit for you would be that there's very likely a plugin for whatever extra needs should pop up
ta_ has quit [Ping timeout: 252 seconds]
sigurding has joined #ruby
<mrsqueeble>
wasamasa: so you mean it would be more higher level? I would not have to create classes for basic things and whatnot
<mrsqueeble>
hmm ok i will look into it
<wasamasa>
mrsqueeble: it would be more convenient, not higher level
<certainty>
those scary classes :)
juanpablo____ has quit [Ping timeout: 250 seconds]
<mrsqueeble>
I've been using standard ruby forever, and never really touched rails
<mrsqueeble>
i only use ruby for scripting
jerematic has joined #ruby
<wasamasa>
as I wrote, I'd probably use some microframework after figuring out what exactly I need
shime has joined #ruby
<wasamasa>
since my experience with rails at work was... let's just say, mixed
<mrsqueeble>
wasamasa: when you say "some" could you be more precise? I would like to take a look at a couple of them now to get an idea of what you're saying
<wasamasa>
mrsqueeble: sinatra is the most famous one
<mrsqueeble>
thank you
<wasamasa>
in fact, it inspired enough people to create their own for other programming languages
<gregf__>
enricostn: you can achieve what you're trying by this as well: a = (1..10).to_a; data = a.each_cons(5).to_a;while ( data[-1].size != 1 ); data << data[-1][1..-1]; end; p data
xcesariox has joined #ruby
<mrsqueeble>
interesting
aclearman037 has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
<gregf__>
oops, scrolls to the bottom
<certainty>
:)
<wasamasa>
which I find a good thing, although these days I'm leaning towards clojure's approach to the problem
<enricostn>
gregf__, thanks, I'll give it a try
<wasamasa>
which would be taking a very basic adapter over a pure-<insert your language> http server, then adding middleware layers as you need
<gregf__>
enricostn: well, what apeiros_ suggested should be easier and better ;)
<wasamasa>
for ruby, this would be presumably done with rack as foundation
sigurding has quit [Ping timeout: 240 seconds]
<enricostn>
gregf__, it seems so, but I'm having an hard time trying to skip iterations
<certainty>
isn't ring even modelled after rack?
<apeiros_>
gregf__: he changed specs repeatedly. so no idea what he now really wants.
<enricostn>
my bad of course
<enricostn>
XD
<apeiros_>
*they *want
<gregf__>
tho' i'm not quite sure about the lazy bit. i thought lazy initializations would be only when you need it ?
<enricostn>
apeiros_, sorry for the mess, I've updated the gist. should be clearer now. Thanks for your time BTW
lolmaus has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
<apeiros_>
enricostn: no worries, you're welcome. but I'd prefer not to continue at this point.
<enricostn>
ok sure, np
<wasamasa>
mrsqueeble: you should be able to find more, like cuba, grape, etc.
quimrstorres has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 264 seconds]
Parker0 has joined #ruby
juanpablo____ has quit [Ping timeout: 245 seconds]
Parker0 has quit [Client Quit]
RDash has quit [Changing host]
RDash has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
droidburgundy has joined #ruby
caveat- has joined #ruby
hanmac1 has joined #ruby
Takle has joined #ruby
rocknrollmarc has joined #ruby
fryguy9 has joined #ruby
Takle_ has joined #ruby
sambao21 has joined #ruby
arup_r has quit []
rbennacer has joined #ruby
agrinb has joined #ruby
juanpablo____ has joined #ruby
brocktimus has quit [Read error: Connection reset by peer]
psmolen has quit [Ping timeout: 265 seconds]
paulfm has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
tokik_ has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
jottr_ has joined #ruby
MyMind has joined #ruby
enebo has joined #ruby
centrx has joined #ruby
mjhoy has joined #ruby
werelivinginthef has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
<gizmore>
Would anyone donate something for a ruby academy in my home town?
avahey has joined #ruby
Sembei has quit [Ping timeout: 272 seconds]
agrinb has quit [Ping timeout: 245 seconds]
shime has quit [Ping timeout: 252 seconds]
leafybasil has joined #ruby
sankaber has joined #ruby
psmolen has joined #ruby
Takle_ has quit [Ping timeout: 250 seconds]
axl_ has joined #ruby
ta_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
cpruitt has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
blackoperat has joined #ruby
Aova has joined #ruby
tiwillia has joined #ruby
tunaCanBruh has joined #ruby
rocknrollmarc has joined #ruby
iamjarvo has joined #ruby
zenith_ has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
pu22l3r_ has quit []
xenomorph has left #ruby [#ruby]
rocknrollmarc has quit [Ping timeout: 256 seconds]
ych4k3r has joined #ruby
Takle has joined #ruby
pu22l3r has joined #ruby
ponga has quit [Remote host closed the connection]
axl_ has joined #ruby
dspangenberg has joined #ruby
dblessing has joined #ruby
Megtastique has joined #ruby
zzzbra has quit [Ping timeout: 255 seconds]
xcesariox has quit [Ping timeout: 246 seconds]
josephndenton has joined #ruby
fcanela has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
Aristata has joined #ruby
quimrstorres has joined #ruby
plashchynski has joined #ruby
agrinb has joined #ruby
<Aristata>
If I have a nested hash, what would be the easiest way to get the second set of keys as an array?
caveat- has quit [Ping timeout: 245 seconds]
zenith_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
dspangenberg has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
djbkd has joined #ruby
tier has joined #ruby
pdoherty has joined #ruby
cpruitt has quit [Quit: cpruitt]
bronson has joined #ruby
Sou|cutter has quit [Quit: bbiab]
<centrx>
Aristata, h.inject([]) { |m, (k,v)| m += v.keys }
lolmaus has joined #ruby
oleo has joined #ruby
quimrstorres has quit [Ping timeout: 240 seconds]
timanema has quit [Quit: leaving]
zenith_ has joined #ruby
adriancb has joined #ruby
_maes_ has joined #ruby
<apeiros_>
centrx: the = in += is superfluous
djbkd has quit [Ping timeout: 250 seconds]
<canton7>
#inject uses the return value of the block - it doesn't care how 'm' changes
caveat- has joined #ruby
<canton7>
... #each_with_object is the oppposite: it doesn't care about the return value, but does care how 'm' is changed
rocknrollmarc has joined #ruby
<apeiros_>
but even there it's pointless to do += :)
<apeiros_>
it's even worse there as it will be thrown away
Takle has quit [Remote host closed the connection]
<Aristata>
centrx: Sexy
<Aristata>
I was trying to inject with value, result
<apeiros_>
h.values.flat_map(&:keys)
<Aristata>
Didn't know you could do it that way
devdazed has joined #ruby
zenith_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
devdazed has quit [Client Quit]
<hanmac1>
i had that: data.flat_map{|_,h|h.keys}
davedev24_ has quit [Read error: Connection reset by peer]
athan has joined #ruby
davedev24_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
djbkd has joined #ruby
<Aristata>
hanmac: What is that underscore notation?
rocknrollmarc has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
werelivinginthef has joined #ruby
<apeiros_>
Aristata: same as if he'd written "unnecessary" or any other lvar name
withnale has quit [Ping timeout: 250 seconds]
Sou|cutter has joined #ruby
<apeiros_>
_ is just a valid lvar name
rbennacer has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Aristata>
ah
withnale has joined #ruby
<Aristata>
Exactly what I was attempting to avoid, assigning unnecessary variables.
<hanmac1>
the interesting thing is that the interpreter does not warn you about unused variable stuff when using "_"
<Aristata>
Hm
<Aristata>
Good to know
<workmad3>
Aristata: it's quite a common convention to use '_' for a block parameter that you have to provide (due to a certain interface) but don't plan on using :)
<Aristata>
I think I prefer this guy: .values.flat_map(&:keys)
prasselpikachu_ has quit [Ping timeout: 276 seconds]
Kilo`byte has quit [Ping timeout: 265 seconds]
<hanmac1>
Aristata: maybe a tiny bit faster would be .each_value.flat_map(&:keys)
<hanmac1>
depending on your input data
quimrstorres has joined #ruby
<Aristata>
Excellent, thanks guys.
arietis has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
enricostn has quit [Ping timeout: 245 seconds]
chthon has joined #ruby
rocknrollmarc has joined #ruby
troubadour has joined #ruby
SixiS has joined #ruby
totimkopf has quit [Ping timeout: 245 seconds]
prasselpikachu has joined #ruby
Channel6 has quit [Remote host closed the connection]
Pharaoh2_ has joined #ruby
sent1nel has joined #ruby
sagittarian has joined #ruby
tesuji has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
last_staff has quit [Quit: last_staff]
Kilo`byte has joined #ruby
werelivinginthef has quit [Read error: Connection reset by peer]
rodfersou has quit [Ping timeout: 264 seconds]
werelivinginthef has joined #ruby
Pharaoh2 has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
thatslifeson_ is now known as thatslifeson
rocknrollmarc has quit [Ping timeout: 240 seconds]
<centrx>
Diabolik, ok, with strings, you have to tell it how to enumerate the string (by character, by byte (for Unicode))
chinmay_dd has joined #ruby
<centrx>
Diabolik, so use, str.each_char.collect {etc
<centrx>
Diabolik, This is chaining enumeration methods
luksaur has joined #ruby
<Diabolik>
ok
luksaur has quit [Changing host]
luksaur has joined #ruby
<hanmac1>
Diabolik: you need to split the string into an array of each word, then you can append the char and then join it back together
<hanmac1>
of directly use gsub!
dimon_ has quit [Quit: Leaving]
<hanmac1>
or gsub without the !
jimms has quit []
sambao21 has joined #ruby
davedev2_ has joined #ruby
knut has quit [Ping timeout: 244 seconds]
lmickh has joined #ruby
<Diabolik>
so centrx that's split it into letters
<Diabolik>
and put an exclamation after each one
davedev24_ has quit [Ping timeout: 250 seconds]
<centrx>
Diabolik, Yes, see what hanmac1 said, you want to use split to split on whitespace/word boundaries
mic has joined #ruby
<mic>
I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
Megtastique has quit []
<hanmac1>
or simply use gsub with like that:
<hanmac1>
>> "Hey ho let's go".gsub(/\Z|(\s)/,"!\\1")
<hanmac1>
ziyadb: method scope, it does thinks you are trying to call a local variable
erGoline has joined #ruby
<ziyadb>
hanmac1: and how do I resolve it?
<ziyadb>
instance variables don't make sense in this context either..
cpt_yossarian has joined #ruby
<centrx>
ziyadb, response is defined outside the scope of the method
<centrx>
ziyadb, inside the scope of the method, response is not defined
<ziyadb>
centrx: I understand.
<Diabolik>
[15:03:27] <centrx>Diabolik, ok, with strings, you have to tell it how to enumerate the string (by character, by byte (for Unicode))
<Diabolik>
how do i tell it this
<Diabolik>
in general
<Diabolik>
not just in that specific example
<hanmac1>
instance variable would work, but global variable too ... but global variables are mostly unneeded
<erGoline>
Hallo! I'm searching a gem to work with the ebay api (I need to publish/update/delete auction), I found some project but they seem quite outdated... any help, please?
jobewan has joined #ruby
<ziyadb>
hanmac1: Well, changing it into an instance var ins't working.
<Diabolik>
just so i can learn and not bother you in the future hanmac1 what is the difference between .map(&:upcase) and .upcase?
<gregf__>
anyways, you need to make that a class as hanmac1 said
<hanmac1>
Diabolik: String#upcase and Enumerable#map
Aova has joined #ruby
klmlfl has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
robustus has quit [Read error: Connection reset by peer]
<gregf__>
ziyadb: you can also just do: def find_language list; return list.any? { |item| item.end_with?("rb") };end
hamakn has joined #ruby
tunaCanBruh has joined #ruby
<mic>
I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
yokel has quit [Ping timeout: 250 seconds]
klmlfl has quit [Remote host closed the connection]
Yanin has joined #ruby
robustus has joined #ruby
mitchell_ has joined #ruby
yokel has joined #ruby
Tuxero has quit [Quit: Tuxero]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
xpo has quit [Quit: WeeChat 0.4.2]
hamakn has quit [Ping timeout: 252 seconds]
craigp has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hanmac1>
mic you can try it in the #sinatra channel
mitchellhenke has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
zzzbra has joined #ruby
apeiros_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
hanmac1 has quit [Quit: Leaving.]
sinkensabe has joined #ruby
quimrsto_ has joined #ruby
yfeldblum has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
ponga has quit [Ping timeout: 265 seconds]
quimrstorres has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Ping timeout: 255 seconds]
caveat- has joined #ruby
yokel has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
konsolebox has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
[1]Yanin has joined #ruby
greenarrow has joined #ruby
Yanin has quit [Ping timeout: 252 seconds]
[1]Yanin is now known as Yanin
yokel has quit [Ping timeout: 252 seconds]
krz has joined #ruby
nykac has joined #ruby
cpt_yossarian has quit [Ping timeout: 245 seconds]
mjhoy` has joined #ruby
mjhoy has quit [Ping timeout: 245 seconds]
it0a has joined #ruby
yokel has joined #ruby
klmlfl has joined #ruby
seal has quit [Quit: Ex-Chat]
sinkensabe has quit [Read error: Connection reset by peer]
mrmargolis has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
JBreit has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
platzhirsch has left #ruby [#ruby]
mloveless has joined #ruby
Stoge88 has joined #ruby
chishiki has quit [Quit: WeeChat 1.0.1]
chishiki has joined #ruby
caveat- has joined #ruby
shime has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Remote host closed the connection]
sambao21 has joined #ruby
pandaant has joined #ruby
nanoyak has joined #ruby
zzzbra has quit [Ping timeout: 246 seconds]
zzzbra has joined #ruby
Patabugen has quit []
fenzil has joined #ruby
camilasan has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 252 seconds]
zenith_ has joined #ruby
dfoolz_ has joined #ruby
camilasan has joined #ruby
yokel has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
stunder has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
aapole has joined #ruby
dspangenberg has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
AFKGeek has quit [Quit: Fades into the shadows]
lemur has quit [Remote host closed the connection]
jlast has joined #ruby
noop has quit [Ping timeout: 264 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
tiwillia has quit [Ping timeout: 252 seconds]
yokel has quit [Ping timeout: 256 seconds]
giuseppesolinas has quit [Quit: Leaving]
mitchellhenke has joined #ruby
Aova has joined #ruby
aganov has quit [Quit: Leaving]
dspangenberg has quit [Ping timeout: 245 seconds]
yokel has joined #ruby
systemd0wn has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
bronson has joined #ruby
zzzbra has quit [Ping timeout: 245 seconds]
<systemd0wn>
Question, I'm including a class (in file A) in file B. I'd like this class to be able to tell me the filename of file B who included it. Is this possible? I'm having a hard time figuring this out.
sambao21 has quit [Quit: Computer has gone to sleep.]
mkaesz has quit [Remote host closed the connection]
Jackneill has joined #ruby
ta has quit [Remote host closed the connection]
mkaesz has joined #ruby
mkaesz has quit [Read error: No route to host]
Kn|t3 has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
<apeiros_>
systemd0wn: note that "include" and "load/require" have an entirely different meaning in ruby.
<apeiros_>
you could probably use caller. but I don't see a reliable way.
sambao21 has joined #ruby
<systemd0wn>
apeiros_: Thank you, for both.
bronson has quit [Ping timeout: 264 seconds]
einarj_ has quit [Remote host closed the connection]
aryaching has joined #ruby
spyderman4g63 has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
wpp has quit [Quit: ZZZzzz…]
ponga has joined #ruby
arup_r has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 252 seconds]
shredding has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
chrishough has joined #ruby
shum has joined #ruby
camilasan has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
Takle has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros_>
Diabolik: ok. but that was not my question.
<Diabolik>
because the function in the challege is called fix
plashchynski has quit [Quit: plashchynski]
DaniG2k has joined #ruby
<apeiros_>
ok. so that's why you called it fix. what about the arguments it takes?
Macaveli has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
<Diabolik>
it should take the argument of the title of the book
mikepack has joined #ruby
<Diabolik>
day #1 coding ruby btw so i apologise if im nooby as fuck
<apeiros_>
Diabolik: but you already take the title of the book in initialize and store it in the object
<Diabolik>
so what argument should it take?
<apeiros_>
why do you take it again in your `fix` method? you don't make use of it either.
jimms has joined #ruby
<apeiros_>
well, what arguments to you want to pass it?
tus has joined #ruby
djbkd has joined #ruby
nb_bez___ has joined #ruby
<Diabolik>
like i said day #1. i presumed the argument has to be what the function is for
<apeiros_>
I understood that it's day #1, that doesn't absolve you from thinking :-p
<Diabolik>
naturally
<apeiros_>
arguments is information you pass for a method to perform its task
x1337807x has joined #ruby
<apeiros_>
the other part of information a method has is the data which is stored in the object
ta_ has quit [Ping timeout: 252 seconds]
<apeiros_>
the instance variables (those with a leading @)
<Diabolik>
does it have to take an argument?
<Diabolik>
or can it just be blank parentheses
<apeiros_>
no, it is not required to :)
ta has quit [Remote host closed the connection]
tiwillia has quit [Ping timeout: 256 seconds]
<apeiros_>
yes, it can be blank parens (you can even leave the parens away)
voodoofish430 has joined #ruby
<Diabolik>
im confused why im still getting the wrong number of arguments error
Macaveli has quit [Ping timeout: 245 seconds]
<apeiros_>
you changed your code of `fix` to not take any arguments?
<Diabolik>
yes
x1337807x has quit [Client Quit]
<apeiros_>
then show the exception (and/or read it closely first)
<apeiros_>
I suspect I know what errors out and it's different from before.
<Diabolik>
wrong number of arguments (0 for 1)
<Diabolik>
exercise.rb:9:in `include?'
<Diabolik>
exercise.rb:9:in `fix'
<Diabolik>
exercise_spec.rb:6:in `block (3 levels) in <top (required)>'
tier has quit [Remote host closed the connection]
<apeiros_>
ok, see, before it was wrong number of arguments for `fix`
<apeiros_>
now it's for `include?`
mic has joined #ruby
<apeiros_>
I'm not quite sure what `@title.include?(&:downcase).each_with_index(0)` is supposed to do
<Diabolik>
see if the @title has a downcase letter at index 0
Fire-Dragon-DoL has joined #ruby
shredding has quit [Quit: shredding]
djbkd has quit [Ping timeout: 256 seconds]
<apeiros_>
ok, that's not what it does.
ellisTAA has joined #ruby
gawd has joined #ruby
sigurding has quit [Quit: sigurding]
<apeiros_>
pondering on how far I want to go with this
<Diabolik>
don't worry apeiros_
<Diabolik>
i have to run
<Diabolik>
i will figure it out
<Diabolik>
you've been very helpful
<Diabolik>
thank you
<ellisTAA>
hey. if i want to be a top level web developer / programmer, what topics are foundational that i should study? so far i’ve got design patterns on my list, and test development
<apeiros_>
ok. good luck!
<jimms>
Anyone use vim? I just want to make 4 windows in columns into a 2x2 grid
<hoelzro>
jimms: :split, then :vsplit in each of your new splits
<shevy>
real men use emacs
shredding has joined #ruby
<gr33n7007h>
lol
krz has quit [Quit: WeeChat 1.0.1]
nanoyak has quit [Quit: Computer has gone to sleep.]
<jimms>
hoelzro: if I already have the windows open I can't just move them?
Soliah has quit [Quit: Soliah]
greenarrow has quit [Quit: 500]
<jimms>
haha shevy
<hoelzro>
jimms: sure you can
ptrrr has joined #ruby
Yanin has joined #ruby
Soliah has joined #ruby
danjordan has left #ruby [#ruby]
aapole has quit [Ping timeout: 245 seconds]
<shevy>
hoelzro is a guru
Cache_Money has quit [Quit: Cache_Money]
craigp has joined #ruby
eyearrsea is now known as roar
<shevy>
a cyborg - vim is a brain extension module
CustosL1men has quit [Ping timeout: 255 seconds]
tiwillia has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
jlast has joined #ruby
caveat- has joined #ruby
fenzil has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jgt>
“real men”
<shevy>
yeah
<shevy>
matz
<jgt>
ellisTAA: Communication with business people and other developers
<jimms>
hoelzro: so :split does what I expected and gives me the same buffer below, but is there no command similar to c-w L or c-w J that doesn't place the window Beyond all other windows?
diegoviola has joined #ruby
<shevy>
what is he doing lately by the way
arup_r has joined #ruby
<GaryOak_>
streem
mikesplain has joined #ruby
bMalum has quit [Quit: bMalum]
<shevy>
hmm
iamjarvo has joined #ruby
<jimms>
seems like I can only manipulate 3 windows to where I want them, and then, I'm stuck closing windows and reopening
n008f4g_ has quit [Ping timeout: 252 seconds]
<jgt>
jimms: “doesn’t place the window Beyond all other windows” — what does this mean?
<shevy>
would be nice if steem can be combined with multimedia filters from the commandline
spookplumpen has joined #ruby
nolic has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
msgodf has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
<jimms>
jgt: if I have 4 rows I can c-w L to move to the 'right most' spot, but then my only option for the other three rows is to move MORE right, all left (leaving two rows in center colum), or a row above or below. No quick way to move a second row into the new second column
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snath has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<hoelzro>
jimms: yeah, I don't know the VimL to do it offhand =/
olivier_bK has quit [Ping timeout: 265 seconds]
Hijiri has quit [Ping timeout: 265 seconds]
DaniG2k has quit [Quit: leaving]
aclearman037 has joined #ruby
jenrzzz has joined #ruby
<jimms>
it's not a big deal, but something I've been wondering for a while. thanks anyway tho :)
hfor has quit [Ping timeout: 250 seconds]
paulfm has quit [Ping timeout: 245 seconds]
gkra has joined #ruby
aapole has joined #ruby
techietrash has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
erGoline has joined #ruby
<erGoline>
Hallo! I'm searching a gem to work with the ebay api (I need to publish/update/delete auction), I found some project but they seem quite outdated... any help, please?
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
Aova has quit [Read error: Connection reset by peer]
hfor has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
bricker has joined #ruby
tkuchiki has quit [Remote host closed the connection]
lolmaus has joined #ruby
shredding has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shime has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
Aova has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
shime has joined #ruby
maletor has joined #ruby
<jhass>
erGoline: I doubt it's something commonly done, your best bet is probably to fork the best looking one you found and bring it up to shape
maletor has quit [Changing host]
maletor has joined #ruby
mikesplain has left #ruby ["Goodbye"]
paulfm has quit [Ping timeout: 264 seconds]
rocknrollmarc has quit [Ping timeout: 250 seconds]
lolmaus has quit [Client Quit]
Lildirt has quit [Read error: Connection reset by peer]
yokel has joined #ruby
rocknrollmarc has joined #ruby
Lildirt has joined #ruby
<erGoline>
jhass: yes, I was thinking about that, I would like to know if some of these gems are in part functioning, so I can focus on one in particular
voodoofish4301 has joined #ruby
swgillespie has joined #ruby
lrocknrolmarc has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
gfawcettpq has joined #ruby
bronson has joined #ruby
nfk has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
bronson has quit [Read error: Connection reset by peer]
voodoofish430 has quit [Ping timeout: 252 seconds]
voodoofish4301 is now known as voodoofish430
caveat- has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
Weatherlight has joined #ruby
JBreit has left #ruby ["Leaving"]
swgillespie has quit [Client Quit]
Kn|t3 has quit [Quit: Kn|t3]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
paulfm has joined #ruby
rodfersou has quit [Ping timeout: 246 seconds]
ponga has joined #ruby
deol has joined #ruby
mkaesz has joined #ruby
diego_ar has joined #ruby
Kn|t3 has joined #ruby
Takle has joined #ruby
kalusn has quit [Remote host closed the connection]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dspangenberg has joined #ruby
neoxquick has joined #ruby
fenzil has quit [Ping timeout: 245 seconds]
ponga has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 245 seconds]
mleung has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
nanoyak has joined #ruby
nanoyak has quit [Remote host closed the connection]
ramfjord has joined #ruby
troubadour has quit [Quit: troubadour]
arietis has joined #ruby
nanoyak has joined #ruby
mary5030 has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
dspangenberg has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 250 seconds]
alex88 has quit [Remote host closed the connection]
rodfersou has joined #ruby
rbennacer has quit [Remote host closed the connection]
plashchynski has joined #ruby
paulfm has quit [Remote host closed the connection]
Megtastique has joined #ruby
paulfm has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
yokel has joined #ruby
aryaching has joined #ruby
jerius has joined #ruby
withnale has quit [Ping timeout: 245 seconds]
agit0 has joined #ruby
atomical has joined #ruby
danman has quit [Quit: danman]
rbennacer has joined #ruby
lrocknrolmarc has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EvanFreeman has joined #ruby
plashchynski has quit [Quit: plashchynski]
plashchynski has joined #ruby
zachrab has joined #ruby
<Weatherlight>
you know what ruby rhymes with?
zachrab has quit [Client Quit]
<Weatherlight>
booby
justinweiss has joined #ruby
djbkd has joined #ruby
pkrzywicki has joined #ruby
Pupeno has joined #ruby
plashchynski has quit [Client Quit]
Pupeno has quit [Changing host]
Pupeno has joined #ruby
deric_skibotn has joined #ruby
Eiam has joined #ruby
deepu has joined #ruby
Hijiri has joined #ruby
yokel has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
caveat- has joined #ruby
plashchynski has joined #ruby
<workmad3>
Weatherlight: also 'scooby'
fryguy9 has quit [Quit: Leaving.]
fenzil has joined #ruby
<Senjai>
Weatherlight: nice entrance
djbkd has quit [Ping timeout: 252 seconds]
n008f4g_ has joined #ruby
zachrab has joined #ruby
sigurding has joined #ruby
plashchynski has quit [Client Quit]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
axl_ has quit [Quit: axl_]
yokel has quit [Ping timeout: 252 seconds]
godemper1r has joined #ruby
r3dking has joined #ruby
<r3dking>
How do you do an IF statement to see if a variable is a string or number?
sambao21 has quit [Quit: Computer has gone to sleep.]
arietis has joined #ruby
<r3dking>
basically I want "if var1 is not a number; puts "dodo head"; end"
yokel has joined #ruby
chrishough has joined #ruby
Zai00 has quit [Quit: Zai00]
havenwood has joined #ruby
<waxjar>
r3dking: if var.is_a?(Numeric); ... end, but better yet if var.respond_to?(:to_int); var = var.to_int; ... end
<r3dking>
nice
<apeiros_>
IMO best is to not even let that happen
<apeiros_>
(variables which may be one type or maybe another)
skj3gg has quit [Quit: ZZZzzz…]
Notte has joined #ruby
yokel has quit [Ping timeout: 244 seconds]
<r3dking>
gotcha
<r3dking>
thanks
ptrrr has quit [Quit: ptrrr]
chth0n has quit [Ping timeout: 252 seconds]
plashchynski has joined #ruby
chthon has quit [Ping timeout: 264 seconds]
Kn|t3 has joined #ruby
x1337807x has joined #ruby
roar has left #ruby [#ruby]
sambao21 has joined #ruby
dimaursu16 has joined #ruby
axl_ has joined #ruby
yokel has joined #ruby
craigp has quit [Remote host closed the connection]
Jake232 has joined #ruby
Jake232 has quit [Max SendQ exceeded]
bdamos` has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
craigp has joined #ruby
Takle has quit [Remote host closed the connection]
towski_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<r3dking>
waxjar: what about "match on any number, 1, or 20000000"
Aova has joined #ruby
abuzze has quit [Remote host closed the connection]
<waxjar>
any number includes 1 and 2e8 no?
abuzze has joined #ruby
<r3dking>
waxjar: right
erGoline has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 252 seconds]
tiwillia has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
anaeem1_ has quit [Remote host closed the connection]
fryguy9 has joined #ruby
plashchynski has quit [Quit: plashchynski]
anaeem1_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
plashchynski has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 245 seconds]
sankaber has joined #ruby
danman has joined #ruby
sent1nel has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
abuzze has quit [Ping timeout: 250 seconds]
LudicrousMango has joined #ruby
skj3gg has joined #ruby
yokel has joined #ruby
kesroesweyth has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
<kesroesweyth>
Could someone help me with this error when I run 'gem install --system'? The short version of the error is: Symbol not found: _SSLv2_client_method
anaeem1_ has quit [Ping timeout: 252 seconds]
rjc has quit [Quit: Konversation terminated!]
<kesroesweyth>
This is on OS X Yosemite.
totimkopf has joined #ruby
<havenwood>
kesroesweyth: How'd you install Ruby?
<kesroesweyth>
I tried running 'rbenv install 2.1.2' with no luck.
<kesroesweyth>
havenwood: homebrew
caveat- has joined #ruby
kenneth has joined #ruby
kostitas has quit [Ping timeout: 250 seconds]
noop has joined #ruby
<havenwood>
kesroesweyth: `rbenv install` actually uses `ruby-build`, which ships its own OpenSSL instead of using the package managers (uhg).
<havenwood>
manager's*
Guest81637 is now known as pipework
<kesroesweyth>
havenwood: Sounds like what I want then, eh?
kenneth has quit [Client Quit]
<havenwood>
kesroesweyth: You could update ruby-build, to get their new OpenSSL or use a better tool like ruby-install that will link against brew's OpenSSL.
psy_ has quit [Read error: Connection reset by peer]
Aristata has quit [Quit: Leaving.]
cjim has joined #ruby
djbkd has joined #ruby
danzilio_ has joined #ruby
psy_ has joined #ruby
pontiki has joined #ruby
<kesroesweyth>
havenwood: Okay. Should I uninstall ruby entirely and start from scratch? And if so, what are the right steps?
<havenwood>
kesroesweyth: But yeah, rebuild Ruby however you'd like, and not against ruby-build's dated OpenSSL.
<kesroesweyth>
Okay.
kenneth has joined #ruby
<havenwood>
They reeeaaaally shouldn't do it the way they do. People reasonably assume ruby-build will use the updated system OpenSSL when in fact they're using something dated that shipped with ruby-build. Bad idea on their part. ruby-install does it better.
fantazo has joined #ruby
nanoyak has quit [Remote host closed the connection]
<kesroesweyth>
Okay, so I'm a little confused. I want to use ruby-install, after installing ruby through brew, correct?
<havenwood>
kesroesweyth: Nope.
nanoyak has joined #ruby
<shevy>
what do you guys use to build commandline option parsing stuff in ruby scripts?
ta has joined #ruby
totimkopf has quit [Ping timeout: 256 seconds]
kenneth has quit [Client Quit]
<havenwood>
kesroesweyth: So you can `brew install ruby` (this is a brew Ruby install) or `brew install ruby-build` (the rbenv tool) or `brew install ruby-install` (a separate tool that can work with rbenv).
<havenwood>
kesroesweyth: ^ These are three different paths.
<kesroesweyth>
Gotcha.
<havenwood>
shevy: slop
<kesroesweyth>
The last is the one you recommend?
danzilio has quit [Ping timeout: 255 seconds]
<deepu>
I have inherited this script. I'm getting "level":"info","message":"handler extension output","extension":{"type":"extension","name":"gtm-mail-handler"},"output":"undefined method `fetch' for nil:NilClass"}" Can someone tell me why this error? http://pastie.org/private/axuivsiw5oqemad0nii9q
<shevy>
havenwood ok going to check it out
danzilio_ has quit [Client Quit]
<havenwood>
kesroesweyth: With the last one, you'd first `brew install ruby-install` then to install for rbenv: ruby-install --install-dir ~/.rbenv/versions/2.1.2 ruby 2.1.2
danzilio has joined #ruby
kenneth has joined #ruby
iceden has quit [Read error: Connection reset by peer]
<kesroesweyth>
k I'll try that.
sent1nel has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
postmodern has joined #ruby
postmodern has joined #ruby
postmodern has quit [Changing host]
nanoyak has quit [Client Quit]
ponga has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
danzilio_ has joined #ruby
danzilio_ has quit [Max SendQ exceeded]
spyderma_ has quit [Remote host closed the connection]
danzilio_ has joined #ruby
<havenwood>
deepu: paste the full error?
kirun has joined #ruby
spyderman4g63 has joined #ruby
ta has quit [Ping timeout: 256 seconds]
dc has joined #ruby
<deepu>
havenwood: Sensu (monitoring tool) is trying to load the extention and showing this error "{"timestamp":"2015-02-02T18:26:54.059977+0000","level":"info","message":"handler extension output","extension":{"type":"extension","name":"gtm-mail-handler"},"output":"undefined method `fetch' for nil:NilClass"}"
nanoyak has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
danzilio has quit [Ping timeout: 255 seconds]
ptrrr has joined #ruby
tiwillia has joined #ruby
jenrzzz has joined #ruby
<havenwood>
deepu: Oh, okay. Well `@gtm_client` is being assigned by the #update_gtm_vars method, and if that method isn't called before #get_previous_status, etc, then you're calling #fetch on `nil`.
avahey has quit [Quit: Connection closed for inactivity]
<deepu>
havenwood: thank you.. would you please tell me how you would fix it?
lolmaus has joined #ruby
diego_ar has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
<havenwood>
deepu: A guess without actually looking at what the code is doing would be to add `@gtm_client = {}` to the #initialize method.
djbkd has joined #ruby
alex88 has joined #ruby
diego_ar has joined #ruby
cjim has joined #ruby
<deepu>
havenwood: ok thanks I will give that a try
kalusn has joined #ruby
goshdarnyou has joined #ruby
odin22 has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
<deepu>
havenwood: still same error
OrbitalKitten has joined #ruby
<havenwood>
deepu: Maybe it's the #fetch on `@gtm_check` that's failing when you're running #update_gtm_vars if `@event[:check]` isn't a Hash. Need a real error to see where in the code the problem is.
iamjarvo has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit [Ping timeout: 250 seconds]
yokel has quit [Ping timeout: 256 seconds]
xcesariox has joined #ruby
Takle has joined #ruby
<havenwood>
deepu: You could add a line 213 to look at `@gtm_check` and see if that's the case: p @gtm_check
anaeem1_ has joined #ruby
ta has joined #ruby
<havenwood>
deepu: One of those #fetch's is biting you because it's being called on `nil`. Try to figure out which one.
<deepu>
havenwood: ok let me try that
yokel has joined #ruby
kenneth has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
iwishiwerearobot has quit [Quit: Be back later ...]
techietrash has quit [Quit: Bye! <(^_^<)]
ghr has joined #ruby
tier has joined #ruby
m8 has joined #ruby
kies has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
djbkd has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
iceden has joined #ruby
shevy has joined #ruby
spider-mario has joined #ruby
wottam has joined #ruby
ta has joined #ruby
wallerdev has joined #ruby
diego_ar has quit [Remote host closed the connection]
kies has joined #ruby
aapole has quit [Ping timeout: 264 seconds]
Tuxero has joined #ruby
tyfighter has quit [Quit: tyfighter]
yokel has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
diego_ar has joined #ruby
craigp has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 246 seconds]
nanoyak has joined #ruby
tyfighter has joined #ruby
yokel has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
crack has quit [Quit: Leaving]
crack has joined #ruby
mary5030 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 256 seconds]
startupality has joined #ruby
plashchynski has quit [Quit: plashchynski]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
shime has quit [Read error: Connection reset by peer]
The_Phoenix has quit [Read error: Connection reset by peer]
danzilio has joined #ruby
<havenwood>
ziyadb: So that'd be called like `RepoHandler.clone_app(uri)`. Drop the `self.` to make an instance method that can be called like `RepoHandler.new.clone_app(uri)`.
danzilio has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
jottr has joined #ruby
atomical has joined #ruby
<dfoolz_>
hello, I was wondering if anyone would be willing to help me out with this error?
<ziyadb>
havenwood: huh, I imagined self.clone_app WAS to allow RepoHandler.clone_app.
<dfoolz_>
/usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.1.1/lib/active_support/values/time_zone.rb:285: warning: circular argument reference - now
yokel has quit [Ping timeout: 265 seconds]
<ziyadb>
Seems like I don't understand the whole notion of self.
jimms has quit [Remote host closed the connection]
dspangenberg has quit [Ping timeout: 252 seconds]
<havenwood>
ziyadb: well, it *only* created the class variable, not the instance variable as well
<dfoolz_>
line 285: def parse(str, now=now)
<dfoolz_>
should I just change it to def parse(str, now)
<ziyadb>
havenwood: RIGHT.
gigetoo has joined #ruby
<dfoolz_>
I mean that fixes it
<ziyadb>
that's a weird point of contention.
<dfoolz_>
so I guess that's right? o_O
<ziyadb>
Thanks for explaining.
<bricker>
dfoolz_: `now=now` what do you expect that to do?
<havenwood>
ziyadb: if you want both class and instance method you can drop the `self.` and: extend self
<havenwood>
@repo.framework = 'rails' if File.read('Gemfile')['rails']
<ziyadb>
havenwood: my @files seems to be nil, if I puts it from the find_tree method, it works like a charm, but when I try to access it from my RepoHandler object, it doesn't work :(
sent1nel has quit [Remote host closed the connection]
<ziyadb>
havenwood: nooo,
djbkd_ has joined #ruby
<ziyadb>
that's SUPER rubyistic!
shredding has joined #ruby
<ziyadb>
would be perfect.
<shevy>
is .detect like .select ?
<JaredCE>
so i'm starting to learn about ruby. I'm using koding.com as my environment. I've written this: http://pastebin.com/R0V9MG0s yet when I try to run this from the terminal, i seem to be getting a: -:1:in `<main>': uninitialized constant QuickFind (NameError) error
<shevy>
havenwood knows so many tricks
<havenwood>
I guess you'd not want to read the file over and over, so just assign a variable.
wpp has joined #ruby
<havenwood>
shevy: It's like select but stops on the first match.
<ziyadb>
shevy: and I'm quite lucky.
<shevy>
ah cool
<havenwood>
shevy: like #find
caveat- has joined #ruby
wpp has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspertidemann has joined #ruby
<havenwood>
JaredCE: When you try to run it in irb?
yokel has quit [Ping timeout: 252 seconds]
<havenwood>
JaredCE: Use snake_case for both variables and method names, not CamelCase or headlessCamel.
<JaredCE>
havenwood: from the terminal, i write "ruby QuickFind.rb a = QuickFind.new(6) a.Show"
djbkd_ has quit [Ping timeout: 252 seconds]
<havenwood>
JaredCE: You'd have to load the code before you can run it.
<havenwood>
JaredCE: Paste your code then try again.
<havenwood>
JaredCE: or `require` the file the code is in.
<JaredCE>
havenwood: i thought i was by telling it QuickFind.rb
sambao21 has joined #ruby
<havenwood>
JaredCE: ahh, i see what you're trying to do.
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
jgt has quit [Ping timeout: 255 seconds]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davispuh has joined #ruby
<waxjar>
note that that'll read the Gemfile twice, not a big deal in that code, but not ideal if you have a bigger array
Notte has quit []
mary5030 has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
n1lo has quit [Quit: Leaving]
caveat- has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
EvanFreeman has joined #ruby
jgt has joined #ruby
jlast_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
yokel has joined #ruby
caveat- has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
EvanFreeman has joined #ruby
phoo1234567 has joined #ruby
dreinull75 has joined #ruby
tyfighter has joined #ruby
OrbitalKitten has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
rdark has quit [Quit: leaving]
phoo1234567 has joined #ruby
mjhoy` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<dreinull75>
trying to query a db with sequel. One column has either 1 or 2 in its cells. How would I ask for 2s only if they exist otherwise 1s. Is there a simple solution?
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
agit0 has quit [Quit: This computer has gone to sleep]
yokel has quit [Ping timeout: 250 seconds]
rodfersou has quit [Ping timeout: 250 seconds]
tyfighter has quit [Quit: tyfighter]
uptownhr has joined #ruby
pandaant has quit [Remote host closed the connection]
aapole has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
ellisTAA has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
sankaber has joined #ruby
<dreinull75>
probably more an sql question, I'll head over to #sql
caveat- has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
yokel has joined #ruby
odin22 has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
werelivinginthef has quit [Remote host closed the connection]
<ziyadb>
Which exists, and @repo.directory exists too.
craigp has joined #ruby
dc has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
aapole has joined #ruby
Moeh has joined #ruby
noop has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
shredding has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
triple_b has joined #ruby
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #ruby
iwishiwerearobot has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
<Moeh>
Hey, I have an interesting problem. Say I have a hash like this { "widget" => { "debug" => "on", "window" => { "title" => "Sample Konfabulator Widget", "name" => "main_window" } } } I need to write a script that gives me: an array of all the nodes that point to an actual value (e.g. ["debug", "title", "name"]), the values that they point to (e.g. ["on", "Sample Konfabulator Widget", "main_window"] and the path to this field (e.g. ["widget
<deepu>
havenwood: not sure why line 227 would be nil
quimrstorres has joined #ruby
dc has joined #ruby
tunaCanBruh has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 256 seconds]
sent1nel has joined #ruby
yokel has joined #ruby
r3dking has quit [Quit: Konversation terminated!]
giuseppesolinas has joined #ruby
werelivinginthef has joined #ruby
quimrstorres has quit [Remote host closed the connection]
cphrmky has joined #ruby
uptownhr has quit [Quit: uptownhr]
quimrstorres has joined #ruby
vvivv has quit [Ping timeout: 240 seconds]
safetypin has joined #ruby
OrbitalKitten has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
<safetypin>
if i’m trying to restore my mac to a sort of ‘pristine’ situation, before i installed a newer version of ruby than the default yosemite, does anyone know if I can/should remove the /Library/Ruby folder?
tunaCanBruh has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
<safetypin>
i guess not, since yosemite comes with ruby 2.0.0 and all the gems and stuff are listed under a 2.0.0 directory..
werelivinginthef has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
yokel has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
cpt_yossarian has quit [Remote host closed the connection]
<shevy>
ok now that was easy :-)
freerobby has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
Axy has quit [Read error: Connection reset by peer]
vvivv has joined #ruby
<apeiros_>
shevy: the CSV stdlib
alex88 has joined #ruby
yokel has quit [Read error: Connection reset by peer]
yokel has joined #ruby
skj3gg has joined #ruby
quimrstorres has quit [Remote host closed the connection]
x1337807x has joined #ruby
DrShoggoth has joined #ruby
mjhoy has quit [Ping timeout: 245 seconds]
ta has joined #ruby
frem has joined #ruby
cpt_yossarian has joined #ruby
quimrstorres has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Stoge88 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
allcentury has joined #ruby
gfawcettpq1 has joined #ruby
shum has joined #ruby
uptownhr has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Landshark753 has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
shum has quit [Client Quit]
Landshark753 has joined #ruby
shum has joined #ruby
duncannz has joined #ruby
Aova has quit [Read error: Connection reset by peer]
YamakasY_ is now known as YamakasY
zenith_ has quit [Ping timeout: 264 seconds]
quimrstorres has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<Moeh>
Okay guys, I am almost there. The only missing part is: given a field name in a hash, return the path to get there (e.g. ["widget", "debug"]). Any help is highly appreciated.
caveat- has joined #ruby
duncannz has quit [Max SendQ exceeded]
<centrx>
is this a homework
ta has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby
duncannz has joined #ruby
sent1nel has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Moeh>
No, a private project that I am working on.
Xiti has joined #ruby
einarj has joined #ruby
chrishough has joined #ruby
<centrx>
Moeh, What do you mean by the "path to get there"
<centrx>
so sometimes it might be 'widget', sometimes it might be 'title'?
<centrx>
are these unique?
InfraRuby has joined #ruby
paulfm_ has quit [Quit: Zzzzz...]
sent1nel has joined #ruby
<centrx>
that is, if you search for 'title', in this case the answer would be [widget, window] ?
<Moeh>
Yes, they are unique. So for this hash the input would be "title" and the output should be ["widget", "window", "title"]
Aova has joined #ruby
<centrx>
hm
<Moeh>
Yes, or [widget, window]
einarj has quit [Read error: Connection reset by peer]
<InfraRuby>
hi, i'm trying to use bundler's resolver directly, without creating a Gemfile
<centrx>
recursion
ptrrr has quit [Quit: ptrrr]
einarj has joined #ruby
chrishough has quit [Client Quit]
<centrx>
Moeh, Does this have to be highly performant? There might be a good algorithm for it as a tree
<Moeh>
No, performance is not really an issue here.
claw_ has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
scripore has joined #ruby
startupality has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
sambao21 has joined #ruby
<Moeh>
So basically it would be a recursive function that goes through all k,v pairs until k == "title", then it would work its way "up" from there, right? The problem for me is the way up.
Weatherlight is now known as Weatherlight2
Weatherlight2 is now known as Weatherlight3
claw_ has joined #ruby
freerobby has joined #ruby
zachrab has joined #ruby
vvivv has quit [Quit: Leaving]
gfawcettpq1 has quit [Quit: Leaving.]
djbkd has joined #ruby
<centrx>
yeah it's a tree search algorithm that retains its path
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kostitas has quit [Quit: Leaving]
plashchynski has quit [Quit: plashchynski]
<centrx>
my wisdom is failing me at the moment
tmtwd has quit [Remote host closed the connection]
Zarthus has quit [Ping timeout: 245 seconds]
plashchynski has joined #ruby
<apeiros_>
no need to work your way back up
<apeiros_>
just keep the stack
<apeiros_>
push as you go down, pop as you go up again
Adran has quit [Quit: Este é o fim.]
sambao21 has quit [Ping timeout: 245 seconds]
<apeiros_>
for quick stack unwind you can either use procs for the recursion + return for unwinding, or use an outer method with catch and throw from the inner method
blahblah123 has joined #ruby
<apeiros_>
where inner == recursing
<apeiros_>
*recurring
SixiS has quit [Quit: SixiS]
craigp has quit [Remote host closed the connection]
Zarthus has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<d10n-work>
weaksauce: eam: I don't want to indent the DOCOPT string to match the class's indentation and I don't know of a Python-like dedent function
blackoperat has quit [Ping timeout: 246 seconds]
Hijiri has joined #ruby
caveat- has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
aclearman037 has quit [Quit: I'm out!]
decoponio has joined #ruby
tercenya has joined #ruby
<Moeh>
apeiros_: wow, this is really great. Thanks a lot! The push / pop is only necessary for the case where the name of the last node is not unique, correct? So for instance if I search for "name" and there are actually two paths to get to it.
sent1nel has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
sent1nel has joined #ruby
Xeago has quit [Remote host closed the connection]
werelivinginthef has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
<d10n-work>
I don't like how using "class NavalFate < Sinatra::Base; end; NavalFate::Doc = [...]" would separate the NavalFate's get handlers from the part of the class that first has Sinatra::Base
yfeldblu_ has joined #ruby
djbkd has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 264 seconds]
anonymous_mk has left #ruby [#ruby]
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
sent1nel has quit [Client Quit]
allcentury has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
werelivinginthef has joined #ruby
djbkd has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
kobain has joined #ruby
deol has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
longfeet has quit [Read error: Connection reset by peer]
longfeet has joined #ruby
djbkd has joined #ruby
triple_b has quit [Ping timeout: 264 seconds]
jobewan has quit [Quit: Leaving]
lioninawhat has joined #ruby
freerobby has quit [Quit: Leaving.]
Macaveli has joined #ruby
<weaksauce>
d10n-work you could add it as part of a module and include that possibly?
djbkd has quit [Remote host closed the connection]
<jgt>
is there a better way of writing `if model.main_address.nil? then "" else model.main_address.to_paragraph end`?
caveat- has joined #ruby
<jgt>
now that I think of it, I think it violates tell don’t ask
<centrx>
jgt, if this is a method, put a cut-off return at the top: return "" if model.main_address.nil?
ta has joined #ruby
<jgt>
centrx: yeah, that’d also work
<centrx>
but yeah the context is important for how to do what you're doing best
cjim has quit [Quit: (null)]
<Moeh>
apeiros_: Sorry, only one more question. I tried to adjust your code so that it works with hashs that contain arrays like here: http://pastie.org/9881993 This does not work. Would you mind telling me why?
F__i__L has joined #ruby
<F__i__L>
do we have any secure_compare method in plain ruby ?
plashchynski has quit [Quit: plashchynski]
<Senjai>
F__i__L: I don't think so
<micah>
can someone tell me why this creates a hex string that isn't the length that I pass (or 16 if I pass no length)... for example if I pass length=2, i get a hex string of 4
<centrx>
ah nice use of throw-catch
<F__i__L>
:'(
<Senjai>
F__i__L: ActiveSupport I think has it, or Rack.
ta has quit [Ping timeout: 252 seconds]
Aova has quit [Read error: Connection reset by peer]
Pupeno has quit [Read error: Connection reset by peer]
plashchynski has joined #ruby
danzilio has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Pupeno has joined #ruby
cjim has joined #ruby
<micah>
The length of the result string is twice of n
<micah>
hah
codecop has quit [Remote host closed the connection]
blahblah123 has quit [Quit: WeeChat 1.0.1]
InfraRuby has quit [Remote host closed the connection]
josephndenton has joined #ruby
djbkd has joined #ruby
uptownhr has joined #ruby
pkrzywicki has quit [Ping timeout: 240 seconds]
athan has quit [Read error: Connection reset by peer]
Aova has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
DadoCe has joined #ruby
tjbiddle has joined #ruby
i0n has quit [Quit: snooze]
silkfox has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
lioninawhat has quit [Read error: Connection reset by peer]
brb3 has quit [Quit: <.<]
iwishiwerearobot has joined #ruby
lioninawhat has joined #ruby
kirun has quit [Quit: Client exiting]
micah has left #ruby [#ruby]
caveat- has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
Troy^ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
ta has joined #ruby
chrishough has joined #ruby
iwishiwerearobot has quit [Ping timeout: 240 seconds]
dc has joined #ruby
phoo1234567 has quit [Quit: Leaving]
cjim has quit [Quit: (null)]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc__ has quit [Ping timeout: 255 seconds]
aagdbl has quit [Quit: Connection closed for inactivity]
allcentury has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
konsolebox has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 264 seconds]
cjim has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
caveat- has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
tier has joined #ruby
quimrstorres has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
sent1nel has quit [Remote host closed the connection]
enterprisedc has quit [Quit: enterprisedc]
ponga has quit [Ping timeout: 252 seconds]
deol has quit [Ping timeout: 264 seconds]
thiagovsk has quit [Quit: Connection closed for inactivity]
enterprisedc has joined #ruby
plashchynski has quit [Quit: plashchynski]
m8 has quit [Quit: Sto andando via]
ta_ has joined #ruby
wottam has joined #ruby
djbkd has joined #ruby
DadoCe has quit []
quimrstorres has quit [Ping timeout: 246 seconds]
caveat- has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
kalusn has quit [Remote host closed the connection]
banister has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackoperat has joined #ruby
bMalum has quit [Quit: bMalum]
nateberkopec has quit [Quit: Leaving...]
wldcordeiro has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
zenspider_ is now known as zenspider
chipotle has quit [Quit: cheerio]
ta has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 245 seconds]
caveat- has joined #ruby
caveat- has quit [Client Quit]
ghr has joined #ruby
<zenspider>
centrx: avoid nil checks
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
athan has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx>
ok
Pharaoh2_ has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
<havenwood>
miah: if `v` is an Array and you do a #recurring_search of that Array, `data.each do |k, v|` and subsequent code meant for a Hash doesn't work.
ghr has quit [Ping timeout: 256 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<zenspider>
havenwood: micah, maybe?
<havenwood>
zenspider: oops, indeed
shime has joined #ruby
<havenwood>
miah: sorry bout that, mt
Pharaoh2 has quit [Ping timeout: 252 seconds]
ghostmoth has joined #ruby
<havenwood>
micah left hence my autocorrect fail
<havenwood>
autocomplete*
giuseppesolinas has quit [Quit: Leaving]
ta has joined #ruby
athan has quit [Read error: Connection reset by peer]
triple_b has joined #ruby
kalusn has joined #ruby
i0n has joined #ruby
gattie has quit [Quit: Leaving...]
chinmay_dd has quit [Quit: Connection closed for inactivity]
<miah>
<3
plashchynski has joined #ruby
plashchynski has quit [Client Quit]
sent1nel has quit [Ping timeout: 245 seconds]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
sinkensabe has joined #ruby
quazimodo has joined #ruby
x1337807x has joined #ruby
ta has quit [Ping timeout: 252 seconds]
cjim has quit [Quit: (null)]
tokik has joined #ruby
sent1nel has joined #ruby
pdoherty has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Ping timeout: 240 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
triple_b has joined #ruby
nfk has quit [Quit: yawn]
rbennacer has quit []
postmodern has quit [Quit: Leaving]
Pupeno_ has joined #ruby
klmlfl has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 244 seconds]
ta has joined #ruby
kalusn has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
shum has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
klmlfl has joined #ruby
ThePendulum has joined #ruby
ThePendulum has left #ruby [#ruby]
Hijiri has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
<wallerdev>
whats it do
spyderman4g63 has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
knut has joined #ruby
claptor has joined #ruby
<deepu>
wallerdev: load json files
deric_skibotn has quit [Ping timeout: 245 seconds]
<Senjai>
deepu: !use
<helpa>
deepu: Don't ask "does anyone use <thing>?". It's better to just state your problem and if anyone has used <thing> they will most likely answer.
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristian-aalborg has joined #ruby
Hijiri has joined #ruby
<kristian-aalborg>
cheers
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kristian-aalborg>
/usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jekyll_lunr_js_search/version (LoadError)
<kristian-aalborg>
what does that mean?
ghr has quit [Ping timeout: 245 seconds]
<wallerdev>
it means you're missing jekyll_lunr_js_search
zachrab has joined #ruby
<wallerdev>
it can't load it because it can't find it