flowerha_ has quit [Remote host closed the connection]
brianherman has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
JoshGlz__ has joined #ruby
JoshGlzB_ has quit [Ping timeout: 260 seconds]
<weeb1e_>
I see 2.1 has some awesome new profiling and tracing stuff
JoshGlzBrk has quit [Ping timeout: 255 seconds]
<weeb1e_>
I hope it helps me track down what is making one of my applications GC go crazy after 12 or 24 hours uptime
JoshGlzBrk has joined #ruby
eyeamaye1 has quit [Quit: Leaving.]
philcrissman has joined #ruby
devdazed has quit [Ping timeout: 240 seconds]
<centrx>
weeb1e_, Ruby 2.1 is much faster because of GC changes, and I think what you are referring to might be related to those improvements
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weeb1e_>
I was using 2.0.x for that specific application, but I just updated to 2.1.2
jayunit100_ has joined #ruby
<weeb1e_>
The issue will only start to occur sometime tomorrow, so I will only be able to start investigating then
<centrx>
weeb1e_, I'm not familiar with the new profiling and tracing things you are referring to?
benzrf|offline has joined #ruby
<weeb1e_>
But after some uptime, GC starts using ~90% of a CPU core, making the application take up to seconds to respond
JoshGlz__ has quit [Ping timeout: 260 seconds]
benzrf has quit [Quit: leaving]
benzrf|offline is now known as benzrf
<weeb1e_>
I assume there must be some bad bug somewhere causing that, but when I profiled it with perftool.rb, all that showed was GC using the CPU time
<centrx>
weeb1e_, There were some issues with some of the constant settings used in the GC, but I think those have been fixed by 2.1.2
philcrissman has quit [Ping timeout: 260 seconds]
gtrak has quit [Ping timeout: 264 seconds]
devdazed has joined #ruby
<weeb1e_>
pipework: Anything causing such a major GC performance issue is a very bad bug
<weeb1e_>
But I mean a bug in my application, not a ruby bug
<pipework>
weeb1e_: I think it depends on whether the application is doing things to cause so many objects to be GC'd?
<pipework>
Oh gotcha.
<weeb1e_>
centrx: I guess we'll see in 12 - 24 hours, if the issue occurs again
nat2610 has quit [Quit: Leaving.]
lyuzashi has joined #ruby
nat2610 has joined #ruby
nat2610 has quit [Max SendQ exceeded]
nat2610 has joined #ruby
<weeb1e_>
I started semi-closed alpha testing a little over a day ago, and more users have been invited than I was hoping for at this point
lolmaus has joined #ruby
<centrx>
those greedy users
<centrx>
stealing all your memory
<weeb1e_>
So the higher load will likely cause the issue to occur faster
SilkFox has joined #ruby
<codebrah>
collecting all your garbage >:(
<weeb1e_>
The strange part is, even with almost no users online, GC would continue using 90% CPU
<weeb1e_>
The issue is in no way directly related to load
jamesfordummies has quit [Client Quit]
<pipework>
weeb1e_: What is your application built on?
<weeb1e_>
But I really hope it was a bug in 2.0's GC, and not in my application, as I have a ton of other important things I need to get to
nateberkopec has quit [Quit: Leaving...]
<weeb1e_>
pipework: Eventmachine
<pipework>
weeb1e_: So you're not pulling in any large libraries?
mr_snowf1ake has joined #ruby
<weeb1e_>
This platform is made up of 3 different applications, but the affected one is the only one running on ruby 2.x
iteratorP has joined #ruby
<weeb1e_>
These are most of its gems: activesupport, mongo_mapper, eventmachine, em-resolv-replace, em-synchrony, em-websocket, em-http-request, em-irc
<weeb1e_>
(they share a gemfile, and some but not all gem groups)
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fezzler has quit [Quit: Leaving]
<weeb1e_>
I've monkeypatched the mongo driver to use eventmachine and fibers
marr has quit [Ping timeout: 260 seconds]
Bumptious has quit [Remote host closed the connection]
mr_snowf1ake has quit [Client Quit]
funburn has quit [Quit: funburn]
<weeb1e_>
pipework: I don't know exactly what you consider a "large library"
<weeb1e_>
Eventmachine is not exactly small
ddv has quit [Ping timeout: 260 seconds]
<weeb1e_>
I roll most things myself, so I rather use sinatra than rails for instance
kith has quit [Read error: Connection reset by peer]
ddv has joined #ruby
<pipework>
Ah at least you're not using something that barely leaves any room for your application after it's been loaded.
luckyruby has joined #ruby
naw_ has quit [Read error: Connection reset by peer]
naw has joined #ruby
benzrf is now known as benzrf|offline
kith has joined #ruby
amclain has quit [Quit: Leaving]
codebrah has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Ping timeout: 244 seconds]
<weeb1e_>
pipework: I only build single threaded asynchronous reactor based applications, so performance is very important to me
<pipework>
weeb1e_: I'm sorry. I prefer multi-threaded asynchronous reactor-based software.
<weeb1e_>
Haha
<pipework>
That way you can adjust your reactors according to need without having only one.
<weeb1e_>
If I need multiple reactors, I would rather use multiple processes
mrommelf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework>
My condolences.
sfate has quit [Ping timeout: 255 seconds]
<shevy>
reactors?
<shevy>
are you guys going to nuke something?
<pipework>
shevy: No, we're going to overreact.
chipotle has quit [Quit: cya]
<pipework>
weeb1e_: Setting affinity sounds silly
zz_karupa is now known as karupa
oo_ has joined #ruby
freerobby has joined #ruby
Spami has joined #ruby
<weeb1e_>
It does, considering all recent linux kernels are far better at managing your processes CPU time than you are
nahtnam has joined #ruby
<centrx>
Is that an insult
<nahtnam>
Hey! Is there an online guide or book that goes over Ruby's execution method
dvabr_ is now known as dvabr
gtrak has joined #ruby
mrbrklyn has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Leaving]
<centrx>
nahtnam, Try looking up how MRI works. MRI is the reference Ruby Interpreter
oo_ has quit [Remote host closed the connection]
<centrx>
nahtnam, Others, like JRuby, use other techniques, like the JVM JRuby
<shevy>
when I see code like that I instantly eliminate it
<shevy>
a, a = [1, 2]
<nobitanobi>
:D
<shevy>
that one is pretty cool though
<shevy>
but it is actually logical
<shevy>
right pipework?
<pipework>
right
<shevy>
\o/
<pipework>
Only the first section looks like something you could actually hide in code without looking sketchy.
nateberkopec has joined #ruby
<pipework>
shevy: The first section looks like legitimate accidents.
dopie has quit [Read error: Connection reset by peer]
<eam>
I like it
x1337807x has joined #ruby
devdazed has joined #ruby
aleatorik has joined #ruby
<centrx>
Are we hacking
matchaw has quit [Ping timeout: 264 seconds]
<pipework>
aint we doe
nat2610 has quit [Quit: Leaving.]
matchaw has joined #ruby
nat2610 has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby
aleatorik has quit [Client Quit]
Zebroid has joined #ruby
sevenseacat has joined #ruby
toastynerd has quit [Remote host closed the connection]
<shevy>
I am!
<shevy>
but now I am going to bed
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
funburn has quit [Quit: funburn]
<nobitanobi>
night shevy
Zebroid has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
mercwithamouth has joined #ruby
arya_ has joined #ruby
chrishough has quit [Quit: chrishough]
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
arya_ has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
x1337807x has joined #ruby
benzrf|offline is now known as benzrf
skysploit has quit [Remote host closed the connection]
nahtnam has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
bbloom has joined #ruby
CuriousMind has quit [Ping timeout: 246 seconds]
tewlz has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
braincra- has joined #ruby
bmurt has quit []
icebourg has joined #ruby
SilkFox has quit [Read error: Connection reset by peer]
phoo1234567 has quit [Quit: Leaving]
djbkd has joined #ruby
icebourg_ has joined #ruby
SilkFox has joined #ruby
braincrash has quit [Ping timeout: 264 seconds]
KLVTZ has joined #ruby
jxf has quit [Ping timeout: 250 seconds]
codebrah has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
icebourg has quit [Ping timeout: 272 seconds]
DEA7TH has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amystephen has quit [Quit: amystephen]
nat2610 has quit [Quit: Leaving.]
tokik has joined #ruby
icebourg_ has quit []
chrishough has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
mrommelf has joined #ruby
Matadoer has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Matadoer has joined #ruby
jxf has joined #ruby
amystephen has joined #ruby
djbkd has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
TheNet has quit [Quit: Leaving...]
momomomomo has quit [Quit: momomomomo]
jmbrown412 has joined #ruby
robustus has joined #ruby
kenneth has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
jbomo has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
sputnik13 has joined #ruby
Zebroid has joined #ruby
jmbrown412 has joined #ruby
KLVTZ has quit [Ping timeout: 260 seconds]
flowerhack has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Zebroid has quit [Ping timeout: 250 seconds]
danijoo_ has joined #ruby
jmbrown412 has quit [Ping timeout: 260 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devdazed has quit [Ping timeout: 244 seconds]
<weeb1e_>
centrx: It was not meant as an insult
zmisc has joined #ruby
eyeamaye has quit [Quit: Leaving.]
devdazed has joined #ruby
jayunit100_ has quit [Quit: jayunit100_]
skysploit has joined #ruby
maletor has joined #ruby
Grantlyk has quit [Remote host closed the connection]
amystephen has quit [Quit: amystephen]
flowerhack has quit [Remote host closed the connection]
Bumptious has joined #ruby
mr_snowf1ake has joined #ruby
ARCADIVS has joined #ruby
chipotle has joined #ruby
tylerkern has joined #ruby
ti-wali___ has joined #ruby
Bumptiou_ has joined #ruby
ti-wali has quit [Ping timeout: 240 seconds]
Bumptious has quit [Ping timeout: 255 seconds]
hamakn has joined #ruby
oo_ has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
codebrah has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
koderok has joined #ruby
jxf has quit [Ping timeout: 260 seconds]
koderok has quit [Read error: Connection reset by peer]
JuanS has joined #ruby
starless has quit [Quit: Leaving]
koderok has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
philcrissman has joined #ruby
ti-wali___ has quit [Remote host closed the connection]
charliesome has joined #ruby
JuanS is now known as Holman
philcrissman has quit [Ping timeout: 264 seconds]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Remote host closed the connection]
skysploit has quit []
bogeyd6 has quit [Ping timeout: 250 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
spastorino has quit [Quit: Connection closed for inactivity]
eyeamaye has joined #ruby
devdazed has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
devdazed has joined #ruby
tewlz has joined #ruby
<pontiki>
evening rubyists
<pipework>
hello rubbyist
nateberkopec has quit [Quit: Leaving...]
tectonic has quit []
Wolland has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
kireevco has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 272 seconds]
diegoviola has joined #ruby
<benzrf>
rubbby
Angelo_ has joined #ruby
Zebroid has joined #ruby
sputnik13 has joined #ruby
funburn has joined #ruby
oo_ has joined #ruby
djbkd has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
saarinen has joined #ruby
Zebroid has quit [Ping timeout: 240 seconds]
devyn has quit [Read error: Connection reset by peer]
krz has joined #ruby
devyn has joined #ruby
kireevco has quit [Quit: Leaving.]
Matadoer has quit [Remote host closed the connection]
Matadoer has joined #ruby
chipotle has quit [Ping timeout: 250 seconds]
<nobitanobi>
do you guys happen to know any resource that analyzes the big o notation of defined Ruby methods? e.g: length is O(1)...?
<centrx>
nobitanobi, They're generally the same as the best-practice algorithms you can find in the computer science and art at large
<nobitanobi>
centrx: I see
funburn has quit [Quit: funburn]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
djbkd has joined #ruby
<centrx>
nobitanobi, For example, I expect #length to be some attribute of the array that is accessed in constant-time, and indeed you can look in the source code and find that it looks like it is so
sputnik13 has joined #ruby
<nobitanobi>
yeah, centrx that is how I discovered the O(1)
<nobitanobi>
I was just thinking that somebody would have collected which algorithms were chosen for each method
<nobitanobi>
it is interesting to me what is besides the lovely high level method :)
<nobitanobi>
or at least, what is its complexity
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
thomasxie has joined #ruby
<centrx>
nobitanobi, I would learn about the topic in general, that's where most of the material is, not specific to Ruby
<centrx>
nobitanobi, Most of the fancy algorithms are not in Ruby core or even stdlib, except for say Array#bsearch
<centrx>
nobitanobi, Most of it is straightforward Enumerable iteration, which is always fundamentally O(n)
<centrx>
nobitanobi, Hash is essentially a "hash table"
<nobitanobi>
centrx: right now my concern is that I am starting to prepare for interviews, and I am 'comfortable' writing in Ruby, and I am planning on using it to answer the questions, but obviously I am also afraid that is a 'too high level' language.
bogeyd6 has joined #ruby
<nobitanobi>
that is why I wanted to at least, know which algorithms were behind some methods that I tend to use
<centrx>
nobitanobi, Try implementing the sorting and/or searching algorithms in Ruby
<nobitanobi>
centrx: right. Instead of just using .sort you mean, right?
SilkFox has quit [Ping timeout: 240 seconds]
devyn has quit [Read error: Connection reset by peer]
vsoftoil_ has quit []
devyn has joined #ruby
Wolland has quit [Remote host closed the connection]
<centrx>
nobitanobi, right, these Ruby methods implement more low-level techniques in dealing with data
<nobitanobi>
yep. centrx good point
<centrx>
nobitanobi, So it turns out #sort uses an algorithm called "Quicksort"
GriffinHeart has joined #ruby
<centrx>
nobitanobi, This is a topic that is relevant to any language, and you can implement the behavior of Quicksort in Ruby, without using the pre-implemented high-level function
<nobitanobi>
centrx: yeah. Thanks for your help
<nobitanobi>
I want to avoid going back to the pointers.
<nobitanobi>
:D
vsoftoiletpaper has joined #ruby
abuzze_ has joined #ruby
nat2610 has joined #ruby
<centrx>
nobitanobi, Yeah that's good to know too. Learning C is valuable
mary5030 has quit [Remote host closed the connection]
<centrx>
nobitanobi, "Data Structures & Algorithms" is the general topic
eka has joined #ruby
havenwood has joined #ruby
<nobitanobi>
centrx: yep, I agree is valuable
abuzze has quit [Ping timeout: 240 seconds]
<pipework>
Not just valuable, super fun and cool.
nobitanobi has quit [Remote host closed the connection]
<centrx>
same thing ||=P
braincra- has quit [Quit: bye bye]
nobitanobi has joined #ruby
<nobitanobi>
pipework: do you find it fun?
<pipework>
centrx: Not all valuable things are super fun and cool.
<pipework>
nobitanobi: Of course.
<nobitanobi>
pipework: I admire you
ghr has joined #ruby
<pipework>
nobitanobi: Don't.
dopie has joined #ruby
<nobitanobi>
already did
<nobitanobi>
:)
djbkd has quit [Remote host closed the connection]
<pipework>
rood
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TorpedoSkyline has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
braincrash has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
koderok has quit [Quit: koderok]
_2_Lima134 has joined #ruby
lusory has joined #ruby
chipotle has joined #ruby
_2_Lima134 has left #ruby [#ruby]
infinitone has quit [Ping timeout: 264 seconds]
Photism has quit [Quit: Leaving]
Holman is now known as none
InhalingPixels has joined #ruby
none is now known as Guest94419
mikepack has joined #ruby
icebourg has joined #ruby
Angelo_ has quit [Quit: Angelo_]
mr-foobar has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
michaeldeol has joined #ruby
InhalingPixels has quit [Ping timeout: 250 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MatthewsFace has joined #ruby
sputnik13 has joined #ruby
kireevco has quit [Quit: Leaving.]
momomomomo has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
mrommelf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik13 has quit [Client Quit]
nanoyak has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
tewlz has quit [Ping timeout: 240 seconds]
jmbrown412 has joined #ruby
tylerkern has quit [Ping timeout: 260 seconds]
sputnik13 has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
weems|nix has joined #ruby
weems|nix has quit [Changing host]
weems|nix has joined #ruby
tylerkern has joined #ruby
jmbrown412 has joined #ruby
momomomomo has quit [Quit: momomomomo]
KLVTZ has joined #ruby
Matadoer has quit [Remote host closed the connection]
Zebroid has joined #ruby
Matadoer has joined #ruby
nat2610 has quit [Quit: Leaving.]
poguez_ has joined #ruby
amargherio has joined #ruby
nat2610 has joined #ruby
tylerkern has quit [Client Quit]
jmbrown412 has quit [Ping timeout: 260 seconds]
dseitz has joined #ruby
SchweetPapa has quit [Ping timeout: 260 seconds]
Zebroid has quit [Ping timeout: 272 seconds]
KLVTZ has left #ruby [#ruby]
echooo has quit [Remote host closed the connection]
echooo has joined #ruby
Wolland has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
reset has joined #ruby
chrishough has quit [Quit: chrishough]
vsoftoiletpaper has quit []
davedev2_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
SidWu_ has joined #ruby
SidWu_ has quit [Max SendQ exceeded]
Shidash has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Matadoer has quit [Remote host closed the connection]
Kricir has joined #ruby
Matadoer has joined #ruby
djbkd has joined #ruby
devdazed has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
philcrissman has joined #ruby
vsoftoiletpaper has joined #ruby
abuzze has joined #ruby
Cache_Money_ has joined #ruby
mary5030 has joined #ruby
devdazed has joined #ruby
tkuchiki_ has joined #ruby
Ripp__ has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
abuzze_ has quit [Ping timeout: 272 seconds]
nobitanobi has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 250 seconds]
cpt_yossarian has joined #ruby
gr33n7007h has quit [Quit: Leaving]
heftig has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
saarinen has quit [Quit: saarinen]
heftig has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
craigp has joined #ruby
benzrf is now known as benzrf|offline
craigp has quit [Read error: Connection reset by peer]
koderok has joined #ruby
craigp has joined #ruby
_cpt_yossarian_ has joined #ruby
_cpt_yossarian_ has quit [Client Quit]
ra4king has joined #ruby
<ra4king>
Hello!
_cpt_yossarian_ has joined #ruby
<ra4king>
I have to write a quick and dirty "website" for backend purposes
_cpt_yossarian_ has quit [Read error: Connection reset by peer]
<ra4king>
this site will require a simple login then some forms to complete, for the backend to process into files
<ra4king>
what's the easiest way to setup this website? cgi or an appserver?
<Wolland>
rails
<ra4king>
I really don't feel like learning to use a whole framework and setup a website before saturday
<ra4king>
the backend code can be done easily, however I just need some way to produce the HTML pages
yfeldblum has quit [Read error: Connection reset by peer]
<Wolland>
then just do html + server of your choice
cpt_yossarian has quit [Ping timeout: 260 seconds]
InhalingPixels has joined #ruby
<Wolland>
but, 'rails new mynewapp' gives you a working web app
yfeldblum has joined #ruby
<Wolland>
there isn't THAT much to learn for something that you need
<Wolland>
rails + devise gem, gives you working auth
<ra4king>
I don't know much about rails, does it include a server that listens to port 80?
<ra4king>
or do I have to connect it to a 3rd party server like Apache/Nginx?
<Wolland>
in dev it does, in production you would use 3rd party, but can use built in server
<Wolland>
uses WEBrick in dev
<Wolland>
or rather has WEBrick as part of it, or you can use Thin
<pipework>
I'd not use webrick in development.
<pipework>
like, ever.
babykosh has quit [Quit: babykosh]
<pipework>
Also, any rails questions should move to #rubyonrails
<pipework>
Unless we're talking about how shit rails can be. In that case, feel free to query me. :p
beef-wellington has quit [Ping timeout: 260 seconds]
InhalingPixels has quit [Ping timeout: 272 seconds]
jbomo has quit []
lxsameer has joined #ruby
amargherio has quit [Remote host closed the connection]
davedev2_ has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
<ra4king>
pipework: hah, considering you think rails is shit, do you have any suggestions for how best to easily hack a 2-page site together?
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<ra4king>
can I just use CGI and not get shot?
<pipework>
ra4king: Dynamic pages?
davedev24_ has quit [Read error: Connection reset by peer]
<pipework>
sinatra will get you there right quick.
<pipework>
rack will too, but requires other gems or some wiring to get template rendering.
benzrf|offline is now known as benzrf
ta has quit [Remote host closed the connection]
sputnik13 has joined #ruby
zkay11 has quit [Remote host closed the connection]
<ra4king>
pipework: sinatra looks really good
<ra4king>
just a simple "require 'sinatra'
<pipework>
ra4king: It's not shit, that's for sure.
<ra4king>
thank you very much, I'll hack together my site using that
<pipework>
Cheers.
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
Zebroid has joined #ruby
thomasxie has quit [Quit: Leaving.]
<sevenseacat>
oy, webrick is fine in dev
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<pipework>
sevenseacat has more patience for inferiority than I do
<sevenseacat>
yeah i know a lot about being inferior :(
<ra4king>
:(
<pipework>
sevenseacat: Not what I meant. :(
tectonic has joined #ruby
mikepack has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 272 seconds]
whyy has joined #ruby
oo_ has quit [Ping timeout: 260 seconds]
devdazed has quit [Ping timeout: 250 seconds]
Guest94419 has quit []
tectonic has quit []
devdazed has joined #ruby
rogerhub has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 240 seconds]
Cache_Money_ has quit [Ping timeout: 260 seconds]
whyy has quit [Read error: Connection reset by peer]
whyy has joined #ruby
chrishough has joined #ruby
chrishough has quit [Client Quit]
j_mcnall_ has joined #ruby
koderok has quit [Quit: koderok]
nanoyak has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Quit: WeeChat 0.4.3]
Spami has quit [Quit: This computer has gone to sleep]
rogerhub has left #ruby [#ruby]
EvanR_ has quit [Read error: Connection reset by peer]
yacks has joined #ruby
EvanR_ has joined #ruby
kireevco has joined #ruby
Fezzler has joined #ruby
nat2610 has quit [Quit: Leaving.]
Kricir has quit [Remote host closed the connection]
wchun has joined #ruby
kireevco has quit [Client Quit]
oo_ has joined #ruby
reset has quit [Quit: Leaving...]
icebourg has quit []
charliesome has joined #ruby
Kricir has joined #ruby
Fezzler has quit [Quit: Leaving]
koderok has joined #ruby
x1337807x has joined #ruby
anaeem1 has joined #ruby
tectonic has joined #ruby
Atrumx has joined #ruby
Nahra has quit [Ping timeout: 250 seconds]
x1337807x has quit [Ping timeout: 264 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
GriffinHeart has quit [Remote host closed the connection]
icebourg has joined #ruby
Blizzy has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
InhalingPixels has joined #ruby
razum2um has joined #ruby
Nahra has joined #ruby
InhalingPixels has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
diegoviola has joined #ruby
doev has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heftig has quit [Quit: Quitting]
maletor has quit [Quit: Computer has gone to sleep.]
duncannz has joined #ruby
Guest37821 has joined #ruby
maletor has joined #ruby
flowerhack has joined #ruby
Rollabunna has quit [Remote host closed the connection]
icebourg has quit []
tectonic has quit []
tobago has joined #ruby
adantj has joined #ruby
GriffinHeart has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zebroid has joined #ruby
arup_r has joined #ruby
JoshGlzBrk has joined #ruby
funburn has joined #ruby
Zebroid_ has joined #ruby
tagrudev has joined #ruby
Rollabunna has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
arup_r_ has joined #ruby
techsethi has joined #ruby
funburn has quit [Client Quit]
ptrrr has joined #ruby
starkhalo has quit [Ping timeout: 245 seconds]
Zebroid_ has quit [Ping timeout: 260 seconds]
kyb3r_ has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
philcrissman has joined #ruby
benzrf is now known as benzrf|offline
j_mcnall_ has quit [Quit: さよなら]
benzrf|offline is now known as benzrf
Morkel has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
IceDragon has quit [Quit: Space~~~]
craigbowen3 has joined #ruby
mercwithamouth has joined #ruby
Jameser` has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
Aryasam has joined #ruby
Ripp__ has quit [Remote host closed the connection]
Aryasam has quit [Client Quit]
lkba has quit [Ping timeout: 244 seconds]
xcm has joined #ruby
CorpusCallosum has quit [Ping timeout: 250 seconds]
michaeldeol has joined #ruby
gr33n7007h has joined #ruby
Morkel has quit [Quit: Morkel]
timonv_ has joined #ruby
b00stfr3ak has joined #ruby
Mon_Ouie has joined #ruby
arya_ has joined #ruby
vsoftoiletpaper has quit []
jamesfordummies has joined #ruby
zmisc has quit [Quit: Bye]
fantasticsid has quit [Remote host closed the connection]
bricker`LA has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
bal has joined #ruby
doev has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
doev has joined #ruby
yfeldblum has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
djbkd has quit [Quit: My people need me...]
Cache_Money has joined #ruby
tectonic has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
e4xit has quit [Read error: Connection reset by peer]
e4xit has joined #ruby
eyeamaye has quit [Quit: Leaving.]
arturaz has joined #ruby
hololeap has joined #ruby
MatthewsFace has quit [Quit: Leaving]
techsethi has quit [Quit: techsethi]
apeiros_ has joined #ruby
InhalingPixels has joined #ruby
bigkevmcd has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
KnownSyntax has quit [Read error: Connection reset by peer]
eyeamaye has joined #ruby
InhalingPixels has quit [Ping timeout: 244 seconds]
max06 has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
eyeamaye has quit [Client Quit]
starless has joined #ruby
x1337807x has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Takle has joined #ruby
apeiros_ has quit [Remote host closed the connection]
user258467 has joined #ruby
tectonic has quit []
nat2610 has joined #ruby
top4o has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
Takle has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
Zebroid has joined #ruby
Killerkeksdose has joined #ruby
benlieb has quit [Quit: benlieb]
hololeap has quit [Ping timeout: 264 seconds]
oo_ has quit [Read error: Connection reset by peer]
Zebroid has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
jprovazn has joined #ruby
Nahra has quit [Ping timeout: 250 seconds]
razum2um has quit [Quit: Leaving.]
timonv_ has quit [Remote host closed the connection]
Nahra has joined #ruby
clauswitt has joined #ruby
zettam has quit [Read error: Connection reset by peer]
amundj has joined #ruby
arya_ has quit [Quit: sayonara^_^]
W0rmDr1nk has quit [Ping timeout: 240 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zettam has joined #ruby
Advocation has joined #ruby
kenneth has joined #ruby
gruz0[russia] has joined #ruby
doev has quit [Quit: Verlassend]
CorySimmons has joined #ruby
hololeap has joined #ruby
ptrrr has quit [Quit: ptrrr]
devdazed has quit [Ping timeout: 272 seconds]
gauke has joined #ruby
MatthewsFace has joined #ruby
Xeago has joined #ruby
Matadoer has quit [Remote host closed the connection]
mary5030 has joined #ruby
jhass|off is now known as jhass
Ankhers has quit [Remote host closed the connection]
devdazed has joined #ruby
techsethi has joined #ruby
Ankhers has joined #ruby
andrewlio has joined #ruby
coderhs has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<workmad3>
maasha: I think what you're doing wrong there is re-assigning input
<workmad3>
maasha: so what you're effectively doing is calling your lmb object with both input and output as the same object
benzrf is now known as benzrf|offline
<maasha>
workmad3: sure. and the elegant thing to do whould be?
<jhass>
besides, what's wrong with .map
yacks has quit [Ping timeout: 250 seconds]
<workmad3>
maasha: don't reassign locals
Wolland_ has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
ohcibi has quit [Read error: Connection reset by peer]
<ddv>
seems like you want to use .inject, but maybe i'm wrong
spider-mario has joined #ruby
<workmad3>
ddv: nah, it's a map
<ddv>
ok
<workmad3>
ddv: output = input.map{|i| i+1}
<ddv>
oh
<workmad3>
maasha: ^^ that's your code rewritten btw ;)
Nahra has joined #ruby
Takle has quit [Remote host closed the connection]
<maasha>
workmad3: thank you very much, but it was just a place holder function for something more complex.
<existensil>
if you rename your enumerator your code works
Wolland_ has quit [Ping timeout: 260 seconds]
<workmad3>
maasha: right, but if the complex bit is applying an operation to every item in one collection to produce a second from the output, then it's still a map ;)
<workmad3>
maasha: you just change the block
GriffinHeart has joined #ruby
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
oo__ has quit [Remote host closed the connection]
oo_ has joined #ruby
abuzze has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
<maasha>
workmad3: well, I am exploring lambdas and enumerables here. Using an array of Enums to avoid reassigning local variables still gives that Stack level too deep error: https://gist.github.com/maasha/7e0095ff4c3da20d5a67
GriffinHeart has quit [Ping timeout: 255 seconds]
abuzze has joined #ruby
lanox has joined #ruby
<workmad3>
maasha: because you're still calling that Enumerator.new block with *itself*
thomasxie has left #ruby [#ruby]
GriffinHeart has joined #ruby
<maasha>
workmad3: hm, I thought it was a new enumerable object.
Advocation has quit [Quit: Advocation]
<workmad3>
maasha: output == the new enumerable object, enums.last == the new enumerable object
<workmad3>
maasha: so you end up with essentially 'lmb.call(output, output)
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
m8 has joined #ruby
Morkel has quit [Quit: Morkel]
Advocation has joined #ruby
sk87 has joined #ruby
CorySimmons has joined #ruby
jhass is now known as jhass|off
<maasha>
workmad3: but input2 = Enumerator.new { #call stuff }; input2.each {} works ok?
Xeago_ has quit [Read error: Connection reset by peer]
amacou has quit [Remote host closed the connection]
<workmad3>
maasha: because at that point you don't end up with calling your lambda with input and output as the same collection
Xeago has joined #ruby
echooo has quit [Ping timeout: 255 seconds]
iteratorP has quit [Remote host closed the connection]
<maasha>
Right
<maasha>
Hm, in fact that did not work, values were not incremented
Zebroid has joined #ruby
<maasha>
Oh, silly me. forget that.
Xeago has quit [Ping timeout: 260 seconds]
gogohome has joined #ruby
<banister>
workmad3 morning workie
<workmad3>
banister: morning
Ilyas has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
devdazed has quit [Ping timeout: 240 seconds]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
Kricir has joined #ruby
Zebroid has quit [Ping timeout: 260 seconds]
infinitone has joined #ruby
godd2 has quit [Ping timeout: 240 seconds]
KillerFox has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 240 seconds]
devdazed has joined #ruby
clauswitt has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 264 seconds]
clauswitt has quit [Max SendQ exceeded]
Guest37821 has quit [Ping timeout: 272 seconds]
bayed has joined #ruby
clauswitt has joined #ruby
GriffinHeart has joined #ruby
xcm has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
lanox has quit [Remote host closed the connection]
danijoo_ is now known as danijoo
<shevy>
hmmm
<shevy>
is the trailing / part of a directory?
<shevy>
it's weird because when you use cd, you can omit it. And if you compile something with a --prefix=/usr you also omit it
<shevy>
obviously you can not omit it if the target is /
pessimism has joined #ruby
kaspertidemann has quit []
<pessimism>
is there a way to define a gem in a way that I won't get complaints about outdated versions in places like Gemnasium?
CorySimmons has quit [Read error: Connection reset by peer]
<shevy>
I don't even know what the complaints are there
CorySimmons has joined #ruby
james_woods has joined #ruby
<james_woods>
Hello, is it possible to stub/mock a class variable (@@) with rr ?
spastorino has joined #ruby
<banister>
james_woods no...you're writing weird/bad code if you're even asking that question IMO :D
<existensil>
I was considering saying the same
<james_woods>
I am trying to mock a class variable from a Rakefile - I do not know what class to mock in this case..
<shevy>
james_woods ack class vars
Shidash has quit [Ping timeout: 260 seconds]
oo_ has quit [Remote host closed the connection]
<existensil>
if you really need to do that I don't think mocking is going to work. I'd back up the class var, replace it with a test double, and then replace the class var afterwards
<existensil>
if I really had to do that
clauswit_ has joined #ruby
<pessimism>
shevy: Just that my gem version is outdated
<existensil>
and then I would fine a way to get rid of the class var or at least the dependency on it that is requiring me to replace it during testing
Morkel has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
froggy__ has joined #ruby
<shevy>
pessimism ok but what gives that warning? I mean, all my gems run just fine, I don't get an outdated gem warning. Even if I would, I could just update the version, I usually keep a file called version.rb that keeps the VERSION constant for a gem
clauswitt has quit [Ping timeout: 272 seconds]
<shevy>
existensil you really fine a way? sounds costly :)
pessimism has left #ruby [#ruby]
<james_woods>
thanks guys
<shevy>
I always wanted to sue class variables
<existensil>
if I can fine someone for writing that in the first place then I would
<existensil>
:-P
<shevy>
haha
ARCADIVS has quit [Quit: WeeChat 0.4.3]
why_away has joined #ruby
oo_ has joined #ruby
Rahul_Roy has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
and has quit [Ping timeout: 255 seconds]
arup_r_ has joined #ruby
froggy_ has quit [Ping timeout: 255 seconds]
daed_ is now known as daed
nateberkopec has joined #ruby
whyy has quit [Ping timeout: 255 seconds]
arup_r has quit [Ping timeout: 264 seconds]
and has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
clauswit_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcv has quit [Remote host closed the connection]
<maasha>
Hm, Illegal instruction: 4
<maasha>
I think I found a way to crash Ruby
<Edelwin>
\o\
<Edelwin>
Ruby or the VM ?
<shevy>
maasha cool
infinitone has quit [Remote host closed the connection]
infinitone has quit [Remote host closed the connection]
Cereal` has joined #ruby
decoponio has joined #ruby
InfraRuby has joined #ruby
Advocation has joined #ruby
TorpedoSkyline has joined #ruby
nateberkopec has quit [Quit: Leaving...]
timonv_ has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
Wolland has joined #ruby
wezpyke has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
charliesome has joined #ruby
maximski has quit []
jxf has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Changing host]
troulouliou_dev has joined #ruby
Morkel_ has joined #ruby
tjr9898 has joined #ruby
InfraRuby has left #ruby [#ruby]
Xeago has quit [Ping timeout: 255 seconds]
devdazed has quit [Ping timeout: 240 seconds]
timonv_ has quit [Ping timeout: 245 seconds]
Wolland has quit [Ping timeout: 260 seconds]
Nahra has quit [Remote host closed the connection]
Morkel has quit [Ping timeout: 260 seconds]
Morkel_ is now known as Morkel
dingus_khan has joined #ruby
Nahra has joined #ruby
jhass|off is now known as jhass
bogeyd6 has quit [Read error: Connection reset by peer]
tjr9898 has quit [Ping timeout: 255 seconds]
devdazed has joined #ruby
Xeago has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
dingus_khan has quit [Ping timeout: 264 seconds]
jds has joined #ruby
krisquigley has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
decoponio has quit [Quit: My PC will restart]
krisquigley has joined #ruby
wpp has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gogohome has quit [Quit: gogohome]
nateberkopec has joined #ruby
Grantlyk has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 244 seconds]
matchaw has joined #ruby
nfk has quit [Quit: yawn]
ghr has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
himsin has quit [Quit: himsin]
decoponio has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
jdj_dk has joined #ruby
himsin has joined #ruby
devdazed has quit [Ping timeout: 260 seconds]
InfraRuby has joined #ruby
amacou has joined #ruby
Xeago has quit [Remote host closed the connection]
banister has joined #ruby
sk87 has joined #ruby
Xeago has joined #ruby
jeremywrowe has joined #ruby
<Dwarf>
Does anyone know of a IRC pseudoserver gem?
doev has quit [Quit: Verlassend]
<Dwarf>
Oh, I seem to have found something
banister has quit [Client Quit]
jdj_dk has quit [Remote host closed the connection]
himsin has quit [Client Quit]
coderhs has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
charliesome has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
alkuzad has joined #ruby
sevenseacat has joined #ruby
sergiomiranda has joined #ruby
Xeago has joined #ruby
Ilyas has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
Zenigor has joined #ruby
himsin has joined #ruby
Xeago_ has joined #ruby
devdazed has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Ping timeout: 245 seconds]
amacou has quit [Remote host closed the connection]
dawkirst has joined #ruby
himsin has quit [Client Quit]
gogohome has joined #ruby
gtrak has quit [Ping timeout: 264 seconds]
flowerhack has quit [Remote host closed the connection]
stef_204 has joined #ruby
Kricir has joined #ruby
yakko has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 246 seconds]
jgt has joined #ruby
Neomex has joined #ruby
tvw has quit []
<jgt>
Howdy
<jhass>
hi
fgo has joined #ruby
phutchins has joined #ruby
InfraRuby has left #ruby [#ruby]
hellangel7 has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 240 seconds]
xcm has joined #ruby
yalue has joined #ruby
jespada has joined #ruby
InhalingPixels has joined #ruby
britneywright has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Xeago has joined #ruby
amacou has joined #ruby
timonv_ has joined #ruby
beef-wellington has joined #ruby
InhalingPixels has quit [Ping timeout: 240 seconds]
lxsameer has quit [Quit: Leaving]
Macaveli has quit [Ping timeout: 272 seconds]
mleone has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
arup_r has quit [Remote host closed the connection]
xcm has quit [Quit: xcm]
flowerhack has joined #ruby
arup_r has joined #ruby
tjr9898 has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Macaveli has joined #ruby
noop has joined #ruby
beef-wellington has quit [Ping timeout: 240 seconds]
tjr9898 has joined #ruby
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
realDAB has joined #ruby
Wolland has joined #ruby
flowerhack has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
comma8 has quit [Ping timeout: 250 seconds]
Wolland has quit [Ping timeout: 250 seconds]
alexju has quit [Remote host closed the connection]
dingus_khan has joined #ruby
alexju has joined #ruby
koderok has quit [Ping timeout: 246 seconds]
GriffinHeart has joined #ruby
Jackneill has joined #ruby
dingus_khan has quit [Ping timeout: 264 seconds]
matchaw has quit [Remote host closed the connection]
himsin has joined #ruby
alexju has quit [Ping timeout: 272 seconds]
whyy has quit [Ping timeout: 272 seconds]
obscured has joined #ruby
centrx has joined #ruby
matchaw has joined #ruby
qwyeth has joined #ruby
amystephen has joined #ruby
marr has joined #ruby
philcris_ has joined #ruby
sergiomiranda has quit [Quit: sergiomiranda]
anaeem1 has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
Xeago has quit [Remote host closed the connection]
sergiomiranda has joined #ruby
techsethi_ has joined #ruby
craigp has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
coderhs has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
SilkFox has joined #ruby
beef-wellington has joined #ruby
techsethi has quit [Ping timeout: 246 seconds]
techsethi_ is now known as techsethi
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
poulet_a has joined #ruby
poulet_a_ has joined #ruby
poulet_a has quit [Client Quit]
poulet_a_ has quit [Client Quit]
philcris_ has quit [Ping timeout: 245 seconds]
GriffinHeart has quit [Remote host closed the connection]
yacks has joined #ruby
Zebroid has joined #ruby
amacou has quit [Remote host closed the connection]
amortimer has joined #ruby
kaspertidemann has quit []
Xeago has joined #ruby
zarul has quit [Ping timeout: 240 seconds]
<amortimer>
Are .gitignore files included in a gem if they are present during the gem’s creation?
GriffinHeart has joined #ruby
amacou has joined #ruby
<jhass>
only files declared in your gemspecs files array are included
<_lazarevsky>
guys.. I wanna check if a string is included in a string array
<_lazarevsky>
i tried array.contains "value"
<_lazarevsky>
but apparently contains is not a valid method on an array
<jhass>
array.include? "value"
<_lazarevsky>
oh dang
<_lazarevsky>
thanks!
Zenigor has quit [Remote host closed the connection]
beef-wellington has quit [Ping timeout: 250 seconds]
InfraRuby has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
beef-wellington has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Zenigor has joined #ruby
oo_ has quit [Remote host closed the connection]
comma8 has joined #ruby
oo_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Brando753 has quit [Ping timeout: 245 seconds]
jayunit100_ has joined #ruby
ghr has joined #ruby
xcm has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
comma8 has quit [Ping timeout: 260 seconds]
workmad3 is now known as wm3|away
coderhs has joined #ruby
Kricir has joined #ruby
<CorySimmons>
Can anyone help? Your Ruby version is 2.0.0, but your Gemfile specified 2.1.2
lanox_ has quit []
GriffinHeart has joined #ruby
<canton7>
what about that message don't you understand?
starkhalo has joined #ruby
bcavileer___ is now known as bcavileer
bcavileer has quit [Changing host]
bcavileer has joined #ruby
bcavileer has joined #ruby
bcavileer has quit [Changing host]
<CorySimmons>
canton7: how to get 2.1.2. I have rbenv but it doesn't show up in the dl list so I assume it's in rvm but even when I installed rvm it says 2.1.2 is installed
<CorySimmons>
How do i enable rvm 2.1.2?
<canton7>
so the question is 'how do I tell rvm to switch to 2.1.2'?
jerius has joined #ruby
msmith has joined #ruby
<CorySimmons>
canton7: i seem to not even be able to run rvm =[
tylerkern has joined #ruby
<CorySimmons>
zsh: command not found: rvm
<canton7>
have you installed / set up rvm?
dblessing has joined #ruby
Brando753 has joined #ruby
tewlz has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
qmfnp has joined #ruby
jonr22 has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
<CorySimmons>
canton7: yes
<CorySimmons>
i'll try again
xcv has joined #ruby
Ankhers has joined #ruby
InhalingPixels has joined #ruby
<CorySimmons>
i bet it's where i'm using fish
snath has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
mityaz has quit [Quit: See ya!]
<weeb1e_>
So looks like upgrading from 2.0.x to 2.1.2 did not solve my GC issues
<weeb1e_>
StackProf does not seem to profile GC, so it doesn't even show anything using the CPU time
<weeb1e_>
But I know from when I used perftools.rb, GC is using up 95% of a CPU core
<CorySimmons>
canton7: seems i had to "follow the instructions"
<CorySimmons>
imagine that
<weeb1e_>
Any suggestions on how I can trace these GC issues with 2.1.2?
<weeb1e_>
centrx: That is not a sample based profiler, so it cannot be used in an eventmachine application, but it also would not be able to see what GC is doing any more than another profiler
<gogohome>
my meaning is library for ‘arduino’?
mercwithamouth has quit [Ping timeout: 246 seconds]
<centrx>
weeb1e_, The idea was the internal Ruby profiler might attribute some of that GC time to actual methods in your code, whereas the external profiler might lump it all together under GC.
Grantlyk has quit [Read error: Connection reset by peer]
<weeb1e_>
centrx: StackProf uses the new 2.1 tracing, and is a sampling profiler, but it unfortunately completely ignores GC ;/
newUser1234 has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
tectonic has joined #ruby
joast has joined #ruby
arya_ has quit [Ping timeout: 255 seconds]
linojon has quit [Client Quit]
dh64 has quit [Remote host closed the connection]
<Hanmac>
hah i knew it ... no gaussblurinc1 you need to set them like that like it shown in the docs of the page ... BUT imo class variables are in 99.9% of the cases used wrong when you wanted class instance variables
x1337807x has quit [Ping timeout: 260 seconds]
anaeem1 has joined #ruby
gogohome has left #ruby [#ruby]
toastynerd has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
<Hanmac>
gaussblurinc1: for questions about active support and active record please ask at #rubyonrails ... they caused that, now they need to live with the consequences
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
iamjarvo has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
<ericwood>
lol
<crome>
haha
TorpedoSkyline has joined #ruby
icebourg has joined #ruby
<crome>
well said
arup_r has joined #ruby
icebourg has quit [Max SendQ exceeded]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kenneth has joined #ruby
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
basiclaser has quit [Excess Flood]
mikepack has joined #ruby
TorpedoSkyline has quit [Client Quit]
oo_ has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
mallu has joined #ruby
basiclaser has joined #ruby
arya__ has quit [Ping timeout: 246 seconds]
craigp has joined #ruby
<mallu>
good mornig... can someone please tell me how I can iterate through two hashes and get values? http://pastie.org/9462100
marky_ has quit [Ping timeout: 250 seconds]
VBlizzard has joined #ruby
Zebroid has joined #ruby
TorpedoSkyline has joined #ruby
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
renderful has joined #ruby
icebourg has joined #ruby
Morkel has quit [Quit: Morkel]
<jhass>
mallu: nest: test.each do |server, description| description.each do |key, value|
icebourg has quit [Max SendQ exceeded]
<gaussblurinc1>
Hanmac: ok, I move these 'settings' to readonly instance property, it's easy to override
Kricir has quit [Remote host closed the connection]
Bira has joined #ruby
ppinto has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby
tectonic has quit []
acrussell has joined #ruby
Kricir has joined #ruby
mijicd has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
sonOfRa has joined #ruby
geekbri has joined #ruby
cocotton has quit [Remote host closed the connection]
tylerkern has joined #ruby
emmesswhy has joined #ruby
asteve has joined #ruby
<asteve>
does anyone have tips on how to format sql statements to look legible as a ruby string?
omosoj has joined #ruby
<asteve>
I generally like to keep lines no longer than 80 columns and that plus the complexity of my query is making the string look pretty ugly and unreadable
veleno has joined #ruby
ppinto has joined #ruby
<jhass>
HEREDOC?
<veleno>
hello. i’m using ruby-dbi (https://github.com/erikh/ruby-dbi). how do I know if the the method ‘do’ failed ? does it return a message ?
cocotton_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
<shevy>
eam if it still does not work, perhaps gem modifies ENV
ta has quit [Remote host closed the connection]
comma8 has quit [Ping timeout: 250 seconds]
newUser1234 has quit [Remote host closed the connection]
timfoo has quit [Ping timeout: 244 seconds]
mercerist has quit [Ping timeout: 260 seconds]
<shevy>
like when you can do stuff like: env -i bash to start with an environment free bash instance
newUser1234 has joined #ruby
itspots has quit [Ping timeout: 240 seconds]
arya_ has quit [Ping timeout: 272 seconds]
renderful has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`LA has joined #ruby
nowthatsamatt has joined #ruby
newUser1234 has quit [Ping timeout: 250 seconds]
ghostmoth has joined #ruby
tylerkern has joined #ruby
Kricir has joined #ruby
qba73 has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
dblessing has joined #ruby
qba73 has joined #ruby
luckyruby has joined #ruby
mijicd has quit [Remote host closed the connection]
thams has quit [Quit: thams]
wjimenez5271 has quit []
Jonathan2 has joined #ruby
InfraRuby has joined #ruby
ptrrr has quit [Quit: ptrrr]
Zenigor has quit [Remote host closed the connection]
Jonathan2 is now known as jonr22
<eam>
shevy: I've been stracing gem builds. ENV is set, gem simply doens't respect it
<shevy>
hehe
<shevy>
I wonder how gem manages to do that
pietr0 has joined #ruby
<eam>
well it's more like it doesn't appear to do anything with it
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
chth0n has joined #ruby
techsethi has quit [Ping timeout: 244 seconds]
<eam>
gem/bundler is incredibly frustrating -- it's essentially impossible to set build parameters on a per-gem basis
Zenigor has joined #ruby
InfraRuby has left #ruby [#ruby]
timonv_ has quit [Remote host closed the connection]
cocotton_ has quit [Remote host closed the connection]
_maes_ has joined #ruby
kaspergrubbe_ has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
ah bundler always was too much for me
cocotton has joined #ruby
<eam>
I've reduced this down to just gem, but once I fix that I have to do it in bundler
oo_ has joined #ruby
<yxhuvud>
eam: if you don't mind my asking, why do you need to set individual build parameters?
techsethi has joined #ruby
anarang has quit [Quit: Leaving]
<eam>
yxhuvud: I need to set DT_RPATH for some particular cases
qba73 has quit [Ping timeout: 272 seconds]
<eam>
what I can prooobably do is just rebuild ruby entirely and set things there
<yxhuvud>
Also, if you need that kind of control, have you considered packaging the gems by yourself into whatever package manager you use for your distro?
<eam>
yes, already doing that
<eam>
via bundler
Zebroid has joined #ruby
<eam>
and yeah, I'm going to ... fix it
<Hanmac>
eam & shevy are you trying to compile a gem static? i didnt know that would work ... as far as i know i thought that all three, ruby, the lib and the gem does need to be compiled dynamic to work
<eam>
not static
<eam>
DT_RPATH sets a library load path for an individual shared object
<yxhuvud>
I meant rpm/apt - not bundler as a package manager.
<eam>
yxhuvud: yeah, we're using essentially a push/flip deployment system of blobs
<eam>
custom thing
merceris_ has quit [Quit: Computer has gone to sleep.]
<Hanmac>
yxhuvud: there is gem2deb ... and the debian-ruby channel are currently trying to port many gems to debian packages
amacou has quit [Remote host closed the connection]
<eam>
on top of all this, I can edit the extconf.rb for each gem and set flags -- however there are quoting issues in the generated makefiles
<eam>
because I need to use the $ORIGIN linker macro
<eam>
really a headache
sambao21 has quit [Quit: Computer has gone to sleep.]
cocotton has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
<eam>
Hanmac: that said, you should be able to compile gem dependencies statically into the shim that's produced
<eam>
eg mysql2.so should be able to statically link libmysqlclient
GriffinHeart has quit [Remote host closed the connection]
thams has joined #ruby
Zebroid has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
<eam>
though the shim itself will ultimately need to be a shared object
saarinen has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
wjimenez5271 has joined #ruby
razrunelord has quit [Remote host closed the connection]
<Hanmac>
hm that might be have complications ... what if a lib does have other dependencies ? arnt they needed to be added staticly too? like if gem A does need lib B and lib B does need lib C does gem A need to add lib C if build staticly? ... and what if the dependencies of lib B are different for each envionment/system? so you might not know what static libs does it need?
Kricir has quit [Ping timeout: 246 seconds]
<shevy>
Hanmac I don't try to do anything with gem ;)
razrunelord has joined #ruby
razrunelord has quit [Remote host closed the connection]
razrunelord has joined #ruby
<Hanmac>
shevy hm you maybe not, but what about eam ?
<eam>
Hanmac: that's resolved at link time
<eam>
and generally, yes
<eam>
though you can really do whatever you want, like put DT_NEEDED in the toplevel object
razrunelord has quit [Client Quit]
d4ryus has joined #ruby
alex88 has quit [Quit: Leaving...]
kaspergrubbe_ has joined #ruby
<Hanmac>
eam for sample if you have a gem for wxWidgets, on Linux it does need libs for X11, on OSX it does not ... so static linking are getting more complicated
yakko has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
yakko has joined #ruby
arya_ has joined #ruby
Biohazard has joined #ruby
Joulse has quit [Quit: Joulse]
arup_r has quit [Ping timeout: 260 seconds]
gaussblurinc1 has quit [Quit: Leaving.]
Zebroid has joined #ruby
timfoo has joined #ruby
Lucky__ has joined #ruby
comma8 has joined #ruby
momomomomo has joined #ruby
bronson has quit [Quit: bronson]
arya_ has quit [Client Quit]
Maitiu has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Ping timeout: 245 seconds]
Advocation has quit [Quit: Advocation]
wallerdev has joined #ruby
cocotton has joined #ruby
michaeldeol has joined #ruby
cocotton has quit [Remote host closed the connection]
arup_r has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Grantlyk has quit [Remote host closed the connection]
Grantlyk has joined #ruby
CorpusCallosum has joined #ruby
<noz_>
Quick question. I'm using Jruby in windows and the paths that the File class returns are all linux-style forward slashes, when Windows actually requires double backslashes. This requires a lot of File.join("some", "path").gsub("/","\\") throughout my codebase.
<noz_>
What's the easiest way to dry this up?
<noz_>
Actually scratch that, what's the best way?
<headius>
I believe MRI would do the same thing...slashes get normalized internally to forward
dingus_khan has joined #ruby
relix has joined #ruby
momomomomo has joined #ruby
ssvo has joined #ruby
koderok has quit [Quit: koderok]
thams has joined #ruby
abuzze_ has joined #ruby
michaeldeol has joined #ruby
tjr9898 has quit [Remote host closed the connection]
himsin has joined #ruby
himsin has quit [Client Quit]
tjr9898 has joined #ruby
<eam>
noz_: I came across the same thing recently using ruby in DOS - seems like a bug
<eam>
furthermore, the file utilities don't respect the value of File::SEPARATOR
tier has joined #ruby
Morkel has joined #ruby
noz_ has quit [Ping timeout: 246 seconds]
abuzze has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
<yxhuvud>
noz: doesn't windows support linux style paths nowadays with forward slashes?
<eam>
it always has, however they break some stuff
AndChat| has quit [Ping timeout: 255 seconds]
<eam>
because / is interpreted as a command flag, for example
emmesswhy has quit [Quit: This computer has gone to sleep]
<yxhuvud>
It isn't if you properly mark it as a string. Which you should do anyhow because of spaces
Matadoer has joined #ruby
<yxhuvud>
or?
kevind_ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
comma8 has joined #ruby
kireevco has joined #ruby
wombo has joined #ruby
tier_ has joined #ruby
Takle has quit [Remote host closed the connection]
emmesswhy has joined #ruby
kevind has quit [Ping timeout: 250 seconds]
kaspertidemann has joined #ruby
larsam has quit [Ping timeout: 250 seconds]
kevind_ is now known as kevind
WillAmes has quit [Remote host closed the connection]
thams has quit [Quit: thams]
WillAmes has joined #ruby
tier has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
tier_ has quit [Remote host closed the connection]
InfraRuby has joined #ruby
treehug88 has quit [Ping timeout: 245 seconds]
tier has joined #ruby
nfk has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
thams has joined #ruby
mercerist has quit [Read error: Connection reset by peer]
mercerist has joined #ruby
dawkirst has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.0-dev]
Zebroid has quit [Remote host closed the connection]
dawkirst_ has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
renderful has quit [Read error: Connection reset by peer]
renderful has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 250 seconds]
Tricon has joined #ruby
mercerist has quit [Ping timeout: 246 seconds]
Rylee has quit [Excess Flood]
Rylee has joined #ruby
<shevy>
dumdedum
shredding has joined #ruby
<shevy>
eam on his quest to make gem better
<shevy>
and then bundler
<shevy>
and then the rest of the world
dawkirst_ has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
<Mon_Ouie>
There are windows programs (like the default file explorer) that don't let you enter paths with / instead of \
tobago has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
cephalostrum has quit [Ping timeout: 272 seconds]
Macaveli has joined #ruby
cephalostrum has joined #ruby
coldkey21 has joined #ruby
dawkirst has joined #ruby
atmosx has quit [Ping timeout: 272 seconds]
arup_r_ has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
dawkirst_ has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Remote host closed the connection]
thams has quit [Quit: thams]
thams has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
Macaveli has quit [Ping timeout: 260 seconds]
Advocation has quit [Quit: Advocation]
godd2 has joined #ruby
djbkd has quit [Remote host closed the connection]
tylerkern has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
arup_r_ has quit [Ping timeout: 240 seconds]
tylerkern has joined #ruby
hololeap has quit [Ping timeout: 264 seconds]
philcrissman has joined #ruby
dumdedum has quit [Quit: foo]
Grantlyk has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
Ankhers has joined #ruby
nanoyak has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
Sauvin has quit [Remote host closed the connection]
<gomikemi1e>
hello again
phinfonet has quit [Ping timeout: 272 seconds]
diegoviola has joined #ruby
<gomikemi1e>
so, i got the script to set the ENV VAR https_proxy but i thought it would unset it when the script finished running
icebourg has joined #ruby
<gomikemi1e>
but the ENV VAR stays set... I need the proxy setting JUST for the API call (aws cli) that is run on the ruby script
hamakn has quit [Remote host closed the connection]
Bumptiou_ has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
starless has joined #ruby
thams has quit [Quit: thams]
Bumptious has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<kaiju_sloth>
don't ENV VAR say set until the system is rebooted?
<gomikemi1e>
no, i removed it from /etc/environmnet and /etc/profiles
<kaiju_sloth>
stay
<jhass>
kaiju_sloth: no
<gomikemi1e>
and renooted the host
<jhass>
that a child process sets the environment of its parent is impossible afaik
<gomikemi1e>
it was not there
<gomikemi1e>
then i had puppet run the script and it set it and stayed set after script finished
saarinen has joined #ruby
<jhass>
maybe puppet does something weird there, I guess it does something else than ruby yourscript.rb since you nowhere require something that would make Facter available
<d4ryus>
hi guys, ive got a go program writing a gzip'ed json string via http POST to a ruby program (with jetty), but i cant get it unzipped, could you help me out? or point me to a resource?
CorySimmons has quit [Quit: Zzz...]
mikepack_ has quit [Remote host closed the connection]
<gomikemi1e>
i know that on bash, i can put https_proxy=http://####.###....:3128 aws cli ec2 describe-instances and it does work
jottr has quit [Ping timeout: 260 seconds]
<gomikemi1e>
but when i try that exact command from within the ruby script it times out
thams has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
InfraRuby has joined #ruby
bearish has quit []
Fusl has joined #ruby
Xeago has joined #ruby
Kricir has quit [Remote host closed the connection]
<gomikemi1e>
jhass: is there any other way to pass/set https_proxy via ruby to just work during the script run time?
teddyp1cker has joined #ruby
omosoj has quit [Ping timeout: 260 seconds]
abuzze_ has quit [Remote host closed the connection]
geekbri has quit []
techsethi has quit [Quit: techsethi]
<jhass>
I tell you that if that's a normal ruby script it will not persist in the system, it can't
<jhass>
complain to puppet
abuzze has joined #ruby
lkba has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tjr9898 has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 272 seconds]
ppinto has quit [Quit: ppinto]
tjr9898 has joined #ruby
jdj_dk has joined #ruby
jdj_dk has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
fold has quit [Ping timeout: 240 seconds]
aspires has quit [Client Quit]
omosoj has joined #ruby
michaeldeol has joined #ruby
aspires has joined #ruby
existensil has quit [Quit: WeeChat 0.4.2]
deol has quit [Client Quit]
fgo_ has quit [Ping timeout: 255 seconds]
RandyT has joined #ruby
havenwood has quit [Remote host closed the connection]
autonomousdev has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
ta has joined #ruby
Takle has joined #ruby
chrishough has quit [Quit: chrishough]
maroloccio has joined #ruby
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has quit [Remote host closed the connection]
mikepack has joined #ruby
renderful has joined #ruby
advorak has joined #ruby
InfraRuby has left #ruby [#ruby]
benzrf is now known as benzrf|offline
toastynerd has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has quit [Ping timeout: 250 seconds]
Panicky has joined #ruby
noop has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jayunit100_ has quit [Quit: jayunit100_]
mikepack has quit [Ping timeout: 250 seconds]
root3d has joined #ruby
charliesome has joined #ruby
ghanima has joined #ruby
<root3d>
is there security analysis tool for checking ruby codes ?
<ghanima>
hello all
yubrew has joined #ruby
alvaro_o has joined #ruby
<ghanima>
I am for the life of me trying to figure out how to represent this in JSON. I am using the Httparty library..... '"objects":[{"type":"service","host_name":"xxxx","service_description":"app-thor-collectd","check_command":"app-thor-collectd!app-thor-collectd","notes_url":"https://wikis.in.xxx.com/SysEng/AppThorCollectD"}
<ghanima>
so the data inside the [] is json
alexju has quit [Remote host closed the connection]
<ghanima>
but I have not seen json string represented withanything that doesn't being with { [
<ghanima>
any thoughts
chrishough has joined #ruby
aspires has quit []
alexju has joined #ruby
saarinen has quit [Quit: saarinen]
alexju has quit [Read error: Connection reset by peer]
alexju has joined #ruby
<testcore>
ghanima: 'foo'.to_json
alexju has quit [Remote host closed the connection]
<apeiros>
ghanima: anything not in {} or [] is not valid json
Shidash has joined #ruby
alexju has joined #ruby
dik_dak has joined #ruby
bMalum has quit [Ping timeout: 272 seconds]
Spami has quit [Quit: This computer has gone to sleep]
dbasch has quit [Quit: dbasch]
Grantlyk has quit [Remote host closed the connection]
JohnFord has joined #ruby
<wallerdev>
someone asked me that in a phone interview once apeiros haha
Hobogrammer has quit [Ping timeout: 260 seconds]
<apeiros>
hope you aced it :)
<wallerdev>
nope lol
<ghanima>
aperios: so I have this data that that I need to post an HTTP server and its expexting a param called objects.
<wallerdev>
i remembered { but forgot [
<apeiros>
my nick is sooo difficult :(
tylerkern has quit [Read error: Connection reset by peer]
xerox357_ has joined #ruby
tier_ has joined #ruby
Macaveli has joined #ruby
<apeiros>
gahanimaia: and?
<ghanima>
aperiros: if you saying that anything that doesn't have [] or {} how can that key be passed
tylerkern has joined #ruby
wombo has quit [Quit: wombo]
<wallerdev>
{"key": key}
<apeiros>
gahanimaia: I have no idea? they pass invalid values?
<shevy>
I don't think your nick is difficult at all apieros
<shevy>
*apeiron
<ghanima>
apeiros: never questioned that possibility
dc_ has quit []
<apeiros>
shvey, please, it's aprirereiso
<ghanima>
apeiros: checking now
momomomomo has joined #ruby
xerox357_ has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<root3d>
is there gem for checking security issues with ruby websites ?
alexju has quit [Ping timeout: 255 seconds]
<godd2>
shvey sounds yiddish. oy shvey
<wallerdev>
a gem for that sounds pretty random
<wallerdev>
lol
<shevy>
are you meschugge man
tier has quit [Ping timeout: 260 seconds]
cobakobodob has quit [Ping timeout: 260 seconds]
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Client Quit]
Grantlyk has joined #ruby
momomomomo has joined #ruby
<godd2>
Is it pronounced apeiros or apeiros?
<apeiros>
I think the latter
yfeldblum has joined #ruby
<shevy>
lol
niklasb has joined #ruby
<shevy>
with a chinese dialect
momomomomo has quit [Client Quit]
<shevy>
awwwwweeeeihrossszzzzz
fold has joined #ruby
<godd2>
confirmed: shevy thinks the Chinese can't p
<wallerdev>
i pronounce it ape heroes
benzrf|offline is now known as benzrf
<Wolland>
how can I get a parent class of a subclass? class Blah < Color, need to get Color from Blah.new
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
Bumptious has quit [Remote host closed the connection]
<wallerdev>
Blah.superclass
rurban has joined #ruby
Macaveli has quit [Ping timeout: 245 seconds]
<Wolland>
ah thanks :)
<jhass>
self.class.superclass
<jhass>
if you want it generic ;)
<Ilyas>
test
<Wolland>
perfect thank you
arya_ has quit [Read error: Connection reset by peer]
<wallerdev>
Color if you don't
_cpt_yossarian_ has joined #ruby
<froggy__>
Can anyone recommend the nicest gem for working with a MySQL database? Is mysql2 the most popular?
emmesswhy has quit [Quit: This computer has gone to sleep]
elico has joined #ruby
momomomomo has joined #ruby
<jhass>
froggy__: it is though most people use an ORM or some other kind of abstraction
elico has left #ruby [#ruby]
claymore has quit [Remote host closed the connection]
ChrisHein has joined #ruby
<jhass>
godd2: why is that better than .class.superclass ?
treehug88 has joined #ruby
claymore has joined #ruby
<godd2>
Oh I was joking. Don't use that.
ghostmoth has joined #ruby
jottr has joined #ruby
Guest37821 has joined #ruby
Kricir has joined #ruby
<shevy>
don't joke too much - jhass might decide to cut your balls off
duncannz has joined #ruby
cpt_yossarian has quit [Ping timeout: 260 seconds]
duncannz has quit [Read error: Connection reset by peer]
Guest37821 has quit [Read error: Connection reset by peer]
<godd2>
K I promise to be super serious from now on.
* apeiros
wonders whether shevy speaks from experience
aspires has joined #ruby
<shevy>
I've seen these things happen here!
InfraRuby has joined #ruby
Sawbones has joined #ruby
_cpt_yossarian_ has quit [Client Quit]
cpt_yossarian has joined #ruby
tier_ has quit [Remote host closed the connection]
tier has joined #ruby
georgelappies has quit [Quit: Leaving]
hamakn has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
jerius has quit []
<advorak>
anybody familiar with openssl? I am trying to implement the following openssl command in ruby code: openssl s_client -dtls1 -cipher DHE-DSS-AES256-SHA -connect 209.87.112.215:34135
<advorak>
I have a feeling the only thing I'm missing is the "-dtls1" option in ruby code .. but I can't figure it out .. it won't get past the handshake component ..
ghr has joined #ruby
michaeldeol has joined #ruby
tier has quit [Ping timeout: 240 seconds]
hamakn has quit [Ping timeout: 255 seconds]
Danibal has joined #ruby
djbkd has quit [Remote host closed the connection]
Danibal has quit [Remote host closed the connection]
_cpt_yossarian_ has joined #ruby
Danibal has joined #ruby
benvds has quit [Quit: leaving]
gigetoo has joined #ruby
benvds has joined #ruby
Kricir has quit [Ping timeout: 250 seconds]
rubyonrailed has quit []
vinky has quit [Read error: Connection reset by peer]
tier has joined #ruby
Urocyon is now known as sfiggins
<daxroc_>
Evening all
cpt_yossarian has quit [Ping timeout: 240 seconds]
nat2610 has quit [Quit: Leaving.]
senayar has joined #ruby
Bumptious has joined #ruby
Ankhers has quit [Remote host closed the connection]
<daxroc_>
I've created a thor-cli gem when I install using the rake tasks my gem bin/cli tools work fine but when I try installing the gem directly some commands don't work and don't error out. How would I inspect whats going on?
patrick99e99 has quit [Ping timeout: 264 seconds]
phutchins has quit [Ping timeout: 240 seconds]
vinky has joined #ruby
<AlHafoudh>
hi
<AlHafoudh>
is it possible to pack all dependant gems into my gem?
dingus_khan has joined #ruby
<daxroc_>
AlHafoudh:
yakko has quit []
<daxroc_>
AlHafoudh: bundle package
toastynerd has joined #ruby
<AlHafoudh>
yes, I have that, but gem I build my gem with the vendor/cache directory, it does not install the gems from that directory
momomomomo has quit [Quit: momomomomo]
Zebroid has quit [Remote host closed the connection]
noz_ has joined #ruby
toastynerd has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
mijicd has quit [Remote host closed the connection]
dingus_k_ has joined #ruby
shackleford has quit [Remote host closed the connection]
<noz_>
Is there some sort of before hook I can use for modules that will alow me to run some code anytime a class using the module gets instantiated?
dingus_khan has quit [Read error: Connection reset by peer]
aspires has quit []
<jhass>
noz_: no, you need to overwrite initialize and provide an alternate initialize hook to the class or make all classes call super in their initializes
Neomex has quit [Ping timeout: 264 seconds]
superscott[8] has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
cobakobodob has joined #ruby
<noz_>
jhass: OK, that's what I was doing but I was hoping there would be a nice way, thanks.
alexju has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
aspires has joined #ruby
yubrew has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
yubrew has joined #ruby
nanoyak has joined #ruby
shackleford has joined #ruby
alexju has joined #ruby
aspires has quit [Client Quit]
_cpt_yossarian_ has quit [Quit: Leaving]
cpt_yossarian has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
dseitz has joined #ruby
vinky has quit [Read error: Connection reset by peer]
alexju has quit [Read error: No route to host]
alexju has joined #ruby
treehug88 has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
decoponio has quit [Quit: Leaving...]
e4xit has quit [Quit: Right I'm out!]
livingstn has joined #ruby
Neomex has joined #ruby
mallu has quit [Quit: Page closed]
dik_dak has quit [Remote host closed the connection]
msmith has quit [Remote host closed the connection]
shanlar has quit [Read error: Connection reset by peer]
Spami has joined #ruby
shanlar has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
nat2610 has joined #ruby
e4xit has joined #ruby
kaiju_sloth has quit []
jimms has quit []
Grantlyk has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 272 seconds]
felgenh3 has quit [Quit: felgenh3]
philcrissman has joined #ruby
claymore has quit [Ping timeout: 264 seconds]
Grantlyk has joined #ruby
craigp has quit [Remote host closed the connection]
djbkd has joined #ruby
dik_dak has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
tier_ has joined #ruby
claymore has joined #ruby
lw has joined #ruby
Atttwww has joined #ruby
philcrissman has quit [Ping timeout: 260 seconds]
noz_ has quit [Quit: Page closed]
emmesswhy has joined #ruby
newUser1234 has quit [Remote host closed the connection]
Xiti has quit [Quit: Leaving]
tier has quit [Ping timeout: 250 seconds]
newUser1234 has joined #ruby
omosoj has quit [Ping timeout: 260 seconds]
buto has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Xiti has joined #ruby
qhartman has joined #ruby
yokel has joined #ruby
ppinto has joined #ruby
dawkirst has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
xcv has joined #ruby
banister has quit [Max SendQ exceeded]
tier_ has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
thams has joined #ruby
tier has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ssvo has joined #ruby
banister has joined #ruby
newUser1_ has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 244 seconds]
arup_r has quit [Quit: Leaving.]
craigbowen3 has quit [Ping timeout: 250 seconds]
godd2 has quit [Ping timeout: 255 seconds]
kquig has joined #ruby
gregf has joined #ruby
alexju has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
<gomikemi1e>
i added a section to check if https_proxy is empty or not, if it is, it sets it and runs my commands then sets it to empty on its last line
<gomikemi1e>
lines 5 through 8
alexju has joined #ruby
thams has quit [Quit: thams]
luckyruby has joined #ruby
shredding has quit [Quit: shredding]
Bumptious has quit [Remote host closed the connection]
Bira has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has joined #ruby
tylerkern has joined #ruby
<bricker`work>
in your opinion, for "duration" attributes, is documentation good enough to specify the units? Or should the attribute be "something.duration_hours", for example?
shackleford has joined #ruby
kquig has quit [Remote host closed the connection]
baroquebobcat has quit [Ping timeout: 245 seconds]
<bricker`work>
wallerdev: centrx thansk
<bricker`work>
thanks*
djbkd has quit [Remote host closed the connection]
livingstn has quit []
_maes_ has joined #ruby
djbkd has joined #ruby
jonahR has quit [Ping timeout: 244 seconds]
shackleford has quit [Read error: Connection reset by peer]
shackleford has joined #ruby
mikepack has joined #ruby
Sawbones has quit []
<advorak>
anybody familiar with openssl? I am trying to implement the following openssl command in ruby code: openssl s_client -dtls1 -connect 209.87.112.215:34135
<advorak>
I have a feeling the only thing I'm missing is the "-dtls1" option in ruby code .. but I can't figure it out .. it won't get past the handshake component ..
Liothen has quit [Ping timeout: 245 seconds]
jdj_dk has joined #ruby
mindriot101 has joined #ruby
mindriot101 has left #ruby [#ruby]
wpp has quit []
xcv has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 240 seconds]
xcv has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
realDAB has quit [Quit: realDAB]
jdj_dk has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.3]
lw has quit [Quit: s]
centrx has quit [Quit: Mead error: Connection reset by beer]
eyeamaye has quit [Quit: Leaving.]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
ldnunes has quit [Quit: Leaving]
doodlehaus has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1_ has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
djbkd has quit [Remote host closed the connection]
superscott[8] has joined #ruby
qwyeth has quit [Remote host closed the connection]
matchaw_ has joined #ruby
mr-foobar has quit [Ping timeout: 250 seconds]
dawkirst has quit [Remote host closed the connection]
obscured has quit [Quit: leaving]
nanoyak has quit [Read error: Connection reset by peer]
Danibal has quit [Remote host closed the connection]
nanoyak has joined #ruby
jaimef has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby
bMalum has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
aspires has quit []
jonahR_ has quit []
matchaw_ has quit [Ping timeout: 255 seconds]
davispuh has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
matchaw has joined #ruby
djbkd has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
patrick99e99 has joined #ruby
yubrew has quit [Ping timeout: 272 seconds]
eyeamaye has joined #ruby
davedev24_ has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
PsionTheory has quit [Remote host closed the connection]
* shevy
shakes advorak's hand
failshel_ has joined #ruby
<shevy>
you may pass
davispuh has joined #ruby
Ilyas has quit [Quit: Leaving]
tylerkern has joined #ruby
jottr has joined #ruby
Hobogrammer has joined #ruby
yetanotherdave has quit [Ping timeout: 240 seconds]
razum2um has quit [Quit: Leaving.]
failshell has quit [Ping timeout: 240 seconds]
davedev2_ has quit [Ping timeout: 260 seconds]
failshel_ has quit [Ping timeout: 244 seconds]
jxf has quit [Ping timeout: 260 seconds]
crdpink has quit [Ping timeout: 250 seconds]
Danibal has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
siukit2014 has joined #ruby
thams has quit [Quit: thams]
matchaw has quit [Ping timeout: 272 seconds]
matchaw has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
ascarter has joined #ruby
sivam has quit [Quit: Leaving.]
ascarter has quit [Max SendQ exceeded]
mikepack has quit [Remote host closed the connection]
ascarter has joined #ruby
jerius has quit []
sivam has joined #ruby
kith has quit [Quit: kith]
Bumptious has joined #ruby
kith has joined #ruby
fgo has joined #ruby
britneywright has joined #ruby
aspires has joined #ruby
Kricir has joined #ruby
fgo_ has joined #ruby
PeterBoy has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
kaspergrubbe_ has quit [Remote host closed the connection]
TDJACR has joined #ruby
gtrak has quit [Ping timeout: 264 seconds]
thams has joined #ruby
the8thbit|work has quit [Ping timeout: 255 seconds]
St_Marx has quit [Remote host closed the connection]
<cajone>
Guys im trying to normalise this String: s1 = " This is a string with some large spaces in it " the closest I can get is using s1.gsub(/\s\s+/,'') but this is failing and I understand why, but can seem to find the right pattern, by normailised I mean no leading or trailing spaces and only one space between word boundaries
Kricir has quit [Ping timeout: 244 seconds]
fgo_ has quit [Ping timeout: 245 seconds]
johnmolina has joined #ruby
AlexRussia is now known as aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa is now known as a111111111111111
<jhass>
cajone: .strip.squeeze(" ")
cocotton has quit [Ping timeout: 240 seconds]
a111111111111111 is now known as a000000000000000
jottr has joined #ruby
Deele has joined #ruby
a000000000000000 is now known as a---------------
St_Marx has joined #ruby
easier has joined #ruby
<hoelzro>
cajone: you probably could also do s1.gsub(/\s+/, ' ')
<hoelzro>
but that would clobber tabs with a single space as well
cocotton_ has quit [Ping timeout: 264 seconds]
<cajone>
jhass: thanks once again, I truely am going to have to read more string methods, trying to do things the hard way with just gsub and the regexp help page
mikepack has joined #ruby
<cajone>
hoelzro: does that no clobber the spaces between word boundies also, or leave spaces and the begining and end of the string?
<cajone>
s/and/at/
<hoelzro>
that would not strip the leading/trailing whitespace
a--------------- is now known as AlexRussia0
<hoelzro>
jhass' technique is probably better, I was just demonstrating another way to do it =)
AlexRussia0 is now known as AlexRussia
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asteve has joined #ruby
nemesit|znc has quit [Ping timeout: 255 seconds]
jrhorn424 is now known as zz_jrhorn424
sivam has quit [Ping timeout: 240 seconds]
amargherio has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
Zesty has joined #ruby
philcrissman has joined #ruby
kaleido is now known as peer
peer is now known as kaleido
tewlz has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
thams has quit [Quit: thams]
MartinCleaver has quit [Quit: MartinCleaver]
nemesit|znc has joined #ruby
djbkd has joined #ruby
jespada has quit [Quit: Leaving]
Zenigor has joined #ruby
icarus has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
aspires has quit []
CorySimmons has quit [Quit: Zzz...]
davedev24_ has quit [Ping timeout: 240 seconds]
Bira has joined #ruby
spider-mario has quit [Remote host closed the connection]
dbasch has quit [Quit: dbasch]
InhalingPixels has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
felgenh3 has joined #ruby
eyeamaye has quit [Quit: Leaving.]
invsblduck has joined #ruby
dblessing has quit [Quit: dblessing]
aspires has joined #ruby
eyeamaye has joined #ruby
root3d has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 260 seconds]
bluenemo has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
Zebroid has joined #ruby
iamjarvo has joined #ruby
agjacome has joined #ruby
Wolland has quit [Remote host closed the connection]
<invsblduck>
Boy my lack of Ruby skillz is showing now. Take Mechanize, for example - it automatically exposes fields in an html form as attr_accessors in its Mechanize::Form object, so you can do `form_obj.foo = "bar"' to populate a field named 'foo'.
InfraRuby has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
<invsblduck>
But what to do when the field is named 'foo.bar' in the page? form_obj.foo.bar isn't what i want. :)
InfraRuby has left #ruby [#ruby]
<apeiros>
invsblduck: I'd assume it also allows access via [] and []=
<invsblduck>
apeiros: excellent. i will figure out what that means and try it :P
<invsblduck>
(hash keys i'm assuming)
dik_dak has quit [Quit: Leaving]
JoshGlzBrk has joined #ruby
Zebroid has quit [Remote host closed the connection]
snath has quit [Ping timeout: 246 seconds]
gtrak has joined #ruby
<apeiros>
invsblduck: [] and []= are ordinary methods. and yes, they're used by Hash and Array for access
DrShoggoth has joined #ruby
<apeiros>
I'd assume that form_obj["foo.bar"] and form_obj["foo.bar"] = val will work. but as said, only an assumption as that's a common pattern.
enebo has quit [Quit: enebo]
codebrah has joined #ruby
djbkd has quit [Remote host closed the connection]
<invsblduck>
Awesome, let me try. And normally I'd read the Mechanize code to figure it out, but it was more of a Ruby interpreter question I wanted to know the answer to deep down (eg., I can't imagine dots are allowed in attr_accessor names, but there are all kinds of tricky things you can do sending messages to objects that I don't understand yet:))
dbasch has joined #ruby
yubrew has joined #ruby
<invsblduck>
apeiros: worked. tyvm sir.
<apeiros>
yw
jxf has joined #ruby
djbkd has joined #ruby
treehug88 has joined #ruby
djbkd has quit [Remote host closed the connection]
omosoj has joined #ruby
gtrak has quit [Remote host closed the connection]
qmfnp has joined #ruby
<treehug88>
hey everyone, I'm learning ruby by writing a restful app in ruby; my work is using 1.9.2 which doesn't support the latest version of activerecord. What do people recommend I do to access a mysql database?
<treehug88>
older version of activerecord? Raw mysql calls? Something else?
<apeiros>
update ruby
<jhass>
^
<mozzarella>
I recommend ruby 2
gtrak has joined #ruby
<jhass>
1.9.2 is out of official support
<treehug88>
I'm pretty sure to encounter resistance with that path
yfeldblum has joined #ruby
<treehug88>
(political resistance)
<apeiros>
o0
ghr has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
lbaan has joined #ruby
<invsblduck>
centos? :)
basiclaser has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
froggy__ has quit [Ping timeout: 272 seconds]
ascarter has joined #ruby
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylerkern has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
djbkd has joined #ruby
flowerhack has joined #ruby
Zenigor has joined #ruby
Spami has quit [Read error: Connection reset by peer]
bMalum has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Remote host closed the connection]
Spami has joined #ruby
bMalum has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
Zenigor has quit [Remote host closed the connection]
codebrah has quit [Quit: Computer has gone to sleep.]
icole has joined #ruby
<shevy>
what lies in ruby 2.2.0 future
<wallerdev>
i hope they add javascript compiling
vaq has joined #ruby
Sgeo has joined #ruby
bMalum has quit [Ping timeout: 264 seconds]
<shevy>
:\
<shevy>
you wanna be known as funny waller again right
ValicekB has quit [Ping timeout: 255 seconds]
<vaq>
Hello, I got summary.erb which renders user.erb which then again renders a third page. Is it possible to pass a local variable in render statement in summary down to the third and final page which is rendered?
<jhass>
you need to pass it along in user.erb
<vaq>
jhass: yeah, but how do I source that from summary.erb ?
<vaq>
jhass: because other pages renders user.erb and I don't want those to have the same local