<jheg>
basically if the computer is in a pos to win then win
<jheg>
if not run the next conditional and see if computer needs to defend
<zenspider>
gomikemike: that's not ruby
<jhass>
gomikemike: ${awsclival} ? you're not writing shellscript!
<zenspider>
the error message is exactly right.
SCHAAP137 has quit [Ping timeout: 240 seconds]
<gomikemike>
yes, i tried chainging it to taht but it didnt like it anyways
sivoais has joined #ruby
<jhass>
"that" ?
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirun has quit [Quit: Client exiting]
<zenspider>
gomikemike: vague statement is vague
<zenspider>
programmers are precise
henesy has joined #ruby
baweaver has quit [Remote host closed the connection]
<zenspider>
jheg: I dunno if my code helps at all...
<jheg>
thanks zenspider i don’t know either :)
<gomikemike>
if i remove the ${} i just get the value of awsclival
<jheg>
the thing is I pass in the 3 args as I want to reuse that method for other combos
<jhass>
gomikemike: I guess you meant to use .split
Hobogrammer has joined #ruby
<zenspider>
also not sure why you have a Board with squares and no brains at all. Gameplay is a module. Game... with squares, board, GamePlay... so confusing
<gomikemike>
thats what i thought inititally but i was told here to use partition
<gomikemike>
mostlikely i miss understood the example
<jheg>
brains?
<jheg>
I’m very new to programming let alone OOP
<zenspider>
"do the simplest thing that can possibly work".
<jheg>
just playign around learnign from the many mistakes
<zenspider>
so, nix the module as it doesn't help you decompose the problem at all
ghr has joined #ruby
<gomikemike>
i know the first line puts the output of the command into that vairable (awsclival)
<jheg>
yeah I was going to put all those methods in the Game class
<zenspider>
think about who should have what... why does Game exist? why does Board? Who is responsible for what? etc.
<gomikemike>
then from that string i need to get the string after the first "/"
<zenspider>
I like that you used a plain array for the squares. that's nice and simple
sivoais_ has joined #ruby
<jhass>
gomikemike: actually should work, one alternative would be .split('/', 1).last
<jheg>
I thought the simplest way to test potential winning lines would be a muti dimensional array of winning lines
<jheg>
hence squares array and WINNING_LINES array
<jheg>
I loop through the WINNING_LINES array passing in its values as indexs to check the squares array
<gomikemike>
jhass: awsclival.split('/',1).last ?
<jhass>
sure
<jheg>
*passing in its elements values
<jhass>
did you do a basic ruby tutorial yet?
mistermocha has joined #ruby
<gomikemike>
<= no
<jheg>
yes jhass
<eam>
jhass: split '/', 2 right?
cleopatra has quit [Quit: Saliendo]
<jheg>
oh sorry
<jhass>
damn, right. I always do it wrong the first time
<jhass>
gomikemike: how about you do one if you want to write ruby
Megtastique has joined #ruby
jaequery has joined #ruby
<gomikemike>
i will, but i need to get this fact done tonight
<jhass>
gomikemike: so, the alternative would .split('/', 2).last, sorry
ghr has quit [Ping timeout: 265 seconds]
<gomikemike>
awsclival.split('/',2).last
<workmad3>
jhass: I do the same... I can't seem to erase my conception that the integer param is the max number of splits to do, rather than the max number of parts in the result
<gomikemike>
i started the question (this time around) asking if the command i was suggested would give me just the 1.6.2 or all the content after the last occurrence of the "/"
<gomikemike>
thanks
iml has joined #ruby
<volty>
isn't better to match \d\.\d\.\d.\s+Python.* ?
<gomikemike>
jhass: that worked perfectly, thanks for the patience
<jhass>
volty: I'd expect the prefix to be more stable than the version scheme
<jhass>
think rc's and what not
jimbach_ has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
zzzbra has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<diegoviola>
"Also using python/ruby/<insert-dynamically-typed-can-fail-at-runtime-lang> is ethically wrong if people's lives/livelyhoods depend on them"
<diegoviola>
I just read someone said this in another channel
jaequery has joined #ruby
<diegoviola>
what are your thoughts about this?
jaequery has quit [Max SendQ exceeded]
crack_user1 has joined #ruby
jaequery has joined #ruby
<Areessell>
Anyone use Middleman? How do you generate code from plugins such as the `blog` without creating a whole new project like Rails generators work?
hiyosi has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
<gomikemike>
cheers, im out
<Areessell>
diegoviola: I think the person who said that doesn't realize how much medical software is written in such languages
<jhass>
diegoviola: it asserts that a compiled language or statically typed language can't fail at runtime, which is plainly wrong and thus voids the entire argument
<Areessell>
As long as it's fully tested and documented I.E. in working order, than any language would work.
<diegoviola>
I pointed him out to testing, and he said this: "Testing shows the presence, not the absence of bugs."
djbkd has quit [Remote host closed the connection]
crack_user has quit [Ping timeout: 265 seconds]
<diegoviola>
jhass: right
<Areessell>
Are you in #c? Get outta there man that place is a cesspool
<diegoviola>
it was on #archlinux
<volty>
so? the conclusion should be that non-dynamic langs do not produce bugs ?
<jhass>
diegoviola: again, this is generally true, not only for dynamic typed languages
<diegoviola>
right
<jhass>
you can only prove existence of anything, not non-existence
<volty>
all these is haskell-style mental jer....
<Areessell>
I can prove the non-existance of air in space.
<jhass>
Areessell: how?
drawingthesun has joined #ruby
<Areessell>
Go to space. Video of objects in space.
jimbach has quit [Remote host closed the connection]
<diegoviola>
so it's a silly thing to say
<Areessell>
Tests.
<mozzarella>
I'm breathing air right now and that air is in space
<diegoviola>
bugs happen, compiled or not
<diegoviola>
dynamic or not
<volty>
yes, absolutely
<diegoviola>
indeed
jenrzzz has joined #ruby
<jhass>
Areessell: you can only prove that there are no molecules or atoms or whatever that you already know
<jhass>
you can not really prove that there is nothing there
<volty>
but you have to add that a dynamic lang like ruby is easier to check -- because it lets you breath, it lets you decompose slowly, step by step
pika_pika has joined #ruby
krisquigley has joined #ruby
drawingthesun has quit [Max SendQ exceeded]
Musashi007 has joined #ruby
<volty>
ops, wrong, not only ruby but c++ too, the difference being that that modify-try-go cycle is faster
<Areessell>
What? If I create a vacuum in a container, I can use instrumentation to verify that the area within the container is indeed devoid of any air
checkit has quit [Ping timeout: 244 seconds]
Musashi007 has quit [Client Quit]
<jhass>
Areessell: not really, you only measure that there's nothing you can measure, you then conclude that there's nothing there
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass>
because it's the only theory left
<jhass>
which makes it a safe assumption, but not a proven fact
ctp has quit [Quit: Connection reset by peer... Isn't he that short little Mexican with the wire cutters heading your way?]
<Areessell>
Isn't that all tests are?
<volty>
maybe the space is full of very small gravitational strings ... who knows
<Areessell>
We got off topic =p
drawingthesun has joined #ruby
<volty>
ah, you were only about the terrestrial air :)
cloaked1 has quit [Ping timeout: 265 seconds]
steffes has quit [Remote host closed the connection]
6A4AAJAF0 has quit [Remote host closed the connection]
<jhass>
Areessell: I can prove that there's indeed air around this very moment
procat has quit [Quit: leaving]
drawingthesun has quit [Remote host closed the connection]
<volty>
maybe the oxygen is low, though :)
steffes has joined #ruby
<jhass>
I can build something that shows you the existence of the O2 molecules and what not, I can make you have the same experience
<Areessell>
Does anyone know how to use a middleman generator on an existing project without it overwriting a bunch of stuff?
Xeago has quit [Remote host closed the connection]
<Areessell>
jhass: I get you're meaning. You can absolutely test that something is there but can only make a safe assumption ther something is not.
<jhass>
:)
krisquigley has quit [Ping timeout: 265 seconds]
Xiti` has quit [Quit: Xiti`]
Fire-Dragon-DoL has quit [Quit: Leaving.]
pika_pika has quit [Ping timeout: 258 seconds]
<volty>
boson-hunters. enlist!
Xiti has joined #ruby
<jhass>
to answer your question, doesn't middleman only overwrite if timestamp src > timestamp dest?
dkb20k has joined #ruby
<jhass>
I would probably just git commit the current state, run middleman and git commit -p the stuff I want
<jhass>
and then git checkout
<Areessell>
I thought that was the case, as it didn't overwrite a few files, but then it went and overwrote my layout and index pages when I generated the `blog` plugin.
robustus has quit [Ping timeout: 250 seconds]
<Areessell>
Yeah I wasn't thinking.
cleopatra has quit [Quit: Saliendo]
robustus|Off has joined #ruby
sosedoff has quit []
robustus|Off is now known as robustus
steffes has quit [Ping timeout: 255 seconds]
stunder has quit [Remote host closed the connection]
crack_user1 has quit [Quit: Leaving.]
jaequery has joined #ruby
max96at is now known as max96at|off
josephndenton has joined #ruby
dkb20k has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
gr33n7007h has quit [Ping timeout: 264 seconds]
marr has quit [Ping timeout: 258 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
henesy has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
<volty>
anybody here with qtbindings installed ?
<volty>
(and nokogri)
fabrice31 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wjimenez_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
Spami has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 255 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
tobleronegordon has joined #ruby
marcux has joined #ruby
msmith_ has quit [Ping timeout: 256 seconds]
<jheg>
zenspider: It was the destuctive keep_if elsewhere in my program mutating one of my multidimensial arrays
karmatr0n has joined #ruby
eka has joined #ruby
kobain has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
jheg has quit [Quit: jheg]
Megtastique has quit []
samuel02 has quit [Ping timeout: 245 seconds]
sivoais_ has quit [Quit: leaving]
fgo_ has joined #ruby
benzrf|offline is now known as benzrf
claptor has joined #ruby
Snowstormer has quit [Ping timeout: 265 seconds]
Megtastique has joined #ruby
dermothaughey has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
marcux has quit [Quit: marcux]
freerobby has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
wallerdev has quit [Quit: wallerdev]
troyready has quit [Ping timeout: 264 seconds]
bricker`work has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
deric_skibotn has quit [Ping timeout: 256 seconds]
lucyinthesky has joined #ruby
dcunit3d has joined #ruby
lucyinthesky has quit [Quit: There is another world]
benzrf is now known as benzrf|offline
siso has quit [*.net *.split]
cibs has quit [*.net *.split]
eshy has quit [*.net *.split]
fgo_ has quit [*.net *.split]
tastycode has quit [*.net *.split]
devdazed has quit [*.net *.split]
lidaaa has quit [*.net *.split]
Photism has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
sbar__ has quit [*.net *.split]
echooo has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
dh64 has quit [*.net *.split]
rh1n0_away has quit [*.net *.split]
snath has quit [*.net *.split]
Akuma has quit [*.net *.split]
pontiki has quit [*.net *.split]
Xuerian has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
akurilin has quit [*.net *.split]
sarlalia1 has quit [*.net *.split]
bjornar has quit [*.net *.split]
audy has quit [*.net *.split]
cn28h has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
ybit has quit [*.net *.split]
iaj_ has quit [*.net *.split]
axisys has quit [*.net *.split]
gtc has quit [*.net *.split]
shanlar- has quit [*.net *.split]
marens has quit [*.net *.split]
durnik has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
jso has quit [*.net *.split]
Cyrax_ has quit [*.net *.split]
DrForr has quit [*.net *.split]
duncannz has quit [*.net *.split]
henesy has quit [*.net *.split]
jlast has quit [*.net *.split]
narcan has quit [*.net *.split]
chrishough has quit [*.net *.split]
mikepack has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
Kabaka has quit [*.net *.split]
Hijiri has quit [*.net *.split]
aspires has quit [*.net *.split]
melik has quit [*.net *.split]
postmodern has quit [*.net *.split]
renderful has quit [*.net *.split]
Maadison has quit [*.net *.split]
atomical has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
xrlabs has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
bauruine has quit [*.net *.split]
mjc_ has quit [*.net *.split]
exadeci has quit [*.net *.split]
LBRapid has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
SpaceKookie has quit [*.net *.split]
rotor has quit [*.net *.split]
vcoinminer______ has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
spastorino has quit [*.net *.split]
GGMethos has quit [*.net *.split]
AlSquirrel has quit [*.net *.split]
Seich has quit [*.net *.split]
braincrash has quit [*.net *.split]
EasyCo has quit [*.net *.split]
ph8 has quit [*.net *.split]
cajone has quit [*.net *.split]
ixx has quit [*.net *.split]
disperso has quit [*.net *.split]
aaronrl has quit [*.net *.split]
neersighted has quit [*.net *.split]
virtualize has quit [*.net *.split]
t7y9r has quit [*.net *.split]
Azure has quit [*.net *.split]
heyimwill has quit [*.net *.split]
sfr^ has quit [*.net *.split]
heftig has quit [*.net *.split]
tylersmith has quit [*.net *.split]
TDJACR has quit [*.net *.split]
shtirlic has quit [*.net *.split]
featheryahn has quit [*.net *.split]
machty has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
adambeynon_ has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
electrical has quit [*.net *.split]
WillAmes has quit [*.net *.split]
n008f4g_ has quit [*.net *.split]
ned__ has quit [*.net *.split]
rustshaman has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
Klumben has quit [*.net *.split]
Trieste has quit [*.net *.split]
swilr has quit [*.net *.split]
blackjid_ has quit [*.net *.split]
Nightmare has quit [*.net *.split]
keelerm has quit [*.net *.split]
spectre256 has quit [*.net *.split]
jxport has quit [*.net *.split]
psyprus has quit [*.net *.split]
roqo has quit [*.net *.split]
Afforess has quit [*.net *.split]
chipotle has quit [*.net *.split]
parabolize has quit [*.net *.split]
hamakn_ has quit [*.net *.split]
gsd has quit [*.net *.split]
_JamieD_ has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
kyb3r_ has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
musl has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
nevans has quit [*.net *.split]
uber has quit [*.net *.split]
weaksauce has quit [*.net *.split]
thoraxe has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
seitensei has quit [*.net *.split]
cescalante has quit [*.net *.split]
Insti has quit [*.net *.split]
mistergibson has quit [*.net *.split]
lsmola has quit [*.net *.split]
skmp has quit [*.net *.split]
fandi has quit [Ping timeout: 245 seconds]
<JDHankle>
dat split
benzrf|offline is now known as benzrf
hesco has quit [Ping timeout: 264 seconds]
pengin has joined #ruby
dermothaughey has left #ruby [#ruby]
{ordepdev} has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
GGMethos has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
bauruine has joined #ruby
machty has joined #ruby
jaequery has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
yetanotherdave has quit [Ping timeout: 256 seconds]
benzrf is now known as benzrf|offline
boombadaroomba has quit [Ping timeout: 264 seconds]
machty has quit [Excess Flood]
MattB2 has quit [Remote host closed the connection]
pietr0 has joined #ruby
ColloquyUser has joined #ruby
pengin has quit [Remote host closed the connection]
machty has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
volty has quit [Quit: Konversation terminated!]
MattB2 has joined #ruby
twistedpixels_ is now known as zz_twistedpixels
zz_twistedpixels is now known as twistedpixels
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Megtastique has quit []
Jake232 has quit [Ping timeout: 264 seconds]
haxrr has joined #ruby
arya_ching has joined #ruby
pontiki has joined #ruby
akurilin has joined #ruby
apeiros_ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
charliesome has joined #ruby
josephndenton has joined #ruby
St_Marx has quit [Ping timeout: 250 seconds]
wsmoak has quit [Quit: wsmoak]
bmichelsen has quit [Quit: ZZZzzz…]
Joufflu has joined #ruby
roqo has joined #ruby
Afforess has joined #ruby
psyprus has joined #ruby
spectre256 has joined #ruby
rustshaman has joined #ruby
jxport has joined #ruby
blackjid_ has joined #ruby
thomasfedb has joined #ruby
n008f4g_ has joined #ruby
Nightmare has joined #ruby
swilr has joined #ruby
Trieste has joined #ruby
keelerm has joined #ruby
featheryahn has joined #ruby
heyimwill has joined #ruby
t7y9r has joined #ruby
cajone has joined #ruby
ned__ has joined #ruby
shtirlic has joined #ruby
neersighted has joined #ruby
mjc_ has joined #ruby
atomical has joined #ruby
vcoinminer______ has joined #ruby
jlast has joined #ruby
braincrash has joined #ruby
electrical has joined #ruby
duncannz has joined #ruby
olivier_bK has joined #ruby
Insti has joined #ruby
chrishough has joined #ruby
amitchellbullard has joined #ruby
Cache_Money has joined #ruby
AlexRussia has joined #ruby
Kilo`byte has joined #ruby
WillAmes has joined #ruby
ixx has joined #ruby
rotor has joined #ruby
ballPointPenguin has joined #ruby
EasyCo has joined #ruby
tylersmith has joined #ruby
Heartbroken has joined #ruby
Seich has joined #ruby
aspires has joined #ruby
uber has joined #ruby
_JamieD_ has joined #ruby
xrlabs has joined #ruby
aaronrl has joined #ruby
renderful has joined #ruby
Maadison has joined #ruby
adambeynon_ has joined #ruby
mikepack has joined #ruby
sfr^ has joined #ruby
Hijiri has joined #ruby
exadeci has joined #ruby
kyb3r_ has joined #ruby
Azure has joined #ruby
1JTAA15OU has joined #ruby
skmp has joined #ruby
weaksauce has joined #ruby
lsmola has joined #ruby
thoraxe has joined #ruby
musl has joined #ruby
henesy has joined #ruby
postmodern has joined #ruby
spastorino has joined #ruby
narcan has joined #ruby
7GHAAPEPQ has joined #ruby
sanguisdex has joined #ruby
mostlybadfly has joined #ruby
hamakn_ has joined #ruby
cescalante has joined #ruby
heftig has joined #ruby
ramblinpeck_ has joined #ruby
mistergibson has joined #ruby
virtualize has joined #ruby
chipotle has joined #ruby
yfeldblum has joined #ruby
nevans has joined #ruby
SpaceKookie has joined #ruby
seitensei has joined #ruby
LBRapid has joined #ruby
AlSquirrel has joined #ruby
Klumben has joined #ruby
7GHAAPEPQ has quit [*.net *.split]
chipotle has quit [*.net *.split]
hamakn_ has quit [*.net *.split]
_JamieD_ has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
kyb3r_ has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
musl has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
nevans has quit [*.net *.split]
uber has quit [*.net *.split]
weaksauce has quit [*.net *.split]
thoraxe has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
seitensei has quit [*.net *.split]
cescalante has quit [*.net *.split]
Insti has quit [*.net *.split]
mistergibson has quit [*.net *.split]
lsmola has quit [*.net *.split]
skmp has quit [*.net *.split]
thomas is now known as 7JTABGLNG
ph8 has joined #ruby
hiyosi has joined #ruby
Musashi007 has joined #ruby
devdazed has joined #ruby
Dreamer3 has joined #ruby
echooo has joined #ruby
ybit has joined #ruby
rcs has joined #ruby
MuffinPimp has joined #ruby
sbar__ has joined #ruby
rh1n0_away has joined #ruby
cn28h has joined #ruby
pgmcgee has joined #ruby
Xuerian has joined #ruby
axisys has joined #ruby
queequeg1 has joined #ruby
iaj_ has joined #ruby
snath has joined #ruby
sarlalia1 has joined #ruby
Ulrike_Rayne has joined #ruby
durnik has joined #ruby
Photism has joined #ruby
bmn has joined #ruby
audy has joined #ruby
marens has joined #ruby
gtc has joined #ruby
Cyrax_ has joined #ruby
jso has joined #ruby
bjornar has joined #ruby
shanlar- has joined #ruby
Akuma has joined #ruby
DrForr has joined #ruby
7JTABGLNG is now known as thomas
ColloquyUser has quit [Remote host closed the connection]
karmatr0n has quit [Remote host closed the connection]
jottr has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
Dev_R3d has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
Channel6 has joined #ruby
dkb20k has joined #ruby
ghr has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
pika_pika has joined #ruby
ph8 has quit [*.net *.split]
hiyosi has quit [*.net *.split]
Musashi007 has quit [*.net *.split]
devdazed has quit [*.net *.split]
Photism has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
sbar__ has quit [*.net *.split]
echooo has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
rh1n0_away has quit [*.net *.split]
snath has quit [*.net *.split]
Akuma has quit [*.net *.split]
Xuerian has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
sarlalia1 has quit [*.net *.split]
bjornar has quit [*.net *.split]
audy has quit [*.net *.split]
cn28h has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
ybit has quit [*.net *.split]
iaj_ has quit [*.net *.split]
axisys has quit [*.net *.split]
gtc has quit [*.net *.split]
shanlar- has quit [*.net *.split]
marens has quit [*.net *.split]
durnik has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
jso has quit [*.net *.split]
Cyrax_ has quit [*.net *.split]
DrForr has quit [*.net *.split]
Joufflu has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
henesy has quit [Max SendQ exceeded]
sfr^ has quit [Max SendQ exceeded]
neersighted has quit [Max SendQ exceeded]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
sfr^ has joined #ruby
henesy has joined #ruby
neersighted has joined #ruby
fgo_ has joined #ruby
bricker`work has joined #ruby
7GHAAPEPQ has joined #ruby
chipotle has joined #ruby
weaksauce has joined #ruby
musl has joined #ruby
Kilo`byte has joined #ruby
sanguisdex has joined #ruby
thoraxe has joined #ruby
nevans has joined #ruby
uber has joined #ruby
skmp has joined #ruby
AlexRussia has joined #ruby
cescalante has joined #ruby
_JamieD_ has joined #ruby
mistergibson has joined #ruby
Insti has joined #ruby
kyb3r_ has joined #ruby
seitensei has joined #ruby
lsmola has joined #ruby
Heartbroken has joined #ruby
hamakn_ has joined #ruby
7GHAAPEPQ has quit [Max SendQ exceeded]
uber has quit [Max SendQ exceeded]
Klumben has joined #ruby
uber has joined #ruby
apeiros_ has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
drjfreez1 is now known as drjfreeze
jlast has quit [Ping timeout: 258 seconds]
Kabaka has joined #ruby
freerobby1 has quit [Quit: Leaving.]
ph8 has joined #ruby
hiyosi has joined #ruby
Musashi007 has joined #ruby
devdazed has joined #ruby
Photism has joined #ruby
echooo has joined #ruby
DrForr has joined #ruby
snath has joined #ruby
marens has joined #ruby
gtc has joined #ruby
sarlalia1 has joined #ruby
audy has joined #ruby
axisys has joined #ruby
sbar__ has joined #ruby
MuffinPimp has joined #ruby
queequeg1 has joined #ruby
rcs has joined #ruby
durnik has joined #ruby
Cyrax_ has joined #ruby
rh1n0_away has joined #ruby
Dreamer3 has joined #ruby
Ulrike_Rayne has joined #ruby
Xuerian has joined #ruby
pgmcgee has joined #ruby
shanlar- has joined #ruby
bmn has joined #ruby
jso has joined #ruby
ybit has joined #ruby
Akuma has joined #ruby
iaj_ has joined #ruby
bjornar has joined #ruby
cn28h has joined #ruby
siso has joined #ruby
cibs has joined #ruby
eshy has joined #ruby
ybit has quit [Max SendQ exceeded]
Ulrike_Rayne has quit [Max SendQ exceeded]
karmatr0n has joined #ruby
Xuerian has quit [Quit: Xuerian]
ybit3 has joined #ruby
Xuerian has joined #ruby
jeffo has joined #ruby
jeffo is now known as jeffc
Ulrike_Rayne has joined #ruby
jeffc is now known as jeffooo
mikepack has quit [Remote host closed the connection]
nkumari has joined #ruby
patric100e99 has joined #ruby
lidaaa has joined #ruby
jeffooo has quit [Client Quit]
haxrr has quit [Read error: Connection timed out]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
rabbitdew has joined #ruby
haxrr has joined #ruby
rabbitdew has left #ruby [#ruby]
krisquigley has joined #ruby
haxrr has quit [Max SendQ exceeded]
patric100e99 has quit [Ping timeout: 240 seconds]
haxrr has joined #ruby
gsd has joined #ruby
econerd4ever has quit [Remote host closed the connection]
nkumari has quit [Read error: Connection reset by peer]
nkumari_ has joined #ruby
Snowstormer has joined #ruby
jack_rabbit has joined #ruby
apeiros_ has quit [Ping timeout: 256 seconds]
KC9YDN has joined #ruby
krisquigley has quit [Ping timeout: 240 seconds]
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
razieliyo has quit [Quit: Saliendo]
benzrf|offline is now known as benzrf
tyll has quit [Ping timeout: 244 seconds]
Lightsword has quit [Quit: Lightsword]
tyll has joined #ruby
nobitanobi has quit [Remote host closed the connection]
bricker`work has quit [Ping timeout: 255 seconds]
dvg-phone has joined #ruby
vt102 has quit [Remote host closed the connection]
nobitanobi has joined #ruby
fabrice31 has joined #ruby
gsd_ has joined #ruby
jlast has joined #ruby
gsd has quit [Ping timeout: 240 seconds]
msmith_ has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
dvg-phone has left #ruby [#ruby]
msmith_ has quit [Ping timeout: 244 seconds]
Musashi007 has quit [Quit: Musashi007]
arya_ching has quit [Ping timeout: 250 seconds]
dkb20k has quit [Remote host closed the connection]
nkumari_ has quit [Remote host closed the connection]
samuel02 has joined #ruby
yetanotherdave has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
arup_r has joined #ruby
sski has quit [Remote host closed the connection]
juampTT has joined #ruby
pen has quit [Remote host closed the connection]
airdeluxe has joined #ruby
sski has joined #ruby
samuel02 has quit [Ping timeout: 272 seconds]
pen has joined #ruby
lampd1 has quit []
juampTT has left #ruby [#ruby]
russt has quit [Quit: russt]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kevinxu has joined #ruby
kevinxu is now known as Guest38653
Techguy305 has joined #ruby
sski has quit [Ping timeout: 245 seconds]
pen has quit [Ping timeout: 240 seconds]
pietr0 has quit [Quit: pietr0]
sski has joined #ruby
KC9YDN-2 has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
radic has joined #ruby
lemur has joined #ruby
tus has quit []
KC9YDN has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 255 seconds]
radic_ has quit [Ping timeout: 255 seconds]
benzrf is now known as benzrf|offline
sski has quit [Remote host closed the connection]
robustus has joined #ruby
sski has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
rjl has joined #ruby
karmatr0n has quit [Remote host closed the connection]
aspires has quit []
aspires has joined #ruby
iml has quit [Read error: Connection reset by peer]
psy_ has quit [Ping timeout: 240 seconds]
psy_ has joined #ruby
sski has quit [Ping timeout: 272 seconds]
parabolize has joined #ruby
airstream66_ has joined #ruby
iml has joined #ruby
sski has joined #ruby
pen has joined #ruby
Lightsword has joined #ruby
nobitanobi has quit [Remote host closed the connection]
adriancb has joined #ruby
airstream66_ has quit [Remote host closed the connection]
bmichelsen has joined #ruby
haxrr has quit [Ping timeout: 244 seconds]
Lightsword has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
jack_rabbit has quit [Ping timeout: 250 seconds]
kloeri has quit [Remote host closed the connection]
pika_pika has quit [Ping timeout: 258 seconds]
slawrence00 has joined #ruby
adriancb has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 265 seconds]
Lightsword has joined #ruby
braincrash has quit [Quit: bye bye]
Lightsword has quit [Client Quit]
adriancb has joined #ruby
aspires has quit []
maestrojed has joined #ruby
fgo_ has quit [Quit: WeeChat 1.0]
braincrash has joined #ruby
drewvanstone has quit [Ping timeout: 265 seconds]
jack_rabbit has joined #ruby
maestrojed has quit [Max SendQ exceeded]
saltsa has quit [Ping timeout: 240 seconds]
Pro| has quit [Ping timeout: 240 seconds]
DrCode has quit [Ping timeout: 250 seconds]
deepy has quit [Ping timeout: 250 seconds]
maestrojed has joined #ruby
tkuchiki has quit [Remote host closed the connection]
oo_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
aspires has joined #ruby
tkuchiki has joined #ruby
jzigmund has quit [Ping timeout: 265 seconds]
Pro| has joined #ruby
deepy has joined #ruby
jzigmund has joined #ruby
deepy is now known as Guest71107
aspires has quit [Client Quit]
DrCode has joined #ruby
charliesome has joined #ruby
jlast has joined #ruby
jimmyhoughjr has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
haxrr has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
oo_ has joined #ruby
kloeri has joined #ruby
saltsa has joined #ruby
josephndenton has joined #ruby
Channel6 has quit [Quit: Leaving]
pen has quit [Remote host closed the connection]
jottr has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
o0oo0o has quit [Ping timeout: 250 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
maestrojed has quit [Quit: Computer has gone to sleep.]
BadQuanta1 has quit [Read error: Connection reset by peer]
BadQuanta has joined #ruby
sski has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
jwang__ has quit [Ping timeout: 265 seconds]
Abhijit_ has joined #ruby
Darryl_ has quit [Quit: Connection closed for inactivity]
josephndenton has quit [Ping timeout: 240 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
jdj_dk has joined #ruby
Abhijit has quit [Ping timeout: 272 seconds]
agent_white has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
drewvanstone has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 272 seconds]
wjimenez5271 has joined #ruby
lucyinthesky has left #ruby ["Leaving"]
econerd4ever has joined #ruby
lewix has quit [Remote host closed the connection]
Abhijit_ is now known as Abhijit
Hobogrammer has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
Musashi007 has joined #ruby
jwang has joined #ruby
Petru has joined #ruby
econerd4ever has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
econerd4ever has joined #ruby
siso has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
vimer has quit [Quit: leaving]
corehook has joined #ruby
econerd4ever has quit [Ping timeout: 272 seconds]
Abhijit has quit [Ping timeout: 272 seconds]
cmckee has joined #ruby
cmckee has quit [Client Quit]
sinequanon has joined #ruby
Petru has quit [Quit: Leaving]
econerd4ever has joined #ruby
jottr has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
econerd4ever has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
sinequanon has quit [Ping timeout: 258 seconds]
kevinxu has joined #ruby
hiyosi has joined #ruby
kevinxu is now known as Guest51339
brendenb has quit [Ping timeout: 272 seconds]
Morkel has joined #ruby
jriese has quit [Ping timeout: 244 seconds]
Abhijit has joined #ruby
jriese has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<agent_white>
BOOP
Sonderblade has quit [Quit: Lämnar]
anaeem1 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
danijoo has joined #ruby
Musashi007 has joined #ruby
doev has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<siso>
why do I get “Could not find 'fog-xml' (~> 0.1.1) - did find: [fog-xml-0.1.0] (Gem::LoadError)” when gem says “fog-xml (0.1.1, 0.1.0)” ?
oleo__ has joined #ruby
krisquigley has joined #ruby
<sevenseacat>
not enough info to say.
tvw has joined #ruby
blackmesa has joined #ruby
oleo is now known as Guest30792
Guest30792 has quit [Ping timeout: 244 seconds]
startupality has joined #ruby
<siso>
I added “export PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:$PATH” to bash_profile as suggested on vagrant-berkshelf
krisquigley has quit [Ping timeout: 240 seconds]
Joufflu has quit [Read error: Connection reset by peer]
<siso>
and I got the problem. Then I retored the previous PATH setting, but the issue remain
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jriese has quit [Ping timeout: 244 seconds]
ht__th has joined #ruby
havenwood has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
corehook has quit [Remote host closed the connection]
jriese has joined #ruby
jenrzzz has joined #ruby
mikepack has joined #ruby
Guest51339 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
timonv_ has joined #ruby
koderok has joined #ruby
fabrice31 has joined #ruby
FooMunki has quit [Read error: No route to host]
FooMunki has joined #ruby
fedexo has quit [Ping timeout: 258 seconds]
<agent_white>
Why isnt "$:" documented anywhere?!
<agent_white>
Just learned about that today, sad I didn't know of it before.
mikepack has quit [Ping timeout: 255 seconds]
jdj_dk has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
msmith_ has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
Jackneill has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
msmith_ has quit [Ping timeout: 240 seconds]
FooMunki has quit [Read error: Connection reset by peer]
samuel02 has joined #ruby
corehook has joined #ruby
kireevco has joined #ruby
FooMunki has joined #ruby
andrewlio has joined #ruby
samuel02 has quit [Ping timeout: 240 seconds]
patrick99e99 has joined #ruby
agent_white has quit [Quit: leaving]
decoponio has joined #ruby
agent_white has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
noop has quit [Ping timeout: 265 seconds]
patrick99e99 has quit [Ping timeout: 265 seconds]
AlexRussia has quit [Ping timeout: 255 seconds]
govg has quit [Quit: leaving]
agjacome has quit [Ping timeout: 245 seconds]
troyready has joined #ruby
teddyp1cker has quit []
Lingos_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
mikepack has joined #ruby
dc_ has joined #ruby
Abhijit_ has joined #ruby
mistermocha has joined #ruby
Abhijit has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
dc_ has quit [Ping timeout: 255 seconds]
marr has joined #ruby
byprdct has quit [Quit: sleeping]
marr has quit [Remote host closed the connection]
henesy has quit [Ping timeout: 258 seconds]
rshetty has joined #ruby
kireevco has quit [Quit: Leaving.]
mistermocha has quit [Ping timeout: 255 seconds]
josephndenton has joined #ruby
lidaaa has quit [Ping timeout: 265 seconds]
NoNMaDDeN has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Musashi007 has joined #ruby
anaeem1 has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
AFKGeek has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
nm_ has joined #ruby
nm_ is now known as nism
BadQuanta has quit [Quit: Leaving.]
Tab__ has joined #ruby
koderok has quit [Ping timeout: 256 seconds]
gsd_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Ping timeout: 250 seconds]
<BraddPitt>
what is $: ?
<agent_white>
BraddPitt: It shows the path of the libraries loaded... I believe. ie -- run `$:`, then require a library, run `$:` again, and compary the arrays.
<agent_white>
I'm not sure the exact term for it's output, though. :/
<BraddPitt>
I see, neat
<Mon_Ouie>
No, it's the array of paths that require checks to find files
<Mon_Ouie>
(It will just happen to be modified if you require things from a gem because of how rubygems work)
<Mon_Ouie>
It's also called $LOAD_PATH
wjimenez5271 has joined #ruby
Abhijit_ is now known as Abhijit
lxsameer has quit [Read error: Connection reset by peer]
<agent_white>
Mon_Ouie: LOAD_PATH! That's what I was looking for.
<agent_white>
I'm wondering why it's not documented anywhere...
<shevy>
deepu I guess .scan may be more often used
<agent_white>
shevy: How would you sandbox ruby?
<shevy>
agent_white I would ask charliesome for eval-in__
<shevy>
hahahaha
deepu has quit [Quit: Leaving]
marr has joined #ruby
<shevy>
agent_white dunno; probably you could use SAFE checks ... and look at the input provided before deciding on any action
<shevy>
agent_white I'd start by making a complete list of all usnafe actions in ruby!
<shevy>
uhm
<shevy>
*unsafe
rshetty has joined #ruby
<agent_white>
I want to write a ruby-irc-eval-bot, but dunno where to start. I saw _why's implementation by extending ruby with C, and pure ruby with `sandrbox`
<rpag>
agent_white, on Linux, I'd use apparmor or something like that
<agent_white>
shevy: Exactly! HOw would I do that? Looking at the ruby source? Or...
<agent_white>
(I don't want to use sandrbox's blacklist, I want to know how they came up with it)
lemur has quit [Ping timeout: 258 seconds]
<shevy>
I remember back then I asked _why for the source code
<shevy>
he said it is not safe and not clean - and did not give it to me :(
<shevy>
that was how BasicObject got created btw
<shevy>
I think _why triggered it
sinequanon has quit [Ping timeout: 258 seconds]
<agent_white>
shevy: He spoke to you?!?! :D
<shevy>
through email, yeah
<shevy>
it also was the only one I ever got ;)
<agent_white>
shevy: And I heard that when attempting to find the source code for it... everyone saying "HERE BE DRAGONS"
<shevy>
he was busy on his blog back then
<shevy>
yeah it's like FORBIDDEN KNOWLEDGE
rainfyre has quit [Quit: Lost terminal]
<agent_white>
:P But at the same time, I figured maybe attempting to re-create what he did would be fun to learn the ruby source.
marr has quit [Client Quit]
<agent_white>
:( I wish I could ask him my question to hear what he'd ahve to say now.
<shevy>
put this knowledge into a gem too!
<shevy>
for other people to learn!
<agent_white>
Hell yeah!
AFKGeek has quit [Read error: Connection reset by peer]
nism has quit [Quit: Lost terminal]
<shevy>
how can several people contribute to the same gem?
* agent_white
shrugs
sigurding has quit [Quit: sigurding]
<shevy>
hehe
<agent_white>
shevy: So... the less-hacky way would be to use pure ruby?
francisfish has joined #ruby
<agent_white>
And... how would you go about finding unsafe actions? Just poke around?
<agent_white>
shevy: That's what I was looking at as well.
<agent_white>
shevy: I'm just not sure exactly what all binding means.
<shevy>
I think you can control what your Binding will contain
Deele has joined #ruby
<rpag>
not really
<shevy>
:(
<agent_white>
A 'binding' is a synonym for 'environment' ?
Musashi007 has quit [Quit: Musashi007]
<shevy>
you can not modify a Binding object?
* agent_white
shrugs -- looks up bindings
jenrzzz has quit [Ping timeout: 245 seconds]
unshadow has joined #ruby
<rpag>
shevy, a binding is most useful for its #eval method, you can change whatever it closes over
<rpag>
there's local_variable_set since ruby2
govg_ has joined #ruby
sigurding has joined #ruby
<unshadow>
So, someone has some expirenace with Fiddle and can help me shade a light on something ?
krisquigley has joined #ruby
<agent_white>
unshadow: !ask
<agent_white>
:/
<agent_white>
unshadow: Just ask your question about fiddle.
workmad3 has joined #ruby
<unshadow>
agent_white: so, this is my code: https://gist.github.com/bararchy/611823f691dbf765c80c, the first two 'Fiddle::Function' ssh_bind and ssh_sesseions suppose to return a pointer, now, how can I tell fiddle to excpcet a pointer and not an INT\LONG etc..
supersym has quit [Ping timeout: 240 seconds]
francisfish has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 264 seconds]
krisquigley has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
jlast has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
francisfish has joined #ruby
skyos has joined #ruby
<BraddPitt>
404 on the gist, unshadow
<BraddPitt>
nvm
<BraddPitt>
hexchat picked up the , in the url ( ≖‿≖)
skyos has quit [Remote host closed the connection]
St_Marx has joined #ruby
Timgauthier has joined #ruby
St_Marx has quit [Remote host closed the connection]
sigurding has quit [Ping timeout: 255 seconds]
psy_ has quit [Quit: Leaving]
fabrice31 has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
<unshadow>
haha thats why im using irssi ;)
Guest6644 has quit [Ping timeout: 240 seconds]
<BraddPitt>
i normally do on my laptop
St_Marx has joined #ruby
<BraddPitt>
and unfortunately I'm of no help with regards to your question
Spami has joined #ruby
<unshadow>
:( oh well... maybe i'll ask in the ruby-talk mailing list
msmith_ has joined #ruby
<unshadow>
thanks tough :)
fabrice31 has quit [Ping timeout: 272 seconds]
sigurding has joined #ruby
davidhq has joined #ruby
rshetty has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 250 seconds]
mloveless has quit [Remote host closed the connection]
msmith_ has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
vinleod has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yetanotherdave has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
jottr has joined #ruby
AFKGeek has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby
charliesome_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
exadeci has joined #ruby
duncannz has quit [Ping timeout: 258 seconds]
exadeci has quit [Changing host]
exadeci has joined #ruby
charliesome_ has quit [Read error: Connection reset by peer]
AFKGeek has left #ruby ["Leaving"]
mikepack has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
Musashi007 has quit [Quit: Musashi007]
gr33n7007h has quit [Remote host closed the connection]
dopie has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
wald0 has joined #ruby
corehook has quit [Ping timeout: 258 seconds]
Tab__ has quit [Quit: This computer has gone to sleep]
<apeiros>
banister: ping. got any good single screen multiplayer games for wii u?
supersym has joined #ruby
Spami has quit [Ping timeout: 256 seconds]
josephndenton has joined #ruby
koderok has joined #ruby
koderok has quit [Remote host closed the connection]
blackmesa has joined #ruby
yfeldblum has joined #ruby
chrishough has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
quimrstorres has joined #ruby
<shevy>
wow
<shevy>
I did not know we have local_variable_set
CustosL1men has joined #ruby
Musashi007 has joined #ruby
<shevy>
rpag we have???
dopie has quit [*.net *.split]
exadeci has quit [*.net *.split]
agent_white has quit [*.net *.split]
mkaesz has quit [*.net *.split]
zzzbra has quit [*.net *.split]
pen has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
Klumben has quit [*.net *.split]
neersighted has quit [*.net *.split]
sfr^ has quit [*.net *.split]
postmodern has quit [*.net *.split]
Hijiri has quit [*.net *.split]
renderful has quit [*.net *.split]
atomical has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
xrlabs has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
mjc_ has quit [*.net *.split]
LBRapid has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
SpaceKookie has quit [*.net *.split]
rotor has quit [*.net *.split]
vcoinminer______ has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
Seich has quit [*.net *.split]
ixx has quit [*.net *.split]
1JTAA15OU has quit [*.net *.split]
aaronrl has quit [*.net *.split]
virtualize has quit [*.net *.split]
Azure has quit [*.net *.split]
t7y9r has quit [*.net *.split]
heyimwill has quit [*.net *.split]
heftig has quit [*.net *.split]
tylersmith has quit [*.net *.split]
shtirlic has quit [*.net *.split]
featheryahn has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
adambeynon_ has quit [*.net *.split]
electrical has quit [*.net *.split]
WillAmes has quit [*.net *.split]
n008f4g_ has quit [*.net *.split]
ned__ has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
rustshaman has quit [*.net *.split]
Trieste has quit [*.net *.split]
swilr has quit [*.net *.split]
blackjid_ has quit [*.net *.split]
Nightmare has quit [*.net *.split]
keelerm has quit [*.net *.split]
spectre256 has quit [*.net *.split]
jxport has quit [*.net *.split]
psyprus has quit [*.net *.split]
roqo has quit [*.net *.split]
Afforess has quit [*.net *.split]
livathinos has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest81266 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
we don't :(
<shevy>
got me all excited ...
dopie has joined #ruby
exadeci has joined #ruby
agent_white has joined #ruby
zzzbra has joined #ruby
pen has joined #ruby
jack_rabbit has joined #ruby
neersighted has joined #ruby
sfr^ has joined #ruby
postmodern has joined #ruby
renderful has joined #ruby
olivier_bK has joined #ruby
mjc_ has joined #ruby
Hijiri has joined #ruby
Cache_Money has joined #ruby
xrlabs has joined #ruby
LBRapid has joined #ruby
amitchellbullard has joined #ruby
vcoinminer______ has joined #ruby
atomical has joined #ruby
rotor has joined #ruby
SpaceKookie has joined #ruby
mostlybadfly has joined #ruby
Seich has joined #ruby
ixx has joined #ruby
1JTAA15OU has joined #ruby
aaronrl has joined #ruby
virtualize has joined #ruby
t7y9r has joined #ruby
Azure has joined #ruby
heyimwill has joined #ruby
heftig has joined #ruby
tylersmith has joined #ruby
1JTAA0M9Y has joined #ruby
shtirlic has joined #ruby
featheryahn has joined #ruby
ramblinpeck_ has joined #ruby
ballPointPenguin has joined #ruby
adambeynon_ has joined #ruby
electrical has joined #ruby
WillAmes has joined #ruby
n008f4g_ has joined #ruby
rustshaman has joined #ruby
thomasfedb has joined #ruby
Trieste has joined #ruby
swilr has joined #ruby
blackjid_ has joined #ruby
Nightmare has joined #ruby
keelerm has joined #ruby
spectre256 has joined #ruby
jxport has joined #ruby
psyprus has joined #ruby
Afforess has joined #ruby
roqo has joined #ruby
Klumben has joined #ruby
t7y9r has quit [Max SendQ exceeded]
sfr^ has quit [Max SendQ exceeded]
vcoinminer______ has quit [Max SendQ exceeded]
Trieste has quit [Max SendQ exceeded]
neersighted has quit [Max SendQ exceeded]
jack_rabbit has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
t7y9r has joined #ruby
jack_rabbit has joined #ruby
sfr^ has joined #ruby
Trieste has joined #ruby
Timgauthier has joined #ruby
vcoinminer______ has joined #ruby
mkaesz has joined #ruby
neersighted has joined #ruby
Lingos_ has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
braincrash has quit [*.net *.split]
athan has quit [*.net *.split]
tyll has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
ph8 has quit [*.net *.split]
devdazed has quit [*.net *.split]
sbar__ has quit [*.net *.split]
echooo has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
rh1n0_away has quit [*.net *.split]
snath has quit [*.net *.split]
Akuma has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
sarlalia1 has quit [*.net *.split]
bjornar has quit [*.net *.split]
audy has quit [*.net *.split]
cn28h has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
iaj_ has quit [*.net *.split]
axisys has quit [*.net *.split]
gtc has quit [*.net *.split]
shanlar- has quit [*.net *.split]
marens has quit [*.net *.split]
durnik has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
jso has quit [*.net *.split]
Cyrax_ has quit [*.net *.split]
DrForr has quit [*.net *.split]
Spami has quit [Ping timeout: 241 seconds]
anaeem1_ has joined #ruby
Spami has joined #ruby
Lingos_ has joined #ruby
sevenseacat has joined #ruby
athan has joined #ruby
braincrash has joined #ruby
tyll has joined #ruby
Ulrike_Rayne has joined #ruby
ph8 has joined #ruby
devdazed has joined #ruby
sbar__ has joined #ruby
echooo has joined #ruby
queequeg1 has joined #ruby
rh1n0_away has joined #ruby
snath has joined #ruby
Akuma has joined #ruby
Dreamer3 has joined #ruby
sarlalia1 has joined #ruby
bjornar has joined #ruby
audy has joined #ruby
cn28h has joined #ruby
rcs has joined #ruby
bmn has joined #ruby
iaj_ has joined #ruby
axisys has joined #ruby
gtc has joined #ruby
shanlar- has joined #ruby
marens has joined #ruby
durnik has joined #ruby
pgmcgee has joined #ruby
MuffinPimp has joined #ruby
jso has joined #ruby
Cyrax_ has joined #ruby
DrForr has joined #ruby
Lingos_ has quit [Remote host closed the connection]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
<browndawg>
What's everyone's opinion on ruby not having multiple inheritance?
<apeiros_>
I don't see it as a problem
<apeiros_>
(Don't see it as a feature either)
<browndawg>
A python programmer has been arguing about it since morning, and I just wanted a second opinion. Take a look at this code http://pastebin.com/qXXBnQF4
arup_r has quit [Quit: Leaving.]
wjimenez5271 has joined #ruby
St_Marx has quit [Quit: WeeChat 1.0.1]
<browndawg>
he wanted me to rewrite this in ruby
Mateon1 has joined #ruby
<browndawg>
just to prove that py is superior
anaeem1_ has quit [Remote host closed the connection]
<browndawg>
but then he says "the global variable isn't documented, you have no way of knowing how to correct that"
cmckee has joined #ruby
<browndawg>
I KNOW RIGHT?
<apeiros_>
modules + include for contrived example
<apeiros_>
but doesn't prove nothing in either direction
Guest71107 has quit [Changing host]
Guest71107 has joined #ruby
<apeiros_>
also IME it's pointless to argue with zealots
Guest71107 is now known as deepy
<browndawg>
I mean, let's say there are problems that multiple inheritance is the BEST way of solving. Then ruby is definitely not going to be the best language to solve them. But this example is just "Well if someone wrote badly documented ruby and wrote it like python, and you didn't have access to the source code, then you wouldn't be able to extend it."
arup_r has joined #ruby
wjimenez5271 has quit [Ping timeout: 264 seconds]
<apeiros_>
well, you don't solve the same problem in the same way in different languages.
<apeiros_>
there'd be no point for different languages.
<browndawg>
well he can be a bit of a zealot at times when a lack of flexibility is concerned (shaping a general purpose lang to solve a problem > using a lang that already solves a problem)
<apeiros_>
so "code this in lang X exactly how it is coded in lang Y" is beyond foolish.
<browndawg>
but I just wanted to know if anyone here has ever run into a situation where they went "Well, it sucks to not have multiple inheritance"
<apeiros_>
no
<browndawg>
neither have I
<apeiros_>
(speaking for myself, of course)
anaeem1_ has quit [Ping timeout: 240 seconds]
<apeiros_>
include/extend & composition are IMO the better solution than inheritance anyway
<browndawg>
and I suspect it's because if someone had to implement this in ruby they'd start by using modules
<browndawg>
yes
<apeiros_>
(and yes, I know include/extend are inheritance)
<apeiros_>
I went as far as not having inheritance in my toy language at all. I don't use it extensively so I lack experience, but it doesn't seem to have a negative effect.
krisquigley has quit [Ping timeout: 264 seconds]
<browndawg>
yes
Alina-malina has joined #ruby
<apeiros_>
c2 probably has good commentary on MI vs SI vs no I
siso has quit [Read error: Connection reset by peer]
mkaesz has quit [Quit: Leaving...]
blackmesa has quit [Ping timeout: 245 seconds]
<browndawg>
So I guess ruby will suck for situations where multiple inheritance is the best way of solving a problem.
<browndawg>
Something I want to know if anyone has come across in real life.
<apeiros_>
I doubt such a situation exists.
<apeiros_>
I'm coding for ~25y now. Extensively. I don't remember one.
<browndawg>
I bet he could come up with another dozen examples of "If you were to implement X exactly the way I implemented it in python, you would sorely miss this feature."
<wasamasa>
browndawg: that is the problem
<browndawg>
:D
<apeiros_>
yes. same argument as before. it's stupid to mirror other languages.
<apeiros_>
no point in having different languages.
<wasamasa>
browndawg: solve things the way the language encourages it
<browndawg>
and to not use a language if it doesn't solve your problem elegantly?
<wasamasa>
that would be a corrolary
St_Marx has joined #ruby
<apeiros_>
I'd hold that "MI allows to solve problem X more elegantly than any other solution" does not exist, though. or not beyond academical elegance.
<browndawg>
seriously though, if anyone has absolutely EVER wished ruby had multiple inheritance, I'd like to know. I'm here for another couple of hours.
<wasamasa>
I like ruby for not providing me that
<wasamasa>
and instead giving me the means of composing functions or using mixins to extend classes
<agent_white>
Iono. I think no multiple inherintance enforces modularity of classes.
<browndawg>
wasamasa: I agree with these "limitations" as well. Just a matter of opinion I guess.
<wasamasa>
the first is definitely an improvement over what I had with python
<wasamasa>
where people instead have to carefully design their libraries instead
xiq has joined #ruby
<browndawg>
hmm
deepali has joined #ruby
<wasamasa>
the second I'm not so sure, have mostly kept it procedural
charliesome_ has joined #ruby
deepali has quit [Client Quit]
<browndawg>
I prefer ruby to python too.
deepali_ has quit [Ping timeout: 244 seconds]
startupality has quit [Quit: startupality]
<browndawg>
more consistent. at least more than py 2.6/7
workmad3 has quit [Ping timeout: 264 seconds]
<browndawg>
IDK what the state of 3 is
abuzze has joined #ruby
nrsk has joined #ruby
startupality has joined #ruby
<wasamasa>
unicode improvements, cleanup of stdlib, some nice additions to the stdlib
<browndawg>
worth taking a look at?
charliesome has quit [Ping timeout: 256 seconds]
<wasamasa>
the thing is it doesn't encourage people to switch over immediately
<browndawg>
we're all resistant to change
<browndawg>
and 2.7 -> 3 was HUGE I've heard
startupality has quit [Client Quit]
Beoran has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 256 seconds]
fabrice31 has joined #ruby
<wasamasa>
unlike the language-level changes in ruby for > 1.8
samuel02 has quit [Remote host closed the connection]
jlast has joined #ruby
corehook has joined #ruby
ghostlines has joined #ruby
mloveless has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
<ghostlines>
hi new to ruby, is there another way to access instance variables instead of .instance_variable_get ?
ndrei_ has quit [Quit: Lost terminal]
ndrei has quit [Quit: Lost terminal]
msmith_ has joined #ruby
{ordepdev} has joined #ruby
kevinxu has joined #ruby
{ordepdev} has quit [Read error: Connection reset by peer]
mloveless has quit [Ping timeout: 264 seconds]
kevinxu is now known as Guest65842
{ordepdev} has joined #ruby
<ghostlines>
woops I see I had to define an attr_reader
msmith_ has quit [Ping timeout: 255 seconds]
browndawg has quit [Ping timeout: 240 seconds]
FooMunki has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
<shevy>
hehe
Beoran has joined #ruby
<shevy>
in general you can only access @ivars through methods once you are out of the class
<apeiros>
ghostlines: or define a custom reader/writer. attr_accessor :foo is really just a shortcut for `def foo; return @foo; end; def foo=(value); @foo = value; end`
<apeiros>
shevy: s/in general// ;-)
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<ghostlines>
ahh thanks
mengu has joined #ruby
MattB2 has joined #ruby
haxr has quit [Read error: Connection timed out]
abuzze_ has joined #ruby
haxr has joined #ruby
mengu has quit [Remote host closed the connection]
abuzze has quit [Ping timeout: 265 seconds]
oleo has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
jheg has quit [Quit: jheg]
uber_hulk has joined #ruby
browndawg has joined #ruby
renderfu_ has joined #ruby
sfr^ has quit [Excess Flood]
sfr^ has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
rdark has quit [Quit: leaving]
mistermocha has joined #ruby
Lingos has quit [Quit: Be back later ...]
mistermocha has quit [Ping timeout: 265 seconds]
josephndenton has joined #ruby
wsmoak has joined #ruby
wsmoak has quit [Client Quit]
wsmoak has joined #ruby
<MattB2>
Given a 3rd party library with no getter on an instance variable, is using .inspect the best / only option to get at the value?
despai has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
prp-e has quit [Remote host closed the connection]
giuseppesolinas has quit [Remote host closed the connection]
Aryasam has quit [Ping timeout: 264 seconds]
patrick99e99 has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
dkb20k has joined #ruby
<MattB2>
Weird, I just get nil
charliesome_ has quit [Read error: Connection reset by peer]
<MattB2>
I can see the value in irb when I assign the instance to a variable, but get nel when I try to instance_variable_get it
yfeldblum has quit [Ping timeout: 272 seconds]
<MattB2>
*nil
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MattB2 has quit [Remote host closed the connection]
corehook has quit [Remote host closed the connection]
charliesome has joined #ruby
dc_ has joined #ruby
Photism has joined #ruby
volty has joined #ruby
krz has joined #ruby
anaeem1 has joined #ruby
lucyinthesky has joined #ruby
pen has quit []
dc_ has quit [Ping timeout: 240 seconds]
quimrstorres has joined #ruby
samuel02 has joined #ruby
rshetty has joined #ruby
mengu has joined #ruby
jlast has joined #ruby
CustosL1men has quit [Ping timeout: 244 seconds]
Timgauthier has joined #ruby
psy has joined #ruby
volty has quit [Quit: Konversation terminated!]
quantum_kat has joined #ruby
mloveless has joined #ruby
Techguy305 has joined #ruby
quantum_kat has quit [Client Quit]
teleporting_kat has joined #ruby
chu has joined #ruby
kirun has joined #ruby
quimrstorres has quit [Remote host closed the connection]
MattB2 has joined #ruby
mengu has quit []
mloveless has quit [Ping timeout: 272 seconds]
russt has joined #ruby
mloveless has joined #ruby
Guest65842 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinequanon has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
Lingos has joined #ruby
sinequanon has quit [Ping timeout: 258 seconds]
mloveless has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 258 seconds]
clauswitt has joined #ruby
kevinxu has joined #ruby
kevinxu is now known as Guest87160
Guest87160 has quit [Max SendQ exceeded]
Techguy305|2 has joined #ruby
pika_pika has joined #ruby
claw has quit [Ping timeout: 244 seconds]
claw has joined #ruby
user_01 has joined #ruby
browndawg has quit [Quit: Leaving.]
<user_01>
while doing sudo bundle instal; --without development test postgresql sqlite to install redmine i get the error ”An error occurred while installing mysql2 (0.3.17), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.17'` succeeds before bundling.” An while i run gem install mysql2 -v '0.3.17' i get the error “ERROR: Error installing mysql2: ERROR: Failed to build gem native extension."
<user_01>
Anyone can help?
<Timgauthier>
dude it is saturday
<Timgauthier>
come back on a work day!
Techguy305 has quit [Ping timeout: 245 seconds]
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat>
a) youre missing headers and b) y u use sudo???
<user_01>
sevenseacat: i use sodo. havent done anything with headers.
<sevenseacat>
exactly
<apeiros_>
user_01: "y u use" = "why do you use"
<user_01>
sevenseacat: :) can you shed some light here. have done much with ruby.
<sevenseacat>
what is it with 1000 people installing redmine this week
<apeiros_>
why on earth… I can't even… omigosh
{ordepdev} has quit [Remote host closed the connection]
<apeiros_>
WHY DO THEY ASK PEOPLE TO SUDO BUNDLE?!?!
<sevenseacat>
and none of them doing it right
<apeiros_>
sevenseacat: yeah, odd. I tried and it took me <10min yesterday.
<user_01>
apeiros_: you tell me. :P
<crome>
why install system ruby in the first place
<apeiros_>
user_01: I have not the faintest idea. it's bad.
<crome>
this is dumb
mesamoo has joined #ruby
<user_01>
apeiros_: weird. this is a clean ubuntu 14.04 installation
<apeiros_>
user_01: at least you can't be blamed. bad guide is bad.
MattB2 has quit [Remote host closed the connection]
<user_01>
apeiros_: do you have any guide i can follow for an installation on ubuntu 14.04?
<apeiros_>
sorry, would love to help. but got to whip some stuff into shape before I leave.
<user_01>
apeiros_: ok. maybe another day. will keep trying.
jottr has quit [Ping timeout: 265 seconds]
<apeiros_>
sevenseacat: do you happen to know whether cookie.signed won't store data when used with safari on 127.0.0.1? trying to figure whether I'm doing it wrong or whether it's just the browser resetting the data all the time…
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<user_01>
apeiros_: also, are you greek?
ta has quit [Remote host closed the connection]
<apeiros_>
user_01: nope
<sevenseacat>
apeiros_: i dont know, sorry.
<apeiros_>
:-/
<apeiros_>
I copied the code from a working project. but I get nil all the time in dev mode on localhost. annoying. pondering on just deploying it and see in prod :D
mloveless has joined #ruby
<apeiros_>
ah, silly me… I got an online dev & staging. I can just use those.
krisquigley has joined #ruby
<sevenseacat>
sounds like a safer idea lol
<apeiros_>
sevenseacat: well, worst thing that'd happen in prod is that every request is considered to be from a new user. and that's only for stats.
DLSteve has quit [Read error: Connection reset by peer]
<user_01>
sevenseacat: also, while doing gem install mysql2 -v '0.3.17' the error says “*** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.”
<sevenseacat>
yes, you're missing mysql headers. does the guide not tell you to install them?
<sevenseacat>
it does, in the very first step.
<user_01>
sevenseacat: of course not. :P
<user_01>
sure?
<sevenseacat>
yep.
<user_01>
aah with apt-get you mean?
<sevenseacat>
yes.
<user_01>
sevenseacat: ok wil try this.
<sevenseacat>
theres only so much you can blame the guide for, if you cant follow its directions.
supersymmetry has joined #ruby
supersym has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
<apeiros_>
lol, approaching 1k rep on SO with just 3 answers…
krisquigley has quit [Ping timeout: 255 seconds]
<sevenseacat>
yeah its a weird system, SO
<sevenseacat>
people like arup_r somehow get to 50k on ruby questions when they dont know the basics
xIzIv has joined #ruby
<apeiros_>
lolwut?
<apeiros_>
that… just eliminated SO as a source for recruiting :D
<agent_white>
I'm scared of making a SO question... let alone a SO account.
<agent_white>
One day I will know I have good enough questions to warrant a post there.
<xIzIv>
hi there
<sevenseacat>
oh the only questions i ever asked where when i was a total noob
workmad3 has joined #ruby
<agent_white>
s/first_sentence.reverse
<apeiros_>
I mean, it never was. but I considered using it as source of additional metadata for applicants
<agent_white>
sevenseacat: Really?
<agent_white>
sevenseacat: I just know that if I can't find an answer, I'm not searching well enough, or I need to ask on IRC for terms to search.
<apeiros_>
I somewhat love the ephemerality of irc
<agent_white>
sevenseacat: Sums up my experience programming thus far :)
<xIzIv>
but where is include method?
danijoo has quit [Read error: Connection reset by peer]
<apeiros_>
ixx: Module#include
<apeiros_>
xIzIv: ^
<apeiros_>
sorry ixx. wasn't for you.
danijoo has joined #ruby
<xIzIv>
where it is for `main`
<xIzIv>
Object class has include method, but where we get it for `main`
<sevenseacat>
what do you think main is? >_>
<apeiros_>
xIzIv: ruby cheats a bit at its roots. may well be seeing an artifact of that.
workmad3 has quit [Ping timeout: 256 seconds]
<arup_r>
sevenseacat: thanks for appreciating me... :-)
<agent_white>
sevenseacat: You explained yourself well in that post, actually... at least a lot better than I do as of now. :)
<apeiros_>
sevenseacat: main isn't a module. its include is indeed a bit special.
timonv_ has joined #ruby
parabolize has joined #ruby
quimrstorres has joined #ruby
iml has quit [Quit: sleep]
<sevenseacat>
but main is an instance of Object, thus it gets its include method, no?
<apeiros_>
Object doesn't have include
<xIzIv>
sevenseacat: main is hybrid of Object instance + some class scope + :to_s, :inspect singleton methods
<apeiros_>
Module does. Object has extend.
<user_01>
sevenseacat: apeiros_: FYI sudo on bundling may be required because i get this error “There was an error while trying to write to Gemfile.lock. It is likely that you need to allow write permissions for the file at path: /usr/share/redmine/Gemfile.lock”
<xIzIv>
sevenseacat: as I understand)
fabrice31 has joined #ruby
<sevenseacat>
ah hah
* sevenseacat
shuts gob
<user_01>
probably not good to have redmine under /usr/share? maybe move to /opt/redmine ?
<arup_r>
sevenseacat: Thmbs up
<apeiros_>
user_01: they require sudo because they set the whole install up for sudo. which is bad.
<sevenseacat>
(this is why i stick to rails questions usually)
<apeiros_>
user_01: so what I said about `sudo bundler` doesn't mean that you can just drop the sudo from bundle. won't work.
<user_01>
apeiros_: ok thanks]
timonv_ has quit [Remote host closed the connection]
<arup_r>
sevenseacat: feeling jealous on me.. :p
corehook has joined #ruby
arya_ching has quit [Ping timeout: 240 seconds]
<sevenseacat>
arup_r: nope, just saying it proves that SO reputation really is irrelevant.
<arup_r>
sevenseacat: No it is not...
<arup_r>
SO is for those,, who do want direct solutions to the problem..
<arup_r>
It needs too much time and effort to put there to earn that rep
<arup_r>
those reps are effort..
razieliyo has joined #ruby
<arup_r>
those +1 s are actually value to the effort
<apeiros_>
was going to say "include is always private", but then I remembered it isn't anymore (since 2.1 I think?)
<apeiros_>
xIzIv: yes. methods on main default to private.
<xIzIv>
apeiros_: this means just that self exactly has this include method
<shevy>
can we actually include on a remote class?
Techguy305 has joined #ruby
<shevy>
class Foo; end; <--- include Bar into Foo by doing something like ... Foo.include Bar
<shevy>
hmm I guess class Foo; include Bar will suffice anyway... 3 lines aren't that bad
jlast has joined #ruby
AndyBotwin has quit [Quit: Leaving]
<xIzIv>
but why singleton_class.instance_methods doesn't have it
<xIzIv>
and include looks exactly like singleton method
<shevy>
where is include defined actually?
<shevy>
Kernel?
Techguy305|2 has quit [Ping timeout: 240 seconds]
quimrstorres has joined #ruby
<xIzIv>
shevy: Module
<shevy>
ok
<shevy>
arup_r wants to be the first to reach 1 million reputation on stackoverflow - AND continue to ask newbie questions on #ruby for the fun of it ;-)
<apeiros_>
14:59 apeiros_: xIzIv: ruby cheats a bit at its roots. may well be seeing an artifact of that.
<apeiros_>
xIzIv: ^
<apeiros_>
as said before.
<Hanmac>
xIzIv: did i see it right that you wonder about singleton methods from the Module while including?
<shevy>
oh oh oh Professor Hanmac is in da house
<arup_r>
shevy: :-(
<Hanmac>
shevy only half, i am doing a pause from playing simutrans
<xIzIv>
Hanmac: I'm about where exactly is `include` method in global scope or `main`
<xIzIv>
Hanmac: yes it is in private_intance_methods, exactly what I'm asking
<xIzIv>
Hanmac: I just was thinking that instance_methods shows all methods
<Hanmac>
so whats the problem? its defined as private in the singleton class of main
unshadow has quit [Quit: leaving]
quimrstorres has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 258 seconds]
mistermocha has joined #ruby
<user_01>
apeiros_: sevenseacat: while setting up smtp server for redmine it requires to restart the application. restarting apache should do for this?
<sevenseacat>
user_01: when they say that they usually mean restart passenger, by touching tmp/restart.txt in your application on the server.
cmckee has quit [Quit: cmckee]
quimrstorres has joined #ruby
sski has joined #ruby
airdeluxe has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
<xIzIv>
Hanmac: no problem, now I know about private_instance_methods, before I was thinking that instance_methods return all methods(private too) thats why I was wondering where include was
josephndenton has joined #ruby
<xIzIv>
Hanmac: thanks;)
dangerousdave has joined #ruby
{ordepdev} has joined #ruby
quimrstorres has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
AliRezaTaleghani has quit [Quit: Leaving.]
josephndenton has quit [Ping timeout: 264 seconds]
<livcd>
hi guys what gem can i use to unpack tbz file ?
byprdct has joined #ruby
<crome>
livcd: have you tried searching for "ruby bzip2" on google?
<shevy>
livcd depends; pure ruby? or can it use stuff like 'tar'
quimrstorres has joined #ruby
frog0909 has joined #ruby
<livcd>
shevy: pure ruby
<livcd>
crome: yes i have tried bzip2-ruby
marcux has quit [Quit: marcux]
<livcd>
crome: but it returns compressed stream does not start with the correct magic bytes. The file i am trying to uncompress is textmate2 btw
marcux has joined #ruby
Abhijit has quit [Quit: Leaving]
<livcd>
crome: TextMate_2.0-beta.6.tbz: bzip2 compressed data, block size = 900...i am investigating why it failed
jottr has quit [Ping timeout: 272 seconds]
<livcd>
in a meantime i wanted to ask here if there is another method
almostworking has joined #ruby
anaeem1 has quit [Ping timeout: 240 seconds]
almostworking has left #ruby [#ruby]
Takle has joined #ruby
<user_01>
sevenseacat: do you see any problem with this configuration file? i am doing touch tmp/restart.txt to restart redmine but email settings are still off. http://pastebin.com/kwd4xesN
olivier_bK has quit [Ping timeout: 258 seconds]
<sevenseacat>
user_01: your indentation is completely wrong for the email settings.
<sevenseacat>
two spaces for indentation.
<sevenseacat>
follow the examples above it.
<user_01>
sevenseacat: i was going to ask if indentation is important. thanks a lot. :)
<sevenseacat>
the big comment at the top says so.
* user_01
feels embarashed… :/
rylev has joined #ruby
<crome>
livcd: I just tried decompressing some bz2 file using ruby-bzip2 and it seems to be working fine
{ordepde_ has joined #ruby
az7ar_away has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
yfeldblum has joined #ruby
<livcd>
crome: it's tbz
<livcd>
crome: try with textmate it's free to download it
<crome>
livcd: keep in mind that the file you are trying to decompress is a compmressed tape archive
{ordepdev} has quit [Ping timeout: 264 seconds]
<crome>
but it shouldn't make a difference
CorySimmons has quit [Quit: Bye!]
<livcd>
well so in that case :-) any other suggestion ?
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
<crome>
not really, it worked fine on the textmate release as well
noop has joined #ruby
<livcd>
uhm...what code did you use ?
geggam has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Darryl_ has joined #ruby
Takle has quit [Remote host closed the connection]
mloveless has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
<shevy>
is your browser bad or what :D
uber_hulk has quit [Ping timeout: 264 seconds]
aspiers has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
<livcd>
shevy: ok ok i have something :D...but now it says that it's truncated tar archive
<xIzIv>
exit
<xIzIv>
;))
xIzIv has quit [Quit: WeeChat 1.0.1]
<shevy>
livcd why don't you wanna use just tar
xiq has quit [Ping timeout: 258 seconds]
arya_ching has quit []
corehook has quit [Ping timeout: 258 seconds]
marcux has quit [Quit: marcux]
ta has joined #ruby
timonv_ has joined #ruby
BadQuanta has joined #ruby
tyll has quit [Ping timeout: 240 seconds]
krisquigley has joined #ruby
tyll has joined #ruby
SCHAAP137_ has joined #ruby
drewvanstone has joined #ruby
Shazaum has joined #ruby
SCHAAP137 has quit [Ping timeout: 255 seconds]
<livcd>
crome: i tried but i dont know how to do it :-?
timonv_ has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 250 seconds]
SCHAAP137_ has quit [Client Quit]
Shazaum has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
krisquigley has quit [Ping timeout: 272 seconds]
samuel02 has quit [Remote host closed the connection]
xiq has joined #ruby
Shazaum has joined #ruby
tyll has quit [Ping timeout: 245 seconds]
tyll has joined #ruby
workmad3 has joined #ruby
agjacome has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
<livcd>
crome: just point me please to correct method...i am trying to write to file with .read but it produces always a damaged tar archive
SCHAAP137 has joined #ruby
fabrice31 has joined #ruby
supersymmetry has quit [Quit: WeeChat 1.0.1]
workmad3 has joined #ruby
jonr22 has quit [Remote host closed the connection]
<crome>
what
<crome>
I.. don't.. even
jonr22 has joined #ruby
Techguy305 has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
kasperti_ has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
xiq has quit [Ping timeout: 255 seconds]
<livcd>
crome: well i am a newbie...so i don't know stuff :/
<jhass>
please show your magic
<jhass>
writing by reading, quantum computing is finally here!
DenSchub has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
kasperti_ has quit [Client Quit]
<crome>
livcd: the example tells you exactly how you can create a file for writing and then it also shows you how you can use the puts or print methods to put stuff into it
<crome>
the bit about the read method is after the line that says: # Reading a bz2 compressed file
kasperti_ has joined #ruby
rkalfane has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
msmith has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby
<livcd>
crome: but is not the writer only for putting a compressed data ? i want to put to a file the uncompressed "stuff"
user_01 has quit [Ping timeout: 265 seconds]
corehook has joined #ruby
rshetty has quit [Remote host closed the connection]
msmith has quit [Ping timeout: 240 seconds]
despai has quit [Quit: This computer has gone to sleep]
<cHarNe2>
anyone been doing some work with SOAP and savon? im having trouble setting attributes
pika_pika has quit [Ping timeout: 258 seconds]
benzrf is now known as benzrf|offline
wsmoak has quit [Quit: wsmoak]
marcux has joined #ruby
anaeem1_ has joined #ruby
Ulrike_Rayne has quit [Quit: asche zu asche und staub zu staub.]
ghr has joined #ruby
Takle has joined #ruby
CustosLimen has quit [Remote host closed the connection]
DaniG2k has joined #ruby
<DaniG2k>
hey guys im trying to think of a cool way to check if any tag exists on a Rails model using Ruby's define_method
<DaniG2k>
if I have tag1_list, tag2_list, tag3_list
<athan>
Does system-F include higher kinds?
<DaniG2k>
and I want to check if any exist
oo_ has joined #ruby
<athan>
because (->) is just a specific *->*->*
quimrstorres has quit [Remote host closed the connection]
<athan>
oop sorry guys wrong chan
ghr has quit [Ping timeout: 265 seconds]
<DaniG2k>
ah i got it
<DaniG2k>
nm
<DaniG2k>
:)
dkb20k has quit [Remote host closed the connection]
jlast has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
sinequanon has joined #ruby
anaeem___ has joined #ruby
JBreit has joined #ruby
anaeem1_ has quit [Read error: No route to host]
dreinull has joined #ruby
oo_ has joined #ruby
chridal has quit [Ping timeout: 265 seconds]
tanath_ has joined #ruby
{ordepde_ has quit [Remote host closed the connection]
<blahwoop_>
if i have an attr_reader :neighbors that is an array can i still push things into it. like something.neighbors << 1
<shevy>
any of you guys collaborating with someone else on a gem? if so, how do you manage more than one guy contributing to a gem?
<blahwoop_>
or do i need a setter method too
<shevy>
blahwoop_ of course that works; it is an Array, all methods on Array will by default work
<blahwoop_>
ok got it
GeorgesLeYeti has joined #ruby
<blahwoop_>
so it doesnt relly matter if neighbors is a reader or just accessor
<shevy>
look
<shevy>
you think that the attr* are special
<sevenseacat>
i hate when only guys can contribute to gems.
<shevy>
but they are 100% the same as if you'd manually have defined them blahwoop_
<blahwoop_>
ok
Alina-malina has quit [Read error: Connection reset by peer]
<shevy>
cats may also contribute to gems
Photism has quit [Quit: Leaving]
<blahwoop_>
basically reader just gives you def neighbors end
<shevy>
almost
Takle has quit [Remote host closed the connection]
<shevy>
you forgot the @neighbors part
Alina-malina has joined #ruby
<blahwoop_>
yes
Ankhers has joined #ruby
cajone has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
<shevy>
in your example of course you will manipulate another object, your Array in question that just happens to be held in the ivar @neighbors; but it is an instance of class Array, not of your class Bla
<browndawg>
Hey. I'm trying to insert an <item> node to an RSS document using nokogiri. Look at line #24. I want to insert urls that might contain ampersands, but nokogiri just deletes them. I've tried escaping them to &, nokogiri still deletes them. What am I doing wrong?
sinequanon has quit [Ping timeout: 258 seconds]
ghostlines has joined #ruby
corehook has quit [Remote host closed the connection]
ghostlines has quit [Max SendQ exceeded]
dc_ has joined #ruby
ghostlines has joined #ruby
sinequanon has joined #ruby
benzrf|offline is now known as benzrf
boombadaroomba has joined #ruby
<Unknown2>
is possbile debug ruby script in sublime(ruby 2.1.3)?
benzrf is now known as benzrf|offline
<mostlybadfly>
Unknown2: you can use pry and insert a call to that within your code
<mostlybadfly>
and it'll open it up when it gets to that point
pacMakaveli has joined #ruby
josephndenton has joined #ruby
tobleronegordon has joined #ruby
dc_ has quit [Ping timeout: 240 seconds]
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jlast has joined #ruby
boombadaroomba has quit [Ping timeout: 240 seconds]
joast has joined #ruby
ctp has joined #ruby
marcux has joined #ruby
mloveless has joined #ruby
dorei has joined #ruby
Megtastique has joined #ruby
mary5030 has joined #ruby
<jhass>
browndawg: you didn't post any code
mloveless has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
<Unknown2>
gem install debugger
<Unknown2>
Building native extensions. This could take a while...
<Unknown2>
ERROR: Error installing debugger:
<Unknown2>
ERROR: Failed to build gem native extension.
<Unknown2>
why i get error
sinequanon has quit [Remote host closed the connection]
<jhass>
Unknown2: who knows? What ruby version?
<Unknown2>
2.1.3
<jhass>
try byebug
<jhass>
and pry-byebug
abuzze has joined #ruby
uber_hulk has joined #ruby
abuzze_ has joined #ruby
msmith_ has joined #ruby
msmith_ has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
msmith_ has joined #ruby
browndawg has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
doev has quit [Quit: Verlassend]
msmith_ has quit [Read error: Connection reset by peer]
abuzze has quit [Ping timeout: 244 seconds]
msmith_ has joined #ruby
agent_white has quit [Quit: leaving]
uber_hulk has quit [Ping timeout: 264 seconds]
govg has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
corehook has joined #ruby
blahwoop has quit [Remote host closed the connection]
drewvanstone has joined #ruby
yfeldblum has joined #ruby
mgorbach has quit [Ping timeout: 256 seconds]
lw has joined #ruby
mgorbach has joined #ruby
<livcd>
anybody familiar with bzip2-ruby gem ?
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crazydiamond has joined #ruby
drkyro has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
dangerousdave has joined #ruby
browndawg has joined #ruby
maestrojed has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has quit []
uber_hulk has joined #ruby
iamjarvo has joined #ruby
uber_hulk has quit [Client Quit]
<iamjarvo>
if one were writing a gem and the gem had a dependency on a library and the gem is being tested. should you require the dependency both in the spec_helper and the actual code? or just the actual code?
abuzze_ has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 264 seconds]
KC9YDN has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
jonr22 has joined #ruby
tastycode has quit [Quit: tastycode]
Takle has quit [Ping timeout: 255 seconds]
CustosL1men has joined #ruby
FooMunki has quit [Read error: Connection reset by peer]
corehook_ has joined #ruby
BlackGea_ has joined #ruby
Ulrike_Rayne has quit [Quit: asche zu asche und staub zu staub.]
FooMunki has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 240 seconds]
BlackGea_ has quit [Remote host closed the connection]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
BlackGea_ has joined #ruby
BlackGear has quit [Ping timeout: 272 seconds]
browndawg has left #ruby [#ruby]
jonr2219 has joined #ruby
BlackGea_ has quit [Max SendQ exceeded]
corehook has quit [Ping timeout: 258 seconds]
Ulrike_Rayne has joined #ruby
BlackGear has joined #ruby
ctp has quit [Ping timeout: 255 seconds]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
Takle has joined #ruby
aspires has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
rkalfane has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
russt has quit [Quit: russt]
jaequery has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Takle has quit [Read error: Connection reset by peer]
jaequery has quit [Max SendQ exceeded]
blackmesa has quit [Ping timeout: 258 seconds]
pacMakaveli has quit [Remote host closed the connection]
Takle has joined #ruby
dangerousdave has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
ctp has joined #ruby
weeb1e_ has quit [Quit: No Ping reply in 180 seconds.]
cleopatra has joined #ruby
jaequery has joined #ruby
mloveless has joined #ruby
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
cleopatra has quit [Client Quit]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
<jhass>
I'd argue just actual code
jaequery has joined #ruby
weemsledeux has joined #ruby
jaequery has quit [Max SendQ exceeded]
patrick99e99 has joined #ruby
jaequery has joined #ruby
manzo has joined #ruby
jaequery has quit [Max SendQ exceeded]
Ulrike_Rayne has quit [Quit: asche zu asche und staub zu staub.]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
<iamjarvo>
jhass thanks
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
cleopatra has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
dkb20k has joined #ruby
pwh has quit []
Musashi007 has joined #ruby
jaequery has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tastycode has joined #ruby
jaequery has quit [Max SendQ exceeded]
klmlfl has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
tyll has joined #ruby
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jbueza has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
despai has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! ( www.adiirc.com]
mary5030 has quit [Remote host closed the connection]
<eguneys>
centrx: The problem I have is it says ActionController is not defined, what should I do?
<blahwoop>
yeah but its going to be recusive later on
<blahwoop>
so i want to keep adding on to it
KC9YDN has joined #ruby
jlast has joined #ruby
<shevy>
what should word actually be?
ta has joined #ruby
sigurding has joined #ruby
<blahwoop>
a string
<shevy>
ok when you append to a string
<shevy>
use <<
<shevy>
and before you call <<, make sure your string object exists
jonr22 has joined #ruby
<centrx>
eguneys, It looks like that answer uses the strong_parameters gem, which was extracted out of Rails/ActionController
<shevy>
+= will create a new string object every time you use that
<blahwoop>
ok
tyll has quit [Ping timeout: 258 seconds]
workmad3 has joined #ruby
FooMunki has quit [Read error: Connection reset by peer]
<blahwoop>
do i still need to do word = "" beforehand
Megtastique has quit []
FooMunki_ has joined #ruby
oo_ has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
tyll has joined #ruby
<eguneys>
centrx: well I think grape also includes strong_parameters, (it gives me error when I include it in Gemfile), so what should i require to get rid of the error (ActionController undefined)?
Tab__ has quit [Quit: This computer has gone to sleep]
corehook has joined #ruby
triple_b has joined #ruby
jonr2219 has joined #ruby
rylev_ has joined #ruby
ta has quit [Ping timeout: 255 seconds]
despai has quit [Quit: This computer has gone to sleep]
rylev_ has quit [Remote host closed the connection]
<centrx>
eguneys, Install the actionpack gem?
giuseppesolinas has quit [Quit: This computer has gone to sleep]
rylev_ has joined #ruby
<centrx>
eguneys, Then require 'action_controller/parameters' probably
yfeldblum has joined #ruby
<centrx>
You don't want to pull the rest of Rails into your app if you aren't using it
<centrx>
eguneys, ActionController is part of the actionpack gem, which is part of Rails but can be used separately
reinaldob has joined #ruby
rylev has quit [Ping timeout: 258 seconds]
SCHAAP137 has quit [Quit: Leaving]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
corehook has quit [Ping timeout: 258 seconds]
fantazo has joined #ruby
failshell has joined #ruby
<failshell>
in a class, I include a module. within that class, i can use its methods. but if i then try to access the included mod's methods, it doesnt work. would anyone help me figure this out? been banging my head against that for a while now. https://gist.github.com/failshell/54bba5f638d0f17b5611
klmlfl has joined #ruby
<failshell>
how would i go about accessing describe in the initialize?
<centrx>
failshell, Where is the module?
klmlfl has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<krazyj>
hi guys… i’m using middleman and wondering if someone could help me figure out why my erb template is getting a ’nomethoderror’ for a method i defined in my config.rb?
<shevy>
zacts subclassing is like a more tightly coupled way of inheritance; through modules it is mostly just composition. like lego bricks
vlad_starkov has joined #ruby
<blahwoop>
are trie available in the std rb library?
<krazyj>
jhass: fwiw, if i refactor out the evaluation of the conditional into a separate line, then drop the result of it into the ternary operation… it works
<krazyj>
hmmk
patrick99e99 has quit [Ping timeout: 272 seconds]
<jhass>
what if you do (name == "index") ? ...
<krazyj>
jhass: yeah, that works
<krazyj>
i’ll switch all my string comparisons to ==
<krazyj>
thought it was more ‘ruby’ to use .eql?
<jhass>
nope
ramfjord has joined #ruby
Pumukel has joined #ruby
wald0 has quit [Ping timeout: 258 seconds]
tskogberg has joined #ruby
wald0 has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
jonr22 has joined #ruby
dangerousdave has joined #ruby
dangerousdave has quit [Client Quit]
<rpag>
== is much more common than .eql?
Megtastique has quit []
Guest6644 has quit [Ping timeout: 244 seconds]
snath has quit [Ping timeout: 258 seconds]
ta has joined #ruby
mary5030 has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 244 seconds]
mary5030 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
hfp has quit [Quit: bye]
hfp_work has quit [Quit: bye]
ta has quit [Ping timeout: 272 seconds]
jlast has joined #ruby
blackmesa has joined #ruby
mary5030 has quit [Ping timeout: 258 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
dc___ has joined #ruby
NoNMaDDeN has joined #ruby
hfp has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
hfp_work has joined #ruby
tus has quit [Ping timeout: 244 seconds]
tus has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 272 seconds]
dc_ has quit [Ping timeout: 258 seconds]
keen___________7 has joined #ruby
gsd has joined #ruby
iml has quit [Quit: sleep]
dcunit3d has joined #ruby
rumitte has joined #ruby
keen___________6 has quit [Ping timeout: 240 seconds]
NoNMaDDeN has quit [Ping timeout: 264 seconds]
drewvanstone has joined #ruby
mgorbach has quit [Ping timeout: 264 seconds]
corehook has joined #ruby
jimbach has joined #ruby
<krazyj>
anyone familiar with middleman here?
<krazyj>
am i in the right chan?
sigurding has joined #ruby
<krazyj>
trying to figure out why `activate :directory_indexes` isn’t working in development mode
mgorbach has joined #ruby
jonr22 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
corehook has quit [Ping timeout: 258 seconds]
jimbach has quit [Ping timeout: 265 seconds]
sigurding has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
t_mmyv has joined #ruby
wsmoak has quit [Read error: Connection reset by peer]
tskogberg has quit [Ping timeout: 240 seconds]
mdxprograms has joined #ruby
mloveless has joined #ruby
tskogberg has joined #ruby
wsmoak has joined #ruby
ordepdev has quit []
tastycode has quit [Quit: tastycode]
msmith_ has quit [Remote host closed the connection]
tastycode has joined #ruby
julieeharshaw has quit [Ping timeout: 240 seconds]
Techguy305 has quit [Ping timeout: 240 seconds]
kirloo has joined #ruby
julieeharshaw has joined #ruby
Olipro has joined #ruby
rumitte has quit [Ping timeout: 245 seconds]
tastycode has quit [Ping timeout: 265 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
ghr has joined #ruby
mdxprograms has quit [Quit: Leaving]
blackmesa has quit [Quit: WeeChat 1.0.1]
jokke has quit [Quit: WeeChat 1.0.1]
jlast has quit [Ping timeout: 258 seconds]
msmith_ has joined #ruby
snath has joined #ruby
msmith_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 255 seconds]
Unknown2 has quit [Ping timeout: 258 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
<pontiki>
middleman has a forum for support, but i don't know if there's an IRC channel
<pontiki>
i've used it a bit, but not recently
Xeago has joined #ruby
<livcd>
anybody knows how can i set an execution order for cookbooks in chef ?
neoxquick has joined #ruby
wjimenez5271 has joined #ruby
<pontiki>
livcd: check in the #chef channel
<livcd>
pontiki: i did but it is usually quiet
wjimenez5271 has quit [Remote host closed the connection]
kasperti_ has joined #ruby
wjimenez5271 has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]