mlpinit has quit [Remote host closed the connection]
jsatk has quit [Remote host closed the connection]
LaPetiteFromage has joined #ruby
sevenseacat has joined #ruby
senayar has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
sambao21 has quit [Quit: Computer has gone to sleep.]
agent_white has joined #ruby
r4nd0m1 has quit []
<DanielRb>
hello
senayar has quit [Ping timeout: 246 seconds]
<agent_white>
Evenin
tylersmith has quit [Remote host closed the connection]
<DanielRb>
but it's 11:09am here
tylersmith has joined #ruby
<sevenseacat>
timezones how do they work!
t0rc has quit [Quit: WeeChat 0.4.1]
<DanielRb>
yes!
chrisja has quit [Quit: leaving]
nanoxd has joined #ruby
tkuchiki has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
pweems has quit [Ping timeout: 256 seconds]
jonahR has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
Vivekananda has quit [Ping timeout: 264 seconds]
dtcrshr has joined #ruby
lukec has joined #ruby
alpha123 is now known as alpha123-away
nanoxd has quit [Read error: Connection reset by peer]
endash has quit [Quit: endash]
jonahR has quit [Read error: Connection reset by peer]
tonni has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
druonysus has quit [Ping timeout: 245 seconds]
Wildhoney has quit [Quit: Wildhoney]
vlad_starkov has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
nomenkun has joined #ruby
|PiP| has quit [Quit: |PiP|]
dhruvasagar has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
BSaboia has joined #ruby
duggiefresh has quit [Quit: duggiefresh]
_Bravado_ has quit [Quit: _Bravado_]
dodosan has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
rcosta has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 260 seconds]
hamakn has quit [Ping timeout: 241 seconds]
ewnd9 has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
echevemaster has quit [Quit: Leaving]
echevemaster has joined #ruby
Orxata_ has quit [Quit: Me'n vaig]
pipework has joined #ruby
duggiefresh_ has joined #ruby
freeayu has joined #ruby
alpha123-away is now known as alpha123
LaPetiteFromage has joined #ruby
yfeldblum has joined #ruby
eka has joined #ruby
hamakn has joined #ruby
pvizcay has quit [Quit: leaving]
sparq_ has quit [Ping timeout: 268 seconds]
Senjai has joined #ruby
Senjai has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
jonahR has quit [Quit: jonahR]
brianpWins has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 260 seconds]
duggiefresh_ has quit [Quit: duggiefresh_]
Domon has joined #ruby
amacgregor_ has joined #ruby
freeayu has quit [Ping timeout: 276 seconds]
freeayu has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
wmoxam has joined #ruby
I-saac has quit [Ping timeout: 260 seconds]
nomenkun has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
guns has joined #ruby
druonysus has joined #ruby
freeayu has joined #ruby
scarolan_ has joined #ruby
duggiefresh has joined #ruby
scarolan has quit [Read error: Operation timed out]
badabim has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
Morrolan has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 240 seconds]
stack has quit [Ping timeout: 245 seconds]
badabim_ has joined #ruby
BSaboia has joined #ruby
badabim has quit [Ping timeout: 245 seconds]
badabim_ has quit [Read error: Connection reset by peer]
<Aenigma>
what is a safe way to determine if a tcpsocket is closed remotely? closed? and eof? don't seem to cut it since i check those and i still get an error if remote force closed
<xybre>
lessless: you need an explicit return in the ensure if you want that value returned.
browndawg has quit [Read error: Connection timed out]
<xybre>
The ensure block runs like a callback and doesn't contribute to the return value unless you explicitly tell it to.
Demo_of_doom has quit [Remote host closed the connection]
mansi has joined #ruby
ryandeussing has joined #ruby
pranny has quit [Ping timeout: 256 seconds]
epitron has quit [Quit: leaving]
<lessless>
nope, I just want to escape an doc['_rev'] assignment if CouchRest.get fails with 404
Xeago has joined #ruby
<lessless>
polysics, it seems that error is not handled at all: RestClient::ResourceNotFound:404 Resource Not Found
browndawg has joined #ruby
intuxicated has joined #ruby
epitron has joined #ruby
MrWizard is now known as flughafen
ryandeussing has quit [Ping timeout: 260 seconds]
mansi has quit [Ping timeout: 264 seconds]
ssvo has quit [Ping timeout: 260 seconds]
ewnd9 has quit [Ping timeout: 260 seconds]
obs has joined #ruby
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
camilasan has joined #ruby
ahawkins has joined #ruby
ewnd9 has joined #ruby
quazimodo has joined #ruby
Zolo has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 245 seconds]
pranny1 has quit [Read error: Connection reset by peer]
troessner has joined #ruby
agent_white has quit [Quit: 'gnight fellas']
quazimodo has quit [Ping timeout: 245 seconds]
bluenemo has joined #ruby
bluenemo has joined #ruby
pranny has joined #ruby
niceguyjames has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
haxrbyte_ has quit [Remote host closed the connection]
jefflyne has joined #ruby
gokul has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
rafacv has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 246 seconds]
Zolo has joined #ruby
relix has joined #ruby
dodosan has quit [Remote host closed the connection]
`MArceLL` has quit [Ping timeout: 246 seconds]
noxoc has joined #ruby
snovak has quit [Ping timeout: 260 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
io_syl has quit [Quit: io_syl]
kaspergrubbe has quit [Remote host closed the connection]
haxrbyte has joined #ruby
GeissT has joined #ruby
amacgregor has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
persand has quit [Quit: persand]
noxoc has quit [Quit: Leaving.]
dhruvasagar has quit [Quit: Lost terminal]
kaspergrubbe has joined #ruby
kek has joined #ruby
timonv has joined #ruby
stack has joined #ruby
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
jbpros has quit [Quit: jbpros]
ewnd9 has quit [Remote host closed the connection]
sparq_ has quit [Remote host closed the connection]
quazimodo has joined #ruby
dash_ has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
jibi has joined #ruby
atno has quit [Remote host closed the connection]
dash_ has joined #ruby
noname001 has joined #ruby
mneorr has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
browndawg has quit [Read error: Connection timed out]
browndawg has joined #ruby
jbpros has joined #ruby
persand has joined #ruby
vlad_sta_ has quit [Ping timeout: 264 seconds]
DrCode has joined #ruby
ahawkins has left #ruby [#ruby]
ignacy_m has joined #ruby
mootpointer has joined #ruby
blaxter has joined #ruby
swordsmanz has joined #ruby
yacks has joined #ruby
marr has joined #ruby
fenicks has joined #ruby
mansi has joined #ruby
ssvo has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
tonni_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
tonni has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
jds_ has quit [Read error: Connection reset by peer]
gener1c has joined #ruby
gener1c has joined #ruby
gener1c has quit [Changing host]
workmad3 has joined #ruby
Mon_Ouie has joined #ruby
jds_ has joined #ruby
<gener1c>
hey i am trying to write a little script that will connnect to an rtsp server , tried using require 'rtsp/client' but i have tons of errors when instantiating the client object
sergicles has joined #ruby
ssvo has quit [Ping timeout: 240 seconds]
starfox21 has joined #ruby
Zai00 has joined #ruby
axeman- has quit [Ping timeout: 297 seconds]
apeiros has joined #ruby
robbyoconnor has quit [Excess Flood]
mityaz has joined #ruby
axeman- has joined #ruby
robbyoconnor has joined #ruby
<flughafen>
sevenseacat: ping?
<sevenseacat>
flughafen: pong
<flughafen>
is there anyway to ignore all js errors/popups with capybara?
<sevenseacat>
doesnt sound like a smart thing to do.
<flughafen>
sevenseacat: im testing against a very unstable branch, and need to automatically ignore a couple of things... so the rest of the test suite can run
timonv has quit [Remote host closed the connection]
<sevenseacat>
so only run the tests you want to run?
<sevenseacat>
tag the tests you dont want to run, and dont run that tag?
intuxicated has quit [Ping timeout: 246 seconds]
<gener1c>
nevermind
<zendeavor>
i'd fix the source code and/or the tests
lysw123 has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
pr0ggie has joined #ruby
<sevenseacat>
that would be the ideal solution
jenrzzz has quit [Ping timeout: 240 seconds]
persand has quit [Quit: persand]
agjacome has joined #ruby
adambeynon has quit [Ping timeout: 240 seconds]
<zendeavor>
has to be done anyway
<flughafen>
i need to fix the tests
<flughafen>
but capybara is getting a weird js popup that's not being handled, but if i do it manually, there is never any popup, so the behavior is weird
Criztian has joined #ruby
<sevenseacat>
sounds like you need to fix some bugs in your tests.
Brando753 has quit [Quit: o_O_o]
Brando753 has joined #ruby
Zai00 has quit [Quit: Zai00]
tvw has joined #ruby
joshu has joined #ruby
tvw has quit [Client Quit]
Zai00 has joined #ruby
persand has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<flughafen>
i'll look into it more.
Anticom has joined #ruby
gyzmodo has joined #ruby
joshu_ has quit [Ping timeout: 276 seconds]
<MrZYX>
flughafen: make sure you don't change the page while an ajax request is still running
persand has quit [Client Quit]
joshu has quit [Client Quit]
persand has joined #ruby
snovak has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
Stelian1 has joined #ruby
daniel_hinojosa has quit [Ping timeout: 246 seconds]
browndawg has quit [Quit: Leaving.]
jds_ has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 276 seconds]
mrsolo has joined #ruby
intuxicated has joined #ruby
atno has joined #ruby
Aenigma has left #ruby [#ruby]
Davey has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
rockfordal has joined #ruby
rockfordal has left #ruby [#ruby]
decoponio has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 264 seconds]
guiocavalcanti has joined #ruby
letstest has joined #ruby
thebastl has joined #ruby
<letstest>
hi - i have a question about marshaling. When i do marshal.dump, it writes to disk, right? If so, where on disk does it write to?
Zolo has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
iIlL10Oo has quit [Ping timeout: 264 seconds]
Zolo has joined #ruby
greenysan has joined #ruby
joshu has joined #ruby
robbyoconnor has joined #ruby
<filipe>
letstest, never used marshal, but I assume marshal.dump returns a string or other similar format which you then have to save to disk yourself
<letstest>
I have one more question, i have a set of api calls that I want to convert into a gem for easier use. I am looking for a good tutorial or article for this. Or even any suggestions on how to approach it.
ryandeussing has joined #ruby
timonv has joined #ruby
quazimodo has joined #ruby
ryandeussing has quit [Ping timeout: 276 seconds]
futilegames_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gokul has quit [Read error: Connection reset by peer]
freeayu has quit [Quit: This computer has gone to sleep]
andrein_ has quit [Ping timeout: 245 seconds]
dweeb has joined #ruby
parzo has quit [Read error: Connection reset by peer]
parzo has joined #ruby
sevenseacat has joined #ruby
Domon has quit [Remote host closed the connection]
<_br_>
Spam bots?!
Zolo has joined #ruby
mengu has joined #ruby
Domon has joined #ruby
Nisstyre has quit [Quit: Leaving]
jds_ has joined #ruby
SHyx0rmZ has joined #ruby
jefflyne has joined #ruby
sayan has quit [Ping timeout: 276 seconds]
Hobogrammer_ has quit [Read error: Connection reset by peer]
patrick85 has joined #ruby
nextdropping has joined #ruby
Domon has quit [Ping timeout: 276 seconds]
failshell has joined #ruby
greenrose1 is now known as greenrose
sayan has joined #ruby
jbpros has quit [Quit: jbpros]
blaxter has quit [Ping timeout: 268 seconds]
fgo has joined #ruby
blaxter has joined #ruby
starfox21_ has joined #ruby
starfox21 has quit [Read error: Operation timed out]
starfox21_ is now known as starfox21
ryandeussing has joined #ruby
rcosta has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
Zolo has quit [Remote host closed the connection]
pencilcheck has quit [Ping timeout: 268 seconds]
ryandeussing has quit [Ping timeout: 245 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
AzizLight has quit [Read error: Operation timed out]
jds_ has quit [Remote host closed the connection]
pen has joined #ruby
<visof>
how can i fix this error: blackhole_shard1_replica1: org.apache.solr.common.cloud.ZooKeeperException:org.apache.solr.common.cloud.ZooKeeperException: Specified config does not exist in ZooKeeper:blackhole
<visof>
?
lucazi has joined #ruby
ldnunes has joined #ruby
corehook has joined #ruby
ixti has joined #ruby
amacgregor has quit [Ping timeout: 276 seconds]
<_br_>
Well seems like pebkac error to me. You did not configure the app correctly.
postmodern has quit [Quit: Leaving]
lucazi has quit [Ping timeout: 240 seconds]
lucazi has joined #ruby
girija has quit [Read error: Connection reset by peer]
<visof>
_br_, which part?
flughafen is now known as MrWizard
Iszak has joined #ruby
mootpointer has quit [Quit: ENOCAFFEINE.]
girija_ has joined #ruby
mengu has quit [Quit: Leaving]
MrWizard is now known as register
<visof>
_br_, what i did is : 1- upload collection1 to zk, 2- create number of nodes, 3- makepath <collection_name>, 4- run the create collection API
register is now known as Guest11186
<visof>
5- linkconf of collection_name
Guest11186 is now known as MrWizard
xeviox|afk is now known as xeviox
xeviox has left #ruby ["Leaving"]
jds_ has joined #ruby
osvico has joined #ruby
_md has joined #ruby
seich- has joined #ruby
akam-it has quit [Remote host closed the connection]
jds_ has quit [Remote host closed the connection]
MrWizard is now known as flughafen
jds_ has joined #ruby
snovak has joined #ruby
ixti has quit [Ping timeout: 246 seconds]
snovak has quit [Read error: Operation timed out]
devoldmx has joined #ruby
mansi has joined #ruby
zathraz has joined #ruby
BRMatt has joined #ruby
buibex has joined #ruby
kek has left #ruby [#ruby]
Wildhoney has quit [Quit: Wildhoney]
grzywacz has joined #ruby
ssvo has joined #ruby
tk__ has joined #ruby
nari has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
buibex has quit [Read error: Connection reset by peer]
nextdropping has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
ffio has quit [Ping timeout: 260 seconds]
ryannielson has joined #ruby
KillerFox has joined #ruby
vlad_starkov has joined #ruby
blackmesa has joined #ruby
blo has joined #ruby
blo has joined #ruby
blo has quit [Changing host]
freeayu has quit [Remote host closed the connection]
Zolo has joined #ruby
scarolan has joined #ruby
ArchBeOS has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 264 seconds]
sumark has quit [Remote host closed the connection]
JDHankle has joined #ruby
sumark has joined #ruby
tomzx_mac has joined #ruby
JDHankle has quit [Read error: Operation timed out]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Ping timeout: 245 seconds]
Spug is now known as tobiasvl
pranny has quit [Quit: Leaving.]
breakingthings has joined #ruby
mark_locklear has joined #ruby
JohnBat26 has joined #ruby
snovak has joined #ruby
rdxc has joined #ruby
RubNoob has joined #ruby
tk__ has joined #ruby
wallerdev has joined #ruby
ffio has joined #ruby
<RubNoob>
does anyone have a good example of retrieving basic user details from PayPal using the user's username/password?
snovak has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
buibex has joined #ruby
aryaching has joined #ruby
seich- has quit [Ping timeout: 260 seconds]
mklappstuhl has joined #ruby
jibi has quit [Quit: .]
pothibo has quit [Quit: pothibo]
ssvo has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
kaldrenon has joined #ruby
atyz has quit [Quit: Leaving...]
jp- has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
devoldmx3 has joined #ruby
anonymuse has joined #ruby
<_br_>
RubNoob: If I remember correctly, paypal issues tokens in order to do access control. So using the user/pass directly is a pretty bad idea. Why do you want to get such details?
ferr has quit [Ping timeout: 264 seconds]
<RubNoob>
_br_ I'm trying to provide a verification that the user's account is what they say it is
<_br_>
RubNoob: e.g. Paypal express gem works based on such tokens to do payment processing.
<_br_>
RubNoob: Having their username/password is really weird. It is like giving away my bank accont login.
<RubNoob>
_br_ so I'm trying to get them to enter their credentials and verify that the account they have in PayPal is valid and their own (at least suggesting their own)
timonv has quit [Remote host closed the connection]
<_br_>
This is a really bad idea. I think you will get in trouble with paypal as a scammer site.
<RubNoob>
_br_ so, I've got it so far as having them enter their email address and validating that the account tied to the email is verified
<RubNoob>
_br_ but this does not address the fact that the user could enter ANYONE's paypal email address
dominikh has quit [Quit: WeeChat 0.4.0-dev]
timonv has joined #ruby
<RubNoob>
_br_ so I'm trying to figure out how to get it a little bit more specific - i.e. validate you at least can log in using credentials
<apeiros>
RubNoob: no sane customer would tell you his/her credentials to his bank account
<apeiros>
that's simply insane
<_br_>
bingo
ArchBeOS has quit [Remote host closed the connection]
<apeiros>
(and paypal effectively is a bank account)
<RubNoob>
apeiros ok, and I understand that, but how would you suggest going about validating a user's account then?
devoldmx has quit [Ping timeout: 240 seconds]
<apeiros>
RubNoob: either paypal provides a means to get the username via the token, or you're fucked
<_br_>
Is this to prevent fraud or what is the goal?
persand has joined #ruby
<apeiros>
but I'd assume that retrieving user-info via token should be possible
<_br_>
I think you can use paypal token from your own account to check if anoter account exists if I remember correctly.
AzizLight has joined #ruby
<RubNoob>
_br_ the goal is for me to verify that the user's paypal account is in fact accessible by them, so I can remove the possiblity that they are entering someone else's verified email for PayPal
<RubNoob>
_br_ I've already got the 'check if account exists and is verified'
<apeiros>
RubNoob: and why do you want to verify that?
<_br_>
Paypal has callbacks for that no?
r0ber has quit [Quit: Saliendo]
<_br_>
Its not your job to prevent paypal fraud.
<apeiros>
paypal already verifies that the user has access
<RubNoob>
_br_ but the issue is this - what if user A comes in and specifes user B's email address as the linked account
<apeiros>
so?
<apeiros>
he won't be able to pay
<_br_>
exactly
<RubNoob>
apeiros well this is for a "being paid" situation
<RubNoob>
I guess I should take a step back
<RubNoob>
and figure out - what is the standard for this kind of scenario
grzywacz has quit [Quit: :wq]
companion is now known as Companion
<RubNoob>
if normally an email address suffices and the user is at their own mercy (i.e. either enter your own email address or you obviously won't get paid), then I guess this is a moot point and I'm done
<RubNoob>
do you guys _br_ apeiros happen to know how this is handled from a best-practice standpoint?
<_br_>
Verifying that an account belongs to someone is a difficult business. We have a contract job here to create a payday loan website. In order to verify if the person claiming who she is we use a 3rd party service called "CallCredit". Its quite expensive though.
atyz has joined #ruby
_Bravado_ has quit [Quit: _Bravado_]
<_br_>
I don't think you should try to do paypals job. If they don't have the password they can't pay. End of story for you.
<RubNoob>
ok - so I guess what I already have working is fine for the 'getting paid' part of this (i.e. specify your verified PayPal email address, and then I go and use my token to verify the account is actually 'verified')
Paprika_ has joined #ruby
<Paprika_>
hiz
<_br_>
Not sure if paypal has a verification api, you would need to check that.
Banistergalaxy has quit [Ping timeout: 264 seconds]
mlpinit has joined #ruby
devdazed has joined #ruby
snovak has joined #ruby
akells has quit [Ping timeout: 276 seconds]
IceDragon has joined #ruby
amacgregor has joined #ruby
JohnBat26 has joined #ruby
thebastl has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
man40khi_ has joined #ruby
sailias has joined #ruby
asobrasil has joined #ruby
SHyx0rmZ has joined #ruby
geekbri has joined #ruby
bluOxigen has quit [Ping timeout: 253 seconds]
amacgregor has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
ssvo has joined #ruby
dv__ has joined #ruby
mcdk has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
v0n has quit [Quit: WeeChat 0.4.2-dev]
angela has joined #ruby
lukec has joined #ruby
<angela>
hi, silly question, I have ruby 1.8, 1.9 and 2.0 installed, but I can't use gem installer
<angela>
ubuntu says command not found
<shevy>
what is gem installer, do you mean the command "gem", and what means "can't use" precisely
dv_ has quit [Ping timeout: 276 seconds]
<shevy>
ok so you do not have "gem"
proxie has joined #ruby
dv__ has quit [Client Quit]
<angela>
should it come with the ruby package?
<shevy>
are you sure you have all 3 versions installed? I would doubt that because ubuntu is based on debian and debian normally is too incompetent to allow multiple versions
<shevy>
angela depends on the version, since ruby 1.9 and higher, yes
<shevy>
in ruby 1.8.x it is an add-on, and not integrated
<shevy>
do "ruby -v"
turduks has joined #ruby
<shevy>
unfortunately debian cripples packages. mkmf.rb is removed by default for instance
orionstein_away is now known as orionstein
dv_ has joined #ruby
<angela>
wait...it's not even installed correctly
elux has joined #ruby
<shevy>
on debian there is some way with apt-get to decripple ruby
thomasvs has quit [Quit: Coyote finally caught me]
<angela>
I got ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
buibex has quit [Remote host closed the connection]
<IceDragon>
Life is so much easier on Arch >:..
jamesaanderson has joined #ruby
<shevy>
why do they tell you to remove all but ruby 2.0 angela?
<shevy>
I mean
<shevy>
if they tell people to compile from source
<shevy>
it is pointless to recommend a distribution
<shevy>
"This installation guide was created for and tested on Debian/Ubuntu operating systems."
r0bglees0n has joined #ruby
AzizLight has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
kvirani has joined #ruby
tkuchiki has joined #ruby
maxmanders has joined #ruby
devoldmx has joined #ruby
<shevy>
IceDragon hmm
<shevy>
I wanted to install arch
Wildhoney has joined #ruby
turduks has quit []
<shevy>
but I did not find a fat dvd so I picked slackware
<wuest>
shevy - I assume that they make that note because they don't have guarantees re: lib dependancies on other distro/versions.
<IceDragon>
._. Arch fits on a cd
<IceDragon>
actually it was smaller than the CD
<IceDragon>
;_;
<wuest>
Yeah, arch is pretty minimalistic. <3 me some arch
<shevy>
wuest yeah makes sense, I just wonder what is the minimum ruby version that would work with gitlabhq, 1.8.x probably no longer but perhaps 1.9.x
v0n has joined #ruby
<wuest>
Almost everything 2.0.0 will work 1.9.x, yeah.
<shevy>
I am stuck on 1.9.x right now for a while until I can abandon my old yaml file format
<IceDragon>
almost.
<wuest>
The one big syntactic break that comes to mind (named arguments), no one uses.
<wuest>
The regexp engine is also incompatible between the two, but 2.x regexps will work on 1.9.x
<wuest>
Only problem I found was 2.x doesn't support hex code ranges (if someone knows better, please educate me!)
fgo has quit [Remote host closed the connection]
endash has joined #ruby
<shevy>
hmm
<shevy>
for text files, are there alternatives to yaml files?
<shevy>
98% of my yaml files use only key: value entries (one per line), but they are in ISO encoding, not UTF and psych rejects them
<wuest>
You could be all "enterprise-y" and use xml? ;)
<wuest>
Can you just re-encode them on the fly?
<wuest>
Not optimal, given
buibex has joined #ruby
<shevy>
I abandoned XML some years ago, it's too verbose, yaml is much better
<IceDragon>
json ?
* IceDragon
hides
<wuest>
No argument here.
<wuest>
(Though I admit to being that ONE person who actually rather likes xslt...)
<shevy>
wuest hmm I tried that but somehow when I tried the resulting files did not work or had some error, I think I used... yconv or something ... let me try to remember
MrThePlague has joined #ruby
ferr has joined #ruby
chase-work has joined #ruby
<shevy>
oh sorry
<shevy>
a moment, I can tell you soon what command I tried
ArchBeOS has quit [Remote host closed the connection]
lyanchih has joined #ruby
rhys_ has joined #ruby
ArchBeOS has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
gildo has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
mrsolo has joined #ruby
Wildhoney has joined #ruby
realDAB has joined #ruby
blackmesa has joined #ruby
mary5030 has joined #ruby
jibi has quit [Quit: .]
brennanMKE has joined #ruby
Banistergalaxy has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Davey has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
AndChat| has joined #ruby
sevenseacat has quit [Ping timeout: 264 seconds]
Fuzai has quit [Read error: Connection reset by peer]
filipe has quit [Ping timeout: 264 seconds]
senayar_ has joined #ruby
endash has joined #ruby
fuzzy__ has quit [Remote host closed the connection]
AndChat- has joined #ruby
sayan has quit [Ping timeout: 268 seconds]
brennanMKE has quit [Ping timeout: 264 seconds]
kaspergr_ has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
Iszak has quit [Quit: Computer has gone to sleep.]
fuzzy has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
krishnaveda has quit [Quit: Page closed]
ixti has quit [Read error: Connection reset by peer]
AndChat| has quit [Ping timeout: 240 seconds]
ssvo has joined #ruby
Banistergalaxy has joined #ruby
helios_ra has joined #ruby
giarc has joined #ruby
senayar has quit [Ping timeout: 264 seconds]
apok has joined #ruby
<helios_ra>
I want to use an attr_accessor in my initialize function is it possible ?
AndChat- has quit [Ping timeout: 240 seconds]
jerius_ has joined #ruby
mklappstuhl has joined #ruby
<MrZYX>
sounds like you want to recreate Struct?
<helios_ra>
MrZYX, to me ?
<MrZYX>
yes
jerius has quit [Ping timeout: 246 seconds]
ssvo has quit [Ping timeout: 264 seconds]
telling has quit [Ping timeout: 245 seconds]
<helios_ra>
actually I want to pass a block to an initialize function calling the block with instance_eval. It works if I use send :my_accessor=, "my value"
<helios_ra>
but that is not so nice
GeissT has quit [Quit: MillBroChat AdIRC User]
ewnd9_ has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
Tricon has quit [Ping timeout: 260 seconds]
<MrZYX>
so what are you creating there?
ffranz has joined #ruby
endash has quit [Quit: endash]
<MrZYX>
config object?
ixti has joined #ruby
fuzzy_ has joined #ruby
biesiad has joined #ruby
<YaNakilon>
poor people
filipe has joined #ruby
<YaNakilon>
vim, iconv,...
<YaNakilon>
use normal IDEs
graydot has quit [Quit: graydot]
<YaNakilon>
open, change enc, save as
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fuzzy_ has quit [Client Quit]
<shevy>
YaNakilon what about people who do not use UTF
<YaNakilon>
it is a discussion to use editor or not
<YaNakilon>
either you do the job and optimize your timewasting, or you are unuseful
<filipe>
I have a question about editors!
<filipe>
or IDEs to be precise - what's everyone using?
<YaNakilon>
..DDDD
Fuzai has quit [Client Quit]
<eka>
everybody is using Word!
<filipe>
I'm using vim and st3 right now, haven't got my setup right with st3 yet
meekohi has joined #ruby
<filipe>
wordart ruby
meekohi has left #ruby [#ruby]
<eka>
but I'm using vim
BSaboia has quit [Ping timeout: 260 seconds]
Fuzai has joined #ruby
<filipe>
now I want to make a github mod that makes the source code view look like a formatted word document, word-art and all
<shevy>
filipe bluefish 1.0.7, possibly sublime one day
<eka>
"use comic sans, you should."
<shevy>
always mono spaced fonts
<YaNakilon>
kindergarden channel
<MrZYX>
helios_ra: I'd think about storing the opts hash or making an (Open)Struct from it, but anyway: most people use a configuration object in these cases, that is an object which only holds instance variables and has accessors for them. Then you'd yield that object to a config or whatever call and do something like "config do |c| c.foo = :bar end"
apeiros has quit [Remote host closed the connection]
<helios_ra>
MrZYX, got it
alekst has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Quit: This computer has gone to sleep]
<MrZYX>
also proper variable names, you'll thank me if you look again at that in four months
<MrZYX>
just going through the alphabet is insane
jpierre03 has joined #ruby
ArchBeOS is now known as LocutusOfBorg
Paprika_ has quit [Quit: Me'n vaig]
kpshek has quit []
solrize_ has joined #ruby
maxmanders has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby
lusory has quit [Quit: leaving]
persand has quit [Quit: persand]
interactionjaxsn has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Quit: Leaving.]
maz-dev has quit [Remote host closed the connection]
<helios_ra>
MrZYX, oo thats are synonyms for that precise wrapper… Btw I can not understand why if I call a var="value" into initialize it doesn't work properly
maxmanders has joined #ruby
badabim has quit [Remote host closed the connection]
Tricon has joined #ruby
<helios_ra>
MrZYX, I mean, var defined with :attr_accessor :var
badabim has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
<MrZYX>
it's interpreted as a local, try self.var = 'val'
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solrize_ has quit [Ping timeout: 260 seconds]
aetaric has quit [Ping timeout: 240 seconds]
jprovazn has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
aetaric has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
LocutusOfBorg has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
aganov has quit [Remote host closed the connection]
<helios_ra>
MrZYX, it works, but why? it is very ugly, at that point I can use the old style yield's way
badabim has quit [Ping timeout: 276 seconds]
<MrZYX>
because it's interpreted as local variable
jamesaanderson has joined #ruby
<MrZYX>
if you carefully look at other peoples DSL configure blocks, you'll notice that they leave the = off, for that reason
brennanMKE has joined #ruby
rippa has joined #ruby
philcrissman_ has joined #ruby
terrellt has joined #ruby
ewnd9_ has quit [Ping timeout: 276 seconds]
obs has quit [Quit: Konversation terminated!]
shunt has joined #ruby
<helios_ra>
MrZYX, ouch !
obs has joined #ruby
filipe has quit [Ping timeout: 240 seconds]
apok has quit [Quit: apok]
bluenemo has quit [Remote host closed the connection]
ewnd9_ has joined #ruby
<MrZYX>
look at "foo = nil; def foo=(v); @foo = v; end; foo = 'bar';" what would expect the value of foo and @foo be if ruby wouldn't always assume a local in an assignment without an explicit receiver?
<MrZYX>
it's ambiguous
kaspergr_ has quit [Remote host closed the connection]
effbiai has quit [Ping timeout: 264 seconds]
<cout>
mrzyx: so you walk the ast or iseq and turn all local assignments into method calls for that block :)
caju has quit [Read error: Connection reset by peer]
pygospa has quit [Disconnected by services]
nari has quit [Ping timeout: 245 seconds]
TheRealPygo has joined #ruby
<MrZYX>
or you just use the yield style everybody is used to and be done with it ;)
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
<kaldrenon>
If I have an array of strings and I want to check whether any of its members are one thing or another, is there a less repetitive/more elegant way to check the possibilities than a form like this: https://gist.github.com/kaldrenon/6342923 ?
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has quit [Read error: Connection reset by peer]
<proxie>
kaldrenon: you most likely want to wrap those "statuses" inside a class.
krishnaveda has joined #ruby
devoldmx has joined #ruby
<proxie>
this follows the open/close principle. You don't want to have to come back and manage that if/else statement in the future when new statuses have to be added.
<kaldrenon>
MrZYX: Will that kick out after the first one it finds?
realDAB has quit [Quit: realDAB]
<MrZYX>
yes, that's the purpose of find
<Morrolan>
find returns the first item where the block returns true. :)
Emmanuel_Chanel has joined #ruby
<kaldrenon>
MrZYX: Excellent, that will do the trick
agjacome has quit [Read error: Operation timed out]
<kaldrenon>
proxie: I'd like to wrap it in a class, I'll look at doing that. It may be tricky since these status are pulled from a JSON blob I get from a REST API, but a wrapper would not hurt if it's feasible.
adeponte has joined #ruby
shredding has quit [Quit: shredding]
shredding has joined #ruby
ferr has joined #ruby
anonymuse has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
Nogbit has quit [Ping timeout: 246 seconds]
anonymuse has joined #ruby
jnoob22 has quit [Ping timeout: 245 seconds]
endash has joined #ruby
ferr has quit [Ping timeout: 240 seconds]
VTLob has joined #ruby
tricon_ has joined #ruby
kaspergrubbe has joined #ruby
musl has joined #ruby
ewnd9_ has quit [Ping timeout: 240 seconds]
devoldmx has quit [Read error: Connection reset by peer]
Davey has joined #ruby
jds_ has joined #ruby
devoldmx has joined #ruby
noname001 has quit [Ping timeout: 245 seconds]
akells has quit [Read error: Connection reset by peer]
akells has joined #ruby
hiroyuki has joined #ruby
S0da has quit [Read error: Connection reset by peer]
tricon_ has quit [Client Quit]
hiroyuki has quit [Read error: Connection reset by peer]
Targen has joined #ruby
flak has joined #ruby
flak is now known as Guest42145
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
pranny has joined #ruby
pranny has quit [Client Quit]
apeiros has joined #ruby
Lewix has joined #ruby
filipe has quit [Read error: Connection reset by peer]
srji has joined #ruby
pothibo has joined #ruby
pothibo has quit [Client Quit]
devoldmx has quit [Read error: Connection reset by peer]
rafacv has joined #ruby
Anticom has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
brendan- has joined #ruby
hogeo has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
iamjarvo has quit [Ping timeout: 268 seconds]
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
timonv has quit [Remote host closed the connection]
Jake232 has joined #ruby
<brendan->
hi guys, im in the process of using fpm to package ruby 1.9.3-p327 as a debian package for Puppet deployment.. i came across an fpm script which builds dependencies for libssl0.9.8 and a few other items… libssl1.0.0 is available within ubuntu 12.04… is there a reason besides v1.0.0 not being available at the time for that dependency?
<brendan->
or is there a way to find out
matiasevqz has joined #ruby
argentum has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
jds_ has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
realDAB has joined #ruby
Emmanuel_Chanel has joined #ruby
greenysan has quit [Ping timeout: 268 seconds]
ananthakumaran has joined #ruby
Guest92436 is now known as nitrodex
pel_daniel has joined #ruby
crunch-choco has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
senayar_ has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 245 seconds]
caju has quit [Ping timeout: 240 seconds]
_veer has quit [Ping timeout: 240 seconds]
caju has joined #ruby
baroquebobcat has joined #ruby
lyanchih has quit [Quit: lyanchih]
camilasan has quit [Remote host closed the connection]
mary5030_ has joined #ruby
binaryplease has joined #ruby
Taranis has quit [Remote host closed the connection]
intuxicated has joined #ruby
mary5030 has quit [Ping timeout: 268 seconds]
ferr has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
realDAB has quit [Quit: realDAB]
<pontiki>
anyone know anything about this: /Users/tamara/.gem/ruby/1.9.3/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault
cody-- has quit [Quit: Computer has gone to sleep.]
snath has quit [Ping timeout: 245 seconds]
roninn has joined #ruby
Zai00 has quit [Quit: Zai00]
mpereira has quit [Quit: leaving]
timkohrumel has joined #ruby
mpereira has joined #ruby
timkohrumel has left #ruby [#ruby]
timkohrumel has joined #ruby
* Morrolan
checks date
<Morrolan>
Nope, it's not the 1st of April
Zai00 has joined #ruby
mikegaz has joined #ruby
timonv has quit [Remote host closed the connection]
<Morrolan>
Oh, it was *issued* on a first of April. *snrk*
johnnyfuchs has joined #ruby
<Morrolan>
Or, well, released, or whatever's the appropriate word.
|Dave has joined #ruby
<hanmac>
Morrolan: yeah, but maybe someday it would be real ;P
devinus has joined #ruby
<mikegaz>
Does anyone know of a good source for ruby rpms for EL5? Or have any experience running rvm in production environments. Want to avoid compiling it each time and/or creating my own rpm
<Morrolan>
I'm afraid we won't be there to see it, though. :(
Zai00 has quit [Read error: Operation timed out]
<mikegaz>
I found one that has 1.8.7 patch 299 but that's too old. want newer patch and/or 1.9.x
carraroj has quit [Quit: Konversation terminated!]
<Morrolan>
Out of curiosity, what's preventing you from compiling it?
<Morrolan>
Takes about four minutes on a modern CPU.
<mikegaz>
I don't want that to be a step in our automation. due to time and company defined best practices
<mikegaz>
need ruby installed on many systems as part of automated build
ferr has joined #ruby
<mikegaz>
surpised so hard to find rpms for recent (or really not-so-recent) versions of ruby for EL5
<mikegaz>
was thinking maybe rvm but I've never used it in a production environment. but maybe that's the way to go
<Morrolan>
RVM will still need to compile it, when there's no binaries available.
_Bravado_ has quit [Quit: _Bravado_]
<mikegaz>
oh, right.
<hanmac>
EL5? isnt that a bit old too?
<mikegaz>
yep
_Bravado_ has joined #ruby
<mikegaz>
el6 will be standard soon. have to still support el5 for a while though
arietis has joined #ruby
iPhoneMRZ has joined #ruby
cody-- has joined #ruby
thebastl has joined #ruby
iPhoneMRZ has quit [Client Quit]
<mikegaz>
but even though old, it's deployed on probably millions of systems. I guess I'm just really surprised it's so hard to find packages.
zacts_ has joined #ruby
Vivekananda has joined #ruby
devinus has quit [Quit: devintorr.es]
kirun has joined #ruby
mansi has quit [Read error: Connection reset by peer]
jonahR has joined #ruby
mansi has joined #ruby
zacts_ has quit [Client Quit]
starship has quit [Ping timeout: 276 seconds]
sparq_ has joined #ruby
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
brettnem has joined #ruby
<brettnem>
Hey all!
hogeo has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
<brettnem>
Hey, I'm trying to read a gigantic gzipped file that has /r line terminators. Any advice? File is about 8G compressed
hamakn has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<_br_>
brettnem: Whats the problem?
<brettnem>
I can't figure out an elegant way to do this without reading the entire 8G file into memory and then reparsing it again
Davey has joined #ruby
<brettnem>
because of the line terminator, File.open will treat it as an 8G file with one gigantic line
vlad_starkov has quit [Remote host closed the connection]
agjacome has joined #ruby
<_br_>
ah I see
<mikegaz>
looks like rbenv + ruby-build might be best option over rvm
<_br_>
brettnem: You can't just do some simple pre-processing before using ruby on it?
hogeo has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
<brettnem>
I've thought of that, but I have a dozen of these files to process every day and I'm looking to make an elegant solution. Would like to do it all in ruby if I can.
sambao21 has joined #ruby
<brettnem>
I'm kinda new to ruby, so I just thought I might be missing something obvious. I saw that the each_line method I think you can specify a sep= param. But that won't work on gzipd files
Spami has quit [Quit: This computer has gone to sleep]
<_br_>
brettnem: Its kind of a "make" but data-orientated.
devinus has joined #ruby
<brettnem>
very cool…. checking it out.. thanks!
<_br_>
brettnem: Just use it to take all the formats and bring them to a "sane" state so that you can use ruby on it
<_br_>
np
<brettnem>
is it fast?
<brettnem>
ugh, subjective, I know
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krishnaveda has quit [Quit: Page closed]
sambao21 has quit [Client Quit]
<_br_>
Well its written in closure, so I think thats not something you need to worry about.
<_br_>
For the maintanablity viewpoint we use this solution here internally
jamesaanderson has joined #ruby
michaeldeol has joined #ruby
<brettnem>
wow, this look really cool
<_br_>
yep. we deal with many types of input here on a regular basis so I know the trouble you are in. Making sanitization in ruby is just way to much foobar. Better keep a good abstract format and change the data to fit it. Obviously depends on your usecase though.
devoldmx has quit [Read error: Connection reset by peer]
Voodoofish430 has joined #ruby
horofox has joined #ruby
sambao21 has joined #ruby
FDj_ has joined #ruby
horofox has quit [Client Quit]
jprovazn has joined #ruby
rubyguy__ has joined #ruby
virt|a|work has joined #ruby
paul__k has joined #ruby
dankest has quit [Quit: Peace]
troessner has quit [Quit: Leaving]
devoldmx has joined #ruby
skinny_much_ has joined #ruby
pdtpatri1k has joined #ruby
__eka__ has joined #ruby
marr123 has joined #ruby
ffio has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
ericwood_ has joined #ruby
jds_ has joined #ruby
_axx_ has joined #ruby
c0rn has quit [Ping timeout: 264 seconds]
s0ber_ has joined #ruby
nhubbard_ has joined #ruby
xiphffff4 has joined #ruby
nhubbard_ has quit [Excess Flood]
SeySayux_ has joined #ruby
sam113101_ has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
nhubbard has quit [Ping timeout: 240 seconds]
paul_k has quit [Ping timeout: 240 seconds]
skinny_much has quit [Ping timeout: 240 seconds]
eka has quit [Ping timeout: 240 seconds]
FDj has quit [Read error: Connection reset by peer]
rubyguy has quit [Ping timeout: 240 seconds]
pdtpatrick has quit [Ping timeout: 240 seconds]
proxie has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
xiphffff3 has quit [Ping timeout: 240 seconds]
ericwood has quit [Ping timeout: 240 seconds]
sam113101 has quit [Ping timeout: 240 seconds]
SeySayux has quit [Ping timeout: 240 seconds]
Veejay has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Ping timeout: 240 seconds]
calmyournerves has quit [Ping timeout: 240 seconds]
_axx has quit [Ping timeout: 240 seconds]
s0ber has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
crazed has joined #ruby
<Woodsman>
i've got to deal with a URL with a " | " character in it. I've tried escaping it with " \| " and replacing it with the HTML code for the pipe character (" |" ), and neither of this removed the "bad URI" error i was getting. anyone else got other ideas?
Targen has quit [Ping timeout: 245 seconds]
ananthakumaran has quit [Quit: Leaving.]
badabim_ has quit [Remote host closed the connection]
badabim has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boshhead has left #ruby [#ruby]
Targen has joined #ruby
<wuest>
Define "deal with"? Do you mean you need to emit one? If so, "%7C" is what you want. You might also want to look at the CGI library; the escape method in particular for this purpose.
Neomex has joined #ruby
<Woodsman>
yeah, i need to generate one, sorry for the ambiguous terminology. i'll try what you've suggested, thanks
c0rn has joined #ruby
tommyvyo has joined #ruby
sparq_ has quit [Quit: Leaving]
rezzack has joined #ruby
futilegames has quit [Quit: futilegames]
senayar has quit [Remote host closed the connection]
Orxata_ has joined #ruby
jonahR has quit [Quit: jonahR]
<Orxata_>
hiz
blackmesa has quit [Quit: WeeChat 0.4.1]
Ripp__ has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
Iszak has joined #ruby
realDAB has joined #ruby
timonv has joined #ruby
caju has joined #ruby
<apeiros>
Woodsman: URI and HTML escapes differ
FDj_ is now known as FDj
timonv has quit [Remote host closed the connection]
alvaro_o has joined #ruby
senayar has joined #ruby
zoee has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
timonv has joined #ruby
suffix_ has joined #ruby
ebouchut has joined #ruby
<awpti>
So, I have a list of items I want to join on "','" -- is there any method that will add quotes to the beginning and end, or do I just need to do "'" + var.join("','") + "'" ?
<suffix_>
hey, is this a valid compound if statement? if node[:tds][:additional_drive_1] != nil && (node[:tds][:additional_drive_1] != "" || node[:tds][:additional_drive_1] != "unconfigured" || node[:tds][:additional_drive_1] != "none")
michaeldeol has quit [Remote host closed the connection]
marr has joined #ruby
thebastl has joined #ruby
starfox21 has quit [Quit: starfox21]
parzo has quit [Write error: Broken pipe]
lessless has quit [Read error: Connection reset by peer]
<nicerice>
does redcar support all textmate snippets?
iamjarvo has quit [Remote host closed the connection]
JDHankle has quit [Ping timeout: 264 seconds]
realDAB has joined #ruby
iamjarvo has joined #ruby
geekbri has quit [Remote host closed the connection]
nicerice has quit [Quit: Page closed]
devoldmx has joined #ruby
MrZYX is now known as MrZYX|off
razi has quit [Ping timeout: 240 seconds]
buibex has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
iamjarvo has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Client Quit]
<pontiki>
probably not
iamjarvo has joined #ruby
biesiad has quit [Quit: biesiad]
<pontiki>
but that's just a guess because other editors don't support all textmate snippets
jprovazn has quit [Quit: Odcházím]
dash_ has quit [Quit: dash_]
c0rn has joined #ruby
sam113101_ is now known as sam113101
MasterAsia has joined #ruby
<MasterAsia>
How can I traverse a directory recursively?
<MasterAsia>
I want to find a substring in a directory(can be file or folder) and rename them
<MasterAsia>
gsub it with a space
<_br_>
Anyone here familiar with SLIM templates? Trying to get a selected=true or selected=false without the quotes. Don't get far though, because variations of this just throw errors. Ideas? This gives me an error: option selected=#{ (personal_details.title == :mr ) ? ( true ) : ( false ) } value="Mr." This not, but is invalid due to the quotes around true/false. option selected="#{ (personal_details.title == :mr ) ? ( true ) : ( false ) }"
jamesaanderson has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<_br_>
MasterAsia: Probably you want Dir.glob
<MasterAsia>
_br_: that gives back an array of strings, I want to keep traversing
iamjarvo has joined #ruby
brbcoding has quit []
<_br_>
Hm, you want a recursive function then.
saarinen has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerius has joined #ruby
realDAB has quit [Quit: realDAB]
polysics1 has joined #ruby
jamesaanderson has quit [Client Quit]
pr0ggie has quit [Read error: Connection reset by peer]
wrseward has joined #ruby
__eka__ is now known as eka
clov3r has joined #ruby
danshultz has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<MasterAsia>
_br_: how can I recurse on the file if it only returns a string?
<_br_>
MasterAsia: Well there would be a if for that in your function. Just wondering what the benefit is of solving that a recursive and not iterative solution.
<_br_>
Its so deeply nested?
saarinen has quit [Quit: saarinen]
RichardBaker has joined #ruby
Lewix has quit [Remote host closed the connection]
sarkis has joined #ruby
<MasterAsia>
i hardly know the diff between recursive and iterative
<MasterAsia>
i'm just trying to solve it
<MasterAsia>
but thanks
<MasterAsia>
it can be quite deeply nested
<MasterAsia>
I don't know how deep it goes
MrZYX|off is now known as MrZYX
jonahR has joined #ruby
saarinen has joined #ruby
advorak has joined #ruby
johnnyfuchs has joined #ruby
<advorak>
I am playing with rubyinstaller on windows .... it doesn't like backspace, nor arrow keys for navigating in irb (presumably a readline issue?) ... What suggestions are there for resolving this?
realDAB has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Matriks has quit [Remote host closed the connection]
<shevy>
advorak hmmm
<shevy>
perhaps try Readline-5.0.1.exe
<advorak>
I thought it was working a while back, but stopped working recently :-)
mark_locklear has quit [Ping timeout: 264 seconds]
<advorak>
(googling)
RichardBaker has quit [Quit: RichardBaker]
c0rn has quit [Quit: Computer has gone to sleep.]
bluOxigen has quit [Ping timeout: 245 seconds]
<advorak>
shevy, THANKS! :-)
<bricker>
I'm trying to "rvm install ruby-1.9.3-p448" but it's telling me there is no checksum for that file - why is that?
<shevy>
there may be another way too advorak ... rlwrap or something is the name...
<advorak>
It worked.
<shevy>
cool
<shevy>
it's been years since I last were on windows
gioele has joined #ruby
<gioele>
hello
<shevy>
are you on win xp? :-D
<shevy>
bricker, dunno but there is a #rvm channel I think
AzizLight has joined #ruby
Heero has quit [Ping timeout: 245 seconds]
<bricker>
It's downloading from ftp.ruby-lang.org though
<gioele>
what is the proper way to make module methods available in classes that include the module? In http://pastie.org/8272070 I would like `C.aaa` to be callable, now it raises "undefined method `aaa' for C:Class (NoMethodError)"
jokke has quit [Quit: WeeChat 0.4.1]
realDAB has quit [Quit: realDAB]
jonkri has quit [Quit: jonkri]
advorak has joined #ruby
jokke has joined #ruby
krawchyk has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
<shevy>
no
iamjarvo has joined #ruby
<shevy>
you could include it if you used "def aaa" in module M
<shevy>
but you made it a module method so it resides within the M namespace
ehaliewicz has joined #ruby
yfeldblum has quit [Quit: Leaving]
nemesit|znc has quit [Read error: Operation timed out]
<shevy>
hmm
<shevy>
though there must indeed be a way ...
jokke has quit [Client Quit]
DanKnox_away is now known as DanKnox
vlad_starkov has quit [Remote host closed the connection]
jokke has joined #ruby
devoldmx has joined #ruby
jokke has quit [Client Quit]
<advorak>
shevy, oops, I think I lied ... I am not sure that worked .. I inadvertently ran ironruby, which worked well ... but not the rubyinstaller installation :-P
Mattias has quit [Remote host closed the connection]
<bricker>
Has anybody come across this error? "JSON::GeneratorError only generation of JSON objects or arrays allowed" It only seems to happen in 1.9.3 https://travis-ci.org/SCPR/outpost/jobs/10638893
c0rn has joined #ruby
baordog has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
v0n has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
srji has quit [Quit: leaving]
jokke has quit [Quit: WeeChat 0.4.1]
kaldrenon has quit [Remote host closed the connection]
jokke has joined #ruby
jokke has quit [Client Quit]
jokke has joined #ruby
Mattias has quit [Remote host closed the connection]
Mattias has joined #ruby
realDAB has quit [Quit: realDAB]
workmad3 has joined #ruby
amacgregor has joined #ruby
biesiad has joined #ruby
radic__ is now known as radic
cody-- has quit [Quit: Computer has gone to sleep.]
biesiad has quit [Client Quit]
kirun has quit [Quit: Client exiting]
biesiad has joined #ruby
zigomir has quit [Ping timeout: 245 seconds]
seich- has quit [Ping timeout: 245 seconds]
musl has joined #ruby
ldnunes has quit [Quit: Leaving]
interact_ has quit []
atyz has quit [Quit: Leaving...]
Astral_ has joined #ruby
aaronmcadam has joined #ruby
thebastl has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Patchou has joined #ruby
weems2 has joined #ruby
aaronmcadam has quit [Client Quit]
Nisstyre has joined #ruby
caju has joined #ruby
vlad_starkov has joined #ruby
Astral__ has quit [Ping timeout: 240 seconds]
JDHankle has joined #ruby
akells has quit [Remote host closed the connection]
Tamae has quit [Ping timeout: 264 seconds]
caju has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
atyz has joined #ruby
atyz has quit [Remote host closed the connection]
pweems has quit [Ping timeout: 264 seconds]
julian-delphiki has quit [Ping timeout: 264 seconds]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
julian-delphiki has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
Jalada has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
Jalada has left #ruby [#ruby]
jlast has joined #ruby
<pontiki>
bricker, don't have answer for the JSON error; did you get the rvm install to work?
aaronmcadam has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
seich- has joined #ruby
it_tard is now known as nfk
Lewix has joined #ruby
vlad_starkov has joined #ruby
rafacv has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
Mattias has quit [Quit: かがんで廻ってひねってclap!]
maz-dev has quit [Remote host closed the connection]
Myk267 has joined #ruby
brettnem has quit [Quit: brettnem]
Monie has joined #ruby
Mattias has joined #ruby
nakp has joined #ruby
polysics1 has quit [Quit: Leaving.]
nakp has left #ruby ["Saliendo"]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crunch-choco has quit [Quit: leaving]
starship has quit [Ping timeout: 245 seconds]
dankest has quit [Quit: dankest]
saarinen has quit [Quit: saarinen]
elux has quit [Quit: Leaving...]
swordsmanz is now known as little
little is now known as swordsmanz
tomstuder has joined #ruby
saarinen has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
caju has joined #ruby
Mattias has quit [Remote host closed the connection]
Mattias has joined #ruby
maxmanders has joined #ruby
interactionjaxsn has quit [Ping timeout: 264 seconds]
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
swordsmanz is now known as wetpussy
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
wetpussy is now known as swordsmanz
jerius has quit [Quit: jerius]
brennanM_ has joined #ruby
osvico has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
wolcanus has quit [Remote host closed the connection]
slyv has joined #ruby
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
jdenen has quit [Quit: Leaving.]
axeman- has quit [Remote host closed the connection]
s0ber has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 245 seconds]
_veer has quit [Ping timeout: 264 seconds]
s0ber has joined #ruby
asobrasil has left #ruby [#ruby]
kvirani has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 268 seconds]
kvirani has joined #ruby
ffranz has quit [Quit: Leaving]
kvirani has quit [Ping timeout: 276 seconds]
spider-mario has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
peregrine81 has quit [Quit: peregrine81]
casheew_ has quit [Read error: Connection reset by peer]
ZephiroMX has joined #ruby
<ZephiroMX>
hola a todos.
bricker has quit [Read error: Operation timed out]
<ZephiroMX>
alguien me podria ayudar en un tema sobre Hash?
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
mneorr_ has quit [Ping timeout: 264 seconds]
frozenfoxx has joined #ruby
<frozenfoxx>
Super quick Ruby question
<popl>
ZephiroMX: Tenemos sobre todo hablamos Inglés aquí. Tal vez usted puede probar # ruby-es.
<popl>
#ruby-es
<frozenfoxx>
I have an array of possible directories and I would like to set a variable to whichever directory exists.
<frozenfoxx>
Can I do something like "somevariable = Dir['/path/to/first','/path/to/second'].exists? or something along those lines?
<popl>
I suppose you didn't imply that I did, though.
<popl>
It's very abstract. That's neat.
<workmad3>
yeah, there are some nice things in rails ;)
frozenfoxx has left #ruby [#ruby]
<workmad3>
(again, not implying that you're one of the auto-rails-bashing crowd ;) )
Zai00 has quit [Quit: Zai00]
akells has joined #ruby
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby
_veer has quit [Ping timeout: 260 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
endash has joined #ruby
vlad_starkov has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
akells has quit [Ping timeout: 245 seconds]
sparq_ has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
AndChat- has quit [Quit: Bye]
lkba has joined #ruby
rcosta has joined #ruby
devoldmx3 has quit [Ping timeout: 264 seconds]
anonymuse has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
rcosta_ has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
drPoggs has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby
forced_request has joined #ruby
bronson_ has quit [Quit: bronson_]
|PiP| has joined #ruby
rcosta has quit [Ping timeout: 264 seconds]
m8 has quit [Quit: Sto andando via]
Fuzai has joined #ruby
Fuzai_ has joined #ruby
|PiP| has left #ruby [#ruby]
cs02rm0 has quit [Read error: Operation timed out]
snovak has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
c0rn has quit [Quit: Computer has gone to sleep.]
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
mlpinit has quit [Remote host closed the connection]
cs02rm0 has joined #ruby
n_blownapart has joined #ruby
nfk has quit [Quit: yawn]
havenwood has quit [Remote host closed the connection]
drPoggs has joined #ruby
jjbohn is now known as jjbohn|afk
n_blownapart is now known as crucify_me
saarinen has quit [Quit: saarinen]
BRMatt has joined #ruby
shunt has quit [Read error: Operation timed out]
gstamp has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
c0rn has joined #ruby
dodosan has quit [Remote host closed the connection]
jaynewstrom has quit [Read error: Connection reset by peer]
Spami has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrThePlague has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
johnnyfuchs has joined #ruby
crucify_me has quit [Remote host closed the connection]
huoxito has joined #ruby
catphish has quit [Quit: Leaving]
Wildhoney has joined #ruby
reactormonk_ has joined #ruby
<xybre>
Did you just call workmad3.. "sugar"?
nari has joined #ruby
jaynewstrom has joined #ruby
reactormonk has quit [Ping timeout: 245 seconds]
starfox21 has quit [Quit: starfox21]
_md has quit [Quit: Leaving...]
mneorr has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
<pontiki>
no, sweetie
<xybre>
Thanks dear.
wmoxam has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
advorak has quit [Quit: Leaving]
jjbohn|afk is now known as jjbohn
ndrei has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
iliketur_ has joined #ruby
mansi has quit [Remote host closed the connection]
<mostlybadfly>
hi all
mansi has joined #ruby
<mostlybadfly>
is there a way to limit a variable to 1 character?
weems2 is now known as weems
weems has quit [Changing host]
weems has joined #ruby
<banisterfiend>
mostlybadfly huh?
<mostlybadfly>
for example if i want a simple "y" or "n"
<mostlybadfly>
i mean what is assigned to it i guess
snovak has joined #ruby
jjbohn has quit [Quit: Leaving...]
visof has quit [Remote host closed the connection]
<banisterfiend>
mostlybadfly nah, ruby is not statically typed
<banisterfiend>
any variable can hold any type of object at any time
pentameter has quit [Remote host closed the connection]
<mostlybadfly>
i see
r4nd0m1 has quit [Ping timeout: 264 seconds]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maxmanders has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 256 seconds]
ndrei has joined #ruby
cads has quit [Ping timeout: 260 seconds]
snath has quit [Ping timeout: 245 seconds]
jibi has quit [Quit: .]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<xybre>
mostlybadfly: Create an object with a setter-like method, when the method is run have it do a length check and then raise if it is not equal to 1.