apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
obs has quit [Quit: Konversation terminated!]
v0n has quit [Quit: WeeChat 0.4.1]
tacos1de has joined #ruby
v0n has joined #ruby
nomenkun has joined #ruby
MrZYX is now known as MrZYX|off
lusory has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
Liquid-- has joined #ruby
Liquid-- has quit [Client Quit]
Liquid-- has joined #ruby
h4mz1d has joined #ruby
v0n has quit [Read error: Connection reset by peer]
Liquid-- has quit [Client Quit]
v0n has joined #ruby
RORgasm has joined #ruby
timkohrumel has joined #ruby
timkohrumel has quit [Read error: Connection reset by peer]
timkohrumel has joined #ruby
freerobby has joined #ruby
pcarrier_ has joined #ruby
pyrac has quit [Quit: pyrac]
Bry8Star{T2 has joined #ruby
burlyscudd has joined #ruby
RORgasm has quit [Ping timeout: 252 seconds]
alexwh has left #ruby [#ruby]
freerobby has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
tvw has quit [Ping timeout: 260 seconds]
dnyy has joined #ruby
amedeiros has joined #ruby
kenneth has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
jimg has quit [Remote host closed the connection]
asgardBSD has joined #ruby
kofno has quit [Remote host closed the connection]
momomomomo has joined #ruby
v0n has quit [Read error: Connection reset by peer]
icole has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
r0bby has quit [Read error: Connection reset by peer]
v0n has joined #ruby
r0bby has joined #ruby
mansi has joined #ruby
amedeiros has joined #ruby
sailias has joined #ruby
icole has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 245 seconds]
amedeiros has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
DonRichie has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
DonRichie has joined #ruby
h4mz1d has quit [Ping timeout: 245 seconds]
moted has quit [Quit: moted]
rellin has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
moted has joined #ruby
sambao21 has quit [Ping timeout: 256 seconds]
amedeiros has quit [Ping timeout: 268 seconds]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
nezumi has joined #ruby
amedeiros has joined #ruby
gildo has joined #ruby
freerobby has joined #ruby
emergion has joined #ruby
DrShoggoth has quit [Ping timeout: 256 seconds]
Dummies_freelanc has quit [Quit: Leaving.]
Guedes has joined #ruby
v0n has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
wroathe has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
Xeago has quit [Remote host closed the connection]
Apane has quit [Ping timeout: 268 seconds]
v0n has joined #ruby
amedeiros has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
v0n has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
burlyscudd has quit [Ping timeout: 268 seconds]
amedeiros has quit [Ping timeout: 256 seconds]
v0n has joined #ruby
the_drow has joined #ruby
amedeiros has joined #ruby
<the_drow> What's wrong with this: salt.verbose = ENV.has_key('CI') and ENV['CI']?
<the_drow> It says undefined method...
sambao21_ has joined #ruby
codesoda has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 256 seconds]
sambao21 has quit [Ping timeout: 248 seconds]
sambao21_ is now known as sambao21
<the_drow> nevermind. found it *facepalm*
the_drow has left #ruby [#ruby]
<zer0-day> undefined method `split' for nil:NilClass (NoMethodError)
amedeiros has quit [Ping timeout: 256 seconds]
<zer0-day> on this lines
<zer0-day> c = resp.header['Cookie'].split("=")[1].split("; ")[0]
<zer0-day> cookie, signature = c.split("--")
<zer0-day> any idea ?
amedeiros has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
<pontiki> no cookie?
moted has quit [Quit: moted]
wu_lmao has joined #ruby
amedeiros has quit [Ping timeout: 264 seconds]
gtc has quit [Remote host closed the connection]
kil0byte has quit [Read error: Connection reset by peer]
amedeiros has joined #ruby
larissa has quit [Ping timeout: 268 seconds]
<zer0-day> pontiki: ?
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<zer0-day> no, the cooking is getting correctly
<pontiki> show the data
<pontiki> put a tap in before the second split
tk has joined #ruby
tk is now known as Guest36736
aryaLovesJoel has joined #ruby
amedeiros has quit [Ping timeout: 245 seconds]
druonysus has joined #ruby
mfridh has quit [Read error: Connection reset by peer]
druonysus has quit [Changing host]
druonysus has joined #ruby
amedeiros has joined #ruby
ntus1017 has quit [Remote host closed the connection]
kil0byte has joined #ruby
Cyrus has joined #ruby
fomatin has joined #ruby
amedeiros has quit [Ping timeout: 245 seconds]
justsee has quit [Ping timeout: 240 seconds]
gildo has quit [Ping timeout: 260 seconds]
DonRichie has quit [Quit: Verlassend]
tw1sted has quit [Quit: tw1sted]
v0n has joined #ruby
Caius has quit [Ping timeout: 240 seconds]
bubbajones has joined #ruby
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
yxhuvud has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
mduvall has joined #ruby
DrShoggoth has joined #ruby
Caius has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Matip has joined #ruby
Apane has joined #ruby
Mattix has quit [Ping timeout: 248 seconds]
icole has joined #ruby
mansi has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
aryaLovesJoel has quit []
icole has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 248 seconds]
duper has quit [Quit: leaving]
Hanmac has joined #ruby
kofno has quit [Remote host closed the connection]
ntus1017 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Hanmac1 has quit [Ping timeout: 240 seconds]
fixl has joined #ruby
niklasb has joined #ruby
Spooner has quit [Remote host closed the connection]
kayloos has joined #ruby
jesly has joined #ruby
kofno has joined #ruby
viszu has joined #ruby
hogeo has joined #ruby
vlad_starkov has joined #ruby
pcarrier_ has quit [Quit: Computer has gone to sleep.]
hogeo_ has quit [Ping timeout: 252 seconds]
milardovich has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
Guerrero has joined #ruby
momomomomo has quit [Quit: momomomomo]
fomatin has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 245 seconds]
niklasb has quit [Read error: Operation timed out]
burlyscudd has quit [Ping timeout: 240 seconds]
lyanchih has joined #ruby
jimg has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
greywolf` has joined #ruby
danslo has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
greywolf` has quit [Client Quit]
AlbireoX`Laptop has quit [Remote host closed the connection]
freeayu has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.1]
Guerrero has quit [Ping timeout: 245 seconds]
lewis has joined #ruby
jimg has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
jalcine has quit [Quit: ZNC - http://znc.sourceforge.net]
lewis has quit [Remote host closed the connection]
mnemon has quit [Ping timeout: 248 seconds]
adkron has joined #ruby
jalcine has joined #ruby
radic_ has joined #ruby
scipi0 has joined #ruby
Cyrus has quit [Quit: Cyrus.close()]
Cyrus has joined #ruby
icole has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
radic has quit [Ping timeout: 252 seconds]
pcarrier_ has joined #ruby
RORgasm has joined #ruby
elManu has quit []
sroy2 has joined #ruby
RORgasm has quit [Ping timeout: 276 seconds]
mduvall has quit [Quit: mduvall]
sroy2 has quit [Client Quit]
sroy2 has joined #ruby
gnagno has quit [Ping timeout: 264 seconds]
jesly has quit [Quit: Leaving.]
mnemon has joined #ruby
seitensei has quit [Quit: Computer has gone to sleep.]
mahlon_ is now known as mahlon
devoldmx3 has joined #ruby
greatly-annoyed has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
<greatly-annoyed> anyone in here familliar with jruby?
fomatin has joined #ruby
pcarrier_ has quit [Ping timeout: 264 seconds]
cads has joined #ruby
GeissT has joined #ruby
beilabs_ has quit [Ping timeout: 248 seconds]
greatly-annoyed is now known as greatly-perplexe
greatly-perplexe is now known as greatly-perplexd
pcarrier_ has joined #ruby
LennyLinux has quit [Remote host closed the connection]
machuga|away is now known as machuga
amedeiros has joined #ruby
kasper has quit [Remote host closed the connection]
greatly-perplexd has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
mduvall has joined #ruby
jesly has joined #ruby
_Renegade_ has quit [Read error: Connection reset by peer]
amedeiros has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
beilabs_ has joined #ruby
banisterfiend has joined #ruby
Amanas has quit [Quit: Leaving]
amedeiros has quit [Ping timeout: 260 seconds]
johnnyfuchs has joined #ruby
amedeiros has joined #ruby
viszu has quit [Quit: Leaving.]
krisfremen has quit [Ping timeout: 246 seconds]
jamesfung14 has joined #ruby
viszu has joined #ruby
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
Meatant has quit [Quit: bbl]
freerobby has joined #ruby
brianherman has joined #ruby
burlyscudd has joined #ruby
pcarrier_ has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
Guedes has quit [Ping timeout: 240 seconds]
johnrlive has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 260 seconds]
johnrlive has joined #ruby
amedeiros has joined #ruby
brianherman has quit [Read error: Connection reset by peer]
gommo has joined #ruby
sarkis has joined #ruby
johnrlive has quit [Read error: Operation timed out]
freerobby has quit [Ping timeout: 245 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
fierycatnet has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
jamesfung14 has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
amedeiros has quit [Ping timeout: 264 seconds]
sroy2 has quit [Quit: sroy2]
amedeiros has joined #ruby
kayloos has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 260 seconds]
asgardBSD has quit [Remote host closed the connection]
fomatin has quit [Quit: Computer has gone to sleep.]
nezumi has quit [Ping timeout: 260 seconds]
orien has joined #ruby
amedeiros has quit [Ping timeout: 252 seconds]
amedeiros has joined #ruby
kenmaz has joined #ruby
kenmaz has quit [Remote host closed the connection]
yshh has joined #ruby
kenmaz has joined #ruby
lewis has joined #ruby
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
fomatin has joined #ruby
Taranis has left #ruby [#ruby]
rsahae has joined #ruby
zacts has joined #ruby
tkuchiki has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
amedeiros has joined #ruby
emmanuelux has joined #ruby
druonysus has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby
randomnick has quit [Read error: Operation timed out]
randomnick has joined #ruby
tchebb has quit [Ping timeout: 248 seconds]
amedeiros has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
havenwood has quit [Remote host closed the connection]
amedeiros has joined #ruby
freerobby has joined #ruby
fcatojo has quit [Quit: Leaving]
rsahae has quit [Quit: rsahae]
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
Parsify has joined #ruby
fixl has quit [Ping timeout: 256 seconds]
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
Squarepy has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
Levin_22 has joined #ruby
amedeiros has joined #ruby
joelteon has quit [Ping timeout: 276 seconds]
Parsify has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
joelteon has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
nezumi has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
amedeiros has quit [Ping timeout: 256 seconds]
Myconix has joined #ruby
amedeiros has joined #ruby
jAvSs has joined #ruby
tchebb has joined #ruby
jAvSs has left #ruby [#ruby]
burlyscudd has joined #ruby
vlad_starkov has joined #ruby
freerobby has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
dankest has quit [Quit: Leaving...]
vlad_starkov has quit [Ping timeout: 268 seconds]
freerobby has quit [Ping timeout: 276 seconds]
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
slash_nick has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
fixl has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
freeayu has quit [Ping timeout: 268 seconds]
Opettaja has joined #ruby
gommo has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 240 seconds]
gommo has joined #ruby
Randomage has quit [Quit: Randomage]
amedeiros has joined #ruby
gommo has quit [Read error: Connection reset by peer]
gommo has joined #ruby
Myconix has quit [Ping timeout: 260 seconds]
johnnyfuchs has quit [Remote host closed the connection]
Levin_22 has quit [Ping timeout: 264 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
RORgasm has joined #ruby
rsahae has joined #ruby
Randomage has joined #ruby
RORgasm has quit [Ping timeout: 248 seconds]
rsahae has quit [Client Quit]
IceDragon has quit [Quit: Space~~~]
tacos1de has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
tacos1de has joined #ruby
jesly has quit [Ping timeout: 248 seconds]
mansi has quit [Remote host closed the connection]
seich- has quit [Read error: Operation timed out]
mansi has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
seich- has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
rellin has quit [Ping timeout: 252 seconds]
n_blownapart has joined #ruby
tacos1de has joined #ruby
Shimoda has quit [Quit: Leaving]
mansi has quit [Ping timeout: 240 seconds]
n_blownapart has quit [Remote host closed the connection]
Opettaja has quit [Quit: WeeChat 0.4.1]
jesly has joined #ruby
n_blownapart has joined #ruby
Beoran__ has joined #ruby
viszu has quit [Quit: Leaving.]
<n_blownapart> http://pastie.org/8047690 hi. I can't see why microtest won't get loaded. the file name is micro_test.rb listed here: http://pastie.org/8047694 thanks
<n_blownapart> ^^ load and require always cause errors for me. the sample problem uses require for both lines 1 and 2.
machuga is now known as machuga|away
Beoran_ has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
yashshah has quit [Ping timeout: 256 seconds]
yashshah has joined #ruby
JimmyNeutron has joined #ruby
burlyscudd has joined #ruby
Hien has joined #ruby
wroathe has quit [Ping timeout: 245 seconds]
cads has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
sarkis has joined #ruby
mduvall has quit [Quit: mduvall]
x1337807x has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
simar77 has joined #ruby
<simar77> Hii hw r uuu dear
seitensei has joined #ruby
<simar77> U busyy ruby
neurosaurus has joined #ruby
r0bby is now known as robbyoconnor
ntus1017 has quit [Remote host closed the connection]
<simar77> Reply kro
freerobby has quit [Ping timeout: 252 seconds]
sarkis has quit [Ping timeout: 245 seconds]
cheese1756 has quit [Excess Flood]
neurosaurus has quit [Client Quit]
simar77 has left #ruby [#ruby]
kadoo has joined #ruby
osvico has quit []
cheese1756 has joined #ruby
bionhart has quit [Remote host closed the connection]
jesly has quit [Ping timeout: 257 seconds]
bionhart has joined #ruby
kadoo has quit [Remote host closed the connection]
browndawg has joined #ruby
kofno has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
bigmac has joined #ruby
kadoo has joined #ruby
fandikurnia01 has joined #ruby
fandikurnia01 has quit [Read error: Connection reset by peer]
pipework has joined #ruby
n_blownapart has quit [Remote host closed the connection]
n_blownapart has joined #ruby
daniel_hinojosa has quit [Read error: Operation timed out]
bionhart has quit [Remote host closed the connection]
bionhart has joined #ruby
<n_blownapart> http://pastie.org/8047694 Hi anyone know how to get microtest to load into microcardtest. I can't get require 'microtest' to work. thanks
mduvall has joined #ruby
bionhart has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
<n_blownapart> http://pastie.org/8047690 ^^
bionhart has joined #ruby
byprdct has joined #ruby
brennanMKE has joined #ruby
wroathe has joined #ruby
kil0byte has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
dash_ has joined #ruby
n_blownapart has quit [Remote host closed the connection]
freerobby has joined #ruby
Sherwyn has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
huoxito has quit [Quit: Leaving]
wroathe has quit [Ping timeout: 245 seconds]
adrian has joined #ruby
mansi has joined #ruby
mduvall has quit [Quit: mduvall]
lewis has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 240 seconds]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
huoxito has joined #ruby
<ericmathison> n_blownapart: I think you need to do require 'micro_test' not require 'microtest'
kadoo has joined #ruby
doritostains has quit [Ping timeout: 256 seconds]
kadoo has quit [Client Quit]
mansi has quit [Ping timeout: 268 seconds]
huoxito has quit [Quit: Leaving]
adrian has quit [Ping timeout: 276 seconds]
adkron has quit [Ping timeout: 264 seconds]
atno has quit [Ping timeout: 246 seconds]
haxrbyte has joined #ruby
kadoo has joined #ruby
sayan has joined #ruby
mduvall has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Guga_ has quit [Quit: ~]
nari has joined #ruby
codesoda has joined #ruby
seich- has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
vlad_starkov has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
bigmac has quit [Quit: Leaving]
browndawg has quit [Quit: Leaving.]
Shirakawasuna has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
macmartine has joined #ruby
brennanMKE has quit [Remote host closed the connection]
browndawg has joined #ruby
laite has quit [Quit: WeeChat 0.4.1]
freerobby has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
brennanMKE has joined #ruby
bradleyprice has joined #ruby
fierycatnet has quit [Quit: Leaving]
Randomage has quit [Ping timeout: 260 seconds]
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
tvw has joined #ruby
tvw has quit [Client Quit]
pyrac has joined #ruby
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
dash_ has quit [Quit: Time to beer :)]
timkohrumel has quit [Remote host closed the connection]
dash_ has joined #ruby
haxrbyte has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Remote host closed the connection]
RORgasm has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
RORgasm has quit [Ping timeout: 240 seconds]
kenmaz has quit [Remote host closed the connection]
Jackneill has joined #ruby
tonini has joined #ruby
blitz has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
atno has joined #ruby
freerobby has joined #ruby
browndawg has quit [Quit: Leaving.]
seich- has joined #ruby
sayan has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 268 seconds]
justsee has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
bradleyprice has quit [Remote host closed the connection]
blitz has quit [Quit: This computer has gone to sleep]
browndawg has quit [Client Quit]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blitz has joined #ruby
rellin has joined #ruby
Gues_____ has joined #ruby
Gues_____ is now known as Guest10754
zmike123 has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
kiela_ is now known as kiela
haxrbyte has joined #ruby
LarsSmit has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
codesoda has quit [Remote host closed the connection]
LarsSmit has quit [Client Quit]
kenmaz has joined #ruby
LarsSmit has joined #ruby
burlyscudd has joined #ruby
sarkis has joined #ruby
vlad_starkov has joined #ruby
kenmaz has quit [Ping timeout: 276 seconds]
tspike has quit [Ping timeout: 246 seconds]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
burlyscudd has quit [Ping timeout: 256 seconds]
sarkis has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
akashj87 has joined #ruby
freerobby has joined #ruby
haxrbyte has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
haxrbyte has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
haxrbyte has quit [Ping timeout: 252 seconds]
nari has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 252 seconds]
lewis has joined #ruby
lewis is now known as lewix
freeayu has joined #ruby
LarsSmit has quit [Read error: Connection reset by peer]
DomKM has quit [Quit: Leaving.]
GeissT_ has joined #ruby
LarsSmit has joined #ruby
freeayu__ has joined #ruby
kofno has joined #ruby
kofno has quit [Remote host closed the connection]
GeissT has quit [Ping timeout: 248 seconds]
wargasm has quit [Read error: Connection reset by peer]
freeayu has quit [Ping timeout: 256 seconds]
rodasc has joined #ruby
robert___ has joined #ruby
robert___ has quit [Changing host]
robert___ has joined #ruby
Dreamer3__ has joined #ruby
fuleo has joined #ruby
jinie- has joined #ruby
jhowarth_ has joined #ruby
KarlHung1s has joined #ruby
sixtenei1hty has joined #ruby
weeb1e has joined #ruby
jhowarth has quit [Ping timeout: 264 seconds]
Dreamer3 has quit [Ping timeout: 264 seconds]
jinie_ has quit [Ping timeout: 264 seconds]
supergiantrobot_ has quit [Ping timeout: 264 seconds]
sixteneighty has quit [Ping timeout: 264 seconds]
weeb1e_ has quit [Read error: Connection reset by peer]
crodas has quit [Ping timeout: 264 seconds]
KarlHungus has quit [Read error: Connection reset by peer]
Quadlex has quit [Ping timeout: 264 seconds]
thelamest has quit [Ping timeout: 264 seconds]
Guest57220 has quit [Ping timeout: 264 seconds]
PaulePanter has quit [Ping timeout: 264 seconds]
darkc0met has quit [Ping timeout: 264 seconds]
nemesit|znc has quit [Ping timeout: 264 seconds]
PeteyT has quit [Ping timeout: 264 seconds]
fuleo2 has quit [Ping timeout: 264 seconds]
peterhellberg has quit [Ping timeout: 264 seconds]
foohey has quit [Ping timeout: 264 seconds]
asuka has quit [Ping timeout: 264 seconds]
andredieb has quit [Ping timeout: 264 seconds]
Dreamer3__ is now known as Dreamer3
peterhel1berg has joined #ruby
asuka_ has joined #ruby
lyanchih has quit [Quit: lyanchih]
andredieb has joined #ruby
andredieb has quit [Changing host]
andredieb has joined #ruby
foohey has joined #ruby
nemesit|- has joined #ruby
LarsSmit has quit [Quit: Leaving.]
robert_ has quit [Ping timeout: 264 seconds]
Rennex has quit [Ping timeout: 264 seconds]
Coolhand has quit [Ping timeout: 264 seconds]
Weazy has quit [Ping timeout: 264 seconds]
chiel has quit [Ping timeout: 264 seconds]
thelamest has joined #ruby
LarsSmit has joined #ruby
chiel has joined #ruby
Rennex has joined #ruby
Weazy has joined #ruby
Guest57220 has joined #ruby
jhowarth_ is now known as jhowarth
PeteyT has joined #ruby
Quadlex has joined #ruby
Coolhand has joined #ruby
darkc0met has joined #ruby
Nisstyre has joined #ruby
burlyscudd has joined #ruby
hoyang has joined #ruby
ffio has joined #ruby
jenrzzz has quit [Quit: later!]
nari has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby
setient has quit [Remote host closed the connection]
mfridh has joined #ruby
skaby has joined #ruby
mfridh_ has joined #ruby
gr4yscale has joined #ruby
freerobby has joined #ruby
GeissT_ has quit [Quit: MillBroChat AdIRC User]
GeissT has joined #ruby
hoyang has quit [Ping timeout: 276 seconds]
jacobw has quit [Quit: WeeChat 0.4.0]
nomenkun has joined #ruby
leonidlm has joined #ruby
codezombie has joined #ruby
GeissT has quit [Read error: No route to host]
GeissT has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 264 seconds]
akashj87_ has joined #ruby
yashshah has joined #ruby
akashj87 has quit [Ping timeout: 256 seconds]
skasio has quit [Read error: Connection reset by peer]
mfridh has quit [Quit: Reconnecting]
mfridh_ is now known as mfridh
mfridh_ has joined #ruby
pyrac has quit [Quit: pyrac]
mfridh_ has quit [Client Quit]
akashj87_ has quit [Ping timeout: 256 seconds]
pootler__ has joined #ruby
pootler_1 has joined #ruby
DrCode has joined #ruby
snearch has joined #ruby
<amh345> can anyone help with the gsub to replace a relative img path to an absolute?
kofno has joined #ruby
hogeo_ has joined #ruby
hoyang has joined #ruby
jastix has joined #ruby
hogeo has quit [Ping timeout: 245 seconds]
<havenwood> amh345: what does the string look like?
<amh345> havenwood: it looks like this. <img src="images/index_09.png" except image name and ext could be different.
mduvall has quit [Quit: mduvall]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
lyanchih has joined #ruby
Apane has quit [Ping timeout: 246 seconds]
<nanothief> amh345: something like this may suffice: '<img src="test" alt="test">'.gsub(/(<img src=")([^"]*)("[^>]*>)/) { "#{$1}#{relative_to_absolute($2)}#{$3}" }
<nanothief> you will have to write the relative_to_absolute method though, as that depends on the website setup
danslo has quit [Quit: danslo]
generalissimo has quit [Remote host closed the connection]
<r0bgleeson> >> Object.hash
<nanothief> actually '<img .*src="test" alt="test">'.gsub(/(<img src=")([^"]*)("[^>]*>)/) { "#{$1}#{relative_to_absolute($2)}#{$3}" } is better
<eval-in> r0bgleeson => -650200132 (https://eval.in/33657)
<r0bgleeson> >> Object.hash
<eval-in> r0bgleeson => 758208690 (https://eval.in/33658)
<r0bgleeson> >> Process.pid
<eval-in> r0bgleeson => 32218 (https://eval.in/33659)
<r0bgleeson> >> Process.pid
<eval-in> r0bgleeson => 32223 (https://eval.in/33660)
kenmaz has joined #ruby
sayan has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
<amh345> nanothief: that seems to have worked!
bionhart has quit [Remote host closed the connection]
<amh345> i can't wrap my head around this regex stuff. it drives me nuts.
<amh345> thank you nanothief
<amh345> if i want to do background src as well as img source. do i have to gsub twice?
<havenwood> amh345: could also do something like: your_string[/img src="(.+)"/,1] = File.expand_path($1)
kenmaz has quit [Ping timeout: 248 seconds]
codesoda has joined #ruby
<Mon_Ouie> Doesn't work if you have another attribute after that or multiple images in string though (you need to make it non-greedy). Also, regexps will always fail if there happen to be escaped quotes in it.
devoldmx has joined #ruby
patteh has quit [Ping timeout: 256 seconds]
hoyang has quit [Quit: 离开]
wallerdev has quit [Quit: wallerdev]
hoyang has joined #ruby
codesoda has quit [Ping timeout: 248 seconds]
nemesit|- has quit [Quit: ZNC - http://znc.in]
<amh345> Mon_Ouie: i mean if i have <img src="images/blah.jpg> and <td background="images/blah2.jpg">
nemesit|znc has joined #ruby
hoyang has quit [Max SendQ exceeded]
hoyang has joined #ruby
devoldmx3 has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
hoyang has quit [Max SendQ exceeded]
hoyang has joined #ruby
rubarlion has joined #ruby
codecop has joined #ruby
<amh345> ah. i got it. | (or)
<amh345> thanks guys. much appreciated.
gr4yscale has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Ping timeout: 246 seconds]
<Hanmac> ... is "background" a valid attribute?
gr4yscale has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
BizarreCake has joined #ruby
obs has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
freeayu__ has quit [Ping timeout: 260 seconds]
icole has quit [Remote host closed the connection]
_Andres has joined #ruby
freeayu__ has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
jesly has joined #ruby
<havenwood> gsub(/"([^"]*)"/, File.expand_path('\1'))
bean has quit [Read error: Connection reset by peer]
chorkpop has quit [Read error: Connection reset by peer]
<havenwood> I gotta read up on Regex, feels like going down a rabbit hole.
<Mon_Ouie> Your code will first expand the path '\1' and then replace '\1' by the first capture group
burlyscudd has joined #ruby
vlad_starkov has joined #ruby
<Mon_Ouie> You want it the other way around for it to work
<Mon_Ouie> (hence the use of blocks in previous examples)
<havenwood> Mon_Ouie: Aha
kenmaz has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
rubarlion has quit [Remote host closed the connection]
Meatant has joined #ruby
burlyscudd has quit [Ping timeout: 260 seconds]
<r0bgleeson> amh345: try nokogiri
kenmaz has quit [Ping timeout: 264 seconds]
PaulePanter has joined #ruby
adambeynon has joined #ruby
tatsuya_o has joined #ruby
Guest10754 has quit [Quit: Textual IRC Client: www.textualapp.com]
BizarreCake has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
bionhart has joined #ruby
LarsSmit has quit [Quit: Leaving.]
Trynemjoel has quit [Ping timeout: 245 seconds]
browndawg has joined #ruby
Bhavesh_a_p has joined #ruby
xardas has joined #ruby
zmike123 has quit [Ping timeout: 252 seconds]
G________ has joined #ruby
browndawg has left #ruby [#ruby]
Bhavesh_a_p is now known as bhaveshkumar
bhaveshkumar is now known as Bhaveshkumar
timonv has quit [Remote host closed the connection]
sarkis has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
BizarreCake has joined #ruby
ananthakumaran has joined #ruby
kenmaz has joined #ruby
timonv has joined #ruby
kenmaz has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 248 seconds]
staafl has joined #ruby
pyrac has joined #ruby
Xeago has joined #ruby
zmike123 has joined #ruby
eighty4 has joined #ruby
leonidlm has quit [Read error: Connection reset by peer]
Rizzle has quit [Read error: Connection reset by peer]
ferr has quit [Ping timeout: 246 seconds]
devoldmx has quit [Remote host closed the connection]
Rizzle has joined #ruby
havenwood has quit [Remote host closed the connection]
amh345 has quit [Quit: amh345]
timonv has quit [Remote host closed the connection]
boblu has joined #ruby
tonini has joined #ruby
bionhart has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 245 seconds]
sayan has quit [Read error: Connection reset by peer]
bionhart has joined #ruby
bionhart has quit [Remote host closed the connection]
skaby has quit [Read error: Operation timed out]
anderson has quit [Read error: Operation timed out]
Bhaveshkumar is now known as Bhavesh_A_P
gnagno has joined #ruby
JohnBat26 has joined #ruby
im0b has quit [Ping timeout: 248 seconds]
MrZYX|off is now known as MrZYX
tonini has quit [Ping timeout: 248 seconds]
burlyscudd has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<nyuszika7h> hi, I have a socket recv loop in a thread, and it hangs waiting forever on the socket, not realizing the other end has disconnected uncleanly. is there anything I can do about this?
icole has joined #ruby
icole has quit [Ping timeout: 248 seconds]
gnagno has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Ping timeout: 252 seconds]
<Xeago> nyuszika7h: communicate the close
<Xeago> or try putting io on it
<Xeago> yoou'll get an error it is closed
<nyuszika7h> how would I do that?
hawtin has joined #ruby
<Xeago> #write I suppose
gnagno has joined #ruby
<Xeago> don\t have experience with ruby's implementation
<nyuszika7h> hmm
<Xeago> but that is how it usually works
<nyuszika7h> so I should send PINGs periodically to the ircd?
<Xeago> IRC itself has a concept of PING
<nyuszika7h> I know
<nyuszika7h> my bot replies to PINGs
<Xeago> it also has a disconnect acknowledgement
<nyuszika7h> but the server closed the connection unexceptedly
<nyuszika7h> the host was uncleanly shut down\
<Xeago> then trying to ping would automatically notice the disconnect and gracefully resolve
<nyuszika7h> ah
Shirakawasuna has quit [Ping timeout: 252 seconds]
m8 has joined #ruby
sepp2k has joined #ruby
qun has quit [Ping timeout: 252 seconds]
nightfly has quit [Ping timeout: 256 seconds]
nerdman has joined #ruby
browndawg has joined #ruby
danslo has joined #ruby
nightfly has joined #ruby
qun has joined #ruby
<gnagno> hello all, is there a best practice for testing rails scripts with rspec? I mean, how can I for example test that my script prints a specific string?
Peej has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 276 seconds]
tonini has joined #ruby
eighty4 has left #ruby ["Textual IRC Client: www.textualapp.com"]
mikewintermute has joined #ruby
matchaw has quit [Remote host closed the connection]
motto has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
spider-mario has joined #ruby
m8 has quit [Ping timeout: 252 seconds]
<Hanmac> gnagno: #rubyonrails
<gnagno> Hanmac, I am talking about a ruby script pure ruby, not rails
<Hanmac> you said gnagno: "..practice for testing rails scripts ..."
<Bhavesh_A_P> hello
kenmaz has joined #ruby
motto has quit [Ping timeout: 248 seconds]
<gnagno> oh sorry Hanmac, I made a mistake
<gnagno> I would like to test a simple ruby script, only ruby without rails
danguita has joined #ruby
<Hanmac> i use test-unit gem for that
vlad_starkov has quit [Remote host closed the connection]
<gnagno> Hanmac, is it possible to do the same with rspec?
zmike123 has quit [Quit: Выходжу]
<nanothief> rspec works fine without rails
zmike123 has joined #ruby
stayarrr has joined #ruby
<gnagno> yes, I can test the classes with rspec, but how can I test that my script prints a specific string when for example I don't pass an argument?
danguita has quit [Quit: leaving]
<nanothief> you mean print as in puts "hello"?
guardian has joined #ruby
<guardian> hello
<guardian> I once wrote a script that does: nm = IO.popen("nm -n #{ARGV.to_s}")
m8 has joined #ruby
<nanothief> gnagno: If so, the capture_stdout method from http://thinkingdigitally.com/archive/capturing-output-from-puts-in-ruby/ works well if your script is pure ruby
Bhavesh_A_P has left #ruby ["Leaving"]
<guardian> when trying using it now, it says nm can't open file
<guardian> using nm from the command line with the said file works
<guardian> I suspect something changed in popen with ruby 2, but I can't find what since I rarely code in ruby
<gnagno> thank you nanothief
bpmsalonbot has joined #ruby
<guardian> anything obvious to more trained eyes?
tatsuya_o has joined #ruby
<gnagno> nanothief, the solution implemented in the link you gave me looks very elegant
kenmaz has quit [Ping timeout: 252 seconds]
<nanothief> it is good, just note that it won't capture output from external commands. Eg capture_output { system("ls") } won't work
havenwood has joined #ruby
<gnagno> nanothief, well, I hope I won't need it
threesome has joined #ruby
danguita has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
Dave has joined #ruby
havenwood has joined #ruby
Dave is now known as Guest78738
Bhaveshkumar has joined #ruby
m8 has quit [Ping timeout: 268 seconds]
ToApolytoXaos has joined #ruby
<bnagy> guardian: they changed Array#to_s
tonini has quit [Ping timeout: 248 seconds]
<bnagy> try ARGV.join(' ')
<bnagy> >> [1,2,3].to_s
<eval-in> bnagy => "[1, 2, 3]" (https://eval.in/33663)
m8 has joined #ruby
<bnagy> 18>> [1,2,3].to_s
<eval-in> bnagy => "123" (https://eval.in/33664)
<Mon_Ouie> That change was between 1.8 and 1.9 btw
gildo has joined #ruby
RORgasm has joined #ruby
brennanMKE has joined #ruby
<guardian> bnagy: ah snap. so ARGV.join(' ') will do the trick
<guardian> than you
tonini has joined #ruby
m8 has quit [Read error: Connection reset by peer]
braoru has joined #ruby
Bhaveshkumar has left #ruby ["Leaving"]
RORgasm has quit [Ping timeout: 268 seconds]
coaster has joined #ruby
gui113 has joined #ruby
gui113 has left #ruby [#ruby]
gui113 has joined #ruby
nobitanobi has joined #ruby
mansi has joined #ruby
brennanMKE has quit [Ping timeout: 268 seconds]
Meatant has quit [Quit: nite]
burlyscudd has joined #ruby
jesly1 has joined #ruby
Kar- has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
jesly has quit [Ping timeout: 246 seconds]
<guardian> does ruby have something to format sizes in bytes so that it prints it in kB or MB?
tonini has quit [Ping timeout: 248 seconds]
burlyscudd has quit [Ping timeout: 276 seconds]
<apeiros> guardian: /1024
<apeiros> there's also some ActiveRecord helper, forgot the precise name, though
<guardian> I'm after something that handles the whole SI/IEC details already
<Hanmac> apeiros: guardian please beware that kB are 1000 and not 1024
<guardian> but yeah that would be /1000 then
<Hanmac> thats kiB for
havenwood has quit [Remote host closed the connection]
<Mon_Ouie> In practice kB is still used for both variants though (just to mess with people)
<apeiros> in practice, less than 0.01% of all people even care
ffio_ has joined #ruby
<apeiros> (of course, that doesn't mean you shouldn't use the correct terms)
nightfly has quit [Read error: Operation timed out]
<Hanmac> there exists an Standard for over ten years ... it cant be helped if some Softwaredevelopers like Mircosoft are to arogant to use that ...
ffio has quit [Ping timeout: 256 seconds]
gui113 has quit [Quit: That's all folks!]
<Mon_Ouie> I don't mean to be the devil's advocate, but a standard that is used by no one doesn't qualify as a standard :p
Guest78738 has quit [Quit: Leaving...]
Neomex has joined #ruby
browndawg has quit [Quit: Leaving.]
browndawg has joined #ruby
hoyang has quit [Quit: 离开]
nomenkun has quit [Remote host closed the connection]
<guardian> are you really arguing about MB vs MiB?
danslo has quit [Quit: danslo]
<apeiros> I don't think anybody is arguing
<r0bgleeson> aren't mbits those things ISPs use to make internet sound really fast?
LennyLinux has joined #ruby
Neomex has quit [Client Quit]
<Mon_Ouie> Yeah, talking in bits so they get to multiply all numbers by 8
Guerrero has joined #ruby
Kabaka has quit [Remote host closed the connection]
<guardian> I think 1MB = 10^6B is easier to remember than hesitating between 1MB = 2^20B or 1MB = 1000x1024B
Guerrero has left #ruby [#ruby]
Guerrero has joined #ruby
<apeiros> o0
* apeiros just decided that he doesn't care
<Mon_Ouie> My point is that you can't be sure that when someone says 1 kB they really mean 1000 bytes, considering how long the confusion has lasted
Kabaka has joined #ruby
<Xeago> I actually do care
<Xeago> and grouped up with other people to file a lawsuit against dutch ISP's
<Xeago> it didn't actually go to court
<Xeago> but it got settled and I got my desired result
timonv has joined #ruby
LennyLinux has quit [Remote host closed the connection]
G________ has quit [Quit: Textual IRC Client: www.textualapp.com]
gr4yscale has quit [Quit: Computer has gone to sleep.]
freeayu__ has quit [Ping timeout: 256 seconds]
jesly1 has quit [Ping timeout: 245 seconds]
freeayu has joined #ruby
Guedes has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
kirun has joined #ruby
predator217 has quit [Read error: Operation timed out]
sarkis has joined #ruby
predator117 has joined #ruby
nobitanobi has quit [Ping timeout: 246 seconds]
randomnick has quit [Ping timeout: 256 seconds]
jesly has joined #ruby
randomnick has joined #ruby
danslo has joined #ruby
jinie- has quit [Quit: ZNC - http://znc.in]
sarkis has quit [Ping timeout: 252 seconds]
jinie has joined #ruby
Guedes has quit [Remote host closed the connection]
kenmaz has joined #ruby
DonRichie has joined #ruby
JohnBat26 has quit [Ping timeout: 268 seconds]
lkba has joined #ruby
<joshu> hi need some feedback please on this snippet of code https://gist.github.com/anonymous/d7188195582e12a17776
browndawg has left #ruby [#ruby]
<joshu> I'm not sure whether to used available_agents? or available_agents which is the correct syntax although both give the same result
<apeiros> joshu: we generally use foo? methods for methods which return true/false
<apeiros> any method not returning a boolean should not be named with a question mark
Spooner has joined #ruby
browndawg has joined #ruby
kenmaz has quit [Ping timeout: 256 seconds]
<joshu> apeiros right so as I have available_agents.any? then the method is returning true or false and I have the appropriate ? in the method name
browndawg has quit [Client Quit]
banisterfiend has joined #ruby
<apeiros> .any? isn't really meant to test whether an enumerable is not empty. use !enum.empty? for that.
<apeiros> >> [nil, false].any?
<eval-in> apeiros => false (https://eval.in/33670)
<apeiros> or .present? in rails
jesly has quit [Ping timeout: 252 seconds]
<joshu> apeiros hmm I'm having the opposite result with .empty? or what I want.
<apeiros> joshu: as said, !enum.empty?
<apeiros> the ! is important there.
jesly has joined #ruby
BizarreCake has quit [Quit: Leaving]
<joshu> sorry apeiros missed that !available_agents.empty?
Gues_____ has joined #ruby
Gues_____ is now known as Guest82343
Guest82343 has quit [Client Quit]
relix has joined #ruby
vlad_starkov has joined #ruby
Trynemjoel has joined #ruby
mansi has joined #ruby
nerdman has quit [Quit: leaving]
im0b has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
Spooner has quit [Remote host closed the connection]
obs has quit [Ping timeout: 252 seconds]
burlyscudd has joined #ruby
robustus has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 245 seconds]
mansi has quit [Ping timeout: 268 seconds]
ArchBeOS has quit [Ping timeout: 252 seconds]
burlyscudd has quit [Ping timeout: 268 seconds]
LennyLinux has joined #ruby
Hanmac1 has joined #ruby
timonv has quit [Remote host closed the connection]
justsee has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
Hanmac1 is now known as Hanmac
lkba has quit [Ping timeout: 260 seconds]
aryaLovesJoel has joined #ruby
TheFuzzball has joined #ruby
gildo has quit [Ping timeout: 252 seconds]
ArchBeOS has joined #ruby
yashshah has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
pyrac has quit [Quit: pyrac]
zeromodulus has quit [Remote host closed the connection]
obs has joined #ruby
browndawg has quit [Ping timeout: 248 seconds]
lkba has joined #ruby
Nisstyre has quit [Quit: Leaving]
pyrac has joined #ruby
kasper has joined #ruby
gildo has joined #ruby
bpmsalonbot has quit [Ping timeout: 248 seconds]
bpmsalonbot has joined #ruby
jbpros has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lyanchih has quit [Quit: lyanchih]
GeissT_ has joined #ruby
lyanchih has joined #ruby
nari has joined #ruby
danguita has quit [Ping timeout: 276 seconds]
GeissT_ has quit [Client Quit]
kasper has quit [Remote host closed the connection]
mikewintermute has quit [Quit: mikewintermute]
GeissT has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
lusory has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
RORgasm has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
kofno has quit [Remote host closed the connection]
patteh has joined #ruby
RORgasm has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
stef_204 has joined #ruby
danguita has joined #ruby
mansi has joined #ruby
tkuchiki_ has joined #ruby
amedeiros has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
burlyscudd has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
staafl has quit [Ping timeout: 256 seconds]
mansi has quit [Ping timeout: 252 seconds]
tkuchiki_ has quit [Ping timeout: 268 seconds]
kofno has joined #ruby
amedeiros has joined #ruby
darkstar| has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
C0deMaver1ck has quit [Remote host closed the connection]
nightfly has joined #ruby
JaTochNietDan has quit [Ping timeout: 246 seconds]
amedeiros has quit [Ping timeout: 245 seconds]
darkstar| has left #ruby [#ruby]
darkstar| has joined #ruby
danguita has quit [Quit: leaving]
amedeiros has joined #ruby
darkc0met has quit [Ping timeout: 246 seconds]
gommo has quit [Remote host closed the connection]
kenmaz has joined #ruby
gommo has joined #ruby
yacks has joined #ruby
awc737 has quit [Ping timeout: 255 seconds]
amedeiros has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
kenmaz has quit [Remote host closed the connection]
kenmaz has joined #ruby
freerobby has joined #ruby
timonv has joined #ruby
JohnBat26 has joined #ruby
Columcil1e has joined #ruby
gommo has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Remote host closed the connection]
niklasb has joined #ruby
vlad_starkov has joined #ruby
devoldmx has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
Columcille has quit [Ping timeout: 256 seconds]
amedeiros has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
adkron has joined #ruby
yacks has quit [Quit: Leaving]
yacks has joined #ruby
LennyLinux has quit [Remote host closed the connection]
blaxter_ has joined #ruby
kayloos has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 240 seconds]
relix has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
LennyLinux has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
nfk has joined #ruby
jds has joined #ruby
sarkis has joined #ruby
lewix has quit [Remote host closed the connection]
blaxter_ has quit [Quit: foo]
lewix has joined #ruby
Columcil1e is now known as Columcille
relix has joined #ruby
jesly has quit [Ping timeout: 252 seconds]
sarkis has quit [Ping timeout: 240 seconds]
<Hanmac> Xeago & apeiros i looked at ActiveSupport and they failed with implmenting IEC binary prefix, there where 4 issiue tickets but they closed them without implementing the correct handling ;P
hron84 has joined #ruby
<Hanmac> "rails does fails" ;P
<apeiros> Hanmac: well, should be simple enough to write a handler yourself
osvico has joined #ruby
<hron84> Can anyone help me how autotest detects tests? I created a simple Test-Unit test and autotest does not recognizes it
lewix has quit [Ping timeout: 268 seconds]
Guga_ has joined #ruby
<hron84> This is the simple test i created https://gist.github.com/hron84/9325557978814307ba39
<hron84> and autotest --verbose says 'No tests matched test/foo_test.rb'
nobitanobi has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
apeiros has joined #ruby
postmodern has quit [Quit: Leaving]
apeiros has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
jesly has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
boblu has quit [Ping timeout: 260 seconds]
apeiros_ has quit [Ping timeout: 264 seconds]
sprites has joined #ruby
freerobby has joined #ruby
sprites has quit [Client Quit]
agjacome has joined #ruby
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
jbpros has quit [Quit: jbpros]
jinie is now known as jinie_
yashshah has joined #ruby
Mattx has joined #ruby
mansi has joined #ruby
Maoko has joined #ruby
vlad_sta_ has joined #ruby
browndawg has joined #ruby
Matip has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
Guga_ has quit [Remote host closed the connection]
Guga_ has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
lyanchih has quit [Quit: lyanchih]
daniel-s__ is now known as daniel-s
timonv has quit [Remote host closed the connection]
darkstar| has quit [Read error: Connection reset by peer]
jbpros has joined #ruby
nomenkun has joined #ruby
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv has joined #ruby
nomenkun has quit [Ping timeout: 240 seconds]
alexwh has joined #ruby
Guga_ has quit [Remote host closed the connection]
freerobby has joined #ruby
Guga_ has joined #ruby
hogeo has joined #ruby
Squarepy has joined #ruby
alexwh has left #ruby [#ruby]
philcrissman_ has joined #ruby
alexwh has joined #ruby
eldariof has joined #ruby
hogeo_ has quit [Ping timeout: 256 seconds]
freerobby has quit [Ping timeout: 248 seconds]
<joshu> I saw a tip just now about using prettify_json.rb on the command line with curl.
devoldmx3 has joined #ruby
<joshu> Anyone use that? I just need to gem install json on my system?
boblu has joined #ruby
chipotle_ has joined #ruby
nfk has quit [Quit: yawn]
devoldmx has quit [Ping timeout: 245 seconds]
jimbogaz has joined #ruby
sroy2 has joined #ruby
_Renegade has joined #ruby
predator117 has quit [Ping timeout: 276 seconds]
lyanchih has joined #ruby
guardian has left #ruby [#ruby]
lunix01 has joined #ruby
<lunix01> x
lunix01 has left #ruby [#ruby]
__class__ has joined #ruby
nari has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
predator117 has joined #ruby
AndChat| has quit [Ping timeout: 256 seconds]
ToApolytoXaos has quit [Quit: Leaving]
sambao21 has joined #ruby
_Renegade has quit [Quit: _Renegade]
banisterfiend has quit [Remote host closed the connection]
jimg has joined #ruby
amedeiros has joined #ruby
timonv has quit [Remote host closed the connection]
Davey has joined #ruby
jimg has quit [Ping timeout: 252 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
aryaLovesJoel has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
nfk has joined #ruby
devoldmx has joined #ruby
kenmaz has quit [Remote host closed the connection]
scrollback has quit [Remote host closed the connection]
wildcard0 has quit [Read error: Operation timed out]
scrollback has joined #ruby
DomKM has joined #ruby
aryaLovesJoel has joined #ruby
kofno has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 246 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
amedeiros has joined #ruby
freerobby has joined #ruby
jds has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 240 seconds]
Aaaarg has quit [Quit: Aaaarg]
jds has joined #ruby
Aaaarg has joined #ruby
jimbogaz has quit [Quit: Textual IRC Client: www.textualapp.com]
RORgasm has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Shirakawasuna has joined #ruby
vlad_sta_ has joined #ruby
nemesit|znc has joined #ruby
amedeiros has quit [Ping timeout: 245 seconds]
kasper has joined #ruby
thams has joined #ruby
amedeiros has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
jds has quit [Ping timeout: 276 seconds]
RORgasm has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
cads has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
amedeiros has joined #ruby
jds has joined #ruby
mansi has joined #ruby
snearch has quit [Quit: Verlassend]
rsahae has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
amedeiros has joined #ruby
burlyscudd has joined #ruby
viszu has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
Guest36736 has quit [Quit: ばいばい]
rsahae has quit [Client Quit]
amedeiros has quit [Ping timeout: 256 seconds]
jbpros has quit [Quit: jbpros]
burlyscudd has quit [Ping timeout: 256 seconds]
amedeiros has joined #ruby
alekst has joined #ruby
JaTochNietDan has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
Banistergalaxy has joined #ruby
Elico has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
amedeiros has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
nomenkun has joined #ruby
jds has quit [Remote host closed the connection]
amedeiros has quit [Read error: Connection reset by peer]
wildcard0 has joined #ruby
_Renegade has joined #ruby
adkron has quit [Ping timeout: 252 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
amedeiros has joined #ruby
freerobby has joined #ruby
amedeiros has quit [Ping timeout: 248 seconds]
freerobby has quit [Ping timeout: 256 seconds]
bklane has joined #ruby
amedeiros has joined #ruby
aryaLovesJoel has quit [Ping timeout: 248 seconds]
agjacome has quit [Quit: leaving]
matled has quit [Remote host closed the connection]
gnagno has quit [Ping timeout: 252 seconds]
alekst has quit [Quit: Leaving...]
aryaLovesJoel has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
fridim_ has joined #ruby
kofno has quit [Remote host closed the connection]
amedeiros has joined #ruby
banisterfiend has joined #ruby
tatsuya_o has joined #ruby
sarkis has joined #ruby
awc737 has joined #ruby
amedeiros has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
PragCypher has joined #ruby
sarkis has quit [Ping timeout: 246 seconds]
bpmsalonbot has quit [Quit: Leaving]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
blaxter_ has joined #ruby
F1skr has joined #ruby
BizarreCake has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
niklasb has quit [Ping timeout: 268 seconds]
icecandy has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
byprdct has quit [Ping timeout: 252 seconds]
icecandy has quit [Remote host closed the connection]
kenmaz has joined #ruby
icecandy has joined #ruby
Travis-42 has joined #ruby
ravster has joined #ruby
kenmaz has quit [Ping timeout: 245 seconds]
<Travis-42> Can anyone point me to a nice way of converting an array like: [{:id => 5, :color => 'red', :size => 6}, etc.] to a multidimensional hash like {:colors => { 'red' => { :sizes => { 6 => 5 } } } } ?
F1skr has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
wallerdev has joined #ruby
eldariof has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
freeayu has quit [Remote host closed the connection]
kenmaz has joined #ruby
matled has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
kenmaz has quit [Remote host closed the connection]
Cyrus has quit [Quit: Cyrus.sleep()]
kenmaz has joined #ruby
ravster has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 248 seconds]
CreamTart has joined #ruby
altivec has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
apeiros has joined #ruby
LennyLinux has quit [Remote host closed the connection]
mansi has joined #ruby
lyanchih has quit [Quit: lyanchih]
nobitanobi has quit [Ping timeout: 252 seconds]
<apeiros> Travis-42: .each/.map
<apeiros> to a certain extent, you might also use group_by
gnagno has joined #ruby
apeiros__ has quit [Ping timeout: 246 seconds]
<Hanmac> Travis-42:
<Hanmac> >> [{:id => 5, :color => 'red', :size => 6}].each_with_object({:colors => {} }){|d,h| (h[:colors][d[:color]] ||= {:sizes=>{}})[:sizes][d[:size]]=d[:id] }
<eval-in> Hanmac => {:colors=>{"red"=>{:sizes=>{6=>5}}}} (https://eval.in/33684)
<Travis-42> ah, interesting Hanmac, I hadn't considered each_with_object
tatsuya_o has joined #ruby
kenmaz has quit [Remote host closed the connection]
burlyscudd has joined #ruby
kenmaz has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
LennyLinux has joined #ruby
kenmaz has quit [Remote host closed the connection]
eka has joined #ruby
relix has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
F1skr has joined #ruby
wroathe has joined #ruby
icole has joined #ruby
kofno has quit [Remote host closed the connection]
banisterfiend has joined #ruby
jds has joined #ruby
Squarepy has quit [Remote host closed the connection]
timonv has joined #ruby
xardas_ has joined #ruby
brianherman has joined #ruby
Xeago_ has joined #ruby
kurtf has joined #ruby
mansi has joined #ruby
aryaLovesJoel has quit [Ping timeout: 248 seconds]
ffio_ has quit [Ping timeout: 246 seconds]
jdunck has joined #ruby
xardas has quit [Ping timeout: 268 seconds]
xardas_ is now known as xardas
jdunck has quit [Client Quit]
Xeago has quit [Ping timeout: 252 seconds]
Kabaka has quit [Remote host closed the connection]
jdunck has joined #ruby
Parsify has joined #ruby
icole has quit [Remote host closed the connection]
gnagno has quit [Ping timeout: 245 seconds]
Kabaka has joined #ruby
ausek has quit [Ping timeout: 240 seconds]
Abeepboop has joined #ruby
lyanchih has joined #ruby
<Abeepboop> hi, I need help installing the "gosu" package, when I runs "gem install gosu" it gives me a bunch of errors about not being able to find the libraries (for example, it complains about pango when I do have pango at /usr/include/pango1.0)
Opettaja has joined #ruby
kil0byte has joined #ruby
cooldman224 has joined #ruby
jds has quit [Remote host closed the connection]
freerobby has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
<Hanmac> Abeepboop: gosu is broken for ruby 2.0 and some revisions ... i telld them about but they did not fix that yet (its an error in mkmf itself)
<Abeepboop> Hanmad: so I should use rvm to switch back to an earlier ruby? (Sorry I'm very new to ruby)
braoru has quit [Quit: Leaving]
<Hanmac> yes this might work
timonv has quit [Remote host closed the connection]
<Abeepboop> Hanmad: One more question, is it only the installation that's broken or it does not work at all with ruby 2.0?
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
* Hanmac is switching to SFML ... it looks more cool than GOSU ... but i also need to write my own binding because rbSFML is broken for 2.0 too
jdunck has quit [Quit: Computer has gone to sleep.]
<banisterfiend> Hanmac: gosu is pretty sweet, it's also maintained
<banisterfiend> though maybe not yet for 2.0, but in general it's well maintained
<banisterfiend> that's rare for a ruby gaming lib :)
<Hanmac> banisterfiend: i reported the error and how to solv it months ago and it is not fixed yet
wallerdev has quit [Quit: wallerdev]
jdunck has joined #ruby
<banisterfiend> Hanmac: you're defeated by imperfect data and the chaos concealed in your own equations
<Hanmac> Abeepboop & banisterfiend also the error is more in ruby2.0 when you want to build C++ extensions (pkg_config of mkmf is broken)
freerobby has quit [Ping timeout: 276 seconds]
razi has joined #ruby
jdunck has quit [Client Quit]
thams has quit [Quit: thams]
Apane has joined #ruby
bigmac has joined #ruby
akashj87 has joined #ruby
aryaLovesJoel has joined #ruby
mvangala has quit [Read error: Operation timed out]
vlad_sta_ has joined #ruby
tw1sted has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
bigmac has quit [Client Quit]
havenwood has joined #ruby
pothibo has joined #ruby
whowantstolivefo has joined #ruby
<Abeepboop> yay I got it installed
<Abeepboop> I have another silly question, since Gosu is available to both C++ and Ruby, it is possible to interface between the two (project of both languages)
<Abeepboop> (just curious)
jds has joined #ruby
<Hanmac> Abeepboop: hm not so much, depends what you want ..
<Abeepboop> Hanmac: oh and something that I have always wondered: I heard that some python/ruby libraries are built in C++, can I ask how they are done
<Abeepboop> Maybe not the complete process, but some pointers (what topic I should look into for examples) would be great
<Hanmac> ruby is written in C that means you can bind C or C++ libraries into ruby classes ... (gosu does that internaly for you)
<Abeepboop> what I mean is, how do you bind libraries like that?
<Abeepboop> is there like a tutorial about that :d
`MArceLL` has quit [Ping timeout: 276 seconds]
blaxter_ is now known as blaxter
vlad_sta_ has quit [Remote host closed the connection]
burlyscudd has joined #ruby
<Abeepboop> thanks
vlad_starkov has joined #ruby
Abeepboop has quit [Quit: Leaving]
boblu has quit [Read error: Operation timed out]
gnagno has joined #ruby
kofno has joined #ruby
shime has joined #ruby
boblu has joined #ruby
kasper has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
freerobby has joined #ruby
shime_ has joined #ruby
shime has quit [Ping timeout: 256 seconds]
freerobby has quit [Ping timeout: 252 seconds]
chipotle_ has quit [Quit: cya]
vlad_starkov has quit [Remote host closed the connection]
Cyrus has joined #ruby
jfelt has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jfelt has quit [Client Quit]
tw1sted has quit [Quit: tw1sted]
ShellFu has joined #ruby
Parsify has quit [Max SendQ exceeded]
LarsSmit has joined #ruby
lxsameer has joined #ruby
<lxsameer> what is the best way to break a long ruby line ?
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
<ShellFu> hey all. Id like some opinions on format of command line arguments. I am accepting the following: ./app.rb -c warrior,thief^item1=lockpick^item2=blackjack,mage
alexwh has left #ruby [#ruby]
kasper has joined #ruby
poga has quit [Remote host closed the connection]
<ShellFu> its a bit dirty how im having to break that string up and the format looks a lil nasty
<ShellFu> so Im curious what opinions are on the matter, and if there is a better way for me to handle those options
<ShellFu> so you have a key, and that key CAN(doesnt have to) have its own hash of k=v pairs under it
danslo has quit [Quit: danslo]
<onewheelskyward> lxsameer It depends on the line. :)
<ShellFu> so end goal is something like {class => {item1 => value, item2 => value }}
tbrock has joined #ruby
<onewheelskyward> ShellFu I'd try following http conventions. There are a log of parsers out there for that already.
<lxsameer> onewheelskyward: hmmm , a long line of chained methods
<onewheelskyward> or take in a json string.
<onewheelskyward> lxsameer I've been known to do one dot per line.
<lxsameer> onewheelskyward: thanks
<ShellFu> hmmm ill check out some of the parsers. What I have works well enough, but shit it aint pretty :)
Xeago_ is now known as Xeago
<ShellFu> Hash[classes.split(',').map { |s| k, *v = s.split('^'); [k, v.empty? ? nil : Hash[v.map { |str| str.split('=') }.inject({}) { |c, (key, v)| c[key] = v; c }]] }]
<ShellFu> thats the nasty line that breaks the string up
blaxter has quit [Ping timeout: 260 seconds]
aryaLovesJoel has quit [Ping timeout: 248 seconds]
<ShellFu> anyhow thanks for the tip. Ill check some of those out.
LanaDelRey has joined #ruby
hoyang has joined #ruby
Parsify has joined #ruby
Parsify has quit [Max SendQ exceeded]
wallerdev has joined #ruby
burlyscudd has joined #ruby
Parsify has joined #ruby
Parsify has quit [Max SendQ exceeded]
Guest51584 has quit [Ping timeout: 245 seconds]
EPIK has joined #ruby
adkron has joined #ruby
adkron_ has quit [Ping timeout: 276 seconds]
adkron has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
adkron has joined #ruby
freerobby has joined #ruby
KevinSjoberg has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
<gnagno> usually istance method are indicated with an hash symbol in front of the name, so the method lenght of String is String#length , how are class method indicated?
gr4yscale has joined #ruby
adkron has quit [Read error: Connection reset by peer]
adkron has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
jds has quit [Remote host closed the connection]
cads has quit [Ping timeout: 245 seconds]
jetblack has quit [Quit: Lost terminal]
sarkis has joined #ruby
mikepack has joined #ruby
kasper has quit [Remote host closed the connection]
adkron_ has joined #ruby
darrik has quit [Read error: Connection reset by peer]
gildo has quit [Ping timeout: 252 seconds]
<banisterfiend> gnagno: dot
<banisterfiend> gnagno: MyClass.class_method
adkron has quit [Ping timeout: 260 seconds]
codesoda has joined #ruby
ravster has joined #ruby
johnrlive has joined #ruby
<gnagno> thank you banisterfiend , even in rspec? can I say describe ".mymethod" ?
<banisterfiend> gnagno: it's up to you how you want to describe something in rspec
<banisterfiend> rspec doesn't scare
sarkis has quit [Ping timeout: 256 seconds]
<banisterfiend> doesnt care*
<banisterfiend> ;)
fomatin has joined #ruby
kofno has joined #ruby
adkron_ has quit [Ping timeout: 264 seconds]
Kovensky has quit [Quit: ZNC - http://znc.in]
jetblack has joined #ruby
cads has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
amh345 has joined #ruby
adkron has joined #ruby
Kovensky has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
tbrock has quit [Quit: Textual IRC Client: www.textualapp.com]
browndawg has quit [Ping timeout: 245 seconds]
DrIDK has joined #ruby
bklane has quit [Remote host closed the connection]
generalissimo has joined #ruby
pskosinski has joined #ruby
adkron has quit [Ping timeout: 264 seconds]
adkron has joined #ruby
mikepack has quit [Remote host closed the connection]
codesoda has quit [Remote host closed the connection]
<yxhuvud> banister: it does care for some things. describe SomeClass and subject will automagically be a new instance of SomeClass. Probably doesn't help with class methods though ..
banisterfiend has joined #ruby
darrik has joined #ruby
Randomage has joined #ruby
<DrIDK> Hello, I am learning ruby. I m trying bundle now. So, I understood I have to call bundle install to get my gem dependecies. Buy I didn't understand why I need to add "require gemfile" and require "bundle/install"
<DrIDK> what's the purpose ?
<MrZYX> you shouldn't need to, where did you read that?
<DrIDK> MrZYX, http://gembundler.com/
<DrIDK> MrZYX, "Inside your app, load up the bundled environment:"
_Renegade has quit [Quit: _Renegade]
<MrZYX> that's require 'rubygems' and require 'bundler/setup'
<MrZYX> not require 'gemfile' and require 'bundle/install'
<DrIDK> MrZYX, yes, sorry...
adkron_ has joined #ruby
<MrZYX> require 'rubygems' is implicit since ruby 1.9, so I guess that's just for ruby 1.8 there
<DrIDK> my brain has crash
adkron has quit [Ping timeout: 240 seconds]
<DrIDK> MrZYX, and what the goal of 'require 'rubygems' ?
<MrZYX> require 'bundler/setup' reads your Gemfile.lock and modifies $LOAD_PATH so that only the gems in there can be required
codecop has joined #ruby
<MrZYX> that basically adds your $GEM_HOME to the load path
<MrZYX> the require 'rubygems'
<MrZYX> and is nothing bundler specific
<MrZYX> you'd need it to use any gems at all
<DrIDK> MrZYX, so, you mean, if I use 'bundler/setup', I cannot use gem which are not in my GemFile ?
<MrZYX> yes
<MrZYX> more importantly you can't use any other versions than specified
<MrZYX> so if you have foo 1.2 and foo 1.3 installed and gem 'foo', '1.2' in your Gemfile, require 'foo' before bundle/setup will load 1.3, after it'll load 1.2
boblu has quit [Ping timeout: 245 seconds]
<DrIDK> MrZYX, and do I need to add require 'foo'
jdunck has joined #ruby
<DrIDK> MrZYX, I mean, does it load All my gem directly ?
<DrIDK> if I have in my gemfile : "foo" , "google", "boby" . Do I need to add requre "foo", require "google, require "boby"
d2dchat has joined #ruby
<MrZYX> setup just restricts the load path, to automatically require all gems call Bundler.require
<DrIDK> ok
jds has joined #ruby
robscomputer has quit [Ping timeout: 245 seconds]
<DrIDK> it's a bit strange, but I trust the ruby logic
robscomputer has joined #ruby
kofno has quit [Remote host closed the connection]
kasper has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
<DrIDK> MrZYX, thanks for your help
timonv has joined #ruby
_Renegade has joined #ruby
<shime_> #RubyOnRails
bklane has joined #ruby
jds has quit [Ping timeout: 252 seconds]
timkohrumel has joined #ruby
shime_ has left #ruby [#ruby]
nezumi has quit [Ping timeout: 245 seconds]
shime_ has joined #ruby
sarkis has joined #ruby
bobbyz has quit [Ping timeout: 252 seconds]
kasper has quit [Ping timeout: 268 seconds]
codesoda has joined #ruby
gr4yscale has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
sameerynho has joined #ruby
arietis has joined #ruby
timkohrumel has quit [Ping timeout: 252 seconds]
Squarepy has joined #ruby
sgkim126l has quit [Read error: Operation timed out]
robscomputer has quit [Ping timeout: 248 seconds]
ShellFu has quit [Quit: Leaving]
generalissimo has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 252 seconds]
bobbyz has joined #ruby
saarinen has joined #ruby
kasper has joined #ruby
Travis-42 has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
brennanMKE has joined #ruby
eldariof has joined #ruby
sgkim126l has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tvw has joined #ruby
kasper has quit [Ping timeout: 245 seconds]
robscomputer has joined #ruby
rcs has quit [Excess Flood]
freerobby has joined #ruby
rcs has joined #ruby
d2dchat has quit [Remote host closed the connection]
_Renegade has quit [Quit: _Renegade]
nezumi has joined #ruby
davorb_laptop has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
havenwood has quit [Remote host closed the connection]
kofno has joined #ruby
jds has joined #ruby
Proshot has joined #ruby
kofno has quit [Remote host closed the connection]
kasper has joined #ruby
sideshowcoder has quit [Read error: Operation timed out]
rellin has quit [Quit: Nettalk6 - www.ntalk.de]
kadoo has joined #ruby
saarinen has quit [Quit: saarinen]
davorb_laptop has quit [Ping timeout: 248 seconds]
BizarreCake has quit [Ping timeout: 240 seconds]
sideshowcoder has joined #ruby
davorb_laptop has joined #ruby
<Mattx> hello
catphish has joined #ruby
<Mattx> what do you do in this case? http://paste.kde.org/775574/
kofno has joined #ruby
<Mattx> where do you put config constants?
tommyvyo has joined #ruby
aryaLovesJoel has joined #ruby
RORgasm has joined #ruby
_Renegade has joined #ruby
<banisterfiend> Mattx: highly unusual to define top-level 'config constants' like that
<banisterfiend> Mattx: where did u see that?
<Mattx> actually I didn't see it anywhere.. what's the correct way to do so?
<banisterfiend> you nest the constant under the class that needs that constant
<Mattx> I've many classes, I would like to have all the params in the same file
<banisterfiend> then perhaps nest them under a module
aryaLovesJoel has quit [Ping timeout: 260 seconds]
mduvall has joined #ruby
obs has quit [Quit: Konversation terminated!]
RORgasm has quit [Ping timeout: 268 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
jinie_ is now known as jinie
wesside has joined #ruby
aryaLovesJoel has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LarsSmit1 has joined #ruby
<Mattx> I guess you mean like this: http://www.tutorialspoint.com/ruby/ruby_modules.htm
ntus1017 has joined #ruby
Guerrero has quit [Read error: Connection reset by peer]
Guerrero has joined #ruby
boblu has joined #ruby
LarsSmit2 has joined #ruby
LarsSmit has quit [Ping timeout: 245 seconds]
<robert___> this is weird; when I try to find .index() of obj.ancestors, it ends up being nil, but when I do it manually in an array, it works perfectly.
kadoo has joined #ruby
tomzx_mac has joined #ruby
robert___ is now known as robert__
robert__ is now known as robert_
LarsSmit1 has quit [Ping timeout: 252 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
LarsSmit2 has quit [Read error: Connection reset by peer]
LarsSmit has joined #ruby
vlad_starkov has joined #ruby
brandon has joined #ruby
brandon is now known as Guest2154
jacobw has joined #ruby
generalissimo has joined #ruby
kurtf has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby
<banisterfiend> robert_: gist
vlad_starkov has quit [Ping timeout: 260 seconds]
echevemaster has quit [Remote host closed the connection]
kurtf has joined #ruby
<catphish> rubygems.org is broken for me today :(
<kurtf> Hmm, loading for me
mduvall has quit [Quit: mduvall]
<catphish> yeah, i think it's a very specific problem, it only fails from my IP addresses
m8 has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
wargasm has joined #ruby
mduvall has joined #ruby
kurtf has quit [Quit: Goodbye]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tatsuya_o has joined #ruby
vlad_starkov has joined #ruby
amedeiros has joined #ruby
boblu has quit [Ping timeout: 246 seconds]
davorb_laptop has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
catphish has quit [Ping timeout: 256 seconds]
Hanmac1 has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
akashj87_ has joined #ruby
amedeiros has quit [Ping timeout: 245 seconds]
rippa has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
amedeiros has joined #ruby
gyre007 has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
Sherwyn has quit [Remote host closed the connection]
razi has quit [Quit: Leaving.]
LanaDelRey has quit [Quit: AmyWinehouseDeservedToDie.Period.]
_bart has joined #ruby
Speed has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
kadoo has joined #ruby
mduvall has quit [Quit: mduvall]
amedeiros has joined #ruby
v0n has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
zmike123 has quit [Quit: Выходжу]
kenmaz has joined #ruby
amedeiros has quit [Ping timeout: 260 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
amedeiros has joined #ruby
tonini has joined #ruby
subbyyy has joined #ruby
aryaLovesJoel has quit [Ping timeout: 252 seconds]
kenmaz has quit [Ping timeout: 241 seconds]
catphish has joined #ruby
milardovich has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
Banistergalaxy has quit [Ping timeout: 246 seconds]
viszu has quit [Quit: Leaving.]
amedeiros has joined #ruby
Hanmac1 is now known as Hanmac
Banistergalaxy has joined #ruby
alexwh has joined #ruby
wallerdev has quit [Quit: wallerdev]
amedeiros has quit [Read error: Connection reset by peer]
krisfremen has quit [Ping timeout: 246 seconds]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nomenkun has quit [Remote host closed the connection]
jbpros has joined #ruby
fomatin has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
amedeiros has joined #ruby
nomenkun has joined #ruby
pyrac has quit [Quit: pyrac]
gyre007 has quit [Remote host closed the connection]
LarsSmit has quit [Quit: Leaving.]
kayloos has joined #ruby
Proshot has quit [Quit: Leaving]
jastix has quit [Quit: Leaving]
amedeiros has quit [Ping timeout: 245 seconds]
nomenkun has quit [Ping timeout: 245 seconds]
Squarepy has quit [Quit: Leaving]
byprdct has joined #ruby
zodiak has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
pyrac has joined #ruby
d2dchat has joined #ruby
gyre007 has joined #ruby
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ravster has quit [Quit: Leaving.]
zodiak has joined #ruby
hogeo_ has joined #ruby
max_ has joined #ruby
Shirakawasuna has quit [Quit: Leaving]
hogeo has quit [Ping timeout: 248 seconds]
kayloos has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
max_ is now known as Synthead
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
wallerdev has joined #ruby
catphish has quit [Ping timeout: 256 seconds]
aryaLovesJoel has joined #ruby
v0n has quit [Ping timeout: 256 seconds]
F1skr has quit [Quit: WeeChat 0.4.1]
dorei has joined #ruby
timmow has joined #ruby
aryaLovesJoel has quit [Ping timeout: 260 seconds]
catphish has joined #ruby
Meatant has joined #ruby
cooldman224 has quit [Remote host closed the connection]
Sherwyn has joined #ruby
freerobby has quit [Quit: Leaving.]
kadoo has joined #ruby
aryaLovesJoel has joined #ruby
spider-mario has joined #ruby
kofno has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
d2dchat has quit [Remote host closed the connection]
workmad3 has joined #ruby
boblu has joined #ruby
ezkl has quit [Ping timeout: 240 seconds]
v0n has joined #ruby
freerobby has joined #ruby
brennanMKE has quit [Remote host closed the connection]
zeromodulus has joined #ruby
Rix has quit [Quit: No One Lives Forever]
vlad_starkov has joined #ruby
kenneth has quit [Quit: kenneth]
banisterfiend has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
Rix has joined #ruby
dEPy has joined #ruby
dEPy is now known as SomeDude
RORgasm has quit [Ping timeout: 240 seconds]
SomeDude has left #ruby [#ruby]
obs has joined #ruby
vlad_starkov has joined #ruby
`MArceLL` has joined #ruby
nomenkun has joined #ruby
nezumi has quit [Ping timeout: 240 seconds]
aryaLovesJoel has quit [Ping timeout: 245 seconds]
jds has quit [Remote host closed the connection]
jds has joined #ruby
freerobby has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
gasbakid has joined #ruby
aryaLovesJoel has joined #ruby
whowantstolivefo has quit [Ping timeout: 248 seconds]
tonini has quit [Ping timeout: 248 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
dash_ has quit [Quit: Time to beer :)]
jinie is now known as jinie_
pothibo has quit [Quit: pothibo]
marr has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
stayarrr has quit [Quit: Leaving...]
mikepack has joined #ruby
timkohrumel has joined #ruby
lewix has joined #ruby
Synthead has quit [Ping timeout: 245 seconds]
asgardBSD has joined #ruby
Davey has joined #ruby
boblu has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 256 seconds]
timkohrumel has quit [Ping timeout: 268 seconds]
eka has joined #ruby
Synthead has joined #ruby
viszu has joined #ruby
DrIDK has quit [Remote host closed the connection]
mikepack has joined #ruby
ninegrid has quit [Ping timeout: 256 seconds]
brennanMKE has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
ninegrid has joined #ruby
__class__ has quit [Ping timeout: 268 seconds]
Synthead has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Ping timeout: 245 seconds]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ToApolytoXaos has joined #ruby
kadoo has joined #ruby
darkc0met has joined #ruby
richiebkr has joined #ruby
jinie_ is now known as jinie
milardovich has quit [Quit: Leaving]
pskosinski has quit [Remote host closed the connection]
banisterfiend has joined #ruby
pskosinski has joined #ruby
jinie is now known as jinie_
vlad_starkov has joined #ruby
RubyPanther has quit [Ping timeout: 245 seconds]
pyrac has quit [Quit: pyrac]
daniel_hinojosa has joined #ruby
hattusili_III has joined #ruby
tommyvyo has quit [Quit:]
tvw has quit []
mikepack_ has quit [Ping timeout: 256 seconds]
icecandy has quit [Remote host closed the connection]
timmow has quit [Disconnected by services]
timmow has joined #ruby
IceDragon has joined #ruby
_bart has quit [Quit: _bart]
Squarepy has joined #ruby
__class__ has joined #ruby
Astralum has joined #ruby
Mekkis has quit [Excess Flood]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashdy has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Mekkis has joined #ruby
Guest40430 is now known as banghouse
ivanoats has joined #ruby
ArchBeOS has quit [Ping timeout: 240 seconds]
relix has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
kasper has quit [Remote host closed the connection]
sameerynho has left #ruby ["Leaving"]
kasper has joined #ruby
Sherwyn has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
Mekkis has quit [Max SendQ exceeded]
s0ber has quit [Read error: Connection reset by peer]
Mekkis has joined #ruby
adkron has joined #ruby
s0ber has joined #ruby
Mekkis has quit [Max SendQ exceeded]
Mekkis has joined #ruby
bashdy has quit [Quit: bashdy]
tatsuya_o has quit [Remote host closed the connection]
gasbakid_ has joined #ruby
catphish has quit [Ping timeout: 256 seconds]
mansi has quit [Remote host closed the connection]
catphish has joined #ruby
mansi has joined #ruby
gasbakid has quit [Ping timeout: 245 seconds]
DonRichie has quit [Quit: Verlassend]
aryaLovesJoel has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
cjk101010_ has quit [Ping timeout: 245 seconds]
gommo has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
timkohrumel has joined #ruby
gasbakid_ has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
kadoo has joined #ruby
nezumi has joined #ruby
gommo has quit [Remote host closed the connection]
aryaLovesJoel has joined #ruby
timkohrumel has quit [Ping timeout: 264 seconds]
asgardBSD has quit [Remote host closed the connection]
maetthew has joined #ruby
kadoo has quit [Client Quit]
n_blownapart has joined #ruby
bigmac has joined #ruby
<n_blownapart> hi could anyone please explain ( remind me of ) the distinction between load and require when all the files are in the same directory? I can't get either to work, with or without file extensions, with or without ./. thank you
<n_blownapart> * thats: ./ ^^
<bigmac> from irb can i list functions or objects like Dir or File
<bigmac> if that makes sense
<davidcelis> n_blownapart: Use `require_relative`
adambeynon has joined #ruby
<davidcelis> n_blownapart: If you want to see what's in the actual load path, then inspect the $LOAD_PATH variable, which is also aliased to $:
mikepack has joined #ruby
byprdct has quit [Ping timeout: 240 seconds]
<bigmac> File.help ==> File=> open, new, exist and so on?
<davidcelis> bigmac: File.methods
<n_blownapart> I'll try it thanks davidcelis . maybe in a few minutes you could walk me through the load path business. thanks !
brennanMKE has joined #ruby
<bigmac> is there a tab completion?
<davidcelis> n_blownapart: i'm leaving in a minute, it's _extremely_ googlable
<bigmac> for irb?
<n_blownapart> thanks bro
<davidcelis> n_blownapart: googling "ruby load path" gives a good stackoverflow thread as the very first result. just read that
<davidcelis> bigmac: No, but pry has a good one
<n_blownapart> davidcelis: thanks
<davidcelis> bigmac: actually, `irb` does have tab completion
gasbakid has joined #ruby
<bigmac> it has to be enabled?
<davidcelis> not that i know of?
<ericwood> pry has it
<bigmac> thsnaks, lern something new
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
<davidcelis> ericwood: my base IRB shell has it
<bigmac> .method... i always google the simple stuff
<bigmac> base irb shell?
<davidcelis> bigmac: try... require 'irb/completion'
<bigmac> ok
<bigmac> LOVE IT
Sherwyn has joined #ruby
<bigmac> thanks guys
<davidcelis> yeah, that was in my .irbrc file and i forgot.
<bigmac> you save that to irbrc file? ill look into it
aryaLovesJoel has quit [Ping timeout: 268 seconds]
<davidcelis> bigmac: this is my irbrc file https://github.com/davidcelis/dotfiles/blob/master/irbrc
<bigmac> bookmarked ,-)
Raboo has quit [Ping timeout: 264 seconds]
gasbakid has quit [Max SendQ exceeded]
gasbakid has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
byprdct has joined #ruby
kirun has quit [Quit: Client exiting]
<bigmac> found some color syntax for irb
jalcine has quit [Excess Flood]
moscownights has joined #ruby
<moscownights> evening all
ArchBeOS has quit [Quit: Leaving]
<davidcelis> bigmac: $ gem install pry-full pry-coolline
<davidcelis> bigmac: $ pry
<davidcelis> enjoy.
<bigmac> do i add to irbrc?
<davidcelis> no, just do it on the command line.
<moscownights> trying out ruby, i have a module variable id like to check whether its instantiated and if not instantiate a dictionary
<davidcelis> bigmac: http://pryrepl.org
<moscownights> I know I can use
<moscownights> @foo ||= blah
<moscownights> i want it to be a dictionary though, created from a list
horofox_ has joined #ruby
<moscownights> so what im asking is if there is some sort of map! for dictionaries
<n_blownapart> hey couldn't get require_relative to work. no keyword coloring davidcelis
<davidcelis> a dictionary? do you mean, like, a hash
<moscownights> yes davidcelis, sorry, coming from python
<davidcelis> moscownights: try calling `map` on a hash
<davidcelis> and see what you get
<n_blownapart> does require_relative take a ./ ?
<moscownights> im not creating it from a hash though?
<davidcelis> ?
<moscownights> ive got an array of keys, and Id like to create a hash like {'foo' => [], 'blah' => []}
<MrZYX> do non-existing keys have to be nil? :P
<davidcelis> moscownights: hash ||= {}; keys.each { |k| hash[k] ||= [] }
<moscownights> awesome davidcelis didnt know about ;
<MrZYX> array.each_with_object({}) {|key, hsh| hsh[key] = [] }
<MrZYX> don't use ; in your production code
<davidcelis> moscownights: i only used that for in here. avoid using semicolons.
<moscownights> ic
Davey has quit [Quit: Computer has gone to sleep.]
<moscownights> ill use the with object one then
<moscownights> thanks a lot davidcelis & MrZYX
<davidcelis> moscownights: but like MrZYX asked, do keys you don't supply have to stay nil? you could just set [] as the default value for a key
cjk101010 has joined #ruby
<davidcelis> hash = Hash.new { |h, k| h[k] = [] }
<moscownights> you mean like pythons default dict?
<moscownights> ah i see
<moscownights> I think that would work too
<moscownights> I know what keys Im going to use
<davidcelis> then use the default_proc functionality like that
gasbakid has quit [Read error: Connection reset by peer]
banisterfiend has quit [Ping timeout: 276 seconds]
kadoo has joined #ruby
freerobby has joined #ruby
<davidcelis> my favorite: hash = Hash.new { |h, k| h[k] = Hash.new(&h.default_proc) }
<moscownights> hehe
<moscownights> endless dictionary?
<moscownights> hash i mean
<moscownights> ofcourse :d
Weems has joined #ruby
<davidcelis> yep
workmad3 has quit [Ping timeout: 240 seconds]
jalcine has joined #ruby
tacos1de has quit [Remote host closed the connection]
<n_blownapart> hi should require_relative look like this davidcelis ? require_relative ./'micro_test.rb'
tacos1de has joined #ruby
<davidcelis> n_blownapart: that would be a syntax error
tommyvyo has joined #ruby
<n_blownapart> davidcelis: tried every combination the book is just using require in the sample
philcrissman_ has joined #ruby
<MrZYX> hm I thought the point of it is to not use ./ :P
<davidcelis> MrZYX: `require` can't take any relative paths, so passing `./` to anything BUT require_relative would be pointless
apeiros has quit [Ping timeout: 276 seconds]
<MrZYX> check again
apeiros has joined #ruby
<n_blownapart> I'll ponder it . still don't understand filepaths very well . davidcelis MrZYX
xardas has quit [Ping timeout: 268 seconds]
<davidcelis> there is plenty of ruby documentation around require and require_relative
<davidcelis> just do some research and searching :P
fomatin has quit [Quit: Computer has gone to sleep.]
scrollback has quit [Remote host closed the connection]
scrollback has joined #ruby
matchaw has joined #ruby
atmosx has joined #ruby
lewix has quit [Remote host closed the connection]
<n_blownapart> didn't realize require_relative was a gem davidcelis
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<MrZYX> it's not
apeiros has quit [Read error: Connection reset by peer]
<MrZYX> well, not only
apeiros has joined #ruby
workmad3 has joined #ruby
tommyvyo has quit [Quit:]
<n_blownapart> MrZYX: shoot well I haven't tried it yet. It doesn't have keyword coloring.
<MrZYX> I think it's a method
<davidcelis> it's a method, not a keyqord
<MrZYX> granted, require is too
<davidcelis> keyword*
<atmosx> hello
<davidcelis> you're really making me think you haven't googled this at all, n_blownapart
RORgasm has joined #ruby
<n_blownapart> I did. I'm a beginner. can't always glean meaning out of stack overflow
<n_blownapart> davidcelis: ^
<n_blownapart> I'm working on it. thanks davidcelis
tommyvyo has joined #ruby
<n_blownapart> does require_relative take the .rb extension? Im working with four files and I'm confused with the loading process. davidcelis
<davidcelis> .rb is always implied. you don't need it
<n_blownapart> thanks
helpa has joined #ruby
<MrZYX> require_relative calls require with an absolute path, so the same semantics regarding that part apply
tatsuya_o has joined #ruby
<n_blownapart> thanks MrZYX
<n_blownapart> what about the ./ that is another confusing factor.
RORgasm has quit [Ping timeout: 260 seconds]
byprdct has quit [Ping timeout: 260 seconds]
<MrZYX> in unix systems every directory has at least two entries, . referring to the directory itself and .. referring to the parent
ivanoats has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 245 seconds]
jbpros has quit [Quit: jbpros]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
codesoda has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 246 seconds]
gnagno has quit [Quit: Sto andando via]
workmad3 has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 246 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
mikewintermute has joined #ruby
threesome has quit [Ping timeout: 245 seconds]
adkron has quit [Ping timeout: 252 seconds]
richiebkr has quit [Quit: richiebkr]
mikewintermute has quit [Quit: mikewintermute]
amh345 has quit [Quit: amh345]
Spooner has joined #ruby
kil0byte has quit [Remote host closed the connection]
mansi has joined #ruby
Banistergalaxy has quit [Read error: Connection reset by peer]
n_blownapart has quit [Remote host closed the connection]
jds has quit [Remote host closed the connection]
Rix has quit [Quit: No One Lives Forever]
nbe_ has joined #ruby
Banistergalaxy has joined #ruby
nbe has quit [Read error: Operation timed out]
richiebkr has joined #ruby
mduvall has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 252 seconds]
Shirakawasuna has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
Speed has joined #ruby
Shirakawasuna has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fomatin has joined #ruby
Guerrero has quit [Read error: Connection reset by peer]
adkron has joined #ruby
fschuindt has joined #ruby
Sherwyn has quit [Remote host closed the connection]
dominikh has quit [Read error: Operation timed out]
matti has quit [Read error: Operation timed out]
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
pontiki has quit [Read error: Operation timed out]
dominikh has joined #ruby
akashj87_ has quit [Read error: Connection reset by peer]
adkron_ has quit [Ping timeout: 240 seconds]
pontiki has joined #ruby
akashj87_ has joined #ruby
v0n has joined #ruby
orien has joined #ruby
Meatant has quit [Quit: bbl]
RubyPanther has joined #ruby
orien has quit [Client Quit]
v0n has quit [Ping timeout: 246 seconds]
mduvall has quit [Quit: mduvall]
wallerdev has quit [Quit: wallerdev]
obs has quit [Quit: Konversation terminated!]
bklane_ has joined #ruby
danneu has joined #ruby
nomenkun has joined #ruby
richiebkr has quit [Quit: richiebkr]
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
aryaLovesJoel has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
bklane has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
devoldmx has quit [Remote host closed the connection]
nickmm has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
kasper has quit [Remote host closed the connection]
nickmm has quit [Client Quit]
aryaLovesJoel has quit [Ping timeout: 256 seconds]
northelks_ has quit [Quit: ...]
kasper has joined #ruby
niklasb has joined #ruby
LennyLinux has quit [Remote host closed the connection]
kadoo has joined #ruby
aryaLovesJoel has joined #ruby
<moscownights> .e
moscownights has quit [Quit: WeeChat 0.4.1]
nickmm has joined #ruby
generalissimo has quit [Remote host closed the connection]
<ericwood> irc is hard
hadees has quit [Ping timeout: 268 seconds]
aryaLovesJoel_ has joined #ruby
gstamp has joined #ruby
beilabs_ has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
aryaLovesJoel has quit [Ping timeout: 276 seconds]
kil0byte has joined #ruby
Rix has joined #ruby
nickmm has quit [Quit: leaving]
havenn_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
ToApolytoXaos has quit [Quit: Leaving]
bigmac is now known as i8igmac
predator217 has joined #ruby
tw1sted has joined #ruby
<TJNII> I want to access a HTTP API from Ruby (I send it a GET, it returns JSON). Any advice on which libraries I should be using, it apparently does not have a binding. Current googling is returning Net:HTTPRequest, but I wanted to ask if there was anything better.
codecop has quit [Remote host closed the connection]
<Spooner> TJNII, rest-client
asgardBSD has joined #ruby
mduvall has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
catphish has quit [Quit: Leaving]
beilabs_ has joined #ruby
<TJNII> Awesome. TYVM.
pygmael has left #ruby [#ruby]
bklane_ has quit [Remote host closed the connection]
Tectonic has joined #ruby
horofox_ has quit [Quit: horofox_]
mansi has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
hogeo_ has quit [Remote host closed the connection]
DrCode has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
DrCode has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
nari has joined #ruby
Squarepy has quit [Quit: Leaving]
bklane has joined #ruby
timmow has quit [Remote host closed the connection]
horofox_ has joined #ruby
horofox_ has quit [Client Quit]
linsy has joined #ruby
maycon has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
IceDragon has quit [Ping timeout: 248 seconds]
horofox_ has joined #ruby
<pontiki> or if it's SOAP, savon
IceDragon has joined #ruby
banisterfiend has joined #ruby
apeiros has quit [Remote host closed the connection]
wroathe has left #ruby [#ruby]
maetthew has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby
devoldmx has joined #ruby
aryaLovesJoel_ has quit [Ping timeout: 248 seconds]
niklasb has quit [Ping timeout: 264 seconds]
milardovich has joined #ruby
aryaLovesJoel has joined #ruby
nomenkun has joined #ruby
freerobby has joined #ruby
justsee has quit [Ping timeout: 260 seconds]