germanstudent has quit [Remote host closed the connection]
germanstudent has joined #ruby
theRoUS has joined #ruby
`damien has quit [Quit: `damien]
ivanoats has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
rads has joined #ruby
bionoid has quit [Remote host closed the connection]
pygospa has quit [Read error: Operation timed out]
pygospa has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
devoldmx has joined #ruby
Bosox20051 has quit [Remote host closed the connection]
kasper has quit [Remote host closed the connection]
Peej has quit [Ping timeout: 240 seconds]
freewizard has quit [Remote host closed the connection]
vbmendes has joined #ruby
freewizard has joined #ruby
bigkm has joined #ruby
devoldmx has quit [Ping timeout: 259 seconds]
freewizard has quit [Ping timeout: 264 seconds]
DonRichie has quit [Ping timeout: 256 seconds]
ravster has quit [Quit: Leaving.]
DonRichie has joined #ruby
rads has quit [Quit: rads]
ssvo has joined #ruby
diegoviola has joined #ruby
tylersmith has joined #ruby
Peej has joined #ruby
freewizard has joined #ruby
yshh has joined #ruby
djbkd has quit [Remote host closed the connection]
bionoid has joined #ruby
yshh has quit [Remote host closed the connection]
wsterling has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
tylersmith has quit [Ping timeout: 256 seconds]
nbouscal has joined #ruby
peregrine81 has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
baroquebobcat has joined #ruby
wsterling has quit [Ping timeout: 260 seconds]
generalissimo has quit [Remote host closed the connection]
deadalus has quit [Excess Flood]
Kruppe has joined #ruby
deadalus has joined #ruby
bigmac has joined #ruby
marr has quit [Ping timeout: 260 seconds]
maskact has quit [Ping timeout: 264 seconds]
kasper has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
elvikingo has quit [Read error: No route to host]
JZTech101 has quit [Ping timeout: 256 seconds]
texasmynsted has joined #ruby
brennanMKE has quit [Remote host closed the connection]
Levin_22 has joined #ruby
ninegrid has quit [Ping timeout: 264 seconds]
kasper has quit [Ping timeout: 248 seconds]
<texasmynsted>
how do I downgrade a gem in a bundle?
cofin has joined #ruby
<texasmynsted>
hmm. maybe bundle update
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
mootpointer has joined #ruby
vbmendes has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
wesside has joined #ruby
devoldmx3 has joined #ruby
bradhe has quit [Remote host closed the connection]
arya has joined #ruby
jorge has joined #ruby
matias_ has joined #ruby
Hobogrammer_ has joined #ruby
adeponte has quit [Remote host closed the connection]
vbmendes has joined #ruby
matias_ has quit [Client Quit]
Mattix has quit [Quit: Leaving]
Matip has joined #ruby
Hobogrammer has quit [Ping timeout: 252 seconds]
jefflyne has joined #ruby
cj3kim has quit [Remote host closed the connection]
TheBeast has joined #ruby
devoldmx27 has joined #ruby
devoldmx27 has quit [Read error: Connection reset by peer]
kofno has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
devoldmx27 has joined #ruby
cj3kim has joined #ruby
nari has joined #ruby
<TheBeast>
does rbenv support multiple ruby installations? for ex. 2.0.0.-195 residing under different directories/paths? My goal is to deploy multiple rubies with the same version under different paths without poisoning the userland
ninegrid has joined #ruby
freeayu has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
atmosx has quit [Remote host closed the connection]
<BrianJ>
having issues with multi dimensional hashes
texasmynsted has left #ruby [#ruby]
<BrianJ>
or atleast accessing them
axl_ has quit [Quit: axl_]
<TheBeast>
ex: /home/user/foo/2.0.0-p195/lib/ruby/gems/2.0.0/gems/{gem1,gem2,gemZ} or /home/user/bar/2.0.0-p195/lib/ruby/gems/2.0.0/gems/{gem1,gem2,gem3}
Matip has quit [Quit: Leaving]
Mattix has joined #ruby
banjara has quit [Quit: Leaving.]
TheBeast has quit [Quit: TheBeast]
snearch has quit [Quit: Verlassend]
brianherman has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
cj3kim has joined #ruby
v0n has joined #ruby
Mattix has quit [Client Quit]
zenergi has joined #ruby
zenergi has quit [Client Quit]
Mattix has joined #ruby
jonahR has quit [Quit: jonahR]
fierycatnet has joined #ruby
sevenseacat has joined #ruby
diegoviola has quit [Ping timeout: 256 seconds]
<bnagy>
BrianJ: you're using a string when you should be using a :symbol
tylersmith has joined #ruby
yshh has joined #ruby
arubin has joined #ruby
brotatos has joined #ruby
<pontiki_>
leedle more than that
dhruvasagar has joined #ruby
banjara has joined #ruby
<pontiki_>
property and property2 can't have : on *both* ends
GeissT has joined #ruby
<brotatos>
I want to iterate through an array of strings and only print the values after a certain variable. What's the easiest way to do this? Here's what I've got so far: https://gist.github.com/7ef0c03b06c51ec1e2c9
diegoviola has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
bionoid has quit [Remote host closed the connection]
jorge has quit [Remote host closed the connection]
jorge has joined #ruby
Levin_22 has quit [Quit: Levin_22]
<pontiki_>
also, BrianJ, when you use #each on a hash, you get something a bit different that you may be expecting.
freewizard has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
banjara has joined #ruby
cj3kim has quit [Remote host closed the connection]
<bnagy>
I dunno, just saying if you've got an array of things you're trying to exec you can probably handle the whole 'tracking which ones didn't run' thing primarily
<bnagy>
but my coffee is kicking in now and I guess I need to do some work
<brotatos>
bnagy: i'm going to hange run_safe to take an array named commands that contains everything.
<brotatos>
which will make the code simpler in the long run
<brotatos>
bnagy: the problem with using pop is taht it would run the very last command first
rsahae_ has joined #ruby
<pontiki_>
use shift instead then
<bnagy>
while (command=commands.unshift); unless system(command); puts "Failed on #{command} with #{commands} left to run
<bnagy>
shift
<bnagy>
jesus maybe my coffee hasn't kicked in after all
<brotatos>
sweet
<bnagy>
probably raise instead of puts in real life
<brotatos>
yeah
rsahae_ has quit [Client Quit]
ckrailo has quit [Quit: Computer has gone to sleep.]
`brendan has joined #ruby
freewizard has joined #ruby
RichardBaker has joined #ruby
Ripp__ has joined #ruby
hogeo has joined #ruby
jrgarcia has joined #ruby
hogeo has quit [Remote host closed the connection]
cj3kim has joined #ruby
ttt has joined #ruby
rupee has quit [Quit: Leaving]
cofin has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
gildo has quit [Ping timeout: 276 seconds]
fenicks has quit [Read error: Connection reset by peer]
hattusili_III has quit [Ping timeout: 260 seconds]
Opettaja has joined #ruby
hattusili_III has joined #ruby
banghouse has quit [Remote host closed the connection]
jonahR has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
machuga|away is now known as machuga
cj3kim has quit [Remote host closed the connection]
lys has quit [Quit: lys]
roadt has joined #ruby
Matip has joined #ruby
mmitchell has joined #ruby
jamescarr has joined #ruby
splittingred has joined #ruby
bradhe has joined #ruby
Ripp__ has quit [Ping timeout: 240 seconds]
jamescarr has quit [Client Quit]
fridim_ has quit [Ping timeout: 252 seconds]
Mattix has quit [Ping timeout: 252 seconds]
bradhe has quit [Read error: Connection reset by peer]
jamescarr has joined #ruby
bradhe has joined #ruby
hogeo has joined #ruby
SoliahMB has joined #ruby
vlad_starkov has joined #ruby
mmitchel_ has joined #ruby
SoliahMB is now known as Soliah-
mmitchell has quit [Ping timeout: 256 seconds]
hogeo has quit [Remote host closed the connection]
RobW_ has quit [Quit: RobW_]
mmitchell has joined #ruby
bionoid has joined #ruby
pen has quit [Ping timeout: 256 seconds]
braincra- has joined #ruby
Es0teric has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
vbmendes has quit [Ping timeout: 248 seconds]
mmitchel_ has quit [Ping timeout: 252 seconds]
braincrash has quit [Ping timeout: 245 seconds]
jorge has joined #ruby
wargasm1 has quit [Ping timeout: 264 seconds]
jsonperl has joined #ruby
ILoveYou has joined #ruby
<jsonperl>
I'm having a weird problem with bundler acting differently on my production environment (linux) than it does on dev (osx)
<jsonperl>
It doesn't seem to load a dependeny correctly
baroquebobcat has joined #ruby
jorge has quit [Ping timeout: 246 seconds]
<jsonperl>
a gem has: s.add_runtime_dependency "recursive-open-struct"
wargasm has joined #ruby
<jsonperl>
yet it doesn't seem to load it in prod… any help?
<jsonperl>
"cannot load such file -- recursive_open_struct"
<jsonperl>
from the require line
vbmendes has joined #ruby
<bnagy>
is it installed?
<jsonperl>
its in the lock file
<sevenseacat>
do dashes vs underscores make a difference there?
<jsonperl>
and its bundled
<bnagy>
I don't know what any of those things mean
<bnagy>
bundler is a pile of crap afaict
akashj87_ has joined #ruby
<jsonperl>
i can try… the gem is recursive-open-struct but the lib is recursive_....
<jsonperl>
ykatz would disagree
<jsonperl>
i actually think it's quite brilliant
<bnagy>
but if it's not installed it's not going to be able to be required
<sevenseacat>
well is it installed?
<pontiki_>
how are you running bundle?
<sevenseacat>
i think the idea of bundler is awesome
<pontiki_>
any tool has it's limitations
<pontiki_>
bundler, though, is quite exceptional for what it does
<jsonperl>
agreed
<jsonperl>
remember when we didn't have it????
<pontiki_>
the entire gem dependecy structure is all kinds of fupped duck
<jsonperl>
it's amazing
<jsonperl>
anyway...
<pontiki_>
but bundler solves a lot of it
<jsonperl>
so this is weird
<pontiki_>
so, yeah
<jsonperl>
recursive-open-struct-0.4.3/lib/recursive-open-struct.rb:1:in `require': cannot load such file -- recursive_open_struct
<jsonperl>
when i require 'recursive-open-struct' it actually tries to load THAT file… which cannot load the other file in that gem
<RobW_>
If I'm merging data structures and need to pull keys and value out of a data structure, is it better in Ruby to use arrays of arrays: [[key, val],[key, val]] or an array of objects: [{key:val}, {key:val}]
dhruvasagar has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
<popl>
isn't that second thing a syntax error?
<RobW_>
popl: Prob, I'm not a ruby person
<popl>
do you mean =>?
<pontiki_>
is it?
<RobW_>
maybe {key=>val, key=>val} is better
<popl>
if so, you are asking about arrays of hashes?
<RubyPanther>
naw, we could fake it already, we can fake it pretty now
<RubyPanther>
it's like a whole new shade of fake-gold!
<popl>
bnagy: see, that's how tired I am. I thought you got an error doing it the way you did. I didn't read it clearly.
philcrissman has quit [Remote host closed the connection]
axl_ has joined #ruby
ttt has quit [Remote host closed the connection]
ttt has joined #ruby
jorge has quit [Ping timeout: 248 seconds]
DomKM has joined #ruby
<popl>
bnagy: how long have you been coding in ruby?
<bnagy>
dunno, 05 06 I guess
<popl>
nice
<popl>
polyglot?
DomKM has quit [Client Quit]
<bnagy>
not in any serious way
<bnagy>
I did perl ada c asm etc before that, back in the dim dark ages
<popl>
ada :)
<bnagy>
I still have to read c / asm but I don't write it when I have any choice at all
<bnagy>
Go is giving me ada flashbacks :(
axl_ has quit [Ping timeout: 246 seconds]
JumpMast3r has joined #ruby
<popl>
I like x86 but you might be able to tell from my nickname
<popl>
I tried Go on their website.
<popl>
It seemed neat.
freewizard has quit [Remote host closed the connection]
<popl>
I never really did anything serious in ada but it made me smile because my old professor used ada for some programming contest solutions back in the day
freewizard has joined #ruby
<popl>
that was before he started using Java for everything
dmiller has quit [Ping timeout: 256 seconds]
<popl>
my Perl knowledge is helping me understand ruby pretty quickly
<popl>
send is interesting
<popl>
reminds me of erlang messages
DomKM1 has joined #ruby
DomKM1 has quit [Client Quit]
tylersmith has joined #ruby
<popl>
so basically ruby is aiming to make me nostalgic :P
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy>
ruby is a lot like perl but with less line noise and proper oo
<bnagy>
although the 3 people who still use perl keep trying to tell me they have improved that now
freewizard has quit [Ping timeout: 252 seconds]
<popl>
heh
jrgarcia has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
<popl>
do you mean the three people here that still use perl?
<popl>
because a lot more than three people use perl :P
SoliahMBA has quit [Quit: SoliahMBA]
diegoviola has quit [Ping timeout: 256 seconds]
Bleubeard has quit [Remote host closed the connection]
<popl>
we have OO with introspection and roles and all sorts of neat stuff now
tonini has joined #ruby
ksinkar has quit [Ping timeout: 248 seconds]
<popl>
the biggest obstacle is that everyone has that mental model of perl-from-last-century
<popl>
that's how we refer to it too because it's changed so damned much
ksinkar has joined #ruby
jamescarr has quit [Quit: jamescarr]
<popl>
then you know someone's got a friend who's got a kid who's got a friend that "knows" the language and they end up finding some tutorial on the web from 1996 so they use *that* and then people get that idea of the language.
Myconix has quit [Quit: Server Error 482: The server has been shot by a 12-gauge, please contact an administrator]
<popl>
I'm sure it's not particular to Perl, though.
pipework has joined #ruby
tylersmith has quit [Remote host closed the connection]
wari has quit [Quit: Leaving]
roadt has joined #ruby
_Andres has joined #ruby
_Andres has quit [Client Quit]
acoyfellow has quit [Ping timeout: 264 seconds]
_Andres has joined #ruby
io_syl has joined #ruby
darth_chatri has joined #ruby
banghouse has quit [Remote host closed the connection]
rippa has joined #ruby
cofin has quit [Quit: cofin]
Foredoomed has quit [Ping timeout: 252 seconds]
Foredoomed has joined #ruby
jackjackdrpr has quit [Ping timeout: 256 seconds]
BrianJ has quit [Quit: Computer has gone to sleep.]
jamescarr has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ezotrank has joined #ruby
AlchemyFalcon has joined #ruby
KhalilC has joined #ruby
ksinkar has quit [Read error: Operation timed out]
slash_nick has quit [Ping timeout: 248 seconds]
tomzx_mac has quit [Read error: Operation timed out]
ssvo has joined #ruby
pithagorians has joined #ruby
mars__ has joined #ruby
jenrzzz has joined #ruby
cofin has joined #ruby
Kruppe has quit [Remote host closed the connection]
ssickle1 has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
jalcine has quit [Excess Flood]
bsdbandit has quit [Ping timeout: 276 seconds]
mootpointer has quit [Quit: Computer has gone to sleep.]
lewis has quit [Remote host closed the connection]
pranny1 has quit [Read error: Connection reset by peer]
pranny has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
TheBeast has joined #ruby
Patchou has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Patchou has joined #ruby
freewizard has quit [Remote host closed the connection]
choobie has quit [Ping timeout: 256 seconds]
freewizard has joined #ruby
zeade has quit [Quit: Leaving.]
Kar- has joined #ruby
<TheBeast>
can rbenv learn about ruby installs besides the system wide one and whatever has been pulled via rbenv install <version> <path> ?
dodosan has joined #ruby
ninp0 has quit [Read error: Operation timed out]
bigkevmcd has quit [Quit: Ex-Chat]
freewiza_ has joined #ruby
freewizard has quit [Read error: Connection reset by peer]
huoxito has quit [Quit: Leaving]
bigkevmcd has joined #ruby
<postmodern>
TheBeast, you can symlink other ruby installs into ~/.rbenv/version/$name-of-ruby
<TheBeast>
a symlink to the 'ruby' binary?
jorge has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
teclator has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
darth_chatri1 has quit [Ping timeout: 246 seconds]
threesome has joined #ruby
pranny1 has joined #ruby
jorge has quit [Ping timeout: 264 seconds]
SilverKey has joined #ruby
poseid1 has joined #ruby
SilverKey has quit [Max SendQ exceeded]
SilverKey has joined #ruby
zomgbie_ has quit [Read error: Connection reset by peer]
poseid has quit [Ping timeout: 248 seconds]
zomgbie_ has joined #ruby
jds has quit [Remote host closed the connection]
SilverKey has quit [Client Quit]
freeayu__ has quit [Read error: Connection reset by peer]
relix has quit [Ping timeout: 248 seconds]
germanstudent has quit [Ping timeout: 248 seconds]
kstephens has quit [Ping timeout: 248 seconds]
darth_chatri has joined #ruby
Derander has quit [Read error: Operation timed out]
moeSeth has quit [Ping timeout: 260 seconds]
niftylettuce has quit [Ping timeout: 260 seconds]
cam`` has quit [Ping timeout: 260 seconds]
tonini has quit [Ping timeout: 248 seconds]
jetblack has quit [Ping timeout: 248 seconds]
nitrodex has quit [Ping timeout: 260 seconds]
bakedb has quit [Ping timeout: 248 seconds]
bakedb_ has joined #ruby
felipe has quit [Ping timeout: 260 seconds]
roadt has quit [Ping timeout: 248 seconds]
blitz has quit [Ping timeout: 248 seconds]
krisfremen has quit [Ping timeout: 248 seconds]
Shrink has quit [Ping timeout: 248 seconds]
scrogson has quit [Ping timeout: 248 seconds]
fearoffish has quit [Ping timeout: 248 seconds]
nitrodex has joined #ruby
joschi has quit [Ping timeout: 260 seconds]
braoru has quit [Ping timeout: 248 seconds]
postmodern has quit [Ping timeout: 248 seconds]
andrewh has quit [Ping timeout: 248 seconds]
caveat- has quit [Ping timeout: 260 seconds]
andrewh has joined #ruby
jonahR has quit [Read error: Connection reset by peer]
poseid has joined #ruby
quazimod1 has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
awwaiid has joined #ruby
quazimodo has joined #ruby
alup has joined #ruby
NiteRain has quit [Ping timeout: 264 seconds]
caveat- has joined #ruby
poseid1 has quit [Ping timeout: 248 seconds]
foohey has quit [Read error: Operation timed out]
awwaiid_ has quit [Read error: Operation timed out]
jibi has joined #ruby
Derander has joined #ruby
KillerFox has quit [Ping timeout: 248 seconds]
KillerFox has joined #ruby
germanstudent has joined #ruby
Rylai has quit [*.net *.split]
optimusprimem has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
davidcelis has quit [*.net *.split]
ixx has quit [*.net *.split]
farn has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
phreax_ has quit [*.net *.split]
jayne has quit [*.net *.split]
rpgsimmaster_ has quit [*.net *.split]
pdtpatrick has quit [*.net *.split]
spacemud has quit [*.net *.split]
daaaan has quit [*.net *.split]
lancepantz has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
eregon has quit [*.net *.split]
mljsimone has quit [*.net *.split]
etank has quit [*.net *.split]
Boohbah has quit [*.net *.split]
taec has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
BeanDip_ has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
jcarouth has quit [*.net *.split]
ezotrank has quit [*.net *.split]
Hanmac has quit [*.net *.split]
aganov has quit [*.net *.split]
fgo has quit [*.net *.split]
danslo has quit [*.net *.split]
axeman_ has quit [*.net *.split]
pranny has quit [*.net *.split]
Asher has quit [*.net *.split]
brianpWins has quit [*.net *.split]
jalcine has quit [*.net *.split]
buzzybron has quit [*.net *.split]
takezawa_ has quit [*.net *.split]
foobArrr has quit [*.net *.split]
Davai has quit [*.net *.split]
robert_ has quit [*.net *.split]
predator117 has quit [*.net *.split]
popl has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
afd__ has quit [*.net *.split]
Rizzle has quit [*.net *.split]
greenarrow has quit [*.net *.split]
seitensei has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
three18ti has quit [*.net *.split]
firebury_ has quit [*.net *.split]
chee has quit [*.net *.split]
epylinkn has quit [*.net *.split]
paissad has quit [*.net *.split]
SeySayux has quit [*.net *.split]
rotor has quit [*.net *.split]
WanderingGlitch has quit [*.net *.split]
preller has quit [*.net *.split]
blz37 has quit [*.net *.split]
classix has quit [*.net *.split]
fbernier has quit [*.net *.split]
bmn has quit [*.net *.split]
kiela has quit [*.net *.split]
Tarential has quit [*.net *.split]
sweeper has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
emptynine has quit [*.net *.split]
nimor has quit [*.net *.split]
heidar has quit [*.net *.split]
davidboy has quit [*.net *.split]
thibauts_ has quit [*.net *.split]
drizz_ has quit [*.net *.split]
eval-in has quit [*.net *.split]
naquad has quit [*.net *.split]
cespare has quit [*.net *.split]
yellow5 has quit [*.net *.split]
wuest has quit [*.net *.split]
fredjean has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
Uranio has quit [*.net *.split]
jamescarr has quit [*.net *.split]
zomgbie has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
cofin has quit [*.net *.split]
cj3kim has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
pygospa has quit [*.net *.split]
bubblehead has quit [*.net *.split]
atno has quit [*.net *.split]
mvangala_ has quit [*.net *.split]
poga has quit [*.net *.split]
malcolmva has quit [*.net *.split]
spacebug has quit [*.net *.split]
shinta42 has quit [*.net *.split]
mnaser has quit [*.net *.split]
pontiki_ has quit [*.net *.split]
destruct1re has quit [*.net *.split]
headius has quit [*.net *.split]
zalgor has quit [*.net *.split]
yeban has quit [*.net *.split]
aboudreault has quit [*.net *.split]
toddWork__ has quit [*.net *.split]
zero7 has quit [*.net *.split]
pcboy__ has quit [*.net *.split]
araujo has quit [*.net *.split]
codex has quit [*.net *.split]
yasu has quit [*.net *.split]
halfie has quit [*.net *.split]
ec_ has quit [*.net *.split]
jaimef has quit [*.net *.split]
drfreeze has quit [*.net *.split]
dv_ has quit [*.net *.split]
Veejay has quit [*.net *.split]
rgoodwin has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
jackal_af has quit [*.net *.split]
m_3 has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
zphobic has quit [*.net *.split]
matled has quit [*.net *.split]
wykydtron has quit [*.net *.split]
jbw has quit [*.net *.split]
flurick has quit [*.net *.split]
eka has quit [*.net *.split]
swordsmanz has quit [*.net *.split]
anderson has quit [*.net *.split]
huttan has quit [*.net *.split]
fomatin has quit [*.net *.split]
marsLantern has quit [*.net *.split]
Domon has quit [*.net *.split]
`p has quit [*.net *.split]
felixjet has quit [*.net *.split]
fcoury__ has quit [*.net *.split]
MrThePl__ has quit [*.net *.split]
asuka has quit [*.net *.split]
ejnahc has quit [*.net *.split]
Akuma has quit [*.net *.split]
rlb3 has quit [*.net *.split]
mcpierce has quit [*.net *.split]
Zelest has quit [*.net *.split]
multi_io has quit [*.net *.split]
laitances14 has quit [*.net *.split]
jtperreault has quit [*.net *.split]
deavid has quit [*.net *.split]
k3rn3lito has quit [*.net *.split]
alex88 has quit [*.net *.split]
ddd has quit [*.net *.split]
ainame has quit [*.net *.split]
faulkner has quit [*.net *.split]
coaster has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
spacebug_ has quit [*.net *.split]
cout has quit [*.net *.split]
adamholt has quit [*.net *.split]
jnix has quit [*.net *.split]
matrixise has quit [*.net *.split]
DrForr has quit [*.net *.split]
rblackwe has quit [*.net *.split]
anildigital has quit [*.net *.split]
Guest4693 has quit [*.net *.split]
JumpMast3r has quit [Read error: Connection reset by peer]
<Judge>
I'd like to learn ruby! But I currently ask myself if I should go with a book which covers 1.9 and 2.0 or one which sticks to 1.8? I'd be very happy for a Community - opinion from people familiar with day to day ruby. I know that version numbers do not rewind and that higher indicates newer and that 1.9 and 2.x is the future. But the real question is, how mature these already are for reasonable,practical
<Judge>
usage? I know that Python currently also switches from 2.7 to 3.2 and there it is a fact that *many* modules and frameworks aren't available yet for 3.2. So many Python Projects still stick to 2.7 and seem to stay that way for a long time. I'd like to get an overvie of the situation in ruby, before I learn and buy a book for a version of the language.
JumpMast3r has joined #ruby
byprdct has joined #ruby
braoru has joined #ruby
postmodern has joined #ruby
classix has joined #ruby
<hoelzro>
Judge: I would say learn 1.9
rdark has joined #ruby
cha1tanya has quit [Ping timeout: 248 seconds]
<hoelzro>
1.8 is pretty much EOL, and I don't know if a lot of material exists for 2.0 yet
<hoelzro>
but I think it's good to be aware of what 2.0 brings
Shrink has joined #ruby
scrogson has joined #ruby
fearoffish has joined #ruby
kstephens has joined #ruby
bigkevmcd has joined #ruby
Asher has joined #ruby
zomgbie has joined #ruby
takezawa_ has joined #ruby
fredjean has joined #ruby
felixjet_ has joined #ruby
dhruvasagar has joined #ruby
axeman_ has joined #ruby
jalcine has joined #ruby
Rylai has joined #ruby
aganov has joined #ruby
jamescarr has joined #ruby
kofno has joined #ruby
predator117 has joined #ruby
shinta42 has joined #ruby
freeayu has joined #ruby
buzzybron has joined #ruby
spacebug has joined #ruby
onewheelskyward has joined #ruby
Domon has joined #ruby
yxhuvud has joined #ruby
ezotrank has joined #ruby
eka has joined #ruby
pithagorians has joined #ruby
bubblehead has joined #ruby
fgo has joined #ruby
swordsmanz has joined #ruby
marsLantern has joined #ruby
pygospa has joined #ruby
tkuchiki has joined #ruby
mnaser has joined #ruby
optimusprimem has joined #ruby
danslo has joined #ruby
destruct1re has joined #ruby
blitzkev has joined #ruby
toddWork__ has joined #ruby
mvangala_ has joined #ruby
seitensei has joined #ruby
three18ti has joined #ruby
pontiki_ has joined #ruby
foobArrr has joined #ruby
popl has joined #ruby
roadt has joined #ruby
felixjet has joined #ruby
poga has joined #ruby
zalgor has joined #ruby
afd__ has joined #ruby
huttan has joined #ruby
fomatin has joined #ruby
cofin has joined #ruby
codex has joined #ruby
cj3kim has joined #ruby
malcolmva has joined #ruby
ejnahc has joined #ruby
asuka has joined #ruby
sevenseacat has joined #ruby
hogeo has joined #ruby
Hanmac has joined #ruby
greenarrow has joined #ruby
Akuma has joined #ruby
ec_ has joined #ruby
araujo has joined #ruby
epylinkn has joined #ruby
robert_ has joined #ruby
whowantstolivefo has joined #ruby
Davai has joined #ruby
preller has joined #ruby
mcpierce has joined #ruby
`p has joined #ruby
halfie has joined #ruby
blz37 has joined #ruby
laitances14 has joined #ruby
Rizzle has joined #ruby
zero7 has joined #ruby
matled- has joined #ruby
rotor has joined #ruby
headius has joined #ruby
brianpWins has joined #ruby
SeySayux has joined #ruby
pcboy__ has joined #ruby
drfreeze has joined #ruby
Zelest has joined #ruby
paissad has joined #ruby
aboudreault has joined #ruby
MrThePl__ has joined #ruby
yasu has joined #ruby
jaimef has joined #ruby
dv_ has joined #ruby
chee has joined #ruby
Sou|cutter has joined #ruby
fcoury__ has joined #ruby
yeban has joined #ruby
wykydtron has joined #ruby
rlb3 has joined #ruby
jackal_af has joined #ruby
GeekOnCoffee has joined #ruby
Dreamer3 has joined #ruby
atno has joined #ruby
jtperreault has joined #ruby
bmn has joined #ruby
flurick has joined #ruby
rgoodwin has joined #ruby
m_3 has joined #ruby
Uranio has joined #ruby
kiela has joined #ruby
emptynine has joined #ruby
MetaCosm has joined #ruby
WanderingGlitch has joined #ruby
Veejay has joined #ruby
k3rn3lito has joined #ruby
nimor has joined #ruby
deavid has joined #ruby
firebury_ has joined #ruby
sweeper has joined #ruby
Tarential has joined #ruby
alex88 has joined #ruby
ddd has joined #ruby
davidboy has joined #ruby
ainame has joined #ruby
DarkFoxDK has joined #ruby
faulkner has joined #ruby
heidar has joined #ruby
zphobic has joined #ruby
fbernier has joined #ruby
multi_io has joined #ruby
coaster has joined #ruby
ixx has joined #ruby
davidcelis has joined #ruby
KarlHungus has joined #ruby
spacebug_ has joined #ruby
thibauts_ has joined #ruby
farn has joined #ruby
drizz_ has joined #ruby
eval-in has joined #ruby
adamholt has joined #ruby
naquad has joined #ruby
jnix has joined #ruby
cespare has joined #ruby
rblackwe has joined #ruby
yellow5 has joined #ruby
jbw has joined #ruby
matrixise has joined #ruby
DrForr has joined #ruby
anildigital has joined #ruby
cout has joined #ruby
Guest4693 has joined #ruby
phreax_ has joined #ruby
yeltzooo has joined #ruby
jayne has joined #ruby
wuest has joined #ruby
pdtpatrick has joined #ruby
lancepantz has joined #ruby
rpgsimmaster_ has joined #ruby
spacemud has joined #ruby
daaaan has joined #ruby
WhereIsMySpoon has joined #ruby
eregon has joined #ruby
mljsimone has joined #ruby
etank has joined #ruby
jcarouth has joined #ruby
taec has joined #ruby
marcellu1 has joined #ruby
Boohbah has joined #ruby
BeanDip_ has joined #ruby
jetblack has joined #ruby
joshwines has quit [Excess Flood]
farn has quit [Max SendQ exceeded]
kofno has quit [Ping timeout: 246 seconds]
mootpointer has quit [Write error: Broken pipe]
cj3kim has quit [Remote host closed the connection]
axeman_ has quit [Remote host closed the connection]
pranny1 has quit [Read error: Connection reset by peer]
pranny has joined #ruby
Guest52199 has joined #ruby
zomgbie has quit [Read error: Operation timed out]
senayar has joined #ruby
popl has left #ruby [#ruby]
relix has joined #ruby
<Judge>
hoelzro: So, what you're saying is that the main focus should be on 1.9 and from there go to 2.0 any time?
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
nitrodex is now known as Guest33566
NiteRain has joined #ruby
<hoelzro>
that's my opinion
tonini has joined #ruby
jalcine has quit [Max SendQ exceeded]
joshwines has joined #ruby
autumn has joined #ruby
<hoelzro>
I would see what others have to say here as well =)
monkegjinni has joined #ruby
anderson has joined #ruby
cj3kim has joined #ruby
rblackwe has quit [Max SendQ exceeded]
fomatin has quit [Ping timeout: 253 seconds]
felixjet has quit [Ping timeout: 253 seconds]
rblackwe_ has joined #ruby
<Judge>
hoelzro: Thanks for telling your opinion :)
<hoelzro>
happy to provide =)
zomgbie_ has quit [Ping timeout: 256 seconds]
jalcine_ has joined #ruby
fgo has quit [Remote host closed the connection]
TheBeast has left #ruby [#ruby]
jalcine_ is now known as Guest89702
Gooder has joined #ruby
popl has joined #ruby
ninp0 has joined #ruby
krisfremen has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
nfisher has quit [Ping timeout: 248 seconds]
pyrac has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
dodosan has quit [Remote host closed the connection]
darth_chatri1 has joined #ruby
DonRichie has quit [Ping timeout: 248 seconds]
DonRichie has joined #ruby
jibi has quit [Quit: .]
matchaw has joined #ruby
Guest52199 is now known as farn
darth_chatri has quit [Ping timeout: 264 seconds]
ybart has joined #ruby
krisfremen has joined #ruby
Banistergalaxy has quit [Quit: Bye]
blaxter_ has joined #ruby
Banistergalaxy has joined #ruby
timonv has joined #ruby
Elhu has joined #ruby
spergalerger has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
krisfremen has quit [Remote host closed the connection]
teclator has joined #ruby
obs has joined #ruby
marr has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
himsin has joined #ruby
daniel_hinojosa has quit [Ping timeout: 240 seconds]
echevemaster has quit [Quit: Leaving]
havenn_ has quit [Remote host closed the connection]
<Judge>
Are there additional opinions?
<Judge>
Can someone suggest a good book? It don't have to be free.
troessner has joined #ruby
<popl>
what?
DaniG2k has joined #ruby
pi3r has joined #ruby
krz has joined #ruby
bsdbandit has quit [Ping timeout: 256 seconds]
<hoelzro>
Judge: do you know how to program already?
<hoelzro>
or is Ruby your first langauge?
<hoelzro>
*language
<Judge>
hoelzro: First one.
<hoelzro>
hmm
pyrac has quit [Quit: pyrac]
freewiza_ has quit [Read error: Connection reset by peer]
<Judge>
Sorry, that was missleading: My first language :)
blaxter_ has quit [Ping timeout: 248 seconds]
<hoelzro>
I learned from a great book, but it's geared towards devs with at least one language under their belt =(
fixl has joined #ruby
<hoelzro>
I hear that the pickaxe book is quite good
<hoelzro>
but I can't vouch for it personally
<Judge>
hoelzro: Then you probably speak of "Heads first", don't you? ;)
<hoelzro>
I learned from "The Ruby Programming Language"
<Judge>
OK ... Hmm .
<hoelzro>
which is pretty much the only programming book I recommend to anyone
<hoelzro>
which really says something about how highly I think of it =)
pen has quit [Remote host closed the connection]
freewizard has joined #ruby
joschi has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
* Hanmac
does not know how he learns ruby, because he never reads such RubyBook
<popl>
Hanmac: probably with great frustration and lots of bad habits
Gooder` has joined #ruby
browndawg has left #ruby [#ruby]
SoliahMBA has joined #ruby
SoliahMBA has quit [Client Quit]
<Hanmac>
popl i readed the Script Code of Enterbrains Makers, that was enough for me to learn ruby
<Judge>
hoelzro: I know some of the "Heads first" books which I buyed to get a feel for several languages. The Python book also "requires" knowledge in another language. But in reality, the level they need is very low; it's enough to know what a loop , a variable, etc. is. How strong / deep is the need to know another language in that book of yours?
<hoelzro>
hmm
vlad_starkov has joined #ruby
<popl>
enterbrains makers?
perun0 has quit [Ping timeout: 260 seconds]
<hoelzro>
good question; I read it over a year ago
ShapeShifter499 has quit [Ping timeout: 245 seconds]
<hoelzro>
to me, it seemed like it would be hard for a person new to programming to fully understand
<Judge>
hoelzro: OK, then it might really not be the right one for me .
monkegjinni has quit [Remote host closed the connection]
NiteRain has quit [Read error: Operation timed out]
querymyquery has quit [Quit: Page closed]
arusso has joined #ruby
<popl>
Hanmac: :P
<popl>
Hanmac: rmxp?
perun0 has joined #ruby
ShapeShifter499 has joined #ruby
sayd has joined #ruby
cheese1756 has joined #ruby
autumn has quit [Ping timeout: 264 seconds]
zomgbie has joined #ruby
zomgbie_ has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
<Hanmac>
popl: my first was 2k and 2k3, but they didt have scripting system ... later i used rmxp and the onther ones (i didnt get ace working on my linux but i used ther default scripts)
puppeh has joined #ruby
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
<puppeh>
are arrays garbage collected in ruby?
ezotrank- has joined #ruby
jefflyne has joined #ruby
Norrin has quit [Ping timeout: 256 seconds]
perun0 has quit [Client Quit]
monkegjinni has joined #ruby
<Hanmac>
puppeh: if they are not used anymore, than yes
spergalerger has left #ruby [#ruby]
<puppeh>
i'm creating a quiz and i'm not sure about a question I've put
<puppeh>
i'm 98% sure :P
<puppeh>
so between symbols, strings & arrays, only symbols are *not* GCed
falood has quit [Remote host closed the connection]
Ripp__ has joined #ruby
anderson has quit [Quit: Leaving]
NiteRain has joined #ruby
jorge has quit [Ping timeout: 248 seconds]
puppeh has left #ruby ["bb"]
ferdev has quit [Quit: ferdev]
zomgbie has quit [Read error: Connection reset by peer]
zomgbie_ has quit [Read error: Connection reset by peer]
ShapeShifter499 has joined #ruby
brianpWins has quit [Quit: brianpWins]
krisfremen has quit [Ping timeout: 248 seconds]
BizarreCake has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
camilasan has joined #ruby
Rizzle has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
Spami has quit [Client Quit]
kofno has joined #ruby
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rizzle has joined #ruby
niels__ has joined #ruby
ayaz has joined #ruby
nomenkun has joined #ruby
timonv has quit [Remote host closed the connection]
<niels__>
i upgraded to 2.0, but now my inst. dir and exec dir is still 1.9.3, and i can't use newly installed gems, how do i change it all to 2.0? here's my gem env: http://pastebin.com/5KEAZJD6
joonty has joined #ruby
jds_ has joined #ruby
noname001 has joined #ruby
reset has quit [Quit: Leaving...]
lewis has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
ayaz has quit [Read error: Connection reset by peer]
ferdev has joined #ruby
andikr has joined #ruby
ffio has joined #ruby
mklappstuhl has joined #ruby
jds_ has quit [Ping timeout: 252 seconds]
dangerousdave has joined #ruby
pi3r has quit [Ping timeout: 264 seconds]
axeman_ has joined #ruby
Heero has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
<Hanmac>
niels__: hm it looks like an rvm bug ,P ... you can try to ask at #rvm
<niels__>
Hanmac: already did :(
axeman_ has quit [Remote host closed the connection]
bionoid has quit [Remote host closed the connection]
<Hanmac>
hm how did you "upgrade to 2.0" did you use rvm for that too or do you install it yourself?
Villadelfia has quit [Read error: Operation timed out]
Al__ has joined #ruby
<niels__>
Hanmac: this might sound stupid, but i honestly don't recall
ghr has joined #ruby
SeySayux has quit [Ping timeout: 268 seconds]
<sevenseacat>
lol good start
kiri has joined #ruby
<Hanmac>
niels__: hm for me it look like that you install 1.9.3 via rvm and 2.0 via source, what happen when you make a new console and try "gem env" again? does something change?
<niels__>
Hanmac: no, it's the same
axeman_ has joined #ruby
<niels__>
Hanmac: perhaps i should just do a rvm upgrade ruby?
<Hanmac>
maybe that helps, i dont know i never used rvm
Villadelfia has joined #ruby
<niels__>
okay, thanks - i'll figure something out
jamescarr has quit [Quit: jamescarr]
atno has quit [Read error: Connection reset by peer]
SeySayux has joined #ruby
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
tatsuya_o has joined #ruby
jamescarr has joined #ruby
fridim_ has quit [Ping timeout: 260 seconds]
pi3r has joined #ruby
freewizard has quit [Remote host closed the connection]
freewizard has joined #ruby
weeb1e has quit [Ping timeout: 246 seconds]
MrZYX|off is now known as MrZYX
ksinkar_ has joined #ruby
ksinkar has quit [Ping timeout: 256 seconds]
roadt has quit [Ping timeout: 246 seconds]
weeb1e has joined #ruby
Astralum has joined #ruby
spider-mario has joined #ruby
ayaz has joined #ruby
cha1tanya has joined #ruby
freewizard has quit [Ping timeout: 256 seconds]
dodosan has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Bry8Star{T2_ has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
SecretAgent has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
dodosan has quit [Ping timeout: 264 seconds]
darth_chatri1 is now known as darth_chatri
Davey has joined #ruby
zomgbie_ has joined #ruby
zomgbie has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
threesome has joined #ruby
andikr has quit [Remote host closed the connection]
davidcelis has quit [Ping timeout: 245 seconds]
zigomir has quit [Quit: zigomir]
zomgbie_ has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Connection reset by peer]
nfisher has joined #ruby
coaster has quit [Ping timeout: 276 seconds]
danslo has quit [Quit: danslo]
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
arya has quit [Ping timeout: 248 seconds]
sevenseacat has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
coaster has joined #ruby
niceguyjames has joined #ruby
zomgbie has joined #ruby
zomgbie_ has joined #ruby
Morrolan has joined #ruby
davidcelis has joined #ruby
aag1091 has joined #ruby
Spami has joined #ruby
<aag1091>
hi
freewizard has joined #ruby
sevenseacat has quit [Client Quit]
Banistergalaxy has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 248 seconds]
patricksroberts_ has joined #ruby
lectrick has joined #ruby
monkegjinni has quit [Remote host closed the connection]
rwz__ has joined #ruby
zomgbie_ has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Connection reset by peer]
keyvan has joined #ruby
karnowski has joined #ruby
sarcilav has joined #ruby
Shirakawasuna has quit [Ping timeout: 240 seconds]
dotemacs has joined #ruby
bsdbandit has quit [Read error: Connection reset by peer]
geoffw8_ has joined #ruby
guilleiguaran__ has joined #ruby
notbrent___ has joined #ruby
kapowaz has joined #ruby
taqutor has joined #ruby
bsdbandit has joined #ruby
bluehavana has joined #ruby
Zai00 has joined #ruby
[Neurotic] has joined #ruby
camilasan has joined #ruby
dnyy has joined #ruby
pcarrier has joined #ruby
monkegjinni has joined #ruby
TheHodge has joined #ruby
monkegji_ has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zigomir has joined #ruby
monkegji_ has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
monkegji_ has joined #ruby
monkegjinni has quit [Read error: No route to host]
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
freewizard has quit [Remote host closed the connection]
<lewis>
hi
ntus1017 has quit [Remote host closed the connection]
zomgbie has joined #ruby
bamdad has quit [Quit: bamdad]
Pengoo has joined #ruby
dmiller has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
zomgbie_ has joined #ruby
cam` has joined #ruby
moeSeth has joined #ruby
niftylettuce has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
persand has joined #ruby
ttt has quit [Remote host closed the connection]
bionoid has joined #ruby
dmiller has quit [Ping timeout: 240 seconds]
Gooder` has quit [Remote host closed the connection]
TIJ has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
Davey has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
Davey has quit [Client Quit]
heftig has joined #ruby
BRMatt has joined #ruby
foohey has joined #ruby
freeayu__ has joined #ruby
monkegji_ has quit [Ping timeout: 264 seconds]
bamdad has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
jbpros has joined #ruby
Mo0O has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
niklasb has joined #ruby
jamescarr has quit [Quit: jamescarr]
freewizard has joined #ruby
TIJ has quit [Ping timeout: 256 seconds]
jibi has joined #ruby
nari has joined #ruby
<dawkirst>
Hi, is there anywhere specific (I'm thinking something akin to SO) I can ask questions relating to high-level architecture (agnostic to any specific stack)?
falood has joined #ruby
<atmosx>
dawkirst: SO would befine imho.
Astral_ has joined #ruby
<dawkirst>
atmosx, ok, ty
<Hanmac>
someday my gems will be "high-level architecture" too ;P
Astral_ has quit [Client Quit]
darth_chatri1 has joined #ruby
Banistergalaxy has joined #ruby
darth_chatri2 has joined #ruby
darth_chatri has quit [Disconnected by services]
darth_chatri2 is now known as darth_chatri
Iszak has joined #ruby
zomgbie_ has quit [Quit: Lost terminal]
Iszak has quit [Max SendQ exceeded]
Banistergalaxy has quit [Client Quit]
darth_chatri1 has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby
Spooner has joined #ruby
kasper has quit [Remote host closed the connection]
pyrac has joined #ruby
<atmosx>
Hanmac: I just released by 1st gem. Found 3 bugs already.
browndawg has joined #ruby
<Hanmac>
atmosx: do you mean one of my gems?
Zai00_ has joined #ruby
nfisher has quit [Ping timeout: 246 seconds]
TIJ has joined #ruby
<atmosx>
Hanmac: hahah no no.
<atmosx>
Hanmac: I made a gem the other day... to help a guy install a script of mine in his system which required some ruby-fu and he wasn't up to the task apparently
kevinykchan has quit [Read error: Connection reset by peer]
Zai00 has quit [Ping timeout: 256 seconds]
Zai00_ is now known as Zai00
cj3kim has quit [Remote host closed the connection]
shadoi1 has joined #ruby
joonty has quit [Quit: WeeChat 0.3.7]
shadoi has quit [Ping timeout: 264 seconds]
vbmendes has joined #ruby
chichou has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
mmozuras_ has joined #ruby
mmozuras has quit [Read error: Connection reset by peer]
tonini has quit [Ping timeout: 248 seconds]
AndChat| has joined #ruby
tjr__ has quit [Quit: leaving]
bionoid has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 256 seconds]
jorge has joined #ruby
mnms_ has quit [Ping timeout: 252 seconds]
xeviox has joined #ruby
mnms_ has joined #ruby
<xeviox>
sorry guys, I'm sure someone explained it here, but I'm unable to find it in the logs / web. At the moment I'm using the "wrong" "require ./somefile". What do I have to do to add the current folder to the load path?
DrCode has quit [Remote host closed the connection]
darth_chatri1 has joined #ruby
aag1091 has left #ruby [#ruby]
jbpros has quit [Quit: jbpros]
kasper has joined #ruby
jorge has quit [Ping timeout: 248 seconds]
freewizard has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
<xeviox>
is it simply: "$LOAD_PATH.unshift(File.dirname(__FILE__))" ?
freewizard has joined #ruby
nfisher has joined #ruby
<MrZYX>
yup
falood has quit [Remote host closed the connection]
<MrZYX>
or starting ruby with ruby -I.
<MrZYX>
ideally all files you need to require are in a subfolder, like lib though
darth_chatri has quit [Ping timeout: 260 seconds]
dmiller has joined #ruby
<lewis>
what does shift and unshift do again
<MrZYX>
shift is << (append), unshift is prepend
<lewis>
push and pull?
<MrZYX>
no
<MrZYX>
push and prepend
<MrZYX>
wait, I'm talking garbage
<MrZYX>
push and pull but on the other end of the array
obs has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<MrZYX>
shift = take first element, unshift = prepend array with element
darth_chatri has joined #ruby
darth_chatri2 has joined #ruby
<MrZYX>
and pop was the more correct term for pull
<MrZYX>
lewis: best get irb and an array and try them all out ;)
freewizard has quit [Ping timeout: 264 seconds]
<lewis>
MrZYX: push and pop
<lewis>
in reverse
<MrZYX>
yup
ffio has quit [Quit: WeeChat 0.4.1]
dmiller has quit [Ping timeout: 260 seconds]
<lewis>
i remember there's a subtle difference between << and the push
<xeviox>
MrZYX: I have a Sinatra application where the files are spread over a couple of folders (models, routes, ...)
nerdman has joined #ruby
<xeviox>
but thanks for the answer :D
darth_chatri1 has quit [Ping timeout: 248 seconds]
darth_chatri1 has joined #ruby
niels__ has left #ruby [#ruby]
darth_chatri has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
darth_chatri3 has joined #ruby
darth_chatri3 is now known as darth_chatri
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
vlad_starkov has joined #ruby
jbpros has joined #ruby
darth_chatri2 has quit [Ping timeout: 248 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darth_chatri1 has quit [Ping timeout: 248 seconds]
darth_chatri has quit [Client Quit]
queston has joined #ruby
kofno has quit [Ping timeout: 260 seconds]
relix has joined #ruby
DaniG2k has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
freewizard has joined #ruby
relix has quit [Client Quit]
zai has joined #ruby
DaniG2k has quit [Read error: Connection reset by peer]
DaniG2k1 has joined #ruby
DaniG2k1 has quit [Client Quit]
pothibo has joined #ruby
Jackneill has quit [Quit: Leaving]
Jackneill has joined #ruby
zigomir has quit [Quit: zigomir]
kayloos has quit [Remote host closed the connection]
zai has quit [Ping timeout: 256 seconds]
DaniG2k has joined #ruby
DaniG2k1 has joined #ruby
DaniG2k has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
AndChat| has quit [Ping timeout: 256 seconds]
ksinkar_ has quit [Read error: Operation timed out]
ksinkar_ has joined #ruby
joonty has joined #ruby
Banistergalaxy has joined #ruby
SilverKey has quit [Ping timeout: 264 seconds]
freewizard has quit [Remote host closed the connection]
freewizard has joined #ruby
DaniG2k1 has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
jibi has quit [Quit: .]
Jackneill has quit [Quit: Leaving]
freewizard has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
tvw has joined #ruby
pskosinski has joined #ruby
Jackneill has joined #ruby
obs has quit [Quit: Konversation terminated!]
yshh_ has quit [Remote host closed the connection]
machuga|away is now known as machuga
yshh has joined #ruby
Zeeo has joined #ruby
gildo has joined #ruby
kevinykchan has joined #ruby
obs has joined #ruby
<xeviox>
any ideas how I can strip the module name from datamapper?
buzzybron has quit [Quit: Leaving.]
<xeviox>
tried to the convention ('./models/somemodel' => 'Models::SomeModel'), but now datamapper looks for "models_somemodel" table
Domon has quit [Remote host closed the connection]
epta has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 256 seconds]
quazimodo has joined #ruby
obs has quit [Quit: Konversation terminated!]
Banistergalaxy has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
yashshah_ has joined #ruby
hogeo has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
Banistergalaxy has joined #ruby
tonini has joined #ruby
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
Spami has quit [Quit: This computer has gone to sleep]
nfisher has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 256 seconds]
quazimodo has joined #ruby
scrollback has joined #ruby
AllStruck has quit [Ping timeout: 256 seconds]
arya has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
DrCode has joined #ruby
byprdct has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
AllStruck has joined #ruby
jbpros has joined #ruby
azerton has quit [Quit: azerton]
obs has joined #ruby
moos3 has joined #ruby
kayloos has joined #ruby
workmad3 has joined #ruby
krz has quit [Quit: krz]
nfisher has joined #ruby
takezawa_ has quit [Remote host closed the connection]
cj3kim has joined #ruby
kofno has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
nfk has quit [Quit: yawn]
jefflyne has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
niceguyjames has joined #ruby
epta has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
cj3kim has quit [Ping timeout: 252 seconds]
jmimi has joined #ruby
Criztian has quit [Remote host closed the connection]
machuga has quit [Ping timeout: 246 seconds]
robustus has quit [Ping timeout: 248 seconds]
yshh has quit [Read error: No route to host]
yshh_ has joined #ruby
machuga has joined #ruby
dmiller has joined #ruby
matchaw has quit [Remote host closed the connection]
robustus has joined #ruby
jamescarr has joined #ruby
bamdad has quit [Quit: bamdad]
jamescarr has quit [Client Quit]
dmiller has quit [Ping timeout: 248 seconds]
jbpros has quit [Quit: jbpros]
brennanMKE has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
yashshah_ has quit [Ping timeout: 260 seconds]
lewis has quit [Remote host closed the connection]
haxrbyte has joined #ruby
<pontiki_>
i wonder what use is .rotate that it's part of core
geekbri has joined #ruby
kayloos has joined #ruby
<Hanmac>
becaue it can? ;P
BRMatt has quit [Ping timeout: 256 seconds]
cofin has quit [Quit: cofin]
<pontiki_>
"it" in this case being the ruby devs
mklappstuhl has quit [Remote host closed the connection]
freeayu__ has quit [Remote host closed the connection]
s3m73x has quit [Remote host closed the connection]
azerton has joined #ruby
gildo has joined #ruby
zigomir has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby
gyre007 has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
ldnunes has joined #ruby
<dominikh>
there's a lot of stuff in core..
<dominikh>
rotation is a somewhat useful function for certain algorithms though
<dominikh>
AES comes to mind, even though you probably wouldn't implement it yourself, nor in Ruby :)
bamdad has joined #ruby
<pontiki_>
dominikh: thats what i was wondering abt; there's lots of darkly arcane bits of some algs i just dont know. including something like that in core tells me theres more use thsn i can immediately imagine
charliesome_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
monkegjinni has quit [Remote host closed the connection]
viszu has joined #ruby
snearch has joined #ruby
YaNakilon has joined #ruby
Nakilon has joined #ruby
Alina-malina has joined #ruby
YaNakilon has quit [Client Quit]
Nakilon has quit [Client Quit]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
queston has quit [Remote host closed the connection]
ffio has joined #ruby
ctooley has joined #ruby
arturaz has joined #ruby
brbcoding has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
Alina-malina has quit [Ping timeout: 240 seconds]
Neomex1 has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
mark_locklear has joined #ruby
YaNakilon has joined #ruby
yashshah has joined #ruby
theRoUS has quit [Ping timeout: 248 seconds]
gyre007 has joined #ruby
darth_chatri has joined #ruby
ILoveYou has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Ping timeout: 261 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
devoldmx3 has joined #ruby
atyz has joined #ruby
Ortuna has joined #ruby
devoldmx27 has quit [Ping timeout: 240 seconds]
railsbros_dirk has quit [Quit: railsbros_dirk]
Elhu has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
DonRichie has quit [Quit: Verlassend]
dmiller has joined #ruby
KhalilC has quit [Ping timeout: 248 seconds]
mmozuras_ has quit [Read error: Connection reset by peer]
mmozuras has joined #ruby
kayloos has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
zomgbie has joined #ruby
monkegji_ has quit [Ping timeout: 248 seconds]
dmiller has quit [Ping timeout: 240 seconds]
s3m73x has joined #ruby
yashshah has quit [Ping timeout: 260 seconds]
kpshek has joined #ruby
verto has joined #ruby
carloslopes has joined #ruby
brennanMKE has joined #ruby
Alina-malina has joined #ruby
ffranz has joined #ruby
jibi has joined #ruby
tacos1de has quit [Remote host closed the connection]
monkegjinni has joined #ruby
mklappstuhl has quit [Ping timeout: 248 seconds]
devoldmx3 has quit [Read error: Connection reset by peer]
ezotrank- has quit [Ping timeout: 256 seconds]
Neomex1 has quit [Quit: Neomex1]
ezotrank- has joined #ruby
darth_chatri has quit [Quit: Leaving.]
zomgbie has quit [Read error: Connection reset by peer]
brennanMKE has quit [Ping timeout: 246 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
Myconix has quit [Read error: Connection reset by peer]
Myconix has joined #ruby
dagobah_ has joined #ruby
takezawa has joined #ruby
tacos1de has joined #ruby
axeman_ has quit [Remote host closed the connection]
dagobah has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
jbpros has joined #ruby
DaniG2k has quit [Quit: Leaving.]
KRF has quit [Read error: Operation timed out]
didlix has quit [Read error: Operation timed out]
dominikh has quit [Read error: Operation timed out]
ZadYree has quit [Read error: Operation timed out]
zeroXten has quit [Read error: Operation timed out]
v2px has quit [Read error: Operation timed out]
withnale has quit [Read error: Operation timed out]
im0b has quit [Read error: Operation timed out]
Alasdairrr has quit [Read error: Operation timed out]
LennyLinux has joined #ruby
ebouchut_ has quit [Read error: Operation timed out]
rismoney has quit [Read error: Operation timed out]
dominikh has joined #ruby
Coolhand has quit [Read error: Operation timed out]
yalue has quit [Read error: Operation timed out]
jokke has quit [Read error: Operation timed out]
KRF has joined #ruby
framling has quit [Read error: Operation timed out]
tomzx_mac has joined #ruby
yashshah has joined #ruby
ThePicard has quit [Read error: Operation timed out]
Ripp__ has quit [Ping timeout: 256 seconds]
hash has quit [Ping timeout: 256 seconds]
Guest36538 has quit [Read error: Operation timed out]
rismoney has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
Coolhand has joined #ruby
therealnoop has quit [Ping timeout: 256 seconds]
Alasdairrr has joined #ruby
v2px has joined #ruby
v2px has quit [Changing host]
v2px has joined #ruby
zeroXten has joined #ruby
_Andres has joined #ruby
Koshian__ has quit [Read error: Operation timed out]
hash has joined #ruby
brandon has joined #ruby
therealnoop has joined #ruby
Koshian__ has joined #ruby
brandon is now known as Guest75586
yalue has joined #ruby
haxrbyte has joined #ruby
framling has joined #ruby
ThePicard has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
withnale has joined #ruby
ebouchut_ has joined #ruby
jokke has joined #ruby
ZadYree has joined #ruby
Fire-Dragon-DoL has joined #ruby
angusiguess has joined #ruby
monkegji_ has joined #ruby
TIJ has joined #ruby
postmodern has quit [Quit: Leaving]
Lubinski has joined #ruby
monkegjinni has joined #ruby
DrCode has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
JZTech101 has joined #ruby
clocKwize has joined #ruby
breakingthings has joined #ruby
arya has quit []
haxrbyte has quit [Read error: Connection reset by peer]
Lubinski has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
Lubinski has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
mighub has joined #ruby
Lubinski_ has joined #ruby
mklappstuhl has joined #ruby
Lubinski has quit [Disconnected by services]
Lubinski_ is now known as Lubinski
monkegji_ has joined #ruby
yshh has joined #ruby
blaxter_ is now known as blaxter
<mighub>
Hello. I have a piece of code with an encoding incompatibility problem and I was wondering what is the best way to deal with it. Here is the code:
whowantstolivefo has quit [Ping timeout: 252 seconds]
zodiak has joined #ruby
nettoweb has joined #ruby
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
hakunin has quit [Ping timeout: 246 seconds]
tagrudev has quit [Remote host closed the connection]
wolcanus has joined #ruby
rhys has joined #ruby
bw_ has quit [Quit: Reconnecting]
bw_ has joined #ruby
lnemeth has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
jimg has joined #ruby
ebouchut_ has quit [Quit: Quitte]
DonRichie has quit [Ping timeout: 246 seconds]
ananthakumaran has joined #ruby
DonRichie has joined #ruby
jimg has quit [Ping timeout: 252 seconds]
Ripp__ has joined #ruby
Kruppe has quit [Ping timeout: 256 seconds]
scrollback has quit [Remote host closed the connection]
haxrbyte has joined #ruby
scrollback has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
bamdad has quit [Read error: Connection reset by peer]
arya has quit []
bamdad has joined #ruby
burlyscudd has joined #ruby
sayan has quit [Read error: Connection reset by peer]
monkegjinni has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
ferdev has quit [Ping timeout: 248 seconds]
<`p>
anyone ever use datamapper gem on heroku? I can't seem to find what adapter i would use if in development i was using sqlite and dm-sqlite-adapter
pyrac has quit [Quit: pyrac]
razi has joined #ruby
_whitelogger has joined #ruby
<MrZYX>
Hanmac: there are plently of "OS X themes" for all major DEs, they won't notice! :P
e-dard has joined #ruby
asteve has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
wsterling has joined #ruby
fridim_ has quit [Read error: Operation timed out]
camilasan has joined #ruby
r4nd0m1 has joined #ruby
<YaNakilon>
eh apple is so much better
Astralum has joined #ruby
mikepack has quit [Remote host closed the connection]
samuel02 has quit [Remote host closed the connection]
Rix has joined #ruby
mikepack has joined #ruby
zomgbie has joined #ruby
bamdad has quit [Ping timeout: 240 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
monkegjinni has quit [Remote host closed the connection]
<epitron>
Hanmac: i wonder why we're just hearing about that now... the paper is from 2012
fuzzyhorns has joined #ruby
jfine has joined #ruby
jbueza has joined #ruby
<Hanmac>
epitron: hm no its from 2013
Xeago_ has quit [Ping timeout: 246 seconds]
<jfine>
Wondering if this code will lead to race conditions since it uses a global… elsif request.headers["Authorization"] =~ /\AToken ([a-z0-9]+)\z/
<jfine>
@_current_token = $1
Appineer has quit [Remote host closed the connection]
jinie_ is now known as jinie
<epitron>
Hanmac: the PAPER...
<epitron>
2012 IEEE Symposium on Security and Privacy
<epitron>
Unleashing M AYHEM on Binary Code
mansi has joined #ruby
alexwh has left #ruby [#ruby]
stkowski has quit [Ping timeout: 245 seconds]
<Hanmac>
jfine: its a semi global, but you can change it to a local variable: if /\AToken (?<token>[a-z0-9]+)\z/ =~ request.headers["Authorization"] ; @_current_token = token; end
pithagorians has joined #ruby
ivanoats has joined #ruby
nomenkun has joined #ruby
banjara has joined #ruby
burlyscudd has joined #ruby
rdark has quit [Quit: leaving]
<jfine>
Ahhh I wasn't familiar with the <local var> syntax...
<jfine>
Cool, local is safer. Thanks.
alexwh has joined #ruby
asteve has joined #ruby
bradhe has joined #ruby
danbeck has joined #ruby
jorge__ has joined #ruby
sailias has joined #ruby
Kruppe has quit [Ping timeout: 248 seconds]
pyrac has quit [Quit: pyrac]
<Hanmac>
jfine: and before you ask, no you cant do it the ther way around, regex =~ string, works but string =~ regex works not with this local variables ... and the regex must be an literal, so an normal regex object will not work
optimusprimem has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby
<r0bgl33s0n>
Hanmac: huh? =~ is just a method
<r0bgl33s0n>
why would you need the literal syntax
<r0bgl33s0n>
the literal syntax just returns a Regexp object
mansi has quit [Ping timeout: 276 seconds]
jorge__ has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
bionoid has quit [Remote host closed the connection]
<Hanmac>
r0bgl33s0n: because the local variables are added from the parser at parsetime, not at run-time
<r0bgl33s0n>
sorry, i must be out of context, what code are we looking at?
<Hanmac>
r0bgl33s0n: http://ruby-doc.org/core-2.0/Regexp.html << "When named capture groups are used with a literal regexp on the left-hand side of an expression and the =~ operator, the captured text is also assigned to local variables with corresponding names."
<eval-in>
Hanmac => undefined local variable or method `n' for main:Object (NameError) ... (https://eval.in/35250)
<r0bgl33s0n>
aha, i see
nerdman has quit [Quit: leaving]
blitzkev is now known as blitz
<Hanmac>
its black magic ;P
blitz has quit [Changing host]
blitz has joined #ruby
<jfine>
Hanmac: gotcha.
<jfine>
Nothing like black magic :-)
bubblehead has quit [Read error: Connection reset by peer]
jamescarr has joined #ruby
bubblehead has joined #ruby
Squarepy has joined #ruby
DanKnox_away is now known as DanKnox
Shirakawasuna has quit [Ping timeout: 246 seconds]
jim83838 has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
azerton has quit [Quit: azerton]
zigomir has joined #ruby
axeman_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
Al__ has quit [Quit: Al__]
brotatos has joined #ruby
havenwood has joined #ruby
<jim83838>
hello, i'm trying to update gem, but keep getting ERROR: While executing gem ... (NoMethodError) undefined method 'version' for nil:NilClass any ideas?
<brotatos>
Which is more idiomatic: `if (!expression)` or `unless expressions`?
<MrZYX>
unless IMO
<jim83838>
it complains about yaml not being installed also...is that necessary?
canton7 has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
<Hanmac>
brotatos: PS: you need to beware that ! is a method (wich can be overwritten), but unless is faster
kevinykchan has joined #ruby
havenn_ has joined #ruby
jdunck has joined #ruby
<jfine>
Hanmac: Thanks for the named capture, works PERFECTLY
optimusprimem has joined #ruby
jdunck has quit [Client Quit]
axeman__ has joined #ruby
ShellFu is now known as ShellFu_afk
ArchBeOS is now known as TheHonkiesShotMe
axl_ has quit [Quit: axl_]
axeman_ has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
jbueza has quit [Ping timeout: 246 seconds]
interactionjaxsn has quit [Remote host closed the connection]
troessner has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
AlchemyFalcon has joined #ruby
PhatBaja has quit [Quit: Leaving.]
failshell has quit [Remote host closed the connection]
c0rn has joined #ruby
saarinen has quit [Quit: saarinen]
Appineer has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
rsahae_ has quit [Quit: rsahae_]
roadt_ has quit [Ping timeout: 245 seconds]
Appineer has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
emmanuelux has joined #ruby
himsin has quit [Quit: himsin]
interactionjaxsn has quit [Ping timeout: 248 seconds]
x1337807x has joined #ruby
Zai00 has quit [Quit: Zai00]
rsahae has joined #ruby
tatsuya__ has quit [Ping timeout: 276 seconds]
wmoxam has quit [Ping timeout: 260 seconds]
Mars____ has joined #ruby
wolcanus_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
arietis has joined #ruby
BRMatt has quit [Ping timeout: 276 seconds]
kpshek has quit []
TheHonkiesShotMe is now known as LocutusOfBorg
LocutusOfBorg has left #ruby [#ruby]
wolcanus has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
rezzack has joined #ruby
ctooley has joined #ruby
axl_ has joined #ruby
br0tat0chip has joined #ruby
jrgarcia has joined #ruby
<br0tat0chip>
hi everyone. where are ri docs installed to?
kpshek has joined #ruby
maskact has joined #ruby
altamic has joined #ruby
altamic has left #ruby [#ruby]
dmiller_ has joined #ruby
bionoid has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<fryguy>
Dekade: that's not valid ruby, what is the value of line set to
axl_ has joined #ruby
bamdad has quit [Quit: bamdad]
RORgasm_ has joined #ruby
nomenkun has quit [Remote host closed the connection]
<Dekade>
irc.read it reads from the tcpsocket
RORgasm has quit [Read error: Connection reset by peer]
<popl>
Dekade: if you can't show us your entire code, make a testcase.
<pontiki_>
Dekade: try output.puts irc.read
<Dekade>
I can show you the full script, but I'm only just looking for a method to store multiple lines in a file and then output them
<pontiki_>
output = irc.read rassigns your var
<Dekade>
hmm true
Mars____ has quit [Ping timeout: 240 seconds]
zets has quit [Ping timeout: 256 seconds]
jorge_ has joined #ruby
Mars___ has joined #ruby
sandstrom has joined #ruby
<sandstrom>
Is there an equivalent of `Rails.root` in Rack?
axl_ has quit [Ping timeout: 245 seconds]
<Dekade>
I'll mess around some more :)
synthetix has quit [Quit: Ex-Chat]
zets has joined #ruby
reset has joined #ruby
sideshowcoder has quit [Ping timeout: 264 seconds]
teoric has quit [Quit: Gute Nacht.]
<popl>
Dekade: showing people that much code and then asking them to help is like giving a kid a jigsaw puzzle with pieces missing and telling them to solve it. :P
<popl>
you may as well just keep it to yourself in the first place if you're going to do that.
jtharris has quit [Quit: WeeChat 0.4.0]
jim83838 has quit [Quit: Page closed]
cofin has joined #ruby
jorge_ has quit [Ping timeout: 256 seconds]
jibi has quit [Ping timeout: 256 seconds]
bradhe has quit [Remote host closed the connection]
chichou has quit [Remote host closed the connection]
wmoxam has joined #ruby
axeman__ has quit [Ping timeout: 256 seconds]
sideshowcoder has joined #ruby
axeman_ has joined #ruby
pentameter has quit [Ping timeout: 248 seconds]
kil0byte has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
jibi has joined #ruby
JZTech101 has joined #ruby
timonv has joined #ruby
saarinen has joined #ruby
jfine has left #ruby [#ruby]
RichardBaker has quit [Ping timeout: 252 seconds]
snearch has quit [Quit: Verlassend]
RichardBaker has joined #ruby
RichardBaker has quit [Client Quit]
timonv has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
<havenwood>
Apathetic: Might try #learnchef
Fire-Dragon-DoL has quit [Quit: Leaving.]
axeman__ has joined #ruby
generalissimo has joined #ruby
axeman_ has quit [Ping timeout: 248 seconds]
failshell has joined #ruby
msuszczy has quit [Client Quit]
optimusprimem has quit [Ping timeout: 245 seconds]
pentameter has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
Fire-Dragon-DoL has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
tjbiddle has joined #ruby
<xeviox>
I use this "- if not @group.nil? and not @group.user.nil?" in HAML, sadly the second condition is also evaluated which throws an error if @group is nil ..
axeman__ has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Client Quit]
c0rn has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
bashdy has joined #ruby
<fryguy>
xeviox: use &&
yacks has joined #ruby
<interactionjaxsn>
xeviox: you should be using ! instead of not
bionoid has quit [Remote host closed the connection]
<xeviox>
ok, is this haml specific or valid for every ruby code?
axeman_ has joined #ruby
<fryguy>
valid
<interactionjaxsn>
and not or are ruby keywords. you may also want to look at using unless @group.nil? && @group.user.nil?
terrellt has joined #ruby
<end_guy>
is there a way for a Module to know when it gets included into another module or class?
<epitron>
end_guy: yep!
<fryguy>
yes, there is an included hook that gets called
<Apathetic>
havenwood, I was just referring to the syntax
<Spooner>
xeviox, You need || with that, not and (&& makes sense with if)
<xeviox>
Spooner: damn, day is too long :(
axeman_ has quit [Remote host closed the connection]
<havenwood>
Apathetic: It looks to me like a #cookbook method with two arguments, 'dotdeb', and a naked hash { :github => 'Apathetic012/chef-dotdeb' } using 1.9 syntax.
cha1tanya has quit [Ping timeout: 248 seconds]
bashdy has quit [Quit: bashdy]
<Apathetic>
havenwood, thanks!
<Apathetic>
so the second param was a naked hash
<havenwood>
Apathetic: yeah, that is what some people call it - basically a hash without the curly braces
<havenwood>
xeviox: If truthyness is what you actually care about, drop the .nil?: unless @group || @group.user
tatsuya_o has joined #ruby
sethetter has joined #ruby
tymat has joined #ruby
reset has quit [Quit: Leaving...]
<sethetter>
Obfuscation/compiling of a piece of ruby source -- possible?
<tymat>
compile? no
<tymat>
but you can obfuscate it
fenicks has joined #ruby
<havenwood>
sethetter: could compile to C with mruby
tatsuya_o has quit [Remote host closed the connection]
<havenwood>
or to bytecode
<waxjar>
you can compile ruby with rubinius i believe
<xeviox>
hmm it's weird. I'm using DataMapper but something gets wrong with a simple optional assocation. On a list page (Sinatra) the user is retrieved correctly, on the detail page its empty.. And I'm unable to insert the user to the group as it throws a SaveFailureError, but I could not see why (inspecting the error just shows no validation error).
havenwood has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
<tymat>
mruby is not even close to production ready
bradhe has joined #ruby
marr has joined #ruby
lushious has quit [Quit: "LUFFLEWAFFLE"]
jefflyne has quit [Ping timeout: 245 seconds]
jefflyne has joined #ruby
visof has quit [Quit: Leaving]
Drewch has joined #ruby
cofin has joined #ruby
ner0x has joined #ruby
persand has joined #ruby
persand has quit [Client Quit]
blackmesa has joined #ruby
jlast_ has joined #ruby
LarsSmit has joined #ruby
nomenkun has joined #ruby
cheese1756 has quit [Excess Flood]
jlast has quit [Ping timeout: 276 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
reset has joined #ruby
Alina-malina has joined #ruby
cheese1756 has joined #ruby
elaptics is now known as elaptics`away
geggam has quit [Remote host closed the connection]
jalcine has joined #ruby
banjara has quit [Remote host closed the connection]
Rizzle has quit [Ping timeout: 252 seconds]
banjara has joined #ruby
saarinen has quit [Quit: saarinen]
BizarreCake has quit [Ping timeout: 246 seconds]
mansi has quit [Remote host closed the connection]
sandstrom has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
hydrozen has joined #ruby
rsahae has quit [Quit: rsahae]
mansi has joined #ruby
reset has quit [Ping timeout: 276 seconds]
jorge_ has joined #ruby
kil0byte has joined #ruby
burlyscudd has quit [Quit: Leaving.]
msuszczy has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
<sethetter>
havenwood: Ah, I actually am limited to the normal ruby binary.
dangerousdave has joined #ruby
brianpWins has joined #ruby
lnemeth has quit [Quit: Leaving]
tjbiddle_ has joined #ruby
Mars___ has joined #ruby
wolcanus_ has quit [Remote host closed the connection]
tvw has joined #ruby
adambeynon has joined #ruby
jorge_ has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Ping timeout: 256 seconds]
tjbiddle_ is now known as tjbiddle
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soulcake has joined #ruby
ntus1017 has joined #ruby
lindenle has joined #ruby
sepp2k1 has joined #ruby
<lindenle>
So I built a gem locally how do I install it now?
norm has joined #ruby
ocean555 has joined #ruby
diego1 has joined #ruby
diego1 is now known as diegoviola
sepp2k has quit [Ping timeout: 276 seconds]
ignac865 has joined #ruby
kpshek has quit []
Xeago has joined #ruby
<ignac865>
Does anyone program with ruby for linux?
nimor has quit [Quit: nimor]
<Xeago>
I don't program for linux but for bsd
<norm>
okay, math question (but it's in a ruby script). i'm evenly dividing a list of numbers into 6 buckets using modulo. now i need to divide that bucket into six slices. but i can't use modulo, since i would end up with one full slice and five empty slices. trying to come up with a transformation i can apply to the numbers to make them evenly divisible again
s3m73x has joined #ruby
mansi has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
<ignac865>
what is bsd?
mansi has joined #ruby
<Xeago>
bsd stands for berkely software distribution
<Xeago>
but bsd is more of a group of systems
brianpWins has quit [Quit: brianpWins]
<Xeago>
there is more to the world than linux osx and windows
<Xeago>
norm: modulus 36 and then 6?
<popl>
I think ignac865 is trolling.
brianpWins has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<ignac865>
Thxx I will look about it
<popl>
or not. :P
<ignac865>
No way
<ignac865>
I am not trolling
<ignac865>
I'm a begginer by the way
<popl>
ok ignac865. sorry.
<Xeago>
for example FreeBSD or NetBSD
banjara has quit [Quit: Leaving.]
<Xeago>
OS X is also a BSD
banjara has joined #ruby
<norm>
Xeago: yeah the problem is other buckets will get divided into different numbers of slices
mansi has joined #ruby
wolcanus has joined #ruby
jlast_ has quit [Read error: Connection reset by peer]
<Xeago>
norm: don't follo
saarinen has joined #ruby
jlast has joined #ruby
<popl>
norm: so buckets will split into other buckets? o_O
<popl>
what's the homework problem?
<norm>
not homework, but it does sound like it
geggam has joined #ruby
<popl>
What problem are you trying to solve?
browndawg has left #ruby [#ruby]
<norm>
i've got thousands of network devices that i'm monitoring. the load is spread across six servers
grillermo has joined #ruby
<norm>
each server takes 1/6 of the network
<norm>
hashed on the device's identifier
<norm>
now the server process has to divide it's portion again
<norm>
but i can't use modulo, since the that only spreads the load evenly if the original data is randomly distributed
<norm>
i'm trying to come up with a mathematical transformation (squaring, etc) that will re-randomize the device identifier so that modulo will function as intended
grillermo has quit [Client Quit]
fredjean has quit [Quit: Computer has gone to sleep.]
<terrellt>
norm: If you come up with a hash function that perfectly distributes based on ID, make sure you publish it. ;)
<norm>
well modulo is not perfect, but it's pretty fair
LarsSmit has quit [Quit: Leaving.]
Drewch has quit [Quit: Computer has gone to sleep.]
<terrellt>
norm: You've got a problem with modulo though - what happens when a slice crashes?
<diddlybop>
hi all, anyone have experience setting up ruby on mageia 3? I'm running into problems
<terrellt>
norm: Or if you want to add a slice.
mansi has quit [Read error: Connection reset by peer]
<terrellt>
norm: You going to redistribute your stuff?
<Xeago>
you need to spread to 6, and then how many?
<norm>
in this case, 6
<norm>
i think you mean hash by 36, then use 0-5 for machine one, etc
<Xeago>
what can the operational cost be?
<Xeago>
norm: yes, that is what I meant but my math didn't work that way ;3
<norm>
hehe yes
arietis has joined #ruby
<Xeago>
in any case, if you have to, you can always 'encrypt' it
banjara has quit [Client Quit]
<kmicinski>
How do I install ruby and also specify the location of the SSL directory? I tried --with-ssl-dir, but I still get a prompt from RVM to install required packages. (This question is more of an rvm question, I spose.)
<Xeago>
AES256 should output something indistinguishable from random
banjara has joined #ruby
<norm>
Xeago: haha, yes, i was thinking of just MD5 / SHA / encrypting it
<Xeago>
md5/sha is different
<norm>
yes i know
zigomir has joined #ruby
jrgarcia has quit [Remote host closed the connection]
<Xeago>
hashes don't guarantee pseudo randomness
Mars___ has joined #ruby
danman has joined #ruby
jrgarcia has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
diddlybop has quit [Remote host closed the connection]
kayloos has joined #ruby
allsystemsarego has quit [Quit: Leaving]
jrgarcia has left #ruby [#ruby]
brotatos has joined #ruby
<brotatos>
Ruby doesn't support method overloading. :(
Neomex has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
Neomex has quit [Client Quit]
tonini has quit [Ping timeout: 248 seconds]
thesheff17 has quit [Remote host closed the connection]
brbcoding has quit []
yalue has quit [Quit: Leaving]
mansi has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
dmiller_ has joined #ruby
moos3 has joined #ruby
pranny has joined #ruby
mansi has joined #ruby
jlarouche has joined #ruby
pygospa has quit [Disconnected by services]
pygospa has joined #ruby
<slash_nick>
brotatos: come again?
pothibo has joined #ruby
<brotatos>
slash_nick: does ruby support method overloading?
ffranz has quit [Ping timeout: 264 seconds]
<brotatos>
method() and method(a) would do two different things.
mansi has quit [Ping timeout: 248 seconds]
dmiller_ has quit [Ping timeout: 276 seconds]
<slash_nick>
brotatos: sure
sayan has quit [Ping timeout: 245 seconds]
kmicinski has quit [Quit: Lost terminal]
<waxjar>
it isn't a feature of the language brotatos
<interactionjaxsn>
brotatos: one method with the signature my_method(mode = nil) case mode when a then do_something when nil do_something_else end end
<xeviox>
I don't get this to work properly: http://pastie.org/private/e4wawdlz2ebkyw0pjbacow . It always throws undefined method `user' for nil:NilClass . But it should a) not be empty and b) return a space if it is empty ..
<brotatos>
waxjar: thanks...
optimusprimem has joined #ruby
bradhe has joined #ruby
pskosinski has quit [Remote host closed the connection]
marcgg has joined #ruby
JZTech101 has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby
workmad3 has joined #ruby
Meatant has joined #ruby
banjara has quit [Quit: Leaving.]
w1zeman1p has joined #ruby
<waxjar>
xeviox, you probably want to use && there. if @violator is nil it'll try @violater.user which will obviously fail
banjara has joined #ruby
nomenkun_ has joined #ruby
reset has quit [Quit: Leaving...]
jorge_ has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
reset has joined #ruby
<xeviox>
waxjar: nope does not change anything, I'll change it to an if ..
<waxjar>
also, maybe turn the unless into an if, if you're going to use an else clause, makes it easier
agjacome has quit [Ping timeout: 256 seconds]
teclator has joined #ruby
burlyscudd has joined #ruby
<xeviox>
"- if !@violater || !@violater.user" again throws the error
RORgasm_ is now known as RORgasm
<xeviox>
ah damn
<xeviox>
waxjar: thanks
<xeviox>
I had a typo
Ripp__ has joined #ruby
<interactionjaxsn>
violator
adkron has quit [Quit: leaving]
workmad3 has quit [Read error: Operation timed out]
<xeviox>
interactionjaxsn: yes :(
kirun has quit [Quit: Client exiting]
<interactionjaxsn>
xeviox: your choice for an instance variable name is interesting... can i ask what your app is?
<suyase>
Is there a resource that has a list of the default gems in a given release of Ruby (like 1.9.2 in my case) I'd like to see what is available in the standard libraries
rippa has quit [Ping timeout: 248 seconds]
<xeviox>
interactionjaxsn: I think it's a "wrong" translation. Its to store a couple of companies that violate a patent
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brianherman has quit [Ping timeout: 240 seconds]
jorge_ has quit [Ping timeout: 264 seconds]
<xeviox>
is there any good ruby IDE ?
<interactionjaxsn>
xeviox: ok... just curious is all. My mind was racing with potential uses
<interactionjaxsn>
xeviox: unix
Uranio has quit [Quit: while you reading this, a kitty dies]
<xeviox>
interactionjaxsn: no problem ;)
<xeviox>
for me it's just a project were I can learn ruby and Sinatra
Apathetic has left #ruby ["Ping timeout: 1 seconds"]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<xeviox>
I'm on linux, and editor works fine, but at some points a bit more support wouldn't be wrong ^^
cofin has quit [Quit: cofin]
xardas has quit [Changing host]
xardas has joined #ruby
Neomex has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
<interactionjaxsn>
xeviox: i hear good things about ruby mine.
bradhe has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<diegoviola>
any ideas where to get some remote work with ruby? there's nothing in my area when it comes to ruby unfortunately
icecandy has quit [Remote host closed the connection]
jamescarr has quit [Quit: jamescarr]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
c0rn has joined #ruby
walkslow has joined #ruby
<interactionjaxsn>
diegoviola: get remote work? you need to outsource or you are looking for work?
<diegoviola>
i'm looking for work
<xeviox>
sadly the only jobs I see with ruby is for ruby on rails ..
forced_request has joined #ruby
icecandy has joined #ruby
banjara has quit [Client Quit]
<wmoxam>
lol
c0rn has quit [Client Quit]
<wmoxam>
'sadly'
banjara has joined #ruby
PhatBaja has joined #ruby
<xeviox>
?
ctooley has quit [Quit: Leaving]
kayloos has quit [Remote host closed the connection]
<Hanmac>
i have many ruby projects but none of them are ones where i get money from them
c0rn has joined #ruby
tvw has quit []
<wmoxam>
most of the Ruby code I get paid for is not RoR
kayloos has joined #ruby
osvico has joined #ruby
walkslow has left #ruby [#ruby]
<Hanmac>
hm if i would get money from my bindings it would be cool ;P
walkslow has joined #ruby
<wmoxam>
(Ruby is a great glue language)
walkslow has left #ruby [#ruby]
waxjar has quit [Read error: Connection reset by peer]
JZTech101 has joined #ruby
fenicks has quit [Read error: Connection reset by peer]
xardas has quit [Read error: Connection reset by peer]
jcromartie has quit [Quit: Computer has gone to sleep.]
jibi has quit [Quit: .]
yourmysin has joined #ruby
jlast_ has quit [Remote host closed the connection]
<Spooner>
Hanmac I only do non-RoR work. Admittedly, I think I'd get more work at a higher rate if I did Rails, but life is too short for pain!
jlast has joined #ruby
mansi has quit [Remote host closed the connection]
<atmosx>
Spooner: you're good with ruby?
<xeviox>
Spooner: haha nice
banjara has quit [Quit: Leaving.]
<Spooner>
atmosx, I hope so :)
mansi has joined #ruby
banjara has joined #ruby
<Spooner>
I do 50/50 Ruby and Python. Best with Ruby though.
mars__ has quit [Ping timeout: 248 seconds]
<Hanmac>
i do mostly C++ for Ruby :P
Alina-malina has quit [Ping timeout: 256 seconds]
freewizard has joined #ruby
<atmosx>
in 'Gemfile' ~> 1.2.1 ... means specifically version 1.2.1 ?
brian_000_ has quit [Read error: Connection reset by peer]
reset has quit [Quit: Leaving...]
<atmosx>
Spooner: Then believe me, CSS/JS/HTML aside rails is a joke
forced_request has quit [Ping timeout: 246 seconds]
<atmosx>
at least compared to what I did with sinatra..
<atmosx>
is a joke
<atmosx>
does an incredible amount of work by its own
<atmosx>
I didn't sit down and write a full blown up but following a 15 minutes howto I was astonished by the amount of work that does for you.
<Hanmac>
atmosx: ~> is a bit magic, because it means in this case > 1.2.1 and < 1.(2+1).x
sethetter has left #ruby [#ruby]
Criztian has joined #ruby
<atmosx>
Hanmac: okay will do.
<atmosx>
so no major version releases
rsepassi has joined #ruby
<suyase>
I went to http://www.ruby-doc.org/stdlib-1.9.2/ but unfortunately the packages do not have any general descriptions that indicate what they are designed for - is there a resource that has information regarding what the packages were intended for, like documentation?
<Hanmac>
atmosx: when you do ~> 1.2 then it means > 1.2 and < (1+1).x (the last versions part is ignored)
cofin has joined #ruby
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #ruby
bradhe has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 268 seconds]
<atmosx>
suyase: are you looking for something specific?
twoism has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
freewizard has quit [Ping timeout: 276 seconds]
rsahae_ has quit [Quit: rsahae_]
twoism has joined #ruby
pinage404 is now known as zz_pinage404
<Spooner>
atmosx, I wasn't meaning I do Sinatra instead. I don't do web stuff (except API). Frontenmd is shitty.
cofin has quit [Client Quit]
danslo has quit [Quit: danslo]
<atmosx>
Spooner: I hate CSS3 too, with a passion.
carlyle has joined #ruby
<atmosx>
I don't even consider it programming
<atmosx>
but anyway
<Spooner>
atmosx, Every web dev considers it programming though ;)
kristiandelay has quit [Disconnected by services]
<suyase>
atmosx: I am looking for the stdlib for Ruby 1.9.2 with a relatively general description of what each package is intended for
kristian_ has joined #ruby
<interactionjaxsn>
suyase: that sounds awesome. let me know when you finished it
ssvo_ has joined #ruby
havenwood has joined #ruby
<suyase>
interactionjaxsn: Ruby seriously doesn't have documentation at the package level?
brasten has quit [Quit: brasten]
fgo has quit [Remote host closed the connection]
marcgg has quit [Read error: No route to host]
marcgg_ has joined #ruby
<atmosx>
suyase: documentation for what? Core libraries?
<suyase>
atmosx: I will provide an example.
Al__ has quit [Read error: Connection reset by peer]
<interactionjaxsn>
i can see this becoming a game show
<atmosx>
understand the internals of some methods? take a look at the source code
ssvo has quit [Ping timeout: 276 seconds]
<suyase>
atmosx: There is no information on what each package does, just the list of packages on the left, which takes you to a list of their methods and classes
<atmosx>
suyase: if you can get that by youself you better off do something else, not programming, don't you think?
sambao21 has quit [Quit: Computer has gone to sleep.]
<bricker>
Is there a way to get Dir.entries without "." and ".." ?
fridim__ has quit [Ping timeout: 276 seconds]
ner0x has quit [Quit: Leaving]
<suyase>
atmosx: If you think that you should dig into the methods of every single gem until you find the gem that serves your purpose, you're doing it wrong.
<atmosx>
suyase: I'm an amateur and I know most of the methods in that page by heart.
<atmosx>
suyase: at least that ones I use.
<suyase>
atmosx: That's great and also irrelevant.
<atmosx>
suyase: whatever, you're probably in here for trolling so...
* slash_nick
hands out troll-snacks
<Hanmac>
suyase: rubygems.org has a search function
<interactionjaxsn>
slash_nick: i need some juicy juice
* slash_nick
gives interactionjaxsn juicy fruit
autumn has quit [Ping timeout: 264 seconds]
* Hanmac
puzzles what an "unjuicy" juice is ;P
<interactionjaxsn>
slash_nick: not gum... i need some thing to drink with these troll snacks. they are dry
jamescarr has joined #ruby
agjacome has joined #ruby
mansi has joined #ruby
kayloos has quit [Remote host closed the connection]
<suyase>
atmosx: I came in with an extremely specific question, got an answer from interactionjaxsn, (Thank you, by the way) acknowledged that it was correct, and I'll be leaving shortly. I wasn't in here to troll; you flamed me by telling me that "you better off do something else, not programming, don't you think?" because I thought an index of the modules in the standard library with a brief use case description (which is an extremely
mansi has quit [Read error: Connection reset by peer]
autumn has joined #ruby
JZTech101 has quit [Ping timeout: 268 seconds]
hakunin has quit [Remote host closed the connection]
mansi has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
<slash_nick>
interactionjaxsn: those snacks were for the trolls. :/
hakunin has joined #ruby
workmad3 has joined #ruby
<suyase>
Hanmac: It wasn't that I needed to search for a specific gem - in an enterprise development context you often need to assess what language and what version of that language to develop in based upon an index of the packages that are in the standard library. A search for a single module is not useful here unfortunately.
v0n has quit [Quit: WeeChat 0.4.1]
s0ber_ has joined #ruby
<wmoxam>
lol oss entitlement
mixmix has quit [Quit: Leaving]
<atmosx>
suyase: whatever.
* interactionjaxsn
dies from eating poisonous troll snacks
tjbiddle_ has joined #ruby
<wmoxam>
suyase: go use java or something. We're not here to sell you on the enterprise benefits of Ruby
Kar- has quit []
<suyase>
wmoxam: Why are you taking a half-baked understanding of the conversation's context and flaming me with it?
s0ber has quit [Ping timeout: 248 seconds]
<Hanmac>
suyase: with black magic i can do anything for wich C(++) liberies exist in Ruby too with nearly the same speed
s0ber_ is now known as s0ber
SilverKey has joined #ruby
pranny has quit [Quit: Leaving.]
<wmoxam>
suyase: whatever bud
kasper has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Guga_ has joined #ruby
hakunin has quit [Ping timeout: 268 seconds]
rsahae_ has joined #ruby
khushildep has quit [Ping timeout: 260 seconds]
tjbiddle has quit [Ping timeout: 276 seconds]
tjbiddle_ is now known as tjbiddle
mansi has joined #ruby
<interactionjaxsn>
yowza... so... rainbows and unicorns people...
stkowski has quit [Quit: stkowski]
bradhe has joined #ruby
ldnunes has quit [Quit: Leaving]
momomomomo has joined #ruby
icecandy has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
pentameter has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
pyrac has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
cofin has quit [Quit: cofin]
gildo has quit [Ping timeout: 276 seconds]
JZTech101 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
fuzzyhorns has quit [Remote host closed the connection]
fgo has joined #ruby
monkegjinni has joined #ruby
razi has quit [Ping timeout: 246 seconds]
eddiemonge has joined #ruby
sarkis has quit [Ping timeout: 276 seconds]
diegoviola has quit [Ping timeout: 248 seconds]
Squarepy has quit [Quit: Leaving]
<eddiemonge>
what does `if User.exists? name: name` mean? like the format. i don't understand the `name: name` part
zmike123 has quit [Quit: ~]
<terrellt>
eddiemonge: Ruby 1.9 hash syntax, same is if User.exists?(:name => name)
jorge_ has joined #ruby
msuszczy has quit [Quit: leaving]
monkegjinni has quit [Remote host closed the connection]
<eddiemonge>
is it creating that assignment or checking it?
hattusili_III has quit [Ping timeout: 256 seconds]
<terrellt>
eddiemonge: Assuming that's rails it checks to see if there's a User which exists that has the name stored in the "name" variable.
<eddiemonge>
ok that makes sense.
io_syl has quit [Ping timeout: 264 seconds]
kil0byte has quit [Remote host closed the connection]
TheDick has quit [Quit: TheDick]
jorge_ has quit [Ping timeout: 256 seconds]
<eddiemonge>
how would i add an additional argument to that?
juarlex_ has quit [Remote host closed the connection]
zigomir_ has joined #ruby
io_syl has joined #ruby
reset has joined #ruby
<eddiemonge>
do i have to wrap it in the parens? i tried `if !ExternalUser.exists name: name && User.exists? name: name` and it throws an error
freerobby has quit [Quit: Leaving.]
<eddiemonge>
whereas, if !ExternalUser.exists?(:name => name) && User.exists?(:name => name) doesnt. i just dont want to mix and match styles
marcgg_ has quit [Read error: No route to host]
marcgg has joined #ruby
stkowski has joined #ruby
Dekade|2 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
wting has quit [Remote host closed the connection]
freerobby has joined #ruby
milardovich has joined #ruby
Dekade has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 276 seconds]
Mars` has joined #ruby
<terrellt>
eddiemonge: Your problem is lack of parenthesis in the first one is all.
<eddiemonge>
terrellt: thats what i was thinking. thanks so much.
monkegjinni has joined #ruby
kofno has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
kofno has joined #ruby
arya has joined #ruby
kil0byte has joined #ruby
Dekade|2 is now known as Dekade
angusiguess has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
superscott[8] has joined #ruby
jlarouche has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freewizard has joined #ruby
bradhe has joined #ruby
<superscott[8]>
for a hash, is there a way to get a true back when it's not empty? i'd rather do something like Hash.not_empty? => true instead of !Hash.empty?
johnmilton has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 256 seconds]
bionoid has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Client Quit]
<superscott[8]>
i'm looking for something similar to .present? for an array
<fryguy>
superscott[8]: you could just reopen the Hash class and define that method
jamescarr has quit [Quit: jamescarr]
<superscott[8]>
yeah, i'm just making sure i'm not missing something while i'm looking at the API
jerius_ has quit [Ping timeout: 264 seconds]
sarkis has joined #ruby
<superscott[8]>
just find it odd, that you have .present? for an array, but nothing similar for a hash
kil0byte has quit [Remote host closed the connection]
acrussell has quit [Quit: Leaving.]
freewizard has quit [Ping timeout: 268 seconds]
<workmad3>
superscott[8]: except that core ruby doesn't have a present? for an array...
<workmad3>
superscott[8]: active support adds that in if you're in rails...
rookie2030 has joined #ruby
<superscott[8]>
ah, fair enough :D
<rookie2030>
hi all
<rookie2030>
i have this problem anyone can help
<rookie2030>
factory_girl requires Ruby version >= 1.9.2.
<workmad3>
superscott[8]: active support also adds present? onto hash ;)
<rookie2030>
Gem::InstallError: factory_girl requires Ruby version >= 1.9.2.
<rookie2030>
An error occurred while installing factory_girl (4.2.0), and Bundler cannot
<rookie2030>
Make sure that `gem install factory_girl -v '4.2.0'` succeeds before bundling.
<rookie2030>
continue.
<workmad3>
rookie2030: I'd suggest you install a more modern version of ruby...