<lenswipe>
superscott[8], actually it wont scale that much because im on the free tier of heroku
<superscott[8]>
O_o
<lenswipe>
what?
doodlehaus has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
<happytux>
shevy: hm, but using Rake as a build tool is legit? Or should I abandon it completely?
* happytux
is in doubts now.
<superscott[8]>
happytux: rake as a build tool is radical.
phinfonet has joined #ruby
<happytux>
superscott[8]: radical?
<happytux>
superscott[8]: so it is too simplistic
<superscott[8]>
happytux: what? no, it's awesome. american slang - rad, short for radical, meaning awesome.
pwh has joined #ruby
yubrew has joined #ruby
IceDragon has quit [Ping timeout: 265 seconds]
nanoyak has joined #ruby
<happytux>
ok
diegoviola has joined #ruby
IceDragon has joined #ruby
<happytux>
superscott[8]: Because first I used ant, then I switched to rake and I hope that I don't have to switch to another tool again.
doodlehaus has quit [Ping timeout: 240 seconds]
ranmocy has quit [Quit: Page closed]
<happytux>
Well, there is also thor. But it is more for console applications and less a build tool.
lenswipe has quit [Read error: Connection reset by peer]
<superscott[8]>
rake is just the *nix make, written in ruby.
<shevy>
happytux no idea; all I know is that whenever I need to do something, I write a method into a .rb file, then invoke that via aliases
<shevy>
for instance, if I am on a fresh system, and I need to create all my custom directories, I type: "idirs" and a ruby script generates the directories, reading out the master yaml file that holds the paths of those directories
<shevy>
and I do that for every task that I ever have, sometimes delegating into classes when the task is more complex
<happytux>
shevy: you mean something like a SCM (e.g. puppet / ansible / chef)?
<superscott[8]>
if you try to use rake in place of any of those, you're going to be in for a lot of work
<shevy>
when tasks are dependent on one another, the class logic resolves it for me
maximski has quit []
yubrew has quit [Ping timeout: 252 seconds]
redondos has quit [Excess Flood]
Nahra has quit [Remote host closed the connection]
<happytux>
ah
redondos has joined #ruby
kireevco1 has joined #ruby
<happytux>
shevy: how is this called? Plain Ruby Build script?
kireevco has quit [Read error: Connection reset by peer]
thiagofm has joined #ruby
<thiagofm>
how do I read a file in pieces?
<thiagofm>
let's say its over 8gb and my laptop memory is 4
deric_skibotn has quit [Ping timeout: 252 seconds]
Nahra has joined #ruby
charliesome has joined #ruby
<shevy>
happytux no, I think you did not understand me. I really could not tell you why I would need any of that, what do they give me what I need to have and what I can not solve with calling my own .rb files?
freezey has joined #ruby
<shevy>
happytux well you have -r switches to ruby to load your .rb files and via -e you can call specific methods in these
<happytux>
ah
<shevy>
so I have one master .rb file that will delegate towards the other .rb files
lewix has quit [Ping timeout: 252 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 255 seconds]
IceDragon has joined #ruby
<thiagofm>
how do I read a file part by part in ruby? in my case the file is bigger than my memory
<shevy>
it helps me avoid having to write .sh scripts
rtra has joined #ruby
<shevy>
thiagofm why not via File.open().each ?
fluve has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
mu5k17u has quit [Read error: Connection reset by peer]
<shevy>
something is wrong with my internet again...
<thiagofm>
shevy: it opens the whole file if I use file.open
<shevy>
I can talk on IRC but webpages don't get loaded
danshultz has quit [Remote host closed the connection]
bradhe has joined #ruby
<shevy>
thiagofm really?
<shevy>
hmm
joaoh82 has quit []
Takle has joined #ruby
<shevy>
how about .foreach then
b00stfr3ak has quit [Ping timeout: 260 seconds]
danshultz has joined #ruby
<shevy>
need to reboot
shevy has quit [Remote host closed the connection]
<thiagofm>
shevy: doesn't work
mjuszczak has left #ruby [#ruby]
freezey has quit [Ping timeout: 255 seconds]
testcore has quit [Quit: BitchX: No wardrobe malfunctions here!]
brandonblack has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
frem_ has quit [Ping timeout: 252 seconds]
ddv has joined #ruby
IceDragon has quit [Ping timeout: 265 seconds]
dc has quit [Remote host closed the connection]
IceDragon has joined #ruby
havenwood has quit [Remote host closed the connection]
felixjet has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
shevy has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
test
<lagweezle>
potato
<shevy>
weird...
nanoyak has quit [Quit: Computer has gone to sleep.]
Takle has quit [Ping timeout: 252 seconds]
brandonblack has quit [Ping timeout: 260 seconds]
r0bby_ has joined #ruby
r0bby_ has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
d34th4ck3r has quit [Quit: zzz]
mikepack_ has quit [Remote host closed the connection]
dc has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
arrubin has joined #ruby
Bira has quit [Remote host closed the connection]
zz_karupa is now known as karupa
Hobogrammer has joined #ruby
SCommette has joined #ruby
teddyp1cker has joined #ruby
endash has quit [Quit: endash]
hermanmunster has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
cvitullo has quit [Quit: butts]
r_rios has joined #ruby
chipotle has joined #ruby
djbkd has joined #ruby
dc has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 276 seconds]
hermanmu_ has joined #ruby
tyfighter has quit [Quit: tyfighter]
djbkd has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
dik_dak has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
pontiki has joined #ruby
garndt has joined #ruby
<pontiki>
hi, rubyists o/
<shevy>
hey pontiki
<shevy>
ready to do evil?
<pontiki>
always
andrewlio has quit [Quit: Leaving.]
yakko_ has quit [Remote host closed the connection]
bmurt has joined #ruby
stantona_ has joined #ruby
binaryhat has joined #ruby
TorpedoSkyline has joined #ruby
lewix has quit [Ping timeout: 240 seconds]
yetanoth1rdave has joined #ruby
<emsilva>
I'm getting evil done to me all day long
yetanotherdave has quit [Quit: Lost terminal]
yetanoth1rdave has quit [Client Quit]
adantj has joined #ruby
rmizzle is now known as rmill
rtra has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<pontiki>
you have minions?
freerobby has joined #ruby
ephemerian has quit [Quit: Leaving.]
freerobby has quit [Client Quit]
<shevy>
I am weak feeble and without any slaves
<emsilva>
A few. They are all yellow and have glasses
<shevy>
emsilva you have to write php to get food on the table?
<Hanmac>
Wolland: everyone wants to use the stabby-lambda ... and then wondering why it does not work because they uses to less or to much parameters ;P
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
bradhe has joined #ruby
oo_ has joined #ruby
heftig has quit [Quit: Quitting]
<Wolland>
:)
LadyRainicorn has quit [Ping timeout: 255 seconds]
sidik has quit [Ping timeout: 240 seconds]
<Wolland>
rails 4 switched to use lambdas in scopes cause of lazy loading
newUser1234 has quit [Read error: Connection reset by peer]
<Wolland>
I think they are awkward
<Wolland>
just like myself
<apeiros>
Wolland: stabby things are lambdas, not procs
<ponga>
lambda looks easier to use , at least to me
stantona has quit [Ping timeout: 265 seconds]
IceDragon has quit [Quit: Space~~~]
railzFor_ has joined #ruby
arya__ has joined #ruby
railzFor_ has quit [Client Quit]
newUser1234 has quit [Remote host closed the connection]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
saarinen has quit [Quit: saarinen]
railzForDaiz has joined #ruby
glenfe has joined #ruby
apeiros has quit [Remote host closed the connection]
Guest95638 has quit [Ping timeout: 240 seconds]
railzForDaiz has quit [Client Quit]
arya_ has quit [Ping timeout: 252 seconds]
Rainicorn has joined #ruby
railzForDaiz has joined #ruby
moritzs has quit [Ping timeout: 260 seconds]
LadyRainicorn has quit [Disconnected by services]
Rainicorn is now known as LadyRainicorn
d34th4ck3r has quit [Quit: zzz]
IRLeif has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
arya__ has quit [Ping timeout: 260 seconds]
MissionCritical has joined #ruby
<ponga>
http://www.google.com/trends/explore#q=ruby%2C%20java%20script%2C%20python%2C%20node.js&cmpt=q Google Trend seems NewZealand loves ruby language
<ponga>
proud to be from NZ
maestrojed has quit [Quit: Computer has gone to sleep.]
<ponga>
or it just is for ruby the gem
d34th4ck3r has joined #ruby
<fluve>
or the song? ;)
<ponga>
;P
<fluve>
top query is ruby ruby ruby
relix has joined #ruby
foooobear has joined #ruby
Kryptonical has quit [Read error: Connection reset by peer]
XenoWolf has quit [Ping timeout: 240 seconds]
alem0lars has quit [Quit: Going AFK...]
Kryptonical has joined #ruby
bal has joined #ruby
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
relix has quit [Remote host closed the connection]
Macaveli has joined #ruby
alem0lars has joined #ruby
diegoviola has joined #ruby
tyfighter has quit [Quit: tyfighter]
railzForDaiz has left #ruby [#ruby]
railzForDaiz has joined #ruby
x1337807x has joined #ruby
relix has joined #ruby
bigkevmcd has quit [Ping timeout: 252 seconds]
frem_ has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jwang has joined #ruby
TorpedoSkyline has joined #ruby
michaelchum has quit [Quit: Connection closed for inactivity]
Hobogrammer_ has joined #ruby
jprovazn has joined #ruby
bigkevmcd has joined #ruby
nnu has joined #ruby
dawkirst has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
kireevco has quit [Quit: Leaving.]
frem_ has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
shvelo has joined #ruby
Kricir has quit [Remote host closed the connection]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
claymore has joined #ruby
adantj has joined #ruby
kilk_ has joined #ruby
railzForDaiz has quit [Quit: railzForDaiz]
yubrew has joined #ruby
fluve has quit [Remote host closed the connection]
blueOxigen has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
Wolland has quit [Remote host closed the connection]
dapz has joined #ruby
Wolland has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
The_NetZ has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 240 seconds]
Wolland_ has joined #ruby
Kamilion has quit [Ping timeout: 264 seconds]
LACP has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 265 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
oso96_2000 has quit [Ping timeout: 240 seconds]
LadyRainicorn has joined #ruby
LACP has joined #ruby
mordocai has quit [Remote host closed the connection]
Soliah has quit [Quit: Soliah]
Slavox is now known as Slavox|AFK
Kamilion has joined #ruby
vmoravec has joined #ruby
oso|away has joined #ruby
oso|away is now known as oso96_2000
why_away has joined #ruby
michael_lee has joined #ruby
klaut has joined #ruby
whyy has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acl_ has joined #ruby
kilk_ has quit [Quit: kilk_]
saarinen has joined #ruby
daniel_hinojosa has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Ping timeout: 240 seconds]
brunops has quit [Quit: leaving]
bradhe has quit [Ping timeout: 245 seconds]
vali has quit [Ping timeout: 240 seconds]
Slavox|AFK is now known as Slavox
acl_ has quit [Client Quit]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
b1205 has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
oso96_2000 has quit [Ping timeout: 245 seconds]
stnly has quit [Ping timeout: 240 seconds]
ponga has quit []
oso|away has joined #ruby
oso|away is now known as oso96_2000
sivoais has quit [Remote host closed the connection]
vali has joined #ruby
sivoais has joined #ruby
stnly has joined #ruby
ndrei has joined #ruby
dmarr has quit [Quit: Goodbye]
MrDoctor has joined #ruby
anarang has joined #ruby
phansch has joined #ruby
Kricir has joined #ruby
toastynerd has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
tylersmith has quit []
Kricir has joined #ruby
Zubin has joined #ruby
Nahra has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
Zubin has quit [Client Quit]
dmarr has joined #ruby
yohanobs_ has quit [Remote host closed the connection]
Nahra has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
alem0lars has quit [Quit: alem0lars]
adantj has quit [Ping timeout: 260 seconds]
GriffinHeart has joined #ruby
yacks has quit [Ping timeout: 260 seconds]
teddyp1cker has quit [Ping timeout: 276 seconds]
railzForDaiz has joined #ruby
d34th4ck3r has quit [Quit: zzz]
jackneill has joined #ruby
predator117 has joined #ruby
happytux_ has joined #ruby
yacks has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 255 seconds]
dawkirst has quit [Remote host closed the connection]
r00ster has joined #ruby
dawkirst has joined #ruby
happytux has quit [Ping timeout: 255 seconds]
rghose1 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
sk87 has joined #ruby
anaeem1_ has joined #ruby
avril14th has joined #ruby
Takle has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
Trynemjoel2 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
diegovio1 has joined #ruby
sinkensabe has joined #ruby
diegovio1 is now known as diegoviola
frem_ has joined #ruby
russt_ has quit [Quit: russt_]
andrewlio has joined #ruby
yacks has quit [Ping timeout: 276 seconds]
kiri has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<JohnGrieco>
Do you think that int made the window able to be applied to any pixel resolution?
d34th4ck3r has quit [Quit: zzz]
<JohnGrieco>
Giving it Macbook pro retina supprot
Takle has quit [Remote host closed the connection]
hermanmunster has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
modintel has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
larsam has quit [Ping timeout: 276 seconds]
bluOxigen has joined #ruby
himsin has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
noop has joined #ruby
LekeFly has joined #ruby
_justin has quit [Quit: _justin]
mekajfire has joined #ruby
Ankhers has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Nahra has joined #ruby
yubrew has joined #ruby
sk87 has joined #ruby
klaut has quit [Remote host closed the connection]
LexicalScope has quit [Ping timeout: 240 seconds]
mrnugget has joined #ruby
kiri has joined #ruby
d34th4ck3r has quit [Quit: Ciao]
yubrew has quit [Ping timeout: 245 seconds]
banister has joined #ruby
frem_ has joined #ruby
anaeem1_ has quit [Ping timeout: 265 seconds]
lyuzashi has quit [Ping timeout: 245 seconds]
MrDoctor has quit [Remote host closed the connection]
yacks has joined #ruby
foooobear has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
elaptics`away is now known as elaptics
TorpedoSkyline has joined #ruby
frem_ has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
noob101 has quit [Ping timeout: 240 seconds]
skysploit has quit []
Takle has joined #ruby
TorpedoSkyline has quit [Client Quit]
kaspergrubbe has joined #ruby
Slavox is now known as Slavox|AFK
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
apeiros has quit [Remote host closed the connection]
timonv has joined #ruby
apeiros has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
andrius has joined #ruby
moritzs has joined #ruby
sk87 has quit [Client Quit]
Takle has quit [Remote host closed the connection]
sdrew has joined #ruby
Takle has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
Slavox|AFK is now known as Slavox
rdark has joined #ruby
AlSquire has joined #ruby
ccooke has quit [Read error: Connection reset by peer]
railzForDaiz has quit [Ping timeout: 260 seconds]
AlSquirrel has joined #ruby
sdwrage_ has quit [Quit: This computer has gone to sleep]
AlSquire has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Azulinho has joined #ruby
oso|away has joined #ruby
Guest55484 has joined #ruby
oso|away is now known as oso96_2000
JohnGrieco has quit [Quit: Page closed]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquirrel has quit [Read error: Connection reset by peer]
Guest55484 is now known as forcefsck
ccooke has joined #ruby
forcefsck is now known as Guest4545
Guest4545 has quit [Client Quit]
chth0n has joined #ruby
bamdad has joined #ruby
Joulse has joined #ruby
oso96_2000 has quit [Ping timeout: 264 seconds]
krz has quit [Quit: WeeChat 0.4.3]
why_away has quit [Remote host closed the connection]
alem0lars has quit [Quit: Going AFK...]
mupkoo has joined #ruby
whyy has joined #ruby
<Hanmac>
shevy did you read the newest info about SEO ? currently google is killing it, and they are all whining about that the seo spam links should be removed again (they that placed the links itself want them removed)
r00ster has joined #ruby
The_NetZ is now known as ntzrmtthihu777
GriffinHeart has joined #ruby
joaoh82 has quit []
MrDoctor has joined #ruby
whyy has quit [Ping timeout: 255 seconds]
Nahra has quit [Remote host closed the connection]
oa is now known as poka
alem0lars has joined #ruby
dawkirst has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
Nahra has joined #ruby
nfk has joined #ruby
heftig has joined #ruby
toastynerd has joined #ruby
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
vali has joined #ruby
stnly has joined #ruby
SOLID000 has joined #ruby
sivoais has joined #ruby
anaeem1 has joined #ruby
_justin has joined #ruby
teddyp1cker has joined #ruby
railzForDaiz has joined #ruby
spider-mario has joined #ruby
dawkirst has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
bamdad has quit [Quit: bamdad]
toastynerd has quit [Ping timeout: 252 seconds]
Morkel_ has joined #ruby
klaut has joined #ruby
whyy has joined #ruby
Morkel has quit [Ping timeout: 265 seconds]
Morkel_ is now known as Morkel
apeiros has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
klaut has quit [Remote host closed the connection]
dumdedum has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krz has joined #ruby
DaniG2k has joined #ruby
charliesome has joined #ruby
maximski has joined #ruby
zeroXten has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 276 seconds]
jack_rabbit_ has quit [Ping timeout: 245 seconds]
klaut has joined #ruby
AlSquire has joined #ruby
yubrew has joined #ruby
Atttwww has quit [Ping timeout: 255 seconds]
AlSquire has quit [Read error: Connection reset by peer]
mercerist has joined #ruby
whyy has quit [Remote host closed the connection]
whyy has joined #ruby
timonv has quit [Remote host closed the connection]
railzForDaiz has quit [Ping timeout: 240 seconds]
moritzs has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
Takle has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Read error: Connection reset by peer]
Takle has joined #ruby
kaspergrubbe has joined #ruby
railzForDaiz has joined #ruby
Takle has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 276 seconds]
Squarepy has joined #ruby
saarinen has quit [Quit: saarinen]
workmad3 has joined #ruby
dEPy has joined #ruby
decoponio has joined #ruby
Takle has joined #ruby
TorpedoSkyline has joined #ruby
frem_ has joined #ruby
TorpedoSkyline has quit [Client Quit]
tvw has joined #ruby
leks has joined #ruby
railzForDaiz has quit [Read error: Connection timed out]
frem_ has quit [Ping timeout: 260 seconds]
rghose1 has quit [Quit: Leaving.]
Squarepy has quit [Read error: Connection reset by peer]
rghose1 has joined #ruby
Squarepy has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
Nahra has quit [Remote host closed the connection]
timonv has joined #ruby
railzForDaiz has joined #ruby
Squarepy has joined #ruby
maximski has quit []
avril14th has quit [Read error: Connection reset by peer]
rghose1 has quit [Quit: Leaving.]
Nahra has joined #ruby
rghose1 has joined #ruby
shvelo has joined #ruby
niftylettuce_ has quit [Quit: Connection closed for inactivity]
phansch has quit [Quit: WeeChat 0.4.3]
LACP has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
Squarepy has joined #ruby
dawkirst has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
Squarepy has joined #ruby
whyy has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
marr has joined #ruby
rghose1 has quit [Quit: Leaving.]
Squarepy has joined #ruby
marr has quit [Client Quit]
rghose1 has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
Squarepy has quit [Read error: Connection reset by peer]
maximski has joined #ruby
dawkirst has quit [Ping timeout: 276 seconds]
<Macaveli>
I have 3 each loops in each other is it possible to break all ?
<Macaveli>
go out of all the loops
<toretore>
why?
<Macaveli>
toretore, because if an error occurs the rest must not be processed
marr has joined #ruby
<Hanmac>
in case of errors, use begin .... rescue ... end
lkba has joined #ruby
<Hanmac>
Macaveli: but show us your code then we might tell you what you think wrong
<ntzrmtthihu777>
found something that makes programming on windows not suck :P
stnly has joined #ruby
<workmad3>
ntzrmtthihu777: a reformat and a linux install? :)
<ntzrmtthihu777>
workmad3: heh, I alreay have a triple boot :P
andrius has quit [Remote host closed the connection]
<Hanmac>
ntzrmtthihu777: last days i was trying to add some features to wx itself ... but i did fuckup some code and when i start the app, the Xorg did crash ;P ... but only when i try to debug it with gdb ;P
<ntzrmtthihu777>
and yes, I'll agree thats a very good solution, if you intend to only target linux :P
<ntzrmtthihu777>
ouch.
<ntzrmtthihu777>
why can't everyone just agree to `#define SIZEOF_VOIDP sizeof(void*)` ?
<ntzrmtthihu777>
works on anything XD
vifino has joined #ruby
vifino has quit [Remote host closed the connection]
vifino has joined #ruby
<ntzrmtthihu777>
also, having some issues with ruby on windows; when win32.h gets included, I get alotta missing struct errors
<Hanmac>
ntzrmtthihu777: i manage to reduce it ... its a problem in clientdata manager that when you add new data the old one is deleted ... but there is currenty the problem that the data get somehow invalid, so deleting might not work
<Hanmac>
Macaveli: i am right that you currently try to parse xml/html with that? if yes why not use a gem for that?
dawkirst has joined #ruby
<Macaveli>
Hanmac, i'm validating my user input
<Macaveli>
It's a complex story
<Hanmac>
scream-case like "QUESTION_ID" for methods? thats only for constants ?
moritzs has joined #ruby
dawkirst has quit [Remote host closed the connection]
Shidash1 has joined #ruby
alem0lars has quit [Quit: Going AFK...]
Takle has joined #ruby
moritzs has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 265 seconds]
moritzs has joined #ruby
yubrew has joined #ruby
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 255 seconds]
Shidash has joined #ruby
frobrob has joined #ruby
dumdedum has joined #ruby
alem0lars has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
kaspergr_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
ponga has quit []
ndrei has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
why_away has quit [Ping timeout: 265 seconds]
railzForDaiz has joined #ruby
oo_ has joined #ruby
tkuchiki has joined #ruby
GriffinHeart has joined #ruby
maximski has quit []
shvelo has joined #ruby
<ntzrmtthihu777>
Macaveli: to elaborate, a bang method makes changes to an object in-place, instead of producing a copy with changes added.
<ntzrmtthihu777>
array.sort will create a copy of array that's sorted; array.sort! will modify array itself.
emptymag00 has joined #ruby
dawkirst has joined #ruby
phansch has joined #ruby
<canton7>
not always. a bang method should only exist if there is also a "non-bang" equivalent. In this case, the "bang" variant is the one that's more susprising, or with which more care should be taken
<ntzrmtthihu777>
canton7: yeah. just giving an example :P
<canton7>
the point is that bang methods don't always mutate, and mutation can happen in non-bang methods
GriffinHeart has quit [Ping timeout: 276 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
pontiki has joined #ruby
logius has joined #ruby
logius has left #ruby [#ruby]
dawkirst has quit [Remote host closed the connection]
_2_Sandra99 has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
DouweM has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
frem_ has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
GriffinHeart has joined #ruby
oorst has joined #ruby
why_away has joined #ruby
nectarys has joined #ruby
russt has joined #ruby
Parham has joined #ruby
frem_ has quit [Ping timeout: 260 seconds]
whyy has quit [Ping timeout: 276 seconds]
<Parham>
I'm new to Ruby and would like to play an OGG file. I've found the ruby-ogg package on Github, but it has a read_packet function that gives me a string representation of each packet in the OGG file. How can I play this packet?
bmurt has joined #ruby
GriffinHeart has quit [Ping timeout: 252 seconds]
sdrew has quit [Changing host]
sdrew has joined #ruby
<canton7>
you've given yourself a tricky first project :P
bazaretas has quit [Ping timeout: 252 seconds]
HashNuke_ has joined #ruby
mark_locklear has joined #ruby
benzrf|offline is now known as benzrf
HashNuke_ is now known as HashNuke
oorst has quit [Quit: oorst]
<Parham>
canton7: Oh really? Ouch. :D
klaut has joined #ruby
AlSquirrel has joined #ruby
<canton7>
audio/video is almost always a bit tricky, whatever the language
oorst has joined #ruby
<Parham>
canton7: What I'm going for is a (seemingly) easy thing. I want my application to alert me with a sound at the thirtieth minute of every hour to take a break! :-) So I can go with other formats if OGG is tricky?
jottr has joined #ruby
DaniG2k has quit [Quit: leaving]
<shevy>
the chances of many people knowing .ogg here is low
<Hanmac>
Parham: you can look at ruby-gnome2 package there might be somewhere the gst (Gstreamer) components, there should be a sample how to build a music player
AlSquirrel has quit [Read error: Connection reset by peer]
aspiers_ has joined #ruby
AlSquirrel has joined #ruby
AlSquire has quit [Ping timeout: 252 seconds]
<canton7>
Paradox, just spawn off something else to play the sound (mplayer, mpg123, etc)
danshultz has joined #ruby
kaspergr_ has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
kasperg__ has joined #ruby
<Parham>
Ah. Thanks everyone. I'll look around and if all that you've suggested fails, I'll just go with canton7's suggestion as the last resort.
<shevy>
I am confused
r_rios has quit [Read error: Connection reset by peer]
<shevy>
I am looking at ramaze.rb
<shevy>
it has:
<shevy>
module Ramaze
<shevy>
and then a bunch of requires
<shevy>
but isn't that the same as doing requires outside of a module anyway?
<shevy>
like:
<shevy>
require 'foo'; module Foo
<shevy>
is equal to:
<shevy>
module Foo; require 'foo'
sdrew has quit [Quit: *poof*]
sdrew has joined #ruby
robertodecurnex has joined #ruby
kaspergr_ has quit [Ping timeout: 255 seconds]
<vmoravec>
shevy: It is
akonny has quit [Quit: akonny]
mcroun has quit [Remote host closed the connection]
Rahul_Roy has joined #ruby
sambao21 has joined #ruby
yubrew has joined #ruby
r_rios has joined #ruby
<vmoravec>
shevy: but sometimes you want to customize the required features and call them at special points in code. However this doesnt seem like that.
bazaretas has joined #ruby
dvxam_ has joined #ruby
dblessing has joined #ruby
sk87 has joined #ruby
rdark_ has joined #ruby
AlSquirrel has quit [Ping timeout: 276 seconds]
rdark has quit [Ping timeout: 240 seconds]
hpoydar has joined #ruby
sk87 has quit [Client Quit]
yubrew has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
<Hanmac>
shevy & vmoravec for sample one of my stuff has require inside functions ... like when it should parse data, and then detect that the data is base64 & bz2 compressed it load the needed stuff from stdlib
endash has joined #ruby
mehlah has joined #ruby
shenk has quit [Quit: Leaving]
yfeldblum has joined #ruby
nszceta has quit []
leslie1 has quit [Quit: Leaving.]
Morkel has quit [Quit: Morkel]
yfeldblum has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
benzrf is now known as benzrf|offline
r00ster has quit [Quit: r00ster]
toastynerd has joined #ruby
anaeem1 has quit [Remote host closed the connection]
krz has joined #ruby
happytux has joined #ruby
<happytux>
Why is there a '!' after exit?: or exit!(1)
shvelo has quit [Quit: Leaving]
benzrf|offline is now known as benzrf
garndt has joined #ruby
sk87 has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
hpoydar has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
toastynerd has quit [Ping timeout: 252 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
oorst has quit [Quit: oorst]
subraminion has joined #ruby
qwyeth has joined #ruby
oorst has joined #ruby
<Hanmac>
happytux try to read the Docs: `ri exit!` => "Exits the process immediately. No exit handlers are run. "
bluOxigen has quit [Ping timeout: 260 seconds]
kevind has joined #ruby
oorst has quit [Client Quit]
vpretzel has joined #ruby
frobrob has quit [Ping timeout: 240 seconds]
sputnik1_ has joined #ruby
why_away has quit [Remote host closed the connection]
jespada has joined #ruby
whyy has joined #ruby
whyy has quit [Remote host closed the connection]
whyy has joined #ruby
lw has joined #ruby
sputnik1_ has quit [Client Quit]
Parham has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
qwyeth has quit [Quit: Leaving]
qwyeth has joined #ruby
sputnik1_ has joined #ruby
kasperg__ has quit [Remote host closed the connection]
toastynerd has joined #ruby
<happytux>
Hanmac: Why do they use an exclamation mark? Is it often used in Ruby? Some kind of modifier/practice?
arya_ has joined #ruby
<Hanmac>
happytux: because there is a exit method too that is slighty different from exit!
Ankhers has joined #ruby
noop has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby
hassan_ has joined #ruby
<Hanmac>
happytux: "Initiates the termination of the Ruby script by raising the SystemExit exception. This exception may be caught." ... "Just prior to termination, Ruby executes any at_exit functions (see
<Hanmac>
Kernel::at_exit) and runs any object finalizers (see ObjectSpace::define_finalizer)."
bazaretas has quit [Ping timeout: 240 seconds]
sputnik1_ has quit [Ping timeout: 240 seconds]
<eam>
happytux: the exclamation mark is just convention, it's somewhat inconsistently applied to methods that might be destructive
oorst has joined #ruby
crazymykl has joined #ruby
riton has joined #ruby
pontiki has quit [Quit: Lost terminal]
<eam>
sometimes (but not always) it means a method modifies its receiver
subraminion has quit [Quit: Computer has gone to sleep.]
<eam>
sometimes (but not always) it means the method does something you just generally should be concerned about
<workmad3>
happytux: which has lead to some interesting errors being asked about on IRC where someone has managed to copy-paste a utf8 non-breaking space into some code...
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
Nahra has quit [Remote host closed the connection]
<etqqkoiflwhb>
anyone, is there a convention on line length when documenting with RDoc?
oorst has quit [Quit: oorst]
yubrew has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
nnu has quit [Quit: Wqke me up before you go-go]
nomadic_ has quit [Remote host closed the connection]
mjsmith2 has joined #ruby
yubrew has quit [Ping timeout: 260 seconds]
anaeem1 has joined #ruby
jerius has joined #ruby
leks has quit [Quit: Konversation terminated!]
jhass|off is now known as jhass
<Mon_Ouie>
It doesn't matter to RDoc since it's going to reformat each paragraph. So no more so than there is for general Ruby code. I tend to stick to 80 in both cases.
ferr has quit [Quit: Leaving.]
fschuindt has joined #ruby
yfeldblum has joined #ruby
happytux has quit [Ping timeout: 255 seconds]
happytux_ has joined #ruby
mikesplain has joined #ruby
anaeem1 has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 260 seconds]
anaeem1_ has joined #ruby
Takle has quit [Remote host closed the connection]
alem0lars has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
jobewan has joined #ruby
freerobby has joined #ruby
rm__ has joined #ruby
jottr has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
hassan_ has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
rm_ has quit [Ping timeout: 252 seconds]
r00ster has joined #ruby
nfk has quit [Quit: yawn]
anaeem___ has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
thiagofm has joined #ruby
mary5030 has joined #ruby
sunya7a has joined #ruby
CodeBunny has joined #ruby
phansch has quit [Quit: WeeChat 0.4.3]
hpoydar has joined #ruby
heftig has quit [Quit: Quitting]
russt has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
maximski has quit []
<Macaveli>
I do this to read my active record https://gist.github.com/YOUConsulting/5a82eeb02a5e47f9bf70 the database "alias" value is "Example" and the search alias is "example" is it possible to search active record not looking at upper or lowercase?
AlSquire has joined #ruby
spastorino has joined #ruby
<Hanmac>
Macaveli: #RubyonRails
<Macaveli>
shit you are correct active record is rails
<Macaveli>
mybad
SCommette has quit [Quit: SCommette]
hassan_ has joined #ruby
hpoydar has quit [Ping timeout: 260 seconds]
JPascal has quit []
jds has quit [Quit: Connection closed for inactivity]
akonny has joined #ruby
timonv has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 240 seconds]
nectarys has quit [Quit: Ex-Chat]
timonv has joined #ruby
Zenigor has joined #ruby
vmoravec has quit [Quit: Leaving]
stantona has joined #ruby
<etqqkoiflwhb>
#Mon_Ouie: thanks
troulouliou_dev has quit [Remote host closed the connection]
cpruitt has joined #ruby
sandbags has quit []
caveat- has quit [Ping timeout: 252 seconds]
dik_dak has joined #ruby
mehlah has quit [Quit: Leaving...]
nomadic has joined #ruby
djcp has joined #ruby
akonny_ has joined #ruby
timonv has quit [Ping timeout: 276 seconds]
freezey has joined #ruby
tkuchiki has joined #ruby
Nahra has quit [Remote host closed the connection]
_justin has joined #ruby
akonny has quit [Ping timeout: 240 seconds]
akonny_ is now known as akonny
GriffinHeart has joined #ruby
bradhe has joined #ruby
bluOxigen has joined #ruby
stantona has quit [Remote host closed the connection]
stantona has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
freezey_ has joined #ruby
timonv has joined #ruby
banister has joined #ruby
Squarepy has quit [Quit: Leaving]
freezey has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
failshell has joined #ruby
caveat- has joined #ruby
Nahra has joined #ruby
ndrei has joined #ruby
GriffinHeart has quit [Ping timeout: 255 seconds]
zorak8 has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
vifino has quit [Ping timeout: 276 seconds]
stantona has quit [Ping timeout: 260 seconds]
tvw has quit []
_justin has quit [Quit: _justin]
nateberkopec has joined #ruby
ixti has joined #ruby
whyy has quit [Remote host closed the connection]
akonny has quit [Quit: akonny]
whyy has joined #ruby
akonny has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby
mehlah has quit [Client Quit]
Zai00 has quit [Quit: Zai00]
frem_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has quit [Remote host closed the connection]
<riton>
hey, no one could help me with my question of classes namespaces :-) ?
akonny has quit [Quit: akonny]
aef has quit [Remote host closed the connection]
SCommette has joined #ruby
hpoydar has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
anaeem1_ has joined #ruby
<hoelzro>
riton: you're requiring the subclass file before the superclass is defined
vpretzel is now known as vpretzel|1584
<jhass>
riton: you require response.rb before Dsmadmc is defined, thus you get that error, changing it to class Dsmadmc; class Response makes sure to define it before trying to access it, the second class Dsmadmc ind dsmadmc.rb then just reopens that already defined class
treehug88 has joined #ruby
RaCx has joined #ruby
SCommette has quit [Client Quit]
hpoydar has quit [Remote host closed the connection]
merceris_ has joined #ruby
anaeem___ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
sunya7a has joined #ruby
andrewjanssen has joined #ruby
lmickh has joined #ruby
<riton>
okay, gotcha. So my solution could be also to do something like this "class Dsmadmc ... require 'dsmadmc/response'" (to require the dsmadmc/response class within Dsmadmc class body ?
duggiefresh has joined #ruby
<riton>
is this the right way to do it ?
<jhass>
you wouldn't require it within it but after it's defined and it would save your issue
zorak has quit [Ping timeout: 240 seconds]
Zenigor has quit [Remote host closed the connection]
AlexRussia_Away is now known as AlexRussia
<jhass>
the two more common approaches are to define the namespace each time or to have a centry entry point that does nothing but the require's
<riton>
class Dsmadmc ; class Response ; end ; end
<jhass>
yes, class Dsmadmc; class Response, not class Dsmadmc; class Dsmadmc::Response
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jailbot has joined #ruby
<riton>
ok
aganov has quit [Quit: Leaving]
<riton>
thanks
cpruitt has quit [Quit: cpruitt]
endash has quit [Quit: endash]
bluOxigen has quit [Ping timeout: 245 seconds]
r00ster has quit [Quit: Peace]
cpruitt has joined #ruby
relix has joined #ruby
mupkoo has quit [Remote host closed the connection]
bufferloss has quit [Quit: bufferloss]
zorak has joined #ruby
SCommette has joined #ruby
enebo has joined #ruby
whyy has joined #ruby
Zenigor has joined #ruby
mercerist has joined #ruby
merceris_ has quit [Ping timeout: 252 seconds]
relix has quit [Ping timeout: 260 seconds]
Nahra has quit [Remote host closed the connection]
Zamerick has joined #ruby
mikepack has joined #ruby
geggam has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
amargherio has joined #ruby
Nahra has joined #ruby
bal has quit [Quit: bal]
sambao21 has quit [Quit: Computer has gone to sleep.]
<ntzrmtthihu777>
can one compile ruby from source without making the rdocs?
<Hanmac>
did you try --disable-install-rdoc ?
hassan_ has quit [Read error: Connection reset by peer]
<ntzrmtthihu777>
Hanmac: yeah, I figured something like that existed but I didn't know about it
mgomezch_ has joined #ruby
<happytux_>
So for using a TLS nodejs module, one has to compile it first with openssl?
sambao21 has joined #ruby
<happytux_>
anyone?
whyy has quit [Read error: Connection reset by peer]
whyy has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mgomezch has quit [Ping timeout: 252 seconds]
foooobear has quit [Quit: Computer has gone to sleep.]
why_away has joined #ruby
bufferloss has joined #ruby
Zamerick has quit [Quit: Leaving]
Zamerick has joined #ruby
nectarys has joined #ruby
Ankhers is now known as liminal
liminal is now known as Ankhers
whyy has quit [Ping timeout: 260 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
TorpedoSkyline has joined #ruby
r_rios has quit [Remote host closed the connection]
bradhe has joined #ruby
stantona has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
lethe has quit [Remote host closed the connection]
dangerousdave has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
haoke09051 has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has joined #ruby
phansch has joined #ruby
sinkensabe has quit [Ping timeout: 260 seconds]
dEPy has joined #ruby
hassan_ has joined #ruby
Fire-Dragon-DoL has quit [Client Quit]
lsmola_ has quit [Ping timeout: 276 seconds]
jerius has quit [Remote host closed the connection]
bluOxigen has joined #ruby
Azulinho has quit [Ping timeout: 265 seconds]
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
vali has quit [Ping timeout: 240 seconds]
<dvxam_>
exit
dvxam_ has quit [Quit: leaving]
fschuindt has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
relix has joined #ruby
sivoais has quit [Ping timeout: 252 seconds]
haoke09051 has left #ruby [#ruby]
Robbo` has joined #ruby
<Robbo`>
anyone here use the rugged gem?
why_away has quit [Remote host closed the connection]
<ntzrmtthihu777>
?anyone
<ntzrmtthihu777>
dang :P
jottr has quit [Ping timeout: 265 seconds]
LACP has quit [Ping timeout: 240 seconds]
whyy has joined #ruby
stnly has quit [Ping timeout: 252 seconds]
relix_ has joined #ruby
sivoais has joined #ruby
LACP has joined #ruby
stnly has joined #ruby
<havenwood>
Robbo`: yeah, folk use it
vali has joined #ruby
anarang has quit [Quit: Leaving]
DEA7TH has quit [Ping timeout: 240 seconds]
<Robbo`>
more looking for someone who can help with it lol
<Robbo`>
docs are very lacking and I am getting weird results
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has quit [Ping timeout: 252 seconds]
t4nk461 has joined #ruby
<t4nk461>
hello
<t4nk461>
is there someone who could help me with one exercise
whyy has quit [Ping timeout: 240 seconds]
<havenwood>
t4nk461: have a Gist showing what's going on?
varius has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
SJr has quit [Ping timeout: 240 seconds]
relix_ has quit [Ping timeout: 255 seconds]
harryk has quit [Ping timeout: 260 seconds]
newUser1234 has quit [Remote host closed the connection]
<t4nk461>
anyone?
<havenwood>
don't ask to ask, just ask
maximski has quit []
blueOxigen has joined #ruby
harryk has joined #ruby
hfp has quit [Quit: bye]
maximski has joined #ruby
hfp has joined #ruby
LekeFly has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
<t4nk461>
ive sent you a pm
varius has joined #ruby
hassan_ has quit [Quit: Leaving]
<dideler|work>
t4nk461: ask in public
<t4nk461>
so this is where i stuck
<t4nk461>
Add an if/else statement inside your .each. if the current word equals the word to be redacted, then print "REDACTED " with that extra space. Otherwise (else), print word + " ". The extra space in both cases prevents the words from running together.
<t4nk461>
and this is what i wrote so far
Nahra has quit [Remote host closed the connection]
bamdad has joined #ruby
<t4nk461>
puts "Enter word: " text = gets.chomp puts "Enter 2nd word: " redact = gets.chomp words = text.split(" ") words.each do |letter| print letter end
rippa has joined #ruby
kwerle has joined #ruby
Oku711 has joined #ruby
<havenwood>
t4nk461: i'd rename `letter` to `word`
aspiers_ has joined #ruby
<havenwood>
t4nk461: if word == redact; print "REDACTED "; else print "#{word} "; end
cocotton has quit [Quit: Leaving...]
<havenwood>
t4nk461: or using the ternary operator: print word == redact ? "REDACTED " : "#{word} "
apeiros has joined #ruby
<t4nk461>
ill try that now
aagdbl has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
mikepack has quit [Remote host closed the connection]
<jhass>
did you even try to solve it on your own?
<havenwood>
t4nk461: is Ruby your first language?
St_Marx has quit [Write error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
atmosx has quit [Write error: Connection reset by peer]
end_guy has quit [Write error: Broken pipe]
Ankhers has quit [Write error: Connection reset by peer]
Boohbah has quit [Write error: Connection reset by peer]
tacos1de has quit [Write error: Connection reset by peer]
Nahra has joined #ruby
<Oku711>
I'm teaching a ruby class; (using irb, making .rb files, puts/print/gets/string interpolation) today
<Oku711>
can't wait
jottr has joined #ruby
timonv has quit [Remote host closed the connection]
maestrojed has joined #ruby
<t4nk461>
yes its mine first language
<t4nk461>
and i tried to solve it my own
<t4nk461>
this is what i did
<t4nk461>
words.each do |word| if word != redact print word + " " else print "REDACTED " end end
<apeiros>
Oku711: replace irb with pry. much better ;-)
St_Marx has joined #ruby
atmosx has joined #ruby
andikr has quit [Remote host closed the connection]
<eam>
t4nk461: that's a good way to write it
havenwood has joined #ruby
Ankhers has joined #ruby
maestrojed has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 252 seconds]
<t4nk461>
it still doesnt works
<t4nk461>
i need to print each word from the users text console
<eam>
when you say it doesn't work, what does it do and how does that differ from what you expect?
<apeiros>
Oku711: other than that: have fun! :D
workmad3 has quit [Ping timeout: 276 seconds]
maestrojed has joined #ruby
The_NetZ_ has joined #ruby
<havenwood>
Oku711: +1 pry and pry-theme as well for pretty colors
Joulse has quit [Quit: Joulse]
<t4nk461>
it just prints the first word i entered and redact
maestrojed has quit [Max SendQ exceeded]
Oku711 has quit [Ping timeout: 240 seconds]
<t4nk461>
i need it to print both words
Sou|cutter has joined #ruby
Oku71 has joined #ruby
Boohbah has joined #ruby
<t4nk461>
thanks on your help guys
<t4nk461>
i fixed it now
<eam>
great :)
AlexRussia has quit [Read error: Connection reset by peer]
arya_ has quit [Quit: sayonara ^_^]
Lingo__ has joined #ruby
tacos1de has joined #ruby
maestrojed has joined #ruby
AlexRussia has joined #ruby
ntzrmtthihu777 has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
aspiers_ has quit [Ping timeout: 252 seconds]
RyanV has quit [Quit: Computer has gone to sleep.]
RyanV has joined #ruby
kiri has quit [Ping timeout: 252 seconds]
troyready has joined #ruby
maestrojed has quit [Max SendQ exceeded]
sputnik1_ has joined #ruby
Zamerick has quit [Quit: Leaving]
CodeBunny has quit [Ping timeout: 252 seconds]
benzrf is now known as benzrf|offline
maestrojed has joined #ruby
blueOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bamdad has quit [Quit: bamdad]
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
ti-wali has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
RyanV has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Read error: Connection reset by peer]
AlSquire has quit [Ping timeout: 245 seconds]
sputnik1_ has quit [Ping timeout: 252 seconds]
SJr has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
dawkirst has quit [Remote host closed the connection]
thiagofm has quit [Quit: Leaving.]
AlSquire has joined #ruby
AlSquirrel has joined #ruby
<railzForDaiz>
apeiros what happened to the #RubyOnRails channel cant seem to connect to it ?
<apeiros>
railzForDaiz: you need to be registered and authenticated with nickserv to join
jkline has joined #ruby
<railzForDaiz>
apeiros ohhh any way to do that or its exclusive ?
<The_NetZ_>
railzForDaiz: /msg nickserv help
<railzForDaiz>
thxa
nicksloan has joined #ruby
<The_NetZ_>
and more specifically /msg nickserv help register
<railzForDaiz>
;)
dumdedum has quit [Quit: foo]
mordocai has joined #ruby
wldcordeiro has quit [Remote host closed the connection]
kwerle has quit [Quit: kwerle]
bluOxigen has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
<riton>
I'm trying to test the "from_yaml_file" function and I don't want to test the YAML loading logic
<apeiros>
riton: uh, that's bad code.
<apeiros>
File.open(file, 'r') # <-- don't do that
<riton>
first day of ruby :-)
<apeiros>
at the very least use block-form
<apeiros>
better yet, just do: content = YAML.load_file(file)
Alina-malina has quit [Ping timeout: 255 seconds]
<apeiros>
riton: good, then you learn that one early! ;-)
<riton>
ok
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<apeiros>
riton: File.open(path) do |stream| …do something with stream… end # this form ensures the file is really closed, even in case of an error
jottr has quit [Ping timeout: 265 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<riton>
ok, same as "with open()..." in python :-)
<apeiros>
because `do … end` is a block, that's called "the block form"
<riton>
ok
timonv has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
SCommette has quit [Quit: SCommette]
endash has joined #ruby
<riton>
in the code I posted, I just want to mock the "_load_yaml" class method and leave other methods intact
zorak is now known as zorak8
jailbot has quit [Read error: Connection reset by peer]
zorak8 has quit [Quit: Saliendo]
the_f0ster has joined #ruby
zorak8 has joined #ruby
<riton>
I've read about double() and methods mocking but I can't figure out the "syntax" for mocking a class method
SCommette has joined #ruby
<apeiros>
I know how to stub a method, but I don't know rspec-mock
<apeiros>
so can't help you with that, sorry :-(
mikecmpbll has quit [Ping timeout: 276 seconds]
mijicd has joined #ruby
bradhe has joined #ruby
GriffinHeart has joined #ruby
rm__ has quit [Remote host closed the connection]
sambao21 has joined #ruby
<riton>
apeiros: how would you stub a method ?
rm_ has joined #ruby
<riton>
(I'm just starting, so not linked to any mock framework yet)
atmosx has quit [Remote host closed the connection]
<apeiros>
backup = Credentials.method(: _load_yaml); def Credentials._load_yaml(*); do_my_bidding!; end
atmosx has joined #ruby
sidik has joined #ruby
<apeiros>
when you want to reattach the original method: Credentials.define_singleton_method(:_load_yaml, backup)
lkba has quit [Ping timeout: 245 seconds]
terrellt has joined #ruby
<riton>
ohh quite easy :-)
jprovazn has quit [Quit: Odcházím]
<apeiros>
that's only stubbing, mind you, not mocking
vifino has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 0.4.3]
vifino has quit [Remote host closed the connection]
<shevy>
Hanmac yeah, you wrote about require in functions (you meant methods right?); but my example was as-is - require's right after a module definition, no functions/methods at all
GriffinHeart has quit [Ping timeout: 255 seconds]
vifino has joined #ruby
Hobogrammer has joined #ruby
haoke0905 has joined #ruby
Alina-malina has joined #ruby
vali has quit [Ping timeout: 240 seconds]
LACP has quit [Ping timeout: 240 seconds]
snath has joined #ruby
mikepack has joined #ruby
t4nk461 has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
mikepack has quit [Remote host closed the connection]
ItSANgo_ has quit [Read error: Connection reset by peer]
chth0n has quit [Ping timeout: 265 seconds]
ItSANgo_ has joined #ruby
terrellt has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
terrellt has joined #ruby
Hobogrammer has joined #ruby
combusean has joined #ruby
luksaur has joined #ruby
dawkirst has quit [Ping timeout: 255 seconds]
kaspergr_ has joined #ruby
rghose2 has quit [Ping timeout: 260 seconds]
terrell_t has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
qwyeth has joined #ruby
<wallerdev>
good morning rubees
blackmesa has quit [Ping timeout: 240 seconds]
Nahra has quit [Remote host closed the connection]
sputnik1_ has joined #ruby
tectonic has joined #ruby
Royalb15 has quit [Quit: Leaving]
kaspergrubbe has quit [Ping timeout: 240 seconds]
terrellt has quit [Ping timeout: 276 seconds]
hpoydar has joined #ruby
<Sigma00>
reubens?
<apeiros>
good evening, wallerdev
b1205 has joined #ruby
<wallerdev>
:)
<wallerdev>
rubros
qwyeth has quit [Ping timeout: 240 seconds]
<wallerdev>
lol
Nahra has joined #ruby
djbkd has joined #ruby
banister has joined #ruby
dontwork has joined #ruby
terrell_t is now known as terrellt
djbkd has quit [Remote host closed the connection]
banister has quit [Client Quit]
dEPy has quit [Quit: Computer has gone to sleep.]
Jetchisel has quit [Read error: Connection reset by peer]
<apeiros>
:-/
* apeiros
considers being called "bro" a pejorative
<Sigma00>
fucking brogrammers...
<wallerdev>
had to look that word up
fschuindt has joined #ruby
<wallerdev>
lol
<Sigma00>
CHUG CHUG CHUG CHUG
IceDragon has joined #ruby
<Sigma00>
the brogrammer powerhour: one beer and one commit every minute
<Sigma00>
er, one beer shot
RaCx has joined #ruby
* apeiros
goes back to his vodka
<wallerdev>
the ballmer peak is real
<apeiros>
yupp
<apeiros>
I'm far more productive with a bit of alcohol. less "should I really do this? maybe think about it again?"
<apeiros>
more "blargh, that's fine like this." *blam*. code written.
djbkd has joined #ruby
bamdad has joined #ruby
freannrak has joined #ruby
dontwork has quit [Remote host closed the connection]
arrubin has joined #ruby
<shevy>
lol
brunops has joined #ruby
<shevy>
unfortunately the main effect alcohol on me has is to make me tired, I assume that my body attempts to put more resources into eliminating toxic waste products than being more productive
AlSquirrel has joined #ruby
aspires has quit []
AlSquire has quit [Read error: Connection reset by peer]
dontwork has joined #ruby
alem0lars has joined #ruby
aspires has joined #ruby
<Sigma00>
sounds like you're drinking too much
<wallerdev>
or not enough
<wallerdev>
lol
tectonic has quit []
saarinen has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
<Sigma00>
true, a single beer will get me sleepy but multiples won't
hpoydar has quit [Remote host closed the connection]
akonny has joined #ruby
sunya7a has joined #ruby
sunya7a has quit [Changing host]
sunya7a has joined #ruby
xaxisx has quit [Quit: xaxisx]
<shevy>
a single 0.5L beer (or less) is just about possible
<shevy>
what kills me totally is vodka
Takle has quit [Remote host closed the connection]
<apeiros>
productivity boost begins at roughly 0.4L of vodka
<Sigma00>
eam: good idea, I'll install alcohol misters
tectonic has joined #ruby
<Sigma00>
at the office
<shevy>
alcohol ministers?
railzForDaiz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
arianit has joined #ruby
arianit has joined #ruby
arianit has quit [Changing host]
bradhe has joined #ruby
GriffinHeart has joined #ruby
<eam>
sell it as a disinfectant system for open office layouts
sunya7a has quit [Ping timeout: 255 seconds]
vali has joined #ruby
sunya7a has joined #ruby
sunya7a has quit [Changing host]
sunya7a has joined #ruby
<Sigma00>
Mister (noun): A device that makes or sprays mist
phansch has quit [Ping timeout: 245 seconds]
hpoydar has quit [Remote host closed the connection]
stnly has joined #ruby
<shevy>
Mister Beans!
himsin has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
joelteon has quit [Changing host]
joelteon has joined #ruby
LACP has joined #ruby
marr has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 252 seconds]
<Hanmac>
Sigma00: in german we have a slightly different meaning for "mist" *g
GriffinHeart has quit [Ping timeout: 276 seconds]
varius has joined #ruby
artgoeshere is now known as jgillman
dfinly has joined #ruby
Zenigor has quit [Read error: Connection reset by peer]
dfinly has quit [Max SendQ exceeded]
hpoydar has joined #ruby
akonny has quit [Quit: akonny]
Jetchisel has joined #ruby
Zenigor has joined #ruby
kilk_ has joined #ruby
<apeiros>
Hanmac: and mister :D
LACP has quit [Ping timeout: 240 seconds]
maximski has quit []
thiagofm has joined #ruby
vali has quit [Ping timeout: 240 seconds]
stnly has quit [Ping timeout: 240 seconds]
<csmrfx>
oops
<csmrfx>
just failed the beer run
<csmrfx>
beer sales stop on this minute
RaCx has quit [Quit: Computer has gone to sleep.]
<csmrfx>
(just to join on the topic at hand)
<csmrfx>
guess I will have to go to the bar
Ankhers has joined #ruby
<csmrfx>
B)
mercerist has quit [Quit: Computer has gone to sleep.]
theparkbench has joined #ruby
* apeiros
does not need to go very far for the bar
paulfm has joined #ruby
<apeiros>
about 20 steps
* apeiros
has one at home :D B) <3
Eyes has quit [Read error: Connection reset by peer]
<Sigma00>
do you have a tap?
Shidash has joined #ruby
Bira has quit []
<shevy>
csmrfx where do you live, africa?!
<csmrfx>
Helsinki
<shevy>
ok then you are excused
<csmrfx>
beer sales stop at 2100
vali has joined #ruby
<shevy>
you got Eläkeläiset to sing the pain away
<csmrfx>
"two thou one hunnid hours"
<apeiros>
Sigma00: I don't drink beer. and for wine and vodka, you don't use a tap :)
<csmrfx>
havent seen Eläkeläiset in ages
* Sigma00
fills apeiros's bar with well liquor
qwyeth has quit [Ping timeout: 240 seconds]
<shevy>
csmrfx huh that's harsh... I think here in vienna you can even up to 00:00 find some turkish small shops that would sell beverage (I think they also have beer, not 100% sure... will remember next time I visit one)
<csmrfx>
oh well I have a box of estonian vodka at the workstudio if all else fails ;)
<Sigma00>
alcohol sales never stop here
<shevy>
ewww
<shevy>
vodka again :(
<Sigma00>
I think there'd be a riot
<shevy>
how can you guys survive that
<csmrfx>
well you can dilute it
xaxisx has quit [Quit: xaxisx]
<shevy>
hehe
<shevy>
that reminds me of the spanish "wine"... sangria
phansch has joined #ruby
<apeiros>
easy. open your mouth. pour vodka in. repeat. go to bed. wake up. be alive.
<shevy>
it always tasted like water
<apeiros>
then you had a bad sangria
anaeem1 has quit [Ping timeout: 265 seconds]
<shevy>
hehe
theparkbench has quit [Ping timeout: 240 seconds]
<apeiros>
it's not really a wine. it's a wine based drink.
<csmrfx>
personally I think in summer time, 4-5 % is great
<shevy>
yeah
<shevy>
water with berries!
kilk_1 has joined #ruby
SCommette has quit [Quit: SCommette]
<shevy>
the best red wine I have ever had was from italy, it was red wine that tasted fruity
<apeiros>
csmrfx: volume%?
Eyes has joined #ruby
<csmrfx>
yes
<apeiros>
meh
yubrew has joined #ruby
anaeem1_ has joined #ruby
stnly has joined #ruby
<wallerdev>
theres so much wine in SF
bamdad has quit [Quit: bamdad]
testcore has joined #ruby
<apeiros>
anything below 10% barely affects me.
<wallerdev>
everyone drinks it :|
<wallerdev>
like an hour from napa and sonoma i think
xaxisx has joined #ruby
<csmrfx>
apeiros: in winter time, I think it is suitable at -18 C
<apeiros>
wine is great. 1-2 glasses of red wine used to make me very sleepy a few years ago :)
<csmrfx>
I like red wine a lot, too
<wallerdev>
i drink wine out of cups, dont have wine glasses lol
blackmesa has joined #ruby
<Sigma00>
if you want fruity wine, try mozcato
<Sigma00>
it's white though
bmurt_ has joined #ruby
<csmrfx>
Italians make some nice wines, but I choose them by the berry variety, couple of great ones are Shiraz and tempranillo
AlSquire has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
<csmrfx>
and, I seen plenty of italians and french drink wine from cups or "ordinary" glasses
shinobi_one has joined #ruby
<apeiros>
friend of mine is quite the Pinot afficionado
AlSquirrel has joined #ruby
sivoais has joined #ruby
<apeiros>
prefers the french ones over the italians, though
yetanotherdave has joined #ruby
combusean has quit [Remote host closed the connection]
<csmrfx>
cabernet makes my mouth so woolly
<csmrfx>
haha
<csmrfx>
especially the next morning!
aspires has quit []
<apeiros>
valais has some great white wines
bricker has quit [Ping timeout: 265 seconds]
gazarsgo has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 252 seconds]
bmurt has quit [Ping timeout: 252 seconds]
<apeiros>
I'm usually more of a red wine drinker. but I gladly make exceptions for white wines from valais. f.ex. Heida
<gazarsgo>
is there a way to enumerate all the other files one file depends on in a project ?
dontwork has joined #ruby
<apeiros>
gazarsgo: not really
<apeiros>
you could grep for require
phansch_ has joined #ruby
aspires has joined #ruby
<gazarsgo>
well this is within one of those fancy 'require everything in the bootstrap' kind of deals
treehug88 has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
<apeiros>
gazarsgo: you can snapshot $LOADED_FEATURES before and use Array#- after
<apeiros>
if running it is an option
<apeiros>
but that'll get you the whole graph
<apeiros>
(though, not as a graph, only as a flat list)
mjsmith2 has quit []
AlSquirrel has quit [Ping timeout: 240 seconds]
<gazarsgo>
cool, thanks for the pointer, i'll see if it works out
AlSquire has joined #ruby
bricker has joined #ruby
<apeiros>
(snapshot: .dup, if that shouldn't have been clear)
Nahra has quit [Remote host closed the connection]
phansch has quit [Ping timeout: 276 seconds]
axl_ has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
dontwork has quit [Ping timeout: 260 seconds]
workmad3 is now known as wm3|away
mikepack_ has joined #ruby
treehug88 has joined #ruby
sdrew has joined #ruby
Nahra has joined #ruby
Morkel has joined #ruby
qwyeth has joined #ruby
<eam>
one thing I do a lot in perl, and that I wish ruby could do, is insert lambdas into the loader path to trace or do dynamic things
<eam>
eg: perl -wle'BEGIN{ unshift @INC, sub {warn "@_"} }; use CPAN' # print a line as each module is require()'d
EagleDelta has joined #ruby
lkba has joined #ruby
<apeiros>
eam: you can monkey patch require
<hoelzro>
eam: you could always monkey patch require
<hoelzro>
dman
<eam>
in ruby, that'd be like $:.unshift lambda { |x| puts x}
<hoelzro>
*damn
<apeiros>
^5 hoelzro
<eam>
apeiros: hm interesting
<apeiros>
that's how rubygems started, btw.
relix has joined #ruby
<eam>
haha
kilk_1 has quit [Quit: kilk_1]
<apeiros>
just don't make the same mistakes as they did. e.g. make require a module_function in Kernel
Gil has quit [Remote host closed the connection]
<apeiros>
(that's the right thing - they didn't make it one and fucked things up that way)
Mon_Ouie has quit [Ping timeout: 240 seconds]
<eam>
I wish ruby modules relied on the regular old loader path and weren't different, honestly
<apeiros>
by "ruby modules" you mean gems?
gigetoo has quit [Remote host closed the connection]
<eam>
yeah I mean I wish gems weren't a thing
<eam>
all I want is a .rb in $:
<hoelzro>
eam: I (as a Perl programmer myself) feel the same
<apeiros>
I wish rubys loading mechanism a) used something like java's reverse-dns so we didn't have name-squatters
the_f0ster has quit [Ping timeout: 240 seconds]
<apeiros>
and b) that it was more powerful, allowing e.g. gzipped gems
hpoydar has quit [Remote host closed the connection]
<apeiros>
and c) yes, that rubygems was not necessary because it had proper loading and isolation primitives
<eam>
# When RubyGems is required, Kernel#require is replaced with our own which
<eam>
# is capable of loading gems on demand.
<eam>
oh man
alem0lars has quit [Quit: alem0lars]
dilated_dinosaur has joined #ruby
scepticulous has left #ruby ["Gone"]
gigetoo has joined #ruby
<apeiros>
actually I'd love it if it was split in two parts
<apeiros>
a primitive to load an absolute path
<apeiros>
and a proper package loading/importing mechanism
relix has quit [Ping timeout: 255 seconds]
havenwood has quit []
LACP has joined #ruby
<apeiros>
(and don't say eval(File.read(path)) for the former - that won't work for native extensions)
ferr has joined #ruby
<hoelzro>
sounds like Lua's require() mechanism
einarj has joined #ruby
djbkd has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 240 seconds]
<hoelzro>
Lua's is nice, because you can add arbitrary loaders to an array like you can with Perl's @INC
<apeiros>
ok, fuck this. switching between sc2 livestream and coding sucks.
* apeiros
off to the living room, long live airplay'ed sc2 streams on the tv! :D
einarj has quit [Client Quit]
Squarepy has joined #ruby
bufferloss has quit [Quit: bufferloss]
krz has quit [Quit: WeeChat 0.4.3]
freerobby has quit [Quit: Leaving.]
phutchin1 has joined #ruby
Takle has joined #ruby
mikepack_ has quit [Remote host closed the connection]
vpretzel|1584 is now known as vpretzel|myeyes
hpoydar has joined #ruby
giorni has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
<gazarsgo>
what sc2 event is going down ...
DEA7TH has joined #ruby
nectarys has quit [Quit: Ex-Chat]
LACP has quit [Ping timeout: 240 seconds]
<apeiros>
something something homecup
<apeiros>
wcs.battle.net
ddv has quit [Changing host]
ddv has joined #ruby
phutchins has quit [Ping timeout: 260 seconds]
rawGem has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
stnly has quit [Ping timeout: 240 seconds]
thesheff17_ has joined #ruby
vali has quit [Ping timeout: 240 seconds]
reset has joined #ruby
<gazarsgo>
ooooh just in time for scarlett v taeja
sivoais has quit [Ping timeout: 260 seconds]
<RubyPanther>
Yeah, why don't we have something like CPAN? Because our package management wouldn't survive it. We can't have things that nice.
<apeiros>
you missed scarlett killing another korean
thesheff17 has quit [Ping timeout: 245 seconds]
Atttwww has joined #ruby
<apeiros>
RubyPanther: actually I *far* prefer rubygems over what CPAN was when I left perl. but granted, that was ~12y ago. I'd sure hope it improved.
<RubyPanther>
apeiros: I haven't used Perl since `04, and we're not _nearly_ there yet
<Sou|cutter>
I wish ruby was more supportive of nesting modules
<apeiros>
RubyPanther: disagree. CPAN was a load of annoyance back then.
maximski has joined #ruby
<apeiros>
Sou|cutter: ? you can nest modules just fine?
<Sou|cutter>
you shouldn't have to create a small pyramid to go 3 modules deep
<RubyPanther>
Sou|cutter: Yes. Yes you should.
carraroj has joined #ruby
sski has joined #ruby
alem0lars has joined #ruby
<RubyPanther>
If such a small thing seems a burden, your case against it is guaranteed to be weak.
vali has joined #ruby
sdwrage has joined #ruby
<hoelzro>
I like CPAN, and I haven't used Rubygems enough to be able to make an educated comparison
<Sou|cutter>
RubyPanther: that doesn't follow
<RubyPanther>
Sou|cutter: Yes. Yes it does. You didn't follow, don't blame me.
<Sou|cutter>
RubyPanther: it's just boilerplate is my complaint
<hoelzro>
I like the infrastructure built up around it (CPAN testers, mirroring), and I like the inline docs
andrewjanssen has quit [Quit: Leaving...]
<Sou|cutter>
and extra whitespace if you're indenting
<RubyPanther>
hoelzro: The general consensus is that CPAN is the pinnacle of package sharing
<Sou|cutter>
small things can make a big difference
treehug8_ has joined #ruby
<apeiros>
Sou|cutter: well, once it is defined, you can do class Foo::Bar::Baz.
<hoelzro>
the pinnacle? I don't know if I'd go that for =)
andrewjanssen has joined #ruby
treehug8_ has quit [Max SendQ exceeded]
mityaz has joined #ruby
<apeiros>
hoelzro: yes. rubygems is lacking a lot in that regard.
<RubyPanther>
Sou|cutter: Right, but the small thing is a small thing that is getting in the way of making awful code. You still can, that is the Ruby way; only to make the main path clearly marked, not to put up a fence.
tectonic has quit []
<apeiros>
the perl documentation I remember was fairly superior to what I generally experience in ruby land
<RubyPanther>
hoelzro: Well, what package sharing system is better?
treehug8_ has joined #ruby
<Sou|cutter>
apeiros: Yeah, but unless you have explicit dependencies where it gets declared then what are you going to do... declare a tiny pyramid at the top to get rid of the nesting when you define Foo::Bar::Baz ?
giorni has quit [Quit: Leaving...]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<apeiros>
Sou|cutter: I don't consider the pyramid an issue.
<RubyPanther>
And I'm not crediting CPAN for the documentation, POD is great because it is POD
stnly has joined #ruby
<apeiros>
I understand why you do. but due to class being valid for nesting, I don't see a sensible way to get rid of it.
bradhe has joined #ruby
<hoelzro>
RubyPanther: see, I don't know
<RubyPanther>
Sou|cutter: You don't need to type the whitespace in a modern editor
<Sou|cutter>
apeiros: it just promotes flat code organization structures
<hoelzro>
so good point =)
<hoelzro>
and POD is great
<apeiros>
Sou|cutter: uh, no.
<hoelzro>
I do think that Perl has pretty good docs
<Sou|cutter>
apeiros: no?
sski has quit [Ping timeout: 255 seconds]
<hoelzro>
and the community has a dedication to good docs as well
<apeiros>
Sou|cutter: lazy coders always write bad code. this tiny bit of boilerplate isn't a game changer in that.
treehug88 has quit [Ping timeout: 260 seconds]
arianit has quit [Quit: Ex-Chat]
varius has quit [Ping timeout: 255 seconds]
<RubyPanther>
Sou|cutter: It encourages flat organization where the reason for nesting is so incredibly tiny that it is eclipsed by the burden of automatically indenting code. That was my original point, too.
<Sou|cutter>
apeiros: everybody is lazy, even good coders
<eam>
I'm really sad about namespace componenents being either Class or Module and needing to care -- I think that's a bad design
<apeiros>
Sou|cutter: there's laziness and laziness.
<apeiros>
if you're a good coder, you won't be stopped by a more 2 additional "module" keywords
<apeiros>
*mere
shiggity_ has joined #ruby
<eam>
apeiros: to be fair, majority of coders in any platform aren't good
<apeiros>
eam: sad truth :(
andrewjanssen has quit [Ping timeout: 252 seconds]
<apeiros>
but again, that's unrelated to this issue :)
<RubyPanther>
If I was lazier, I'd just get a second keyboard and map it to macros for language keywords. But I actually don't find my slow typing to be a code bottleneck.
<Sou|cutter>
RubyPanther: I have a Report::Type::Generator::Immediate / Deferred structure in my code, and I wish it was flatter
<eam>
there does seem to be something about ruby's design that discourages hierarchy
<apeiros>
they'll still be bad even if that boilerplate was unnecessary
<Sou|cutter>
eam: whew I thought I was all alone with that opinion in here
<apeiros>
eam: hm, I haven't experienced that with regards to namespaces. I experienced it with regards to inheritance. and there I think it's a good thing.
<eam>
apeiros: inheritance is another angle, agreed
<apeiros>
anything using flat namespaces I came across was horrible code in so many other regards anyways…
<RubyPanther>
Sou|cutter: If code generators are you example, that is not a very good one because most code is not a generator, and you're normally going to have have at least 2 or 3 "extra" levels compared to the code that is being generated
<eam>
I do konw that I avoid any namespace past two levels deep simply because I have an absurd amount of whitespace to the left
<apeiros>
damit! you made me miss how scarlett won!
<apeiros>
oh, let me guess - you're an 80-columnist? :-p
<eam>
and I wish I could say class Foo::Bar::Baz without concern that Bar might be a Module
bradhe has quit [Ping timeout: 255 seconds]
<eam>
apeiros: I'm not, in fact
<apeiros>
oh
<apeiros>
damn
<apeiros>
bias miss
<Sou|cutter>
I'm not either fwiw
<apeiros>
DAMN!
<apeiros>
stop destroying my illusions!
<Sou|cutter>
they are a dying breed :)
<apeiros>
thank god
<eam>
I even use two spaces when I'm in ruby, even though I prefer 4 or 8 in most other languages
cpruitt has quit [Quit: cpruitt]
<RubyPanther>
killed by line wrap
xtsee has quit []
<apeiros>
(note: I do think it's generally a good idea to keep your lines short - just not dogmatically)
<RubyPanther>
eam: Not sure why you say "even" when it is defined as correct here ;)
<terrellt>
Four spaces?!
<terrellt>
Madness.
sivoais has joined #ruby
<apeiros>
eam: I love 16 spaces. my ruby code looks intimidating that way.
Leif has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther>
Allowing spacing to be based on opinion is a misfeature shared by many languages
<eam>
but in perl for example I've had projects with a Foo::Bar::Baz::SubBaz::Thing and in ruby that's *starting* all my code with a 10 space indent
<eam>
and a good 5 lines at the top and bottom of every class
<terrellt>
What do you mean?
<eam>
class Foo; module Bar; ....
<apeiros>
I do think nesting modules too deeply is a smell of its own
gnarld has joined #ruby
<terrellt>
Er, can't you just do module Foo::Bar::Baz::SubBaz; module Thing; end; end;?
<RubyPanther>
eam: You probably shouldn't be using Foo::Bar::Baz::SubBaz::Thing from Bing, if you grouped your stuff better you'd only need the last couple
<apeiros>
eam: although I don't employ that style myself - why don't you go into the namespace in a single line?
<eam>
it is in ruby, which is why everything ends up flat -- but it's not in many other systems
<apeiros>
module Foo module Bar module Baz; …code with 1 indent…; end end end # valid
<eam>
terrellt: no, because each element is alternately a Module or Class
<RubyPanther>
if you use it right, everything appears close to flat locally, even when it is deeply nested
<eam>
apeiros: yeah I can do that, it's still ugly
LACP has joined #ruby
<eam>
I want to just say class Foo::Bar::Baz::SubBaz::Thing
<RubyPanther>
I mean, what is the "reason" to have the part of a package that is used from other packages deeply nested?
<apeiros>
eam: then use proper requires and class A::B::C
<RubyPanther>
Did you just run out of top and second level names?
<apeiros>
that should solve the problem of A, A::B being class/module
<eam>
RubyPanther: it makes sense for large systems with lots of inter-related objects
<Sou|cutter>
I will have rotten vegetables thrown at me for this one, but an example of a language that makes nesting much more natural is... java
<RubyPanther>
eam: No, I would say it makes LESS sense there, where it will bite harder
quadrant-fire1 has joined #ruby
<RubyPanther>
large systems have to tackle that at the design stage
<apeiros>
Sou|cutter: while I dislike java on a global level - it does have good ideas in it.
<eam>
here's a real world example, A package management system which has object types wrapping packages and components
Nahra has quit [Remote host closed the connection]
freerobby has joined #ruby
<Sou|cutter>
apeiros: I don't like the language, but yeah
OffTheRails has joined #ruby
<RubyPanther>
"object types wrapping packages and components" Translate to Ruby, please
<apeiros>
Sou|cutter: as I said above - e.g. the reverse dns package name thing - good idea IMO
Zamerick has joined #ruby
freerobby has quit [Client Quit]
<apeiros>
I'll stop now or I'll miss another victory by scarlett.
* Sou|cutter
nods
mercerist has joined #ruby
<quadrant-fire1>
i know this is a ruby channel but i would like to ask a quick java question. i have a application(andriod) that verify the sites certificate(ssl) that it connects to. im looking at the code and see "import javaxnet ssl trust manager" and X509" is this the library that java uses to verify a sites authenticity?
redondo has joined #ruby
aspires has quit []
cpruitt has joined #ruby
<apeiros>
lol?
aspires has joined #ruby
<apeiros>
quadrant-fire1: and you don't ask it in the java channel because…?
<quadrant-fire1>
i needs a registered account
<apeiros>
OMIGOSH!
<apeiros>
stop being a lazy slob and register your nick already.
<quadrant-fire1>
my account isnt register cant be bothered... i dont use irc much..:-D
<apeiros>
yeah, well, I for one don't care. but well…
<eam>
quadrant-fire1: you can do it just by /msg nickserv, it takes less time than to type in #ruby
jiggliemon has joined #ruby
<jiggliemon>
Is there a rails IRC?
<quadrant-fire1>
ok ill register. thanks
Gil has joined #ruby
<apeiros>
jiggliemon: #ror, #rails, #rubyonrails (all the same)
<jiggliemon>
#rails isn't working. Trying others.
<jiggliemon>
THanks'
Nahra has joined #ruby
<apeiros>
jiggliemon: you must be registered
quadrant-fire1 has left #ruby [#ruby]
<jiggliemon>
With the room?
<apeiros>
no, with nickserv
_KaszpiR_ has joined #ruby
<apeiros>
/msg nickserv help register
<_KaszpiR_>
hi
<sdrew>
all glory to nickserv
* apeiros
thinks we should put a guide to #ror into the topic
Squarepy_ has joined #ruby
cpruitt has quit [Client Quit]
davispuh has joined #ruby
davispuh has quit [Remote host closed the connection]
<shevy>
hehe
<jiggliemon>
Hmmmm I am registered.
<shevy>
epic answers
<jiggliemon>
Using this new client though
<shevy>
"You must be registered."
<shevy>
"With the room?"
<shevy>
:D
andrewjanssen has joined #ruby
<shevy>
with me! register with me!
<shevy>
MARRY ME!!!
<shevy>
if you already have registered, you must identify upon connection
Kricir has quit [Remote host closed the connection]
Oku71 has left #ruby [#ruby]
<shevy>
like /msg nickserv identify YOUR_PASSWORD_HERE, then you can join those weird channels that force people to be identified
dangerousdave has quit [Read error: Connection reset by peer]
jiggliemon has joined #ruby
Squarepy has quit [Read error: No route to host]
dangerousdave has joined #ruby
<shevy>
wow
davispuh has joined #ruby
<shevy>
RubyPanther and eam were discussing, and I missed it
Gil has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
<apeiros>
lol
mark_locklear has joined #ruby
jiggliemon has quit [Client Quit]
jiggliemon has joined #ruby
<shevy>
I don't quite like deep indents
<shevy>
when I indent like 3 layers (3 * 2 spaces), it feels as if I don't have much space before I hit the 80 chars boundary
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
b00stfr3ak has joined #ruby
<shevy>
eam I agree btw, I dislike that there is module and class distinction for namespace; my favourite answer is still apeiros' one, when I asked him why he was using class as namespace, he said because he got #new basically
etqqkoiflwhb has joined #ruby
<RubyPanther>
I don't care how deeply indented it is, I just think you should have real reasons for however deep you go, and how you divide things up
<shevy>
well ok but consider
<shevy>
module Foo
<shevy>
module Bar
<shevy>
module Ble
<shevy>
def yippie
maletor has quit [Quit: Computer has gone to sleep.]
<shevy>
that's quite a lot of indent
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy>
let me give you the 80 chars mark
davispuh has quit [Remote host closed the connection]
<csmrfx>
although on debian thats "desktop" not "directshow"
stnly_ has joined #ruby
AlexRussia has joined #ruby
LACP has joined #ruby
djbkd has quit [Remote host closed the connection]
<shevy>
I want a hug
stnly has quit [Write error: Broken pipe]
Takle has quit [Remote host closed the connection]
endash has quit [Quit: endash]
mercerist has quit [Quit: Computer has gone to sleep.]
tectonic has joined #ruby
akonny has joined #ruby
parkbench has quit [Quit: parkbench]
sdwrage has quit [Ping timeout: 260 seconds]
vpretzel_ has quit [Ping timeout: 240 seconds]
horsecowdog has joined #ruby
timonv has quit [Remote host closed the connection]
mark_locklear has quit [Quit: Leaving]
hpoydar has quit [Remote host closed the connection]
tacos1de has quit [Ping timeout: 272 seconds]
maestrojed has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
<happytux_>
ah, all this CI server and shell crap, all those damn locks and errors you can't find in google
* happytux_
hates it
Takle_ has joined #ruby
robertodecurnex has quit [Write error: Broken pipe]
stnly_ has quit [Ping timeout: 265 seconds]
Takle_ has quit [Remote host closed the connection]
robertodecurnex has joined #ruby
tacos1de has joined #ruby
stnly has joined #ruby
prc has joined #ruby
<shevy>
happytux_ shell?
<shevy>
come to ruby man
<prc>
Anyone can tell me what's wrong with this piece of code: http://pastebin.com/raw.php?i=xQQrsLYn ? It works when an_elem is 0 or when an_elem > 4, otherwise I get this: test.rb:2:in `block in count_greater_than': undefined method `+' for nil:NilClass (NoMethodError)
havenwood has quit []
<shevy>
prc you have a nil slipped there
sdwrage has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
<happytux_>
shevy: The Jenkins rbenv plugin is really a pain
sambao21 has quit [Quit: Computer has gone to sleep.]
<happytux_>
shevy: it uses shell to provide a ruby environment
Rylee_ has quit [Excess Flood]
camt has quit [Remote host closed the connection]
parduse has quit [Ping timeout: 454 seconds]
faulkner has quit [Ping timeout: 454 seconds]
WillAmes has quit [Ping timeout: 454 seconds]
thoolihan has quit [Ping timeout: 454 seconds]
psmolen has quit [Ping timeout: 454 seconds]
Scient has quit [Ping timeout: 454 seconds]
shtirlic has quit [Ping timeout: 454 seconds]
dnyy has quit [Ping timeout: 454 seconds]
parduse has joined #ruby
shtirlic has joined #ruby
Rylee_ has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
hpoydar has joined #ruby
jottr has joined #ruby
Kricir has quit [Remote host closed the connection]
Scient has joined #ruby
thoolihan has joined #ruby
dnyy has joined #ruby
psmolen has joined #ruby
faulkner has joined #ruby
<shevy>
this is what your classes are prc: Fixnum Fixnum NilClass Fixnum NilClass Fixnum
RyanV has quit [Quit: Computer has gone to sleep.]
hpoydar has quit [Remote host closed the connection]
IceDragon has joined #ruby
Kricir has joined #ruby
dontwork has quit [Remote host closed the connection]
<prc>
shevy: if I remove the if condition it works just fine in my case as well.
terrellt has joined #ruby
wallerdev has joined #ruby
Hanmac1 has joined #ruby
<shevy>
I guess inject wants something to count with
<shevy>
perhaps return 0 otherwise?
<wallerdev>
i wonder what itd be like if someone never learned to write but learned to type on a keyboard, and then was asked to write on paper, i feel like theyd approach writing much differently, like they would try to match the shape of the letters on the keys
<wallerdev>
thoughts?
<shevy>
wallerdev hard to say
<shevy>
wallerdev what I do know is that not practicing writing, but only typing a lot, will negatively affect writing
Takle has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
<wallerdev>
makes sense
<wallerdev>
i hardly ever write anything
<wallerdev>
i dont even sign my name anymore
<wallerdev>
just squiggle my pen lol
<shevy>
a computer is much more forgiving than pen and paper
<shevy>
lol
<shevy>
wallerdev my handwriting is getting worse and worse as the years pass by :(
<prc>
shevy: It's not working when it should return a value that is different than the array.length value (meaning when the an_elem is 0). So, as I wrote, it works when an_elem is 0, and when an_elem > the size of the array.
toastynerd has quit [Remote host closed the connection]
<wallerdev>
you can practice it
<wallerdev>
i suggest learning a style that you like to write in
<wallerdev>
that way its more fun
<wallerdev>
instead of something you do to get words on paper
<shevy>
but typing is so much easier
<shevy>
and faster
havenwood has joined #ruby
<shevy>
and I can generate pretty .pdf
Shidash has joined #ruby
<wallerdev>
i agree
<shevy>
I do however think that handwriting can be a real art
<shevy>
like those books written by old monks... that's amazing
Zenigor has quit [Remote host closed the connection]
<bufferloss>
eam: lets you set flags and such, dunno how much control that gives you, but I’ve used it before to deal with non-standard libs back when OSX and bundler didn’t play very nice together
<happytux_>
Hi
<happytux_>
It is me, the Rake fanboy :)
<eam>
bufferloss: aha, thanks
sambao21 has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Remote host closed the connection]
<happytux_>
So I use the system(...) method in Rake to invoke a command. That command is the nave tool which does some shell tricks. However, they are apparently ignored.
Hanmac1 has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
djbkd has joined #ruby
vali has quit [Ping timeout: 240 seconds]
kickandrew has joined #ruby
toastynerd has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
maximski has joined #ruby
hpoydar has joined #ruby
vali has joined #ruby
hpoydar has quit [Remote host closed the connection]
sambao21 has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
hpoydar has joined #ruby
djbkd has quit [Remote host closed the connection]
xeno has joined #ruby
toastynerd has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 245 seconds]
robertodecurnex has quit [Remote host closed the connection]
hpoydar has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
sailias has quit [Ping timeout: 252 seconds]
hpoydar has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<RubyPanther>
everybody steals the facets code to avoid facets dependencies, because they're prejudiced against the author
riotjones has joined #ruby
<codezomb>
to get those to auto "require" I have to add the require: true to each one.
baroquebobcat has quit [Quit: baroquebobcat]
<shevy>
Sigma00 that would add a dependency on bundler?
<codezomb>
I started wondering why my-core was being required automatically, but not my-core-driver
<shevy>
so you do use a Gemfile already
troyready has quit [Ping timeout: 260 seconds]
<codezomb>
yep
Takle has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Sigma00>
shevy: I assumed you were using bundler already
ylluminate has joined #ruby
arrubin has quit []
oorst has quit [Quit: oorst]
<codezomb>
I think I'm just overthinking my situation.
kilk_1 has quit [Quit: kilk_1]
freezey has quit []
<RubyPanther>
codezomb: You leave a lot out, like the code, and how you know it isn't loaded, how you're activating bundler, etc
<shevy>
Sigma00 nope; and at works it's not really possible, they are perl guys, the more dependencies I require the worse it all gets
<shevy>
*at work
OrionKissinger has quit [Remote host closed the connection]
<shevy>
they wanted me to use perl instead :(
OrionKissinger has joined #ruby
OrionKissinger has quit [Remote host closed the connection]
<RubyPanther>
shevy: Can't you just use an in-project gem dir and at least not need to repackage?
Tricon has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 245 seconds]
<shevy>
RubyPanther an in-project gem dir?
shenk has joined #ruby
arrubin has joined #ruby
<codezomb>
RubyPanther: Yeah, I would have to create a full example outside of my existing project due to contract restrictions. I'll come up with an experimental project later, and revisit. :/
<codezomb>
I thought I could get away with a simple description of the issue, I should have known better.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
jezen has quit []
oorst has quit [Quit: oorst]
dontwork has joined #ruby
<happytux_>
shevy: can I inject variables into backticks?
shiggity__ has joined #ruby
<happytux_>
shevy: and is there a way to preserve the comma separation thing like in system()?
mrsolo has joined #ruby
amargherio has joined #ruby
adantj has joined #ruby
mrsolo has quit [Client Quit]
wallerdev has joined #ruby
charliesome has joined #ruby
gruz0[russia] has joined #ruby
<shevy>
happytux_ yes you can use variables. didn't I tell you before how I use it? I build up the command string, then send it into that method: cmd = 'ffmpeg'; cmd << ' foo.avi'; result = `#{cmd}`
<shevy>
as written above hours ago, I do not know much about the comma separation; all I know is that I never needed it so far
agjacome_ has quit [Quit: leaving]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gruz0[russia] has quit [Client Quit]
i_s has quit [Remote host closed the connection]
dontwork has quit [Ping timeout: 245 seconds]
predator117 has joined #ruby
thiagofm has quit [Quit: Leaving.]
mary5030 has joined #ruby
ph88 has quit [Quit: Page closed]
adantj has quit [Ping timeout: 252 seconds]
Devanon has joined #ruby
mrsolo has joined #ruby
sunya7a has joined #ruby
oorst has joined #ruby
<ra4king>
shevy: wat?
frobrob has joined #ruby
<ra4king>
I think the problem is that the shiv by rbenv isn't working
<ra4king>
typing "ruby" or "gem" gives me rbenv saying it's not found but available in 2.1.2
<ra4king>
and 2.1.2 exists in my versions folder
mrsolo has quit [Client Quit]
oo_ has joined #ruby
aspires has quit []
<ra4king>
doing ".rbenv/versions/2.1.2/bin/gem install rails" works fine
<ra4king>
gem install rails <- gem isn't found
<ra4king>
what gives?
apeiros has quit [Remote host closed the connection]
<shevy>
for me?
<shevy>
for me it would install rails
<shevy>
and rails would then work
<shevy>
but I don't use rbenv
apeiros has joined #ruby
aspires has joined #ruby
oorst has quit [Client Quit]
sepp2k1 has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
gruz0[russia] has joined #ruby
atmosx_ has joined #ruby
<Wolland>
ra4king did you restart your terminal after you setup rbenv?
sepp2k has quit [Ping timeout: 240 seconds]
<ra4king>
yes
gruz0[russia] has quit [Client Quit]
kevind has quit [Quit: kevind]
<ra4king>
this is a remote server I'm accessing using ssh
<Wolland>
for some reason it didn't add its path to your PATH env so your OS can't find those binaries