<shevy>
can't really pick something exotic where I am unsure if the return of investment is worth it
redondos has joined #ruby
thomasxie has joined #ruby
feature_creep has joined #ruby
Hanmac1 has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
yano has joined #ruby
<alsu>
how can I define a method on a module such that it ends up as a class method when the module is included in a class?
<apeiros>
alsu: no
<apeiros>
but you can use extend in the class
<apeiros>
which adds a module's instance methods as class methods to the class
<alsu>
unfortunately, I can’t. the interface here is that I pass in a module, and a library I didn’t write constructs an instance of their class and includes my module
jherbst has joined #ruby
Rollabunna has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
<shevy>
alsu you can not use extend in the class?
orolo has joined #ruby
<alsu>
shevy: am not given the class to extend
<shevy>
how do you want to pass the information to your class then that something else should extend it
<cashnguns>
I was really thinking about picking up a new language like java or c, is java really that bad?
pakcjo has joined #ruby
<pakcjo>
hello, I need help with ruby in ubuntu server
<shevy>
alsu uhm? it is ruby or? I mean you can modify everything at runtime
<alsu>
shevy: sure, except I don’t have a reference to it
<pakcjo>
I'm getting "undefined method `name' for "actionmailer":String"
Zenigor has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
<alsu>
the library, which is not my code, does: Class.new(klass) {include my_module}
diegoviola has joined #ruby
<pakcjo>
it seems that I have ruby 1.8 and ruby 1.9.3
<shevy>
I guess include won't allow you to get a class method on your class
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #ruby
NukePuppy has joined #ruby
<pakcjo>
I'm stuck :(
bmurt has quit []
<havenwood>
pakcjo: did you figure out if you have a Rails app? :P
guilffer has quit [Quit: guilffer]
<pakcjo>
havenwood: it's rails, just that maybe not 3.x
<havenwood>
pakcjo: `ls` in the project root dir and Gist the result
nanoyak has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
<pakcjo>
havenwood: inside the app there's a RAILS_GEM_VERSION that points to 2.3.11
<havenwood>
pakcjo: i'm thinking maybe Rails 2 (maybe you want to stick with 1.8) >.> and you just need to get passenger working
<havenwood>
pakcjo: yup, then a 2.3.11 app
<havenwood>
pakcjo: Rails app
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
binaryhat has quit [Quit: Leaving]
<pakcjo>
ok, I'll go back to 1.8 then
<pakcjo>
ok, ruby and gems back to 1.8
<havenwood>
pakcjo: i'm wondering if passenger was installed as a gem and you need to update it or if it was an apt-get package
prathamesh has quit [Read error: Connection reset by peer]
prathamesh has joined #ruby
<havenwood>
pakcjo: sudo gem list passenger
<pakcjo>
ii passenger 1:4.0.43-1~precise1
<pakcjo>
ii libapache2-mod-passenger 1:4.0.43-1~precise1
yubrew has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
Shidash has joined #ruby
prathamesh has quit [Remote host closed the connection]
<prepangolin>
hevenwood: Hi
prathamesh has joined #ruby
<havenwood>
pakcjo: I don't know if you need to run `passenger-install-apache2-module` and follow instructions or what to get passenger happy. Check if it just works after restarting Apache.
<havenwood>
pakcjo: You might need to ask the passenger folk for help, I'm not familiar.
<havenwood>
prepangolin: why can't you go in the #rvm chan? is nick reg required? really?
<havenwood>
prepangolin: 1.25.26
<jxf>
rkazak_: I don't think it's likely to be a bug, I think it's just not (by design) counting certain things, like maybe the object header isn't part of the count
<prepangolin>
havenwood: Me to need to be indentified to enter there. And What is it 1.25.26 you paste me?
<jxf>
rkazak_: nm, couldn't find the documentation before but I see now that it says "this information is incomplete, and should only be taken as a hint"
<jxf>
so it seems like it's just not particularly accurate on purpose
<jxf>
trying to plan ahead for how much memory I'm going to need for various dataset manipulation things, but now I'm getting the feeling that it's probably best to just try it and see
<havenwood>
jxf: that, i think!
<havenwood>
prepangolin: just specify the exact version you want
prathamesh has quit [Remote host closed the connection]
<havenwood>
prepangolin: rvm install 1.9.3-p547
prathamesh has joined #ruby
deric_skibotn has quit [Ping timeout: 252 seconds]
cpruitt has quit [Quit: cpruitt]
MatthewsFace has quit [Quit: This computer has gone to sleep]
felipe1 has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
prathamesh has quit [Ping timeout: 252 seconds]
iamcalledrob_ has joined #ruby
huoxito has quit [Quit: Leaving]
iamcalledrob has quit [Ping timeout: 245 seconds]
b1205 has joined #ruby
iamcalledrob_ has quit [Read error: Connection reset by peer]
jilk23 has joined #ruby
Sawbones has quit [Remote host closed the connection]
felipe1 has quit [Quit: WeeChat 0.4.3]
__class__ has quit [Ping timeout: 276 seconds]
oo_ has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
yokel has joined #ruby
toastynerd has joined #ruby
iamcalledrob_ has joined #ruby
__class__ has joined #ruby
yokel has quit [Ping timeout: 265 seconds]
gilest has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
benlieb has quit [Ping timeout: 264 seconds]
yokel has joined #ruby
kenneth has joined #ruby
<bricker`LA>
nothing is worse than writing hacky code :(
james_d_h has joined #ruby
toastynerd has joined #ruby
IceDragon has quit [Quit: Space~~~]
Arkaniad|Laptop has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
<rkazak_>
nothing? - how abour losing that lottery ticket in your washing machine…
<jhass>
ask your question, don't search for the right person to answer it
Eyes has quit [Remote host closed the connection]
Eyes has joined #ruby
mengu has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
kirun has joined #ruby
sinkensabe has joined #ruby
yubrew has joined #ruby
<momo_cassandra>
have you tried searching for instagram post based on hashtag? without having repeated results?
debajit has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sinkensabe has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
banister has joined #ruby
yubrew has quit [Ping timeout: 258 seconds]
<jhass>
I only see an endpoint for getting recent media by tag?
<momo_cassandra>
I've seen this method: tag_recent_media and supplying the hashtag as param
<momo_cassandra>
but what I need is how to return results without repetition of posts
jamto11 has joined #ruby
<jhass>
hm, the API doesn't mention that a single query would return duplicates
rat_thing has joined #ruby
<momo_cassandra>
not for the first query
debajit has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
Freddan962 has joined #ruby
<momo_cassandra>
but if you tried querying again, its possible that it would return posts that are in the first query results
mengu has joined #ruby
Sawbones has quit [Ping timeout: 258 seconds]
alexju has joined #ruby
<jhass>
well, just .uniq_by once you're done querying
<Freddan962>
How do I open a soket's write in ruby after having closed it with @client.close_write?
<jhass>
er, it's uniq with a block here
kaspergr_ has joined #ruby
TeresaP_ has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
dawkirst has quit [Read error: No route to host]
<jhass>
Freddan962: can't you just not close it? I fear you have to open a new one if not
ringaring has joined #ruby
dawkirst has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
<momo_cassandra>
jhass: It's actually on a next request and I need to only get those that I haven't gotten yet so it doesn't duplicate on the page with those that I have already pulled before
jamto11 has quit [Ping timeout: 252 seconds]
<Freddan962>
jhass: Sure, but then I can't read until I get the EOF response from the server.
kaspergrubbe has quit [Ping timeout: 258 seconds]
<jhass>
momo_cassandra: tried setting min_id to the biggest id you got from the first query?
<Mon_Ouie>
alsu: How so? It just forwards output to the client
sunya7a has joined #ruby
iamcalledrob_ has joined #ruby
kitak_ has joined #ruby
alexju has quit [Ping timeout: 276 seconds]
<Freddan962>
jhass: And then the kernel's buffer waits with sending the socket - I have to close it, but is there not a way to re-open the socket? Or am I better off making a new socket?
sinkensabe has joined #ruby
<momo_cassandra>
jhass: i've just tried it but second result still includes posts from my first result.
ringarin has quit [Ping timeout: 252 seconds]
timfoo has quit [*.net *.split]
Deele has quit [*.net *.split]
soulcake has quit [*.net *.split]
barratt has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
Caius has quit [*.net *.split]
tsunamie has quit [*.net *.split]
jxport has quit [*.net *.split]
tcstar has quit [*.net *.split]
ozzloy has quit [*.net *.split]
terlar has quit [*.net *.split]
DouweM has quit [*.net *.split]
netf has quit [*.net *.split]
jxport_ has joined #ruby
ozzloy has joined #ruby
terlar has joined #ruby
tcstar has joined #ruby
<momo_cassandra>
jhass: what's the correct value or id that I should pass to min_id? is it the tag id or the result pagination?
jilk23 has quit [Quit: jilk23]
sk87 has joined #ruby
gilest has joined #ruby
<jhass>
Freddan962: you should make a new one
<Freddan962>
jhass: Ok, thanks! Just bought the e-book so I am quite new to all this :P
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
gilest has quit [Remote host closed the connection]
<jhass>
momo_cassandra: I'd expect the pagination id
iamcalledrob_ has quit [Ping timeout: 255 seconds]
marr has joined #ruby
sk87 has quit [Client Quit]
kaspergr_ has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
kaspergrubbe has joined #ruby
<momo_cassandra>
jhass: thanks a lot for your responses! I'd try everything you said
kaspergrubbe has quit [Remote host closed the connection]
dawkirst has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
sinkensabe has joined #ruby
barratt has joined #ruby
Caius has joined #ruby
netf has joined #ruby
Deele has joined #ruby
peckermanzzz has joined #ruby
soulcake has joined #ruby
tsunamie has joined #ruby
sinkensabe has quit [Read error: No route to host]
sinkensabe has joined #ruby
_tpavel has quit [Quit: Leaving]
gilest has joined #ruby
toastynerd has quit [Ping timeout: 255 seconds]
weszlem has quit []
timfoo has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timfoo has quit [Ping timeout: 260 seconds]
tjr9898_ has quit [Remote host closed the connection]
timfoo has joined #ruby
mercerist has joined #ruby
iamayam has joined #ruby
<gilest>
hi everybody, anyone using 2.1.2 in production?
Bira has joined #ruby
<jhass>
I think github does?
<gilest>
i've just been reading their blog about it, curious about process bloat
ziyadb__ has joined #ruby
Bira has quit [Ping timeout: 276 seconds]
<gilest>
using 2.1.1 at the moment. trying to decide whether i should throw some gc tuning in with environment variables or throw out the baby and upgrade to 2.1.2
<gilest>
(with the bath water that is)
oo_ has quit [Remote host closed the connection]
terrencehan has left #ruby ["Leaving"]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
subraminion_ has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
maximski has joined #ruby
kl0_ has joined #ruby
angusiguess has joined #ruby
subraminion has quit [Ping timeout: 240 seconds]
gilest has quit [Quit: Leaving...]
angusiguess has quit [Ping timeout: 265 seconds]
RaptorJesus has joined #ruby
ponga has joined #ruby
andrewjanssen has joined #ruby
mijicd has quit [Quit: leaving]
yubrew has joined #ruby
subbyyy_ has quit [Ping timeout: 264 seconds]
andrewjanssen has quit [Client Quit]
xcv has joined #ruby
ziyadb__ is now known as ziyadb
ziyadb has quit [Changing host]
ziyadb has joined #ruby
ziyadb has joined #ruby
ziyadb has quit [Changing host]
TwinkleHood has joined #ruby
mihirrege has joined #ruby
Sawbones has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
lars_smit has joined #ruby
Wolland has joined #ruby
angusiguess has joined #ruby
Wolland has quit [Client Quit]
reference has quit [Remote host closed the connection]
Sawbones has quit [Ping timeout: 240 seconds]
scepticulous has left #ruby ["Gone"]
reference has joined #ruby
debajit has joined #ruby
sepp2k has joined #ruby
gigetoo has quit [Remote host closed the connection]
reference has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
debajit has quit [Ping timeout: 255 seconds]
eka has joined #ruby
yacks has joined #ruby
decoponio has joined #ruby
reference has joined #ruby
iamcalledrob_ has joined #ruby
tharindu_ has joined #ruby
northfurr has joined #ruby
shvelo has quit [Ping timeout: 264 seconds]
iamcalledrob_ has quit [Ping timeout: 258 seconds]
lw has joined #ruby
Virtualize|away has joined #ruby
toastynerd has joined #ruby
tharindu has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
toastynerd has quit [Ping timeout: 276 seconds]
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
postmodern has quit [Quit: Leaving]
s00pcan has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
mhenrixon has joined #ruby
Rollabunna has joined #ruby
lshepherd has joined #ruby
sunya7a has quit [Ping timeout: 258 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
guilffer has joined #ruby
kitak_ has quit [Ping timeout: 240 seconds]
danshultz_ has quit [Remote host closed the connection]
danshultz has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 258 seconds]
Sawbones has quit [Ping timeout: 240 seconds]
relix has quit [Ping timeout: 245 seconds]
lw has quit [Quit: s]
relix has joined #ruby
Retroid has joined #ruby
rghose1 has quit [Ping timeout: 252 seconds]
marc_online_ has joined #ruby
doodlehaus has joined #ruby
agjacome has joined #ruby
emptymag00 has joined #ruby
rat_thing has quit [Remote host closed the connection]
himsin has joined #ruby
debajit has joined #ruby
parus_ is now known as parus
cbreeze has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
dvabr_ has joined #ruby
centrx has joined #ruby
feature_creep has joined #ruby
dvabr has quit [Ping timeout: 252 seconds]
s00pcan has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
ta_ has joined #ruby
debajit has quit [Ping timeout: 264 seconds]
alem0lars has quit [Quit: Going AFK...]
leslie has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 265 seconds]
canton7 has quit [Excess Flood]
canton7 has joined #ruby
bboz has joined #ruby
leslie has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
tjr9898_ has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
iamcalledrob_ has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
doodlehaus has quit [Remote host closed the connection]
doodlehaus has joined #ruby
yfeldblum has joined #ruby
iamcalledrob_ has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
toastynerd has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
Hanmac1 has joined #ruby
toastynerd has quit [Read error: No route to host]
toastynerd has joined #ruby
danshultz has joined #ruby
sandstrom has joined #ruby
doodlehaus has quit [Ping timeout: 276 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
<sandstrom>
Compiling Ruby 2.1.2. Takes 11 minutes. VM (Ubuntu 14.04) on my Macbook Air, with ~2048 mb memory and 2 CPUs for the VM. Using `ruby-install` vanilla. Is this slow? Any way I can speed it up?
bmurt has joined #ruby
JasmeetQA has joined #ruby
mehlah has quit [Quit: Leaving...]
ValicekB has joined #ruby
<jhass>
semms pretty normal to me
angusiguess has quit [Ping timeout: 276 seconds]
<jhass>
make sure to export MAKEFLAGS="-j2"
mihirrege has left #ruby ["Leaving"]
toastynerd has quit [Ping timeout: 258 seconds]
mihirrege has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
crazymykl has quit [Read error: Connection reset by peer]
danshult_ has joined #ruby
crazymykl has joined #ruby
<sandstrom>
jhass: okay, just checking. There is a PR for support of pre-compiled binaries in ruby-install. That would speed it up. Thanks!
marc_online_ has quit [Quit: Leaving]
marc_online_ has joined #ruby
benzrf|offline is now known as benzrf
nixmaniack has quit [Ping timeout: 265 seconds]
mark_locklear has joined #ruby
ayaz has quit [Read error: Connection reset by peer]
Takle has joined #ruby
jmurray has joined #ruby
marc_online_ has quit [Quit: Leaving]
lxsameer has quit [Quit: Leaving]
obs has quit [Remote host closed the connection]
reference-lost has quit [Remote host closed the connection]
shvelo has joined #ruby
reference has joined #ruby
rghose1 has joined #ruby
karupa is now known as zz_karupa
AlexRussia has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
ashleah is now known as ashleah{K}
reference-lost has joined #ruby
<Hanmac1>
jhass: i have seen a gem that compiles itself with -j5 ;P imo that was way to high
Hanmac1 is now known as Hanmac
paulfm has joined #ruby
<jhass>
Hanmac my machine default is 7,
reference has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
Sawbones has joined #ruby
sambao21 has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
northfurr has quit [Quit: northfurr]
tharindu_ is now known as tharindu_|away
chipotle has quit [Quit: cya]
mehlah has joined #ruby
moritzs has quit [Ping timeout: 264 seconds]
mihirrege has quit [Ping timeout: 265 seconds]
Alina-malina has quit [Ping timeout: 252 seconds]
Sawbones has quit [Ping timeout: 240 seconds]
Mattx has quit [Read error: Connection reset by peer]
jack_rabbit has quit [Ping timeout: 240 seconds]
Mattx has joined #ruby
feature_creep has quit [Quit: feature_creep]
zkay11 has joined #ruby
phansch has quit [Ping timeout: 252 seconds]
Eyes is now known as Eyess
spyderman4g63 has joined #ruby
subraminion_ has quit [Quit: Computer has gone to sleep.]
jmurray has quit [Quit: jmurray]
sputnik13 has joined #ruby
_2_PATTY69 has joined #ruby
the-undefined_ has joined #ruby
relix has quit [Read error: Connection reset by peer]
relix_ has joined #ruby
lw has joined #ruby
thisirs has joined #ruby
bbloom has quit [Ping timeout: 264 seconds]
_2_PATTY69 has quit [Excess Flood]
mihirrege has joined #ruby
reference-lost has quit [Ping timeout: 245 seconds]
mr_snowf1ake has joined #ruby
subraminion_ has joined #ruby
dvabr_ has quit [Ping timeout: 252 seconds]
subraminion_ has quit [Remote host closed the connection]
thomasxie has joined #ruby
Bira has joined #ruby
subraminion_ has joined #ruby
tharindu_|away is now known as tharindu_
debajit has joined #ruby
spider-mario has quit [Remote host closed the connection]
TwinkleHood has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weszlem has joined #ruby
Kotov has quit [Excess Flood]
SHyx0rmZ has joined #ruby
Kotov has joined #ruby
Kotov has quit [Max SendQ exceeded]
s2013 has joined #ruby
yubrew has joined #ruby
oo_ has quit [Remote host closed the connection]
Naoe-Kanno has joined #ruby
oo_ has joined #ruby
<kke>
might be a different dude
<kke>
NOTE: For some reason, I’ve been getting a LOT (like more than 1, which is a lot for me considering how long this site has been going) of messages from people asking me if I’m some kind of famous programmer called #why from Pittsburg or something.
<kke>
Whilst I wish I was this famous and did get this much attention, unfortunately I’m not.
heftig has joined #ruby
SHyx0rmZ has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
obs has joined #ruby
sputnik13 has joined #ruby
noop has quit [Ping timeout: 258 seconds]
Eomar is now known as Davey
andrewjanssen has joined #ruby
Rollabunna has joined #ruby
Rollabunna has quit [Client Quit]
<shevy>
anyone remembers how I could check a .rb file for valid ruby syntax, without executing it?
ping_pong is now known as ping-pong
<benzrf>
shevy: use ruby_parser
<benzrf>
or like
<benzrf>
something
<jhass>
ruby -c
<shevy>
ruby_parser?
<shevy>
aah great
JokerDoomWork has joined #ruby
spastorino has joined #ruby
JokerDoomWork has quit [Read error: Connection reset by peer]
s2013 has quit [Remote host closed the connection]
s00pcan has joined #ruby
<shevy>
ewww someone is smoking outside... the smoke invades my room
danshultz has joined #ruby
bean has joined #ruby
tier has joined #ruby
devdazed has joined #ruby
robertodecurnex has joined #ruby
banister has joined #ruby
mary5030 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
lshepherd has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
danshult_ has quit [Ping timeout: 276 seconds]
mr_snowf1ake has quit [Remote host closed the connection]
Sawbones_ has joined #ruby
thesheff17 has quit [Ping timeout: 255 seconds]
ikaros has quit [Quit: Ex-Chat]
bean has quit [Quit: bean]
sambao21 has joined #ruby
Zenigor has joined #ruby
dawkirst has quit [Remote host closed the connection]
thesheff17 has joined #ruby
cpruitt has joined #ruby
sarno has quit [Read error: Connection reset by peer]
Sawbones has quit [Ping timeout: 276 seconds]
bean has joined #ruby
bean has quit [Changing host]
bean has joined #ruby
bean has quit [Client Quit]
treehug88 has joined #ruby
bean has joined #ruby
bean has joined #ruby
bean has quit [Changing host]
treehug88 has quit [Max SendQ exceeded]
<benzrf>
bean: nice hostmask
sdwrage has joined #ruby
alexju has joined #ruby
codabrink has joined #ruby
<bean>
benzrf: thx
rostam has quit [Remote host closed the connection]
feature_creep has joined #ruby
rostam has joined #ruby
sdwrage has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has joined #ruby
norber has joined #ruby
lshepherd has joined #ruby
debajit has joined #ruby
yfeldblum has joined #ruby
amargherio has joined #ruby
kaspergrubbe has quit [Ping timeout: 252 seconds]
himsin has quit [Quit: himsin]
Takle has quit [Ping timeout: 265 seconds]
relix has joined #ruby
s2013 has joined #ruby
tharindu_ has quit [Quit: Leaving...]
baweaver has joined #ruby
debajit has quit [Ping timeout: 252 seconds]
froex has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
zkay11 has left #ruby [#ruby]
Megtastique has joined #ruby
Takle_ has joined #ruby
ponga has quit [Client Quit]
luksaur has joined #ruby
Robbo` has joined #ruby
kaspergrubbe has joined #ruby
momo_cassandra has left #ruby [#ruby]
huza has quit [Quit: WeeChat 0.3.8]
iamcalledrob_ has joined #ruby
banister_ has joined #ruby
kitak_ has quit [Remote host closed the connection]
merceris_ has joined #ruby
mercerist has quit [Read error: Connection reset by peer]
ringaroses2 has joined #ruby
baniste__ has joined #ruby
yubrew has joined #ruby
baniste__ has quit [Max SendQ exceeded]
banister has quit [Ping timeout: 240 seconds]
banister has joined #ruby
GriffinHeart has joined #ruby
ascarter has joined #ruby
toastynerd has joined #ruby
banister_ has quit [Ping timeout: 252 seconds]
blueOxigen has quit [Ping timeout: 240 seconds]
iamcalledrob_ has quit [Ping timeout: 264 seconds]
phutchins has joined #ruby
ringaring has quit [Ping timeout: 245 seconds]
NivenHuH has joined #ruby
dik_dak has joined #ruby
Takle_ has quit [Ping timeout: 240 seconds]
Macacity has joined #ruby
subraminion_ has quit [Quit: Computer has gone to sleep.]
bamyyyooo14335 has joined #ruby
mengu__ has joined #ruby
bamyyyooo14335 has quit [Client Quit]
<lshepherd>
quit
lshepherd has quit [Quit: leaving]
geoffw8_ has joined #ruby
Takle has joined #ruby
michaelpjohnson has joined #ruby
andrewjanssen has quit [Ping timeout: 240 seconds]
subraminion_ has joined #ruby
subraminion_ has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 240 seconds]
subraminion_ has joined #ruby
rayners has joined #ruby
kitak has quit [*.net *.split]
yfeldblum has joined #ruby
kitak has joined #ruby
dangerousdave has joined #ruby
Sawbones_ has quit []
Takle_ has joined #ruby
g0bl1n has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
lethjakman has joined #ruby
phansch has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamcalledrob_ has quit [Ping timeout: 245 seconds]
jimbauds has joined #ruby
rippa has joined #ruby
JBreit has left #ruby ["Leaving"]
axl_ has quit [Client Quit]
<benzrf>
:^)
tjr9898_ has quit [Remote host closed the connection]
klaut has joined #ruby
toastynerd has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
himsin has joined #ruby
<DouweM>
haha
the-undefined_ has quit [Quit: Connection closed for inactivity]
maletor has joined #ruby
tjr9898_ has joined #ruby
zB0hs has joined #ruby
danman has joined #ruby
snath has joined #ruby
xeno has joined #ruby
maletor has quit [Ping timeout: 255 seconds]
davedev24_ has joined #ruby
b1205 has joined #ruby
gorpon has joined #ruby
Alina-malina has joined #ruby
andrewjanssen has quit [Ping timeout: 252 seconds]
b00stfr3ak has joined #ruby
jxf has quit [Read error: Connection reset by peer]
himsin has quit [Quit: himsin]
danijoo has quit [Read error: Connection reset by peer]
Azzurrio has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has joined #ruby
rizzatti has joined #ruby
qpls has joined #ruby
mikesplain_ has quit [Quit: mikesplain_]
Naoe-Kanno has quit [Ping timeout: 252 seconds]
gorpon has quit [Ping timeout: 252 seconds]
codeurge has joined #ruby
shvelo has quit [Ping timeout: 265 seconds]
maximski has quit []
mikesplain has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
<shevy>
jsaak C++ is not a serious language, that is why the linux kernel is not implemented in C++
SegFaultAX has quit [Ping timeout: 252 seconds]
Macaveli has joined #ruby
timfoo has joined #ruby
codeurge has quit [Quit: Quit.]
GaryOak_ has joined #ruby
SegFaultAX has joined #ruby
SJrX has joined #ruby
maestrojed has joined #ruby
SJr has quit [Read error: Connection reset by peer]
<jsaak>
i was joking obviously, but it is true that i returned to c++ i hate it but that is what is needed now :/
<jsaak>
qt is not too bad tho
vt102 has quit [Ping timeout: 252 seconds]
obs has quit [Ping timeout: 258 seconds]
momomomomo has joined #ruby
the_f0ster has joined #ruby
<h_h>
shevy, "not a serious"? :O what?
<shevy>
yeah I wrote that
combusean has joined #ruby
robertodecurnex has joined #ruby
momomomomo has quit [Read error: Connection reset by peer]
noop has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
brunops has joined #ruby
paulfm has quit []
fresham has quit [Ping timeout: 252 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
robertodecurnex has quit [Remote host closed the connection]
<workmad3>
shevy: C++ is a very serious language... it has lots of serious people writing it, it has lots of serious people writing standards for it, it has lots of serious people writing compilers for it, and it has lots of serious people not particularly enjoying writing in it
benzrf is now known as benzrf|offline
<shevy>
yeah like perl is written in it
<shevy>
and python
<shevy>
and ruby!!!
<eam>
shevy: the linux kernel isn't written in C++ because it created before C++ existed
<workmad3>
eam: no it wasn't
toretore has quit [Quit: Leaving]
<eam>
workmad3: before a complete compiler for it existed
<workmad3>
eam: it was before the first *standard* for it
<eam>
sure sure
<workmad3>
eam: but it was 8 years after C++ was created
<shevy>
you can't be wrong if you are in agreement with TIOBE
<shevy>
look how convincing it is:
<shevy>
"The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system."
<shevy>
we can make a strategic decision NOW
<shevy>
visual basic #5
<eam>
hey visual basic. I know visual basic
<shevy>
ewwww
GaryOak_ has quit [Remote host closed the connection]
<jimbauds>
haha! I know VB6! ;)
sdwrage has joined #ruby
<eam>
shevy: helped write an interpreter for it :)
<josiah14>
is there a way to do something like (attr_val1, attr_val2) = obj.get_attributes(:attr1, :attr2) in Ruby?
<jhass>
josiah14: you just wrote it
<jhass>
but you can leave the parens off
<josiah14>
I just tried it in pry and couldn't get it to work on the string class
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister_ has joined #ruby
bean has quit [Quit: bean]
Rahul_Roy has joined #ruby
tier has quit [Remote host closed the connection]
doev has quit [Client Quit]
doev has joined #ruby
kpshek has quit []
aspires has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
duggiefresh has joined #ruby
aspires has joined #ruby
andrewjanssen has joined #ruby
Takle has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
Macaveli has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Sc0rp10n has joined #ruby
kpshek has joined #ruby
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 240 seconds]
momomomomo_ is now known as momomomomo
mijicd has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
sputnik13 has joined #ruby
mjsmith2 has joined #ruby
sunya7a has joined #ruby
prathamesh has joined #ruby
bricker`LA has quit [Quit: leaving]
axl__ has joined #ruby
axl_ has quit [Ping timeout: 258 seconds]
axl__ is now known as axl_
debajit has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tjr9898_ has joined #ruby
brasten has joined #ruby
Valesk has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
charliesome has joined #ruby
lethjakman has quit [Ping timeout: 252 seconds]
tjr9898_ has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
debajit has quit [Ping timeout: 260 seconds]
SegFaultAX has quit [Excess Flood]
enebo has quit [Quit: enebo]
Zenigor has joined #ruby
saarinen has joined #ruby
Macaveli has joined #ruby
SegFaultAX has joined #ruby
glenfe has quit [Read error: No route to host]
Jello_Raptor has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Remote host closed the connection]
baweaver has joined #ruby
noop has quit [Ping timeout: 245 seconds]
silkfox has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
yokel has joined #ruby
noop has joined #ruby
dfinly has joined #ruby
__class__ has quit [Read error: Connection reset by peer]
dfinly has quit [Max SendQ exceeded]
sinkensabe has quit [Remote host closed the connection]
iamjarvo has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
ringaring has joined #ruby
sinkensabe has joined #ruby
subbyyy_ has joined #ruby
baweaver has joined #ruby
Shidash has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 252 seconds]
kaspergrubbe has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby
xcv_ has joined #ruby
User458764 has joined #ruby
akonny has joined #ruby
jherbst has joined #ruby
dawkirst has joined #ruby
ringaroses2 has quit [Ping timeout: 258 seconds]
phinfonet has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
xcv has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
Hobogrammer_ has quit [Ping timeout: 240 seconds]
aspires has quit []
__class__ has joined #ruby
sinkensabe has joined #ruby
Asher has quit [Quit: Leaving.]
sinkensabe has quit [K-Lined]
platzhirsch has left #ruby [#ruby]
tier has joined #ruby
axl_ has quit [Quit: axl_]
enebo has joined #ruby
brasten has quit [Quit: brasten]
dawkirst has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Ping timeout: 264 seconds]
dp has joined #ruby
aspires has joined #ruby
maletor_ has joined #ruby
<dp>
I've got a ruby script being run by nagios (apparently under rvm). I'm trying to require a gem, but the script fails. is there a way to see where all ruby is going to look for the gems?
paulfm has quit []
s00pcan has quit [Read error: Connection reset by peer]
<jhass>
"all ruby"?
<dp>
where-all.
<dp>
sorry
timfoo has quit [Ping timeout: 260 seconds]
<dp>
IE, all the different locations
<havenwood>
dp: echo $GEM_PATH
<jhass>
puts $LOAD_PATH
tier has quit [Ping timeout: 252 seconds]
<dp>
and then I should be able to look under those locations for my gem
timfoo has joined #ruby
maletor has quit [Ping timeout: 276 seconds]
<havenwood>
dp: i guess outset question, are you trying to determine from Ruby or from Shell?
shinobi_one has joined #ruby
lethjakman has joined #ruby
<dp>
havenwood: from ruby
timonv has quit [Remote host closed the connection]
Azure_ has joined #ruby
cmoneylulz has joined #ruby
<jhass>
Ideally you'd find out how to run `gem` with the same environment, then `gem which gemname` and `gem env` are most informative
<dp>
jhass: figuring out that environment is easier said than done.
iamjarvo has quit [Quit: iamjarvo]
cmoneylulz has quit [Client Quit]
<Hanmac>
dp how did you install nagios? as gem if yes did you run it as sudo or not? (didnt nagios has its own user so you might need to install it as root? )
Vivekananda has joined #ruby
<dp>
Hanmac: nagios is perl, not ruby
kaspergrubbe has joined #ruby
<Hanmac>
dp how did you install rvm, system wide or user wide?
Azure has quit [Ping timeout: 265 seconds]
<dp>
Hanmac: unknown. I did not install it
<dp>
twas before my time
<benzrf>
i can into underline
bboz has joined #ruby
subbyyy_ has quit [Ping timeout: 240 seconds]
paulfm has joined #ruby
paulfm has quit [Client Quit]
combusean has joined #ruby
rizzatti has quit [Quit: Leaving...]
bean has joined #ruby
Hobogrammer_ has joined #ruby
<shevy>
dp look at "gem env" output too
dangerousdave has joined #ruby
<Hanmac>
i think that rvm was installed user wide and the nagios user cant find the installed gem
p8952 has quit [Quit: Leaving]
User458764 is now known as User458764_NotHe
nanoyak has joined #ruby
Eyess has quit [Read error: Connection reset by peer]
dylannorthrup has quit [Quit: 0.3.7]
akonny has quit [Quit: akonny]
gregf has joined #ruby
xcv_ has quit [Ping timeout: 258 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
g0bl1n has joined #ruby
segv is now known as xorl
<havenwood>
dp: RVM recommends not doing system wide installs. RVM chan is #rvm.
danijoo has quit [Read error: Connection reset by peer]
aspires has joined #ruby
nanoyak has quit [Client Quit]
danijoo has joined #ruby
xiq has joined #ruby
Eyes is now known as Eyess
User458764_NotHe has quit [Ping timeout: 255 seconds]
anaeem1 has joined #ruby
xiq has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
mercerist has joined #ruby
<shinobi_one>
Using net/smtp, the mail server sends back AUTH NTLM, but net/smtp supports only login, plain, and cram_md5, anyone know how to get this working?
User458764 has joined #ruby
Robbo` has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
brunops has joined #ruby
alvaro_o has joined #ruby
dvxam has joined #ruby
Eyess has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
xcv has joined #ruby
danman has quit [Quit: danman]
Eyes has joined #ruby
Eyes is now known as Eyess
mark_locklear has quit [Ping timeout: 245 seconds]
danman has joined #ruby
Kache has joined #ruby
<shevy>
via Time.now.strftime
<shevy>
I only get numbers right? I dont get "give me the long form of current month"
Kache has quit [Client Quit]
Ishiro has quit [Quit: Computer has gone to sleep.]
<shevy>
it's no big deal as Date::MONTHNAMES[Date.today.month] could be used, I just wonder, and it feels a bit weird to combine Time and Date hmm
aspires has quit []
<shinobi_one>
Sigma00: here's the thing, I'm trying to not use the gem and figure out how the hell mail gem, which is used by RoR Actionmailer is working without it.. mail gem uses underlying net/smtp
ag95mn has joined #ruby
GriffinHeart has joined #ruby
Kache has joined #ruby
Kache has quit [Client Quit]
<Sigma00>
that should have been part of your initial question
xiq has joined #ruby
xiq has left #ruby [#ruby]
diegoviola has quit [Quit: WeeChat 0.4.3]
aspires has joined #ruby
Vivekananda has quit [Remote host closed the connection]
<jhass>
shevy: %B - The full month name (``January'')
workmad3 has quit [Ping timeout: 240 seconds]
<shevy>
aaaah
<shevy>
now that is a lot better, thanks
Kache has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mu5k17u has joined #ruby
yfeldblum has joined #ruby
Robbo` has joined #ruby
<shinobi_one>
It must be something specific to actionmailer because using mail gem by itself doesn't work through this exchange server, but somehow using actionmailer does..
shock_one has quit [Read error: Connection reset by peer]
<havenwood>
shevy: ^ not the names you were looking for, but >.>
<shevy>
that is also fine
<shevy>
3 letters shortcut
<shevy>
I just had a shock, thinking I removed 957 yaml files
<havenwood>
note the array doesn't start with `nil` like Date::MONTHNAMES
<jhass>
%b - The abbreviated month name (``Jan'')
<shevy>
wheeeee
<havenwood>
jhass: aha, nice
<shevy>
I am sorry havenwood, it seems as if strftime offers everything already!
<havenwood>
shevy: i'm late to the party and didn't bring wine
kpshek has quit []
<shevy>
did you bring cookies
<havenwood>
shevy: bacon
<shevy>
damn it :(
subbyyy_ has joined #ruby
User458764_NotHe has quit [Ping timeout: 252 seconds]
Ishiro has joined #ruby
User458764 has joined #ruby
axl_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
subbyyy has joined #ruby
jilk23 has joined #ruby
fresham has quit [Quit: fresham]
bboz has quit [Ping timeout: 265 seconds]
rizzatti has joined #ruby
Vivekananda has joined #ruby
debajit has joined #ruby
LekeFly has quit [Read error: Connection reset by peer]
brunops has joined #ruby
LekeFly_ has joined #ruby
farn has joined #ruby
dvxam has quit [Quit: leaving]
subbyyy_ has quit [Ping timeout: 260 seconds]
lkba has joined #ruby
Kache is now known as kache4
robbyoconnor has quit [Ping timeout: 265 seconds]
aspires has joined #ruby
kache4 is now known as Kache
Kache is now known as Kache4
kenneth has joined #ruby
sambao21 has joined #ruby
obs has quit [Quit: Saliendo]
fresham has joined #ruby
mehlah has quit [Quit: Leaving...]
debajit has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
Vivekananda has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
Azure_ is now known as Azure
benzrf|offline is now known as benzrf
JasmeetQA has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
yakko has quit [Ping timeout: 240 seconds]
axl_ has quit [Quit: axl_]
doev has quit [Ping timeout: 252 seconds]
<mocfive>
Is it possible to switch a rspec.configure value for just one test?
fmope has quit [Read error: Connection reset by peer]
fmope has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lagweezle>
That reads very much like, "You're doing it wrong." ... but I dunno.
bricker`work has quit [Ping timeout: 240 seconds]
St_Marx has quit [Remote host closed the connection]
ringaroses2 has joined #ruby
<jhass>
mocfive: so which value and why?
bricker`work has joined #ruby
tjr9898_ has joined #ruby
silkfox has joined #ruby
axl_ has joined #ruby
<mocfive>
I'm doing some testing with capybara and devise, and I need to have use_transactional_fixtures set to false. I was hoping to just set this to false for my tests
<mocfive>
is it as simple as putting an Rspec.configure block on top and bottom of the file ?
tjr9898_ has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
mehlah has joined #ruby
g0bl1n has quit [Ping timeout: 252 seconds]
<dideler|work>
is doing something like `require 'openssl' unless defined?(OpenSSL)` necessary? because `require` returns false if the lib is already loaded, soiis there any reason why you can't just do `require 'openssl'`?
datafirm has joined #ruby
<centrx>
dideler|work, Right
kpshek has joined #ruby
ringaring has quit [Ping timeout: 252 seconds]
<centrx>
dideler|work, Unless a different library defined an OpenSSL class
<Hanmac1>
shevy yeah i need to look how the test units for test-unit are written ;P
Xeago has quit [Ping timeout: 264 seconds]
[42] has joined #ruby
debajit has quit [Client Quit]
<Mon_Ouie>
krz: Usually you will not use escaping though. You'd have placeholders in your query and pass an array of arguments to it.
debajit has joined #ruby
wseward has quit [Quit: Page closed]
combusean has quit [Ping timeout: 245 seconds]
tier has quit [Remote host closed the connection]
aspires has quit []
[42] has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 245 seconds]
failshell has joined #ruby
<shevy>
so if I have a file called 'foo' ... what is the difference if I wish to append it, using 'a' versus 'a+' in ruby?
[42] has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
[42] has quit [Remote host closed the connection]
[42] has joined #ruby
paulfm has joined #ruby
ciziar has joined #ruby
<shevy>
so weird, I could have sworn I had a bug here that was creating a completely new file when using 'a+' ...
tier has joined #ruby
ciziar has left #ruby [#ruby]
GriffinHeart has joined #ruby
fresham has quit [Quit: fresham]
jackal__ has joined #ruby
akonny has quit [Quit: akonny]
tier has quit [Remote host closed the connection]
akonny has joined #ruby
bbloom has joined #ruby
nanoyak has joined #ruby
hello_world101 has quit [Remote host closed the connection]
bboz has joined #ruby
jilk23 has quit [Quit: jilk23]
akonny has quit [Client Quit]
<RubyPanther>
shevy: The + means create
tier has joined #ruby
cpruitt has quit [Quit: cpruitt]
Czupa has quit [Remote host closed the connection]
<apeiros>
RubyPanther, shevy: no, both a and a+ create.
<apeiros>
shevy: check IO::new, lists all params
endash has quit [Quit: endash]
GriffinHeart has quit [Ping timeout: 245 seconds]
dawkirst has joined #ruby
<shevy>
hmm... perhaps my harddisc is failing...
TripTastic has left #ruby ["Leaving"]
ag95mn has joined #ruby
ag95mn has quit [Client Quit]
decoponio has quit [Quit: Leaving...]
User458764 is now known as User458764_NotHe
<RubyPanther>
oops, yeah, sorry
angusiguess has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
kilk_ has joined #ruby
jackal__ has quit [Read error: Connection reset by peer]
dmyers has quit [Quit: dmyers]
sqwirl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akonny has joined #ruby
koell has joined #ruby
User458764_NotHe has quit [Ping timeout: 258 seconds]
sandbags has joined #ruby
sandbags has quit [Remote host closed the connection]
sdwrage has joined #ruby
Ishiro has quit [Quit: Computer has gone to sleep.]
sandbags has joined #ruby
pwh has joined #ruby
sepp2k1 has joined #ruby
tier has quit [Remote host closed the connection]
akonny has quit [Quit: akonny]
Robbo` has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
sepp2k has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: iamjarvo]
Hanmac has joined #ruby
akonny has joined #ruby
rizzatti has quit [Quit: Leaving...]
blackmesa has joined #ruby
Paradox has joined #ruby
Hanmac1 has quit [Ping timeout: 255 seconds]
tier has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
silkfox has quit [Ping timeout: 240 seconds]
[42] has quit [Ping timeout: 265 seconds]
jheg_ has joined #ruby
postmodern has joined #ruby
saarinen has joined #ruby
combusean has joined #ruby
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
iamjarvo has joined #ruby
skaflem has quit [Quit: Leaving]
jheg has joined #ruby
[42] has joined #ruby
bthesorceror has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
Robbo` has joined #ruby
Morkel has joined #ruby
silkfox has joined #ruby
b1205 has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 265 seconds]
brandonshowers has joined #ruby
x1337807x has joined #ruby
Takle has quit [Remote host closed the connection]
aspires has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
lethe has joined #ruby
blackmesa has joined #ruby
guilund has quit [Ping timeout: 252 seconds]
Valesk_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
phantasm66 has joined #ruby
jheg_ has quit [Ping timeout: 252 seconds]
zkay11 has joined #ruby
sandbags0 has joined #ruby
lethe has quit [Ping timeout: 276 seconds]
blackmes1 has joined #ruby
bthesorceror has joined #ruby
wldcordeiro has quit [Remote host closed the connection]
jamto11_ has quit []
kpshek has quit []
sandbags has quit [Ping timeout: 252 seconds]
jamto11 has joined #ruby
kpshek has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
silkfox has quit [Ping timeout: 276 seconds]
<jamto11>
Has anyone used the authority gem? I was wondering is there a way to get around restarting my app everytime i make a change to within the authorizers folder?
mjw has joined #ruby
wldcordeiro has joined #ruby
timonv has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
lw has quit [Ping timeout: 255 seconds]
jonahR has quit [Remote host closed the connection]
Oxddf has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
lw has joined #ruby
JokerDoomWork has joined #ruby
banister has joined #ruby
lw has quit [Max SendQ exceeded]
JokerDoomWork has quit [Max SendQ exceeded]
mjw has left #ruby [#ruby]
lw has joined #ruby
maximski has joined #ruby
brasten has joined #ruby
maximski has quit [Max SendQ exceeded]
bluOxigen has joined #ruby
zkay11 has quit [Remote host closed the connection]
nanoyak has quit [Read error: Connection reset by peer]
sunya7a has quit [Changing host]
sunya7a has joined #ruby
<havenwood>
Freddan962: how are you calling it?
<jhass>
super calls the parent method with the arguments passed to the current method. So if your childs methods takes an argument and you want to call a parent that doesn't you have to use super()
nanoyak has joined #ruby
<Freddan962>
jhass: Oh thank you Jhass! Did not know that!
workmad3 has joined #ruby
<havenwood>
Freddan962: also `super` ~= `super()`
<havenwood>
!=**
<havenwood>
gah
nicoulaj has quit [Remote host closed the connection]
<Freddan962>
havenwood: Haha yeah, thank you guys! :)
Bira has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
Ankhers has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
<havenwood>
Freddan962: `super()` is one of the rare circumstances you'd use parens on a method without args
danshultz has quit [Remote host closed the connection]
<havenwood>
do avoid passing on params explicitly
<havenwood>
to*
<havenwood>
i just can't type today..
<jhass>
super is more of a keyword than a method though
mercerist has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
sunya7a has quit [Ping timeout: 252 seconds]
carraroj has quit [Quit: Konversation terminated!]
ruralhack has quit [Quit: Leaving]
sunya7a has joined #ruby
sunya7a has quit [Changing host]
sunya7a has joined #ruby
brandonshowers has joined #ruby
cczona has joined #ruby
workmad3 has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
DanishMan has joined #ruby
Takle has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
benzrf|offline is now known as benzrf
brasten has quit [Quit: brasten]
gsfdsdfg has joined #ruby
<jheg>
is it better to use parentheses when writing methods?
danshultz has quit [Ping timeout: 240 seconds]
<jheg>
for the sake of clarity?
<jhass>
I'd say personal style
bricker`work has quit [Ping timeout: 240 seconds]
timfoo has joined #ruby
gsfdsdfg has quit [Client Quit]
<havenwood>
jheg: safe to say no parens when no args, but whether to use parens with args is your choice
maximski has quit []
<havenwood>
parens without args is yuck
phinfonet has quit [Ping timeout: 252 seconds]
guilffer has quit [Quit: guilffer]
<jheg>
haha ok
cpruitt has joined #ruby
m8 has joined #ruby
bricker`work has joined #ruby
phinfonet has joined #ruby
m8 has quit [Read error: Connection reset by peer]
sdwrage has quit [Quit: This computer has gone to sleep]
einarj has quit [Ping timeout: 255 seconds]
tier has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
m8 has joined #ruby
mu5k17u has quit [Remote host closed the connection]
<mostlybadfly>
hey guys, i've taken a few ruby tutorials online, then jumped into rails and really enjoying that, but wondering if you had any suggestions for text or more intermediate type stuff to follow?
<pragmatism>
mostlybadfly: Start studying Ruby
<pragmatism>
And read the Rails docs
<kenneth>
i want 255 => "\xFF"
dik_dak has quit [Quit: Leaving]
<xybre>
mostlybadfly: What helped me the most is finding a project I wanted to work on and throwing myself into that and the approaches extant in the Ruby-verse.
<xybre>
mostlybadfly: Yes, there's a ton of documentation and blog posts and books in the Ruby community. I use rubydoc.info mostly, it puts most documentation in one place for core, rails, and gems.
charliesome has joined #ruby
<mostlybadfly>
oh cool, thanks
codeurge has joined #ruby
s2013 has joined #ruby
nateberkopec has joined #ruby
baweaver has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
<mostlybadfly>
yeah i mostly have done stuff like tryruby and some online tutorials to get familiar. i have a project in mind so i'll try to dive deeper into it
qwyeth_ has quit [Ping timeout: 260 seconds]
mjsmith2_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<xybre>
And of course you can hang out and look up anything interesting people talk about.
Takle has joined #ruby
Leif has joined #ruby
<shevy>
say I have a string "abcdefabc", is there a simple way to obtain all start and end positions of substring "abc" in that string?
<kenneth>
there's gotta be an easier way than this
koell has quit [Read error: Connection reset by peer]
<DouweM>
it's on every enumerable right?
fteem has quit [Quit: fteem]
Virtualize|away has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
SHyx0rmZ has joined #ruby
fteem has joined #ruby
luksaur has quit [Quit: goin home]
niklasb has quit [Ping timeout: 255 seconds]
kavinder has joined #ruby
yubrew has joined #ruby
jottr has quit [Quit: WeeChat 0.4.2]
freezey has quit [Remote host closed the connection]
fteem has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
queuetip has joined #ruby
combusean has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
zaphod42_ has joined #ruby
yubrew has quit [Ping timeout: 258 seconds]
baroquebobcat has quit [Ping timeout: 252 seconds]
<perlsyntax>
Hey
<DouweM>
hi
VinDoKi has quit [Remote host closed the connection]
freerobby has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
Shidash has joined #ruby
saarinen has joined #ruby
eka has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eka has joined #ruby
charliesome has joined #ruby
nateberkopec has quit [Quit: Leaving...]
chrisseaton has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
nfk has quit [Quit: yawn]
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
<bricker`work>
yo
User458764 is now known as User458764_NotHe
freerobby has quit [Quit: Leaving.]
mercerist has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Remote host closed the connection]
nanoyak_ has joined #ruby
nanoyak has quit [Ping timeout: 240 seconds]
kitak_ has quit [Remote host closed the connection]
toastynerd has joined #ruby
kevind has quit [Quit: kevind]
User458764_NotHe has quit [Ping timeout: 276 seconds]
Zenigor has quit [Remote host closed the connection]
arrubin has quit [Quit: Keep fire, assholes!]
<wallerdev>
yo
eshy has quit [Quit: WeeChat 0.3.8]
bthesorceror has joined #ruby
eshy has joined #ruby
baroquebobcat has joined #ruby
timonv has joined #ruby
bocaj has left #ruby [#ruby]
Jamo___ is now known as Jamo
shvelo has quit [Ping timeout: 265 seconds]
aspires has quit []
baweaver has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danijoo has joined #ruby
<omosoj>
why are symbol to object hashes preferred?
timonv has quit [Ping timeout: 260 seconds]
<segfalt>
dp: You can do ruby -e 'p $:' to see it's load path. Does the script use bundler (e.g. require 'bundler/setup'?)
brianmcelaney has joined #ruby
Virtualize|away has joined #ruby
zaphod42_ has left #ruby [#ruby]
baweaver has quit [Ping timeout: 255 seconds]
lyuzashi has joined #ruby
lw has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
jamto11 has quit [Remote host closed the connection]
kenneth has quit [Ping timeout: 252 seconds]
mjw1 has quit [Quit: Leaving.]
Xeago has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
mjw has joined #ruby
b1205 has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
lw has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
predator217 has joined #ruby
lw has quit [Max SendQ exceeded]
Virtualize|away has quit [Ping timeout: 260 seconds]
kavinder has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
predator117 has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Ping timeout: 252 seconds]
lw has joined #ruby
<omosoj>
segfalt, was your commend directed to me?
<segfalt>
no I responded to a really old comment, didn't notice the timestamp
<segfalt>
To answer your question, symbols are more efficient than strings, strings in ruby are very expensive.
<omosoj>
oh, heh. k, because i couldn't find anyone named db, heh
<omosoj>
i see, ok.
mjw has left #ruby [#ruby]
pwh has quit []
<shevy>
yeah
<shevy>
segfalt is usually quite slow
<shevy>
it is not uncommon for people to die in between waiting for a reply
P has joined #ruby
<segfalt>
shevy: thanks :-)
<shevy>
:D
lw has quit [Ping timeout: 240 seconds]
P is now known as Guest83065
kitak_ has joined #ruby
Guest83065 has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
unknown007 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
baroquebobcat has joined #ruby
b1205 has joined #ruby
lw has joined #ruby
kitak_ has quit [Remote host closed the connection]
danman has quit [Quit: danman]
danman has joined #ruby
danman has quit [Client Quit]
redondos has quit [Excess Flood]
nateberkopec has joined #ruby
mjw has joined #ruby
kitak has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
redondos has joined #ruby
kitak has joined #ruby
ari-_-e has joined #ruby
ephemerian has left #ruby [#ruby]
NukePuppy has joined #ruby
yubrew has joined #ruby
andrewlio has quit [Quit: Leaving.]
klaut has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
hermanmunster has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
benzrf is now known as benzrf|offline
NukePuppy has quit [Ping timeout: 276 seconds]
Bira has quit [Remote host closed the connection]
Bira has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
timgauthier has joined #ruby
<timgauthier>
hi
<timgauthier>
shevy you still up man? :P
<shevy>
timgauthier cyborgs don't need sleep
<timgauthier>
hahaha, well hello from kanada
unknown007 has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
unknown007 has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
lw has quit [Ping timeout: 265 seconds]
<shevy>
damn
<shevy>
is it at least cold there?
jack_rabbit has joined #ruby
brasten has quit [Quit: brasten]
<gregf>
I know I can merge a bunch of hashes from an array of hashes array.inject(&:merge), but how would I go about merging that array of hashes into a subhash of an existing hash?
einarj has joined #ruby
xcv has quit [Remote host closed the connection]
sdwrage has joined #ruby
mikecmpbll has quit [Quit: ciao.]
<timgauthier>
it is cold here actually, totally sucks
<shevy>
at least something
<shevy>
:-)
<timgauthier>
and Kanada wastes so much space and everything sucks. German way is besser
<shevy>
hey you can build a house anywhere and nobody minds but try this in berlin
<timgauthier>
that is a house someone is building here in canada
<timgauthier>
out of wood.....
<timgauthier>
...
lw has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 240 seconds]
<shevy>
lol
<timgauthier>
i mean at least they put up solar panels. Honeslty i have no problem with the size of the house or anything, its just that it is made out of wood which seems rediuclous to me.
einarj has quit [Ping timeout: 260 seconds]
Bira has quit [Remote host closed the connection]
sambao21 has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sski has quit [Remote host closed the connection]
sski has joined #ruby
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has joined #ruby
brunops has joined #ruby
benlieb has joined #ruby
adac has quit [Ping timeout: 265 seconds]
sski has quit [Ping timeout: 264 seconds]
unknown007 has quit [Read error: Connection reset by peer]