apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
afhammad has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
Spami has joined #ruby
wallerdev_ has joined #ruby
wallerdev has quit [Ping timeout: 244 seconds]
wallerdev_ is now known as wallerdev
kristofferR has joined #ruby
Tricon has quit [Ping timeout: 272 seconds]
teddyp1cker has joined #ruby
kristoff_ has quit [Ping timeout: 272 seconds]
skolman_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
skolman_ has joined #ruby
ki0 has joined #ruby
moritzschaefer has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jcdesimp has quit [Quit: Leaving...]
mferrier has joined #ruby
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
codeurge has quit [Quit: Sleep.]
teddyp1cker has quit [Ping timeout: 260 seconds]
nanoyak has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has joined #ruby
nanoyak has joined #ruby
ki0 has quit [Ping timeout: 240 seconds]
skolman_ has quit [Ping timeout: 245 seconds]
timonv_ has joined #ruby
bedouin_ is now known as bedouin
HelperW_____ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
kenneth has joined #ruby
Bubbly_Ulrike is now known as Clean_Ulrike
timonv_ has quit [Ping timeout: 272 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
HelperW_____ has quit [Ping timeout: 244 seconds]
seanosaur has quit [Remote host closed the connection]
HelperW_____ has joined #ruby
Channel6 has joined #ruby
Scotteh_ has joined #ruby
lolmaus has quit [Ping timeout: 272 seconds]
Scotteh has quit [Ping timeout: 245 seconds]
syva has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
wldcordeiro_ has quit [Ping timeout: 250 seconds]
deric_skibotn has quit [Ping timeout: 272 seconds]
syva has joined #ruby
geggam has quit [Ping timeout: 245 seconds]
HelperW_____ has quit [Ping timeout: 260 seconds]
thams has quit [Quit: thams]
zz_karupa is now known as karupa
Clean_Ulrike is now known as Ulrike_Rayne
krisquigley has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: adios!]
jonr22 has quit [Ping timeout: 272 seconds]
spicerack has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
oo_ has joined #ruby
AmBienCeD has quit [Ping timeout: 260 seconds]
pushnell has quit [Quit: pushnell]
oo_ has quit [Remote host closed the connection]
ctp has joined #ruby
chipotle has joined #ruby
emmesswhy has joined #ruby
codeurge has joined #ruby
thagomizer has quit [Quit: Leaving.]
jonr22 has joined #ruby
tokik has joined #ruby
moritzschaefer has quit [Ping timeout: 258 seconds]
kil0byte has joined #ruby
tkuchiki has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
nb_bez__ has joined #ruby
rkalfane has joined #ruby
deric_skibotn has joined #ruby
doodlehaus has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
patrick99e99 has joined #ruby
TorpedoSkyline has quit [Client Quit]
jonmorehouse has joined #ruby
shock_one_ has joined #ruby
<jonmorehouse> ok ... I'm trying to do something a little weird
Rollabunna has quit [Ping timeout: 245 seconds]
<jonmorehouse> but I need to access a class instance variable, inside of the metaclass block
<jonmorehouse> is that possible?
jottr has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
uncomprehensibly is now known as ELLIOTTCABLE
oo_ has quit [Remote host closed the connection]
skammer has joined #ruby
msmith_ has joined #ruby
lolmaus has joined #ruby
oo_ has joined #ruby
michaeldeol has joined #ruby
shock_one_ has quit [Ping timeout: 260 seconds]
dkam has joined #ruby
Macaveli has joined #ruby
axsuul has joined #ruby
<centrx> jonmorehouse, What do you mean by metaclass block?
teenwolf has quit [Quit: Leaving...]
skammer has quit [Ping timeout: 260 seconds]
msmith_ has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
mpistone has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
<jonmorehouse> centrx: let me give you an example
<jonmorehouse> one second :)
emmesswhy has quit [Quit: This computer has gone to sleep]
<jonmorehouse> if you check out the gist, I'm trying to do some stuff in the class << self; block
kil0byte has quit [Remote host closed the connection]
<centrx> jonmorehouse, Okay so that is how you access a class instance variable inside that block
<jonmorehouse> and I'd like to access the class instance variable there. But since the class << self; self is actually a metaclass, I'm lost :(
<jonmorehouse> centrx: not sure, is it the way to go?
<centrx> jonmorehouse, but instance variables are not defined outside of a method
<centrx> jonmorehouse, use a constant to define something outside of a method
<jonmorehouse> centrx: but class instance variables are right? They attach them to the class object
bricker`work has quit [Ping timeout: 260 seconds]
<centrx> it doesn't work that way, I'm not exactly sure why, but it's not the right style/meaning at least
<jonmorehouse> centrx: weird ...
tkuchiki has joined #ruby
<jonmorehouse> yeah, so I guess I can do what I need whilst avoiding the class<<self block altogether
<jonmorehouse> using define_class_method
dc__ has joined #ruby
<jonmorehouse> but class<<self; makes things look cool :)
<centrx> For one thing, any class instance variable that can be defined outside of a method, can and should be defined as a constant instead
lkba has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
<jonmorehouse> I would argue otherwise
<jonmorehouse> for instance, I'm writing a dsl and want to set a default value
<jonmorehouse> and for that case I think it makes sense to allocate the variable there
<centrx> jonmorehouse, That's always done with class methods
Tricon has joined #ruby
TorpedoSkyline has joined #ruby
<centrx> jonmorehouse, for example, in Rails you can set self.primary_key = and self.table_name =, it acts like the DSL
IceDragon_ has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
Inhaling_ has joined #ruby
<jonmorehouse> I agree, however, this dsl is for class attributes
totimkopf has joined #ruby
syva has quit [Ping timeout: 260 seconds]
<jonmorehouse> ie... for me I'm writing a screen class where you can set whether it should scroll horizontally or vertically
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<centrx> class Screen; self.scroll_type = :horizontal; end
<fennec> someday dsl/tiny will be a real gem
<jonmorehouse> and that should happen on the class level. So the dsl is called completely from the class
grenierm has joined #ruby
<fennec> then people can use DSLs to write their DSLs
<fennec> instead of worrying about all this scope
<fennec> ;)
<jonmorehouse> centrx: thats more keystrokes than just: class Screen; scroll_type :horizontal
<jonmorehouse> fennec: :)
<soahccc> How much of you are using zsh? I tried oh-my-zsh and I know there are a lot of plugins in there but I don't really like it. Is it me, zsh or oh-my-zsh? Or in other words: If I don't like oh-my-zsh should I stick with bash or try different plugins?
<centrx> jonmorehouse, you can do that too
<soahccc> and yeah i know that this is a ruby channel :o
InhalingPixels has quit [Ping timeout: 246 seconds]
<centrx> jonmorehouse, def self.scroll_type(type); @scroll_type = type; end
emmesswhy has joined #ruby
<centrx> jonmorehouse, but not using the eigenclass is an option too I guess
<fennec> soahccc- not using zsh. bash is fine for my everyday interactions and i prefer to keep code out of it anyway. too bad about the security problems :b
<zrl> How can I create an uninitialized local variable?
<jonmorehouse> whats the difference between the eigenclass and the class<<self; (I refer to the latter as metaclass)
<zrl> Is var_name = nil the best way?
<centrx> zrl, yes
afhammad has quit []
hmsimha_ has quit [Ping timeout: 260 seconds]
lukeholder has joined #ruby
ki0 has joined #ruby
msmith_ has joined #ruby
braincra- has joined #ruby
j_mcnally has quit [Ping timeout: 250 seconds]
tjr9898 has joined #ruby
timonv_ has joined #ruby
ghostmoth has joined #ruby
ki0 has quit [Ping timeout: 260 seconds]
syva has joined #ruby
lkba has joined #ruby
braincrash has quit [Ping timeout: 272 seconds]
HelperW_____ has joined #ruby
boombadaroomba has joined #ruby
starless has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`LA has joined #ruby
<jonmorehouse> centrx: I ended up switching to methods
<jonmorehouse> centrx: everything is dynamically generated in the eigenclass
<centrx> cool
timonv_ has quit [Ping timeout: 272 seconds]
<centrx> yeah that is the standard style
jasonzzz_ has joined #ruby
jasonzzz_ has quit [Max SendQ exceeded]
<centrx> you can use @var ||= for memoization
<jonmorehouse> yeah, I didn't use attr_Accessor
<jonmorehouse> I just made a get_var_name and a set_var_name
<jonmorehouse> and then a method called var_name that calls the correct one based on args passed
troyready has quit [Ping timeout: 245 seconds]
jasonzzz_ has joined #ruby
jasonzzz_ has quit [Max SendQ exceeded]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boombadaroomba has quit [Ping timeout: 246 seconds]
HelperW_____ has quit [Ping timeout: 246 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HelperW_____ has joined #ruby
seanosaur has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
omosoj has quit [Quit: leaving]
maestrojed has quit [Quit: Computer has gone to sleep.]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
InhalingPixels has joined #ruby
IceDragon_ has joined #ruby
lewis_ has joined #ruby
lewis_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
tectonic has joined #ruby
tectonic has quit [Max SendQ exceeded]
kenneth has joined #ruby
lewix has quit [Client Quit]
HelperW_____ has quit [Ping timeout: 260 seconds]
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
jhass is now known as jhass|off
i8igmac has joined #ruby
bmurt has quit []
Inhaling_ has quit [Ping timeout: 250 seconds]
zeroNones has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
nettoweb has joined #ruby
TorpedoSkyline has joined #ruby
zeroNones has joined #ruby
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
jonr22 has quit [Quit: WeeChat 0.4.3]
starless has joined #ruby
doodlehaus has joined #ruby
benzrf is now known as benzrf|offline
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
benzrf is now known as benzrf|offline
c107 has joined #ruby
sdwrage_ has quit [Ping timeout: 246 seconds]
goshdarnyou has joined #ruby
syva has quit [Quit: syva]
sdwrage has quit [Ping timeout: 272 seconds]
skammer has joined #ruby
shock_one_ has joined #ruby
sdwrage has joined #ruby
lampd1 has joined #ruby
sdwrage_ has joined #ruby
niklasb_ has quit [Ping timeout: 260 seconds]
davasaurous has quit [Remote host closed the connection]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
hamakn has quit [Remote host closed the connection]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
zeroNones has quit [Read error: Connection reset by peer]
shock_one_ has quit [Ping timeout: 272 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
hamakn has joined #ruby
skammer has quit [Ping timeout: 244 seconds]
phutchins has quit [Ping timeout: 258 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
dorei has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
kenneth has joined #ruby
echooo has joined #ruby
BTRE has quit [Ping timeout: 272 seconds]
ghostmoth has quit [Quit: ghostmoth]
zeroNones has joined #ruby
jonr22 has joined #ruby
wallerdev has quit [Quit: wallerdev]
deric_skibotn has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 258 seconds]
agent_white has joined #ruby
echooo has quit [Client Quit]
echooo has joined #ruby
yetanotherdave has quit [Ping timeout: 250 seconds]
wjimenez_ has quit [Remote host closed the connection]
msmith_ has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
bruno- has joined #ruby
msmith_ has joined #ruby
larissa has quit [Quit: Leaving]
tyll has quit [Ping timeout: 272 seconds]
wjimenez5271 has quit [Ping timeout: 240 seconds]
tyll has joined #ruby
sevvie has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 246 seconds]
Scripore has joined #ruby
doodlehaus has quit [Remote host closed the connection]
diegoviola has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
yacks has joined #ruby
teddyp1cker has joined #ruby
BTRE has joined #ruby
ki0 has joined #ruby
tanath has quit [Ping timeout: 264 seconds]
<agent_white> Evenin folks
spastorino has quit [Quit: Connection closed for inactivity]
Kricir has joined #ruby
TorpedoSkyline has joined #ruby
pushnell has joined #ruby
Scripore has quit [Ping timeout: 245 seconds]
tanath has joined #ruby
mferrier has quit [Remote host closed the connection]
gsd has joined #ruby
GriffinHeart has joined #ruby
timonv_ has joined #ruby
krisquigley has joined #ruby
msmith_ has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 272 seconds]
ki0 has quit [Ping timeout: 272 seconds]
pu22l3r has joined #ruby
wallerdev has joined #ruby
HelperW_____ has joined #ruby
PanPan has quit [Read error: Connection reset by peer]
mattmcclure has quit [Quit: Connection closed for inactivity]
yetanotherdave has joined #ruby
yfeldblum has quit [Remote host closed the connection]
bluehavana has quit [Quit: Connection closed for inactivity]
timonv_ has quit [Ping timeout: 260 seconds]
melik has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
HelperW_____ has quit [Ping timeout: 260 seconds]
jonr22 has quit [Quit: WeeChat 0.4.3]
HelperW_____ has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
AtumT has quit [Quit: AtumT]
alvaro_o has quit [Quit: Ex-Chat]
HelperW_____ has quit [Ping timeout: 260 seconds]
Scotteh has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Excess Flood]
angusiguess has quit [Ping timeout: 272 seconds]
msmith_ has joined #ruby
robbyoconnor has joined #ruby
rostam has joined #ruby
Scotteh_ has quit [Ping timeout: 260 seconds]
skolman has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
maestrojed has joined #ruby
niklasb_ has joined #ruby
mocfive_ has quit [Remote host closed the connection]
mastr_bennett[x] has joined #ruby
mocfive has joined #ruby
Tricon has quit [Quit: Leaving...]
radic has quit [Disconnected by services]
radic_ has joined #ruby
seanosaur has quit [Remote host closed the connection]
jonr22 has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
Xiti has quit [Quit: Leaving]
lampd1 has quit []
TorpedoSkyline has joined #ruby
mocfive has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
tjr9898 has quit [Remote host closed the connection]
TorpedoSkyline has quit [Client Quit]
Tricon has joined #ruby
lampd1 has joined #ruby
Kricir has quit [Remote host closed the connection]
jonr22 has quit [Client Quit]
jonr22 has joined #ruby
lampd1 has quit [Read error: Connection reset by peer]
lampd1 has joined #ruby
msmith_ has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 250 seconds]
niklasb_ has quit [Ping timeout: 260 seconds]
kil0byte has joined #ruby
rostam has quit [Remote host closed the connection]
lampd1 has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
Rollabunna has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
sevvie has joined #ruby
mferrier has joined #ruby
mikepack has quit [Remote host closed the connection]
seanosaur has joined #ruby
mikepack has joined #ruby
rostam has joined #ruby
Rollabunna has quit [Ping timeout: 272 seconds]
seanosaur has quit [Client Quit]
seanosaur has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
seanosaur has quit [Client Quit]
rg4 has joined #ruby
skammer has joined #ruby
TorpedoSkyline has joined #ruby
mary5030 has joined #ruby
Wolland_ has quit [Remote host closed the connection]
axsuul has joined #ruby
angusiguess has joined #ruby
krz has joined #ruby
TorpedoSkyline has quit [Client Quit]
skammer has quit [Ping timeout: 258 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
axsuul_ has joined #ruby
arup_r has joined #ruby
Kricir has joined #ruby
arup_r has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusiguess has quit [Ping timeout: 272 seconds]
nb_bez__ has quit [Quit: Connection closed for inactivity]
mferrier has quit []
braincra- has quit [Quit: bye bye]
maestrojed has quit [Quit: Computer has gone to sleep.]
msmith_ has joined #ruby
davasaurous has joined #ruby
msmith_ has quit [Remote host closed the connection]
braincrash has joined #ruby
dx7 has joined #ruby
sepp2k has joined #ruby
oo_ has joined #ruby
timonv_ has joined #ruby
lyanchih_ has joined #ruby
Wolland has joined #ruby
maestrojed has joined #ruby
Wolland_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
kil0byte has quit [Remote host closed the connection]
HelperW_____ has joined #ruby
kil0byte has joined #ruby
jonr22 has quit [Quit: WeeChat 0.4.3]
niklasb_ has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
HelperW_____ has quit [Ping timeout: 260 seconds]
hiyosi_ has quit [Ping timeout: 246 seconds]
HelperW_____ has joined #ruby
mofai has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
yetanotherdave has quit [Read error: Connection reset by peer]
yetanotherdave has joined #ruby
maestrojed has joined #ruby
arup_r has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
bricker`LA has quit [Ping timeout: 245 seconds]
totimkopf has quit [Quit: Lost terminal]
HelperW_____ has quit [Ping timeout: 260 seconds]
TeresaP has joined #ruby
benzrf|offline is now known as benzrf
benzrf is now known as benzrf|offline
Rollabunna has joined #ruby
bluehavana has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
maestrojed has quit [Quit: Computer has gone to sleep.]
Rollabunna has quit [Read error: No route to host]
anaeem1_ has quit [Remote host closed the connection]
drawingthesun has quit [Ping timeout: 245 seconds]
drawingthesun has joined #ruby
Xiti has joined #ruby
shock_one_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
niklasb_ has quit [Ping timeout: 272 seconds]
mastr_bennett[x] has joined #ruby
yetanotherdave has quit [Quit: Lost terminal]
shock_one_ has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
dukz has joined #ruby
havenwood has joined #ruby
dukz has quit [Remote host closed the connection]
awc737 has joined #ruby
awc737 has quit [Max SendQ exceeded]
<zenspider> jonathanwallace: welcome to java??? D:
hiyosi_ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
Kricir has quit [Remote host closed the connection]
skammer has joined #ruby
Kricir has joined #ruby
teddyp1cker has joined #ruby
hiyosi_ has quit [Ping timeout: 244 seconds]
dukz has joined #ruby
TheNet has joined #ruby
dx7 has quit [Remote host closed the connection]
jerius has joined #ruby
krisquigley has joined #ruby
angusiguess has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
skammer has quit [Ping timeout: 258 seconds]
jonmorehouse has joined #ruby
teddyp1cker has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 258 seconds]
himsin has joined #ruby
himsin has quit [Client Quit]
fgo has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 272 seconds]
anaeem1_ has joined #ruby
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
fgo has joined #ruby
TheNet has quit [Quit: Leaving...]
quanpower has joined #ruby
pu22l3r has quit [Remote host closed the connection]
lowandslow has quit [Ping timeout: 250 seconds]
jaredrhine has quit [Ping timeout: 240 seconds]
mburns has quit [Ping timeout: 245 seconds]
starless has quit [Quit: WeeChat 1.0]
timonv_ has joined #ruby
jaredrhine has joined #ruby
n_blownapart has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
mburns has joined #ruby
anaeem1 has joined #ruby
HelperW_____ has joined #ruby
cajone has left #ruby [#ruby]
wchun has joined #ruby
mclosson has joined #ruby
<n_blownapart> good evening, I'm trying to use vagrant and a gem called vagrant-kvm. I can't sort out the error message here. thanks: http://pastie.org/9595736
Avahey has quit [Quit: Connection closed for inactivity]
mary5030 has quit [Remote host closed the connection]
InhalingPixels has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
arup_r has quit [Quit: Leaving.]
timonv_ has quit [Ping timeout: 272 seconds]
msmith_ has joined #ruby
ItSANgo has quit [Quit: Leaving...]
bricker`LA has joined #ruby
HelperW_____ has quit [Ping timeout: 260 seconds]
HelperW_____ has joined #ruby
fgo has joined #ruby
bbloom has quit [Ping timeout: 246 seconds]
lowandslow has joined #ruby
mocfive has joined #ruby
msmith_ has quit [Ping timeout: 244 seconds]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
patrick99e99 has joined #ruby
farn has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
HelperW_____ has quit [Ping timeout: 260 seconds]
Wolland_ has quit [Ping timeout: 250 seconds]
Jelco has quit [Ping timeout: 240 seconds]
patrick99e99 has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
Jelco has joined #ruby
Jelco has joined #ruby
Jelco has quit [Changing host]
lowandslow has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
seanosaur has joined #ruby
jakolehm has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
nonmadden has quit [Quit: Leaving...]
jakolehm has quit [Client Quit]
sevvie has quit [Ping timeout: 272 seconds]
TeresaP has quit [Quit: TeresaP]
shock_one_ has joined #ruby
fgo has joined #ruby
vinleod has joined #ruby
seanosaur has quit [Ping timeout: 272 seconds]
TeresaP has joined #ruby
angusiguess has joined #ruby
jimmyy has quit [Ping timeout: 258 seconds]
skolman has quit [Remote host closed the connection]
skolman_ has joined #ruby
anaeem1 has quit [Quit: Leaving...]
shock_one_ has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
skolman_ has quit [Ping timeout: 260 seconds]
jimmyy has joined #ruby
lowandslow has joined #ruby
_lucid_ has left #ruby [#ruby]
fgo has quit [Remote host closed the connection]
jimmyy has quit [Max SendQ exceeded]
nanoyak has joined #ruby
hiyosi_ has joined #ruby
anaeem1_ has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
abdulsattar has joined #ruby
skammer has joined #ruby
fgo has joined #ruby
hiyosi_ has quit [Ping timeout: 245 seconds]
anaeem1_ has quit [Client Quit]
duncannz has joined #ruby
zwq has joined #ruby
anaeem1_ has joined #ruby
abdulsattar has quit [Ping timeout: 240 seconds]
<pontiki> hi, all!
skammer has quit [Ping timeout: 272 seconds]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
quanpower has quit [Ping timeout: 258 seconds]
mr-foobar has quit [Quit: Leaving...]
vinleod has quit [Quit: Computer has gone to sleep.]
tectonic has joined #ruby
oleo__ has quit [Quit: Verlassend]
Tricon has quit [Quit: Leaving...]
mofai has quit [Quit: Leaving...]
mikepack has quit [Remote host closed the connection]
dopie has joined #ruby
IceDragon_ has quit [Quit: Space~~~]
c107 has quit [Remote host closed the connection]
bruno- has joined #ruby
dopiee has quit [Ping timeout: 250 seconds]
n_blownapart has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
Spami has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
mityaz has quit [Quit: See ya!]
mocfive has quit [Remote host closed the connection]
sinkensabe has joined #ruby
teddyp1cker has joined #ruby
kireevco has quit [Quit: Leaving.]
mocfive has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
rezzack has quit [Ping timeout: 272 seconds]
koderok has joined #ruby
davasaurous has quit [Remote host closed the connection]
davasaurous has joined #ruby
Jarboe has quit []
mocfive has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Ping timeout: 246 seconds]
boombadaroomba has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
emmesswhy has joined #ruby
lowandslow has quit [Ping timeout: 260 seconds]
MaciejCzyzewski has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
boombadaroomba has quit [Ping timeout: 260 seconds]
MaciejCzyzewski has quit [Client Quit]
teddyp1cker has joined #ruby
axisys has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<agent_white> pontiki: \o
Morkel has joined #ruby
MaciejCzyzewski has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
MaciejCzyzewski has quit [Client Quit]
dkam has quit [Ping timeout: 245 seconds]
mclosson has quit [Quit: leaving]
sinkensabe has joined #ruby
Sawbones has joined #ruby
Aaaal has joined #ruby
buub has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
jontmorehouse has joined #ruby
Sht0 has quit [Ping timeout: 260 seconds]
axisys has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
lowandslow has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Scotteh has quit [Ping timeout: 250 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
neersighted has quit [Quit: neersighted away!]
oo_ has quit [Remote host closed the connection]
Cache_Money has joined #ruby
oo_ has joined #ruby
neersighted has joined #ruby
justinmburrous has joined #ruby
axsuul_ has quit [Read error: Connection reset by peer]
nonmadden has joined #ruby
pen has joined #ruby
axsuul has joined #ruby
angusiguess has joined #ruby
codecop has joined #ruby
krisquigley has joined #ruby
techsethi has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
starkhalo has quit [Ping timeout: 250 seconds]
angusiguess has quit [Ping timeout: 244 seconds]
arup_r has joined #ruby
kyb3r_ has joined #ruby
mr-foobar has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
hiyosi_ has joined #ruby
MrBoolean has joined #ruby
nonmadden has quit [Remote host closed the connection]
nonmadden has joined #ruby
Morkel has quit [Quit: Morkel]
matchaw has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cya]
MrBoolean has quit [Read error: Connection reset by peer]
Wolland has quit [Remote host closed the connection]
MrBoolean has joined #ruby
zorak8 has quit [Ping timeout: 260 seconds]
hiyosi_ has quit [Ping timeout: 272 seconds]
agent_white has quit [Quit: leaving]
lxsameer has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
zeroNones has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has quit [Ping timeout: 250 seconds]
mr-foobar has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
alem0lars has joined #ruby
kamilc__ has joined #ruby
codeurge has quit [Read error: Connection reset by peer]
Takle has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeroNones has joined #ruby
ItSANgo has joined #ruby
jontmorehouse has quit [Ping timeout: 260 seconds]
krisquigley has quit [Remote host closed the connection]
timonv_ has joined #ruby
krisquigley has joined #ruby
bal has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davasaurous has quit []
ramfjord has joined #ruby
GluonQuark has joined #ruby
axsuul has joined #ruby
GluonQuark has quit [Client Quit]
teddyp1cker has joined #ruby
GluonQuark has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
timonv_ has quit [Ping timeout: 250 seconds]
lampd1 has joined #ruby
nw has quit [Ping timeout: 272 seconds]
Takle has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
lampd1 has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 250 seconds]
jcdesimp has joined #ruby
Wolland has joined #ruby
govg has joined #ruby
dukz has quit [Remote host closed the connection]
cym has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
shock_one_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
emocakes has joined #ruby
Wolland_ has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
jontmorehouse has joined #ruby
rkalfane has joined #ruby
zmyrgel_ is now known as zmyrgel
uber has quit [Ping timeout: 245 seconds]
jeekl has quit [Ping timeout: 245 seconds]
swartwulf has quit [Remote host closed the connection]
xvqq17 has quit [Ping timeout: 245 seconds]
crodas has joined #ruby
reset has quit [Ping timeout: 246 seconds]
pen has quit [Ping timeout: 245 seconds]
dandrade has quit [Ping timeout: 245 seconds]
__main__ has quit [Ping timeout: 245 seconds]
rodasc has quit [Ping timeout: 240 seconds]
elaptics`away has quit [Ping timeout: 240 seconds]
swartwulf has joined #ruby
jimmyy has joined #ruby
xvqq17 has joined #ruby
dandrade has joined #ruby
shock_one_ has quit [Ping timeout: 260 seconds]
Wolland_ has quit [Ping timeout: 244 seconds]
jontmorehouse has quit [Ping timeout: 272 seconds]
jcdesimp has quit [Quit: Leaving...]
elaptics`away has joined #ruby
agent_white has joined #ruby
tobago has joined #ruby
__main__ has joined #ruby
uber has joined #ruby
uber has quit [Max SendQ exceeded]
sepp2k has quit [Read error: Connection reset by peer]
nfk has joined #ruby
kate_r has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
HelperW has joined #ruby
uber has joined #ruby
lxsameer has quit [Read error: No route to host]
kate_r has quit [Max SendQ exceeded]
jontmorehouse has joined #ruby
dukz has joined #ruby
kate_r has joined #ruby
kate_r has quit [Max SendQ exceeded]
shock_one_ has joined #ruby
kate_r has joined #ruby
emocakes has quit []
baltazore has joined #ruby
angusiguess has joined #ruby
jeekl has joined #ruby
emocakes has joined #ruby
dopie has quit [Remote host closed the connection]
baltazore has quit [Remote host closed the connection]
baltazore has joined #ruby
charliesome has quit [Quit: zzz]
ht__th has joined #ruby
mofai has joined #ruby
gauke has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
nw has joined #ruby
teddyp1cker has joined #ruby
bricker`work has joined #ruby
Vivekananda has quit [Ping timeout: 272 seconds]
tobago has quit [Quit: Verlassend]
angusiguess has quit [Ping timeout: 272 seconds]
bMalum has joined #ruby
last_staff has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 258 seconds]
hiyosi_ has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
bricker`work has quit [Ping timeout: 244 seconds]
skammer has joined #ruby
dukz_ has joined #ruby
Aaaal has quit [Quit: Aaaal]
adac has joined #ruby
kate_r has joined #ruby
hiyosi_ has quit [Ping timeout: 260 seconds]
dukz has quit [Ping timeout: 250 seconds]
<jontmorehouse> is it possible to define a method that accepts *args
<jontmorehouse> and pass optional parameters to that?
<jontmorehouse> def test(*args);end test name: "name"
emocakes has quit []
Axy has joined #ruby
<Hanmac> jontmorehouse: you might look for test(**opts)
charliesome has joined #ruby
skammer has quit [Ping timeout: 260 seconds]
willgo has quit [Remote host closed the connection]
Spami has joined #ruby
noop has joined #ruby
Mia has quit [Ping timeout: 258 seconds]
kamilc__ has quit [Read error: Connection reset by peer]
dukz_ has quit [Remote host closed the connection]
dukz has joined #ruby
Morkel has joined #ruby
MiracleBlue_ is now known as MiracleBlue
TeresaP has quit [Quit: TeresaP]
ghr has quit [Ping timeout: 260 seconds]
shock_one_ has quit [Quit: Computer has gone to sleep.]
Gabri has joined #ruby
tectonic has quit []
dukz has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
acl_ has quit [Quit: ChatZilla 0.9.90.1 [Pale Moon 24.7.2/20140907202139]]
bbloom has joined #ruby
shock_one_ has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
farn has joined #ruby
Xiti` has joined #ruby
mercwithamouth has joined #ruby
Tomme has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
Xiti has quit [Ping timeout: 250 seconds]
bigkevmcd has joined #ruby
cajone has joined #ruby
swartwulf has quit [Remote host closed the connection]
koderok has quit [Quit: koderok]
swartwulf has joined #ruby
Tomme has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
robbyoconnor has quit [Ping timeout: 272 seconds]
andikr has joined #ruby
kil0byte has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
bizarrosandwich has quit [Read error: Connection reset by peer]
alex88 has joined #ruby
kate_r has joined #ruby
krisquigley has joined #ruby
emocakes has joined #ruby
mkaesz has joined #ruby
terlar has joined #ruby
ephemerian has joined #ruby
Shoomer has joined #ruby
hiall has joined #ruby
oo_ has joined #ruby
Wolland has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
holden247 has joined #ruby
timonv_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
alem0lars has quit [Quit: AFK..]
timonv_ has quit [Client Quit]
Wolland has quit [Ping timeout: 245 seconds]
alem0lars has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
wng_z3r0 has joined #ruby
Xeago has joined #ruby
Sawbones has quit [Ping timeout: 250 seconds]
kate_r has joined #ruby
justinmburrous has quit []
timonv_ has joined #ruby
zeroNone_ has joined #ruby
WormDrink has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroNones has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
rkalfane has joined #ruby
timonv_ has joined #ruby
Juanchito has joined #ruby
mikepack has joined #ruby
<wng_z3r0> Basic question: I have a .rb file that has some commands, which I believe are rake commands. How do I run it? I have tried rake <filename> or just ./<filename> and neither appear to work
bMalum has quit [Quit: bMalum]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
angusiguess has joined #ruby
<zeroNone_> wng_z3r0 have you tried just ruby file.rb with file being the file name?
mlnppy has joined #ruby
<wng_z3r0> zeroNone: thank you that was the trick.
<zeroNone_> :)
<wng_z3r0> sometimes the answer is staring you in the face.
freezevee has joined #ruby
<zeroNone_> been there for sure
<freezevee> what does the symbols |x| mean in ruby ?
<zeroNone_> is it a tutorial freezevee
<freezevee> I am following a seminar in lynda and it's not explained
mikepack has quit [Ping timeout: 272 seconds]
<zeroNone_> |x| is probably explaining that its a variable
troulouliou_dev has joined #ruby
<zeroNone_> as in @listing.photos.each do |x|
<zeroNone_> end
chthon has joined #ruby
<freezevee> zeroNone_: actual says scope :search, lambda { |query| where (["name LIKE ?", "%#{query}%"])}
<zeroNone_> would need to see the code
angusiguess has quit [Ping timeout: 246 seconds]
<Hanmac> freezevee: block variables
qba73 has joined #ruby
<zeroNone_> can you put it all in a gist?
<rg4> it is syntax to pass a local variable to a block
<zeroNone_> thanks Hanmac
<freezevee> and I've seen it elsewhere like <%= form_for(:subject, :url => {:action => 'create'}) do |f| %>
<freezevee> Hanmac: what does it mean ?
<freezevee> rg4: so it's used only for local variables ?
<freezevee> what about @something
<freezevee> what's the difference between @something and |something|
LiohAu_ has joined #ruby
<zeroNone_> freezevee you need to read up on instance variables, class variables, and variables
<Hanmac> freezevee: different type of variables ... @something is a instance variable, |something| is a block variable
<freezevee> how do you choose which to use ?
chthon has quit [Client Quit]
jonmorehouse has joined #ruby
<freezevee> I think I am getting it.... |x| is used in a local kind of procedure like a "do", an iteration or something similar
jontmorehouse has quit [Ping timeout: 260 seconds]
<freezevee> and @something is used only inside a method ?
hiyosi_ has joined #ruby
mityaz has joined #ruby
<freezevee> and why don't you simply use "do x" in a self.each for example ?
bruno- has joined #ruby
Scotteh has joined #ruby
shock_one_ has quit [Quit: Computer has gone to sleep.]
<rg4> the ruby parser wouldn't understand what you meant if you said "do x", it expects block locals to be surrounded by the | character, and instance variables are in scope for all methods of a given object, so it could be in scope for one or more methods.
govg has quit [Quit: leaving]
sepp2k has joined #ruby
merqlove has joined #ruby
hiyosi_ has quit [Ping timeout: 258 seconds]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
holden247 has left #ruby [#ruby]
robbyoconnor has joined #ruby
kate_r has joined #ruby
pgmcgee has quit [Ping timeout: 272 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
Scotteh has joined #ruby
pgmcgee has joined #ruby
arup_r has quit []
Suchit has joined #ruby
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
<frankS2> Which one is the preferred to use of rbenv and rvm?
Tomme has quit [Ping timeout: 258 seconds]
<sevenseacat> its personal preference.
<havenwood> frankS2: chruby
<sevenseacat> thats what i use
vinleod has joined #ruby
mikecmpbll has joined #ruby
yfeldblum has joined #ruby
Suchit has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
Suchit has joined #ruby
* Hanmac does just use ruby-trunk
jottr has joined #ruby
Axy has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
bMalum has joined #ruby
Suchit has quit [Read error: Connection reset by peer]
Suchit has joined #ruby
<havenwood> frankS2: chruby is nice for a minimalist option. RVM supports older Rubies that need patches and also handles installing, etcetera. With chruby you could use ruby-install or build Ruby yourself or even use RVM to install. RVM actually ships with MRVM (mini-RVM) which installs Ruby but uses chruby to switch Rubies.
yfeldblum has quit [Ping timeout: 260 seconds]
<sevenseacat> mini RVM wat o.O
oo_ has joined #ruby
<havenwood> sevenseacat: http://rvm.io/workflow/chruby
<havenwood> sevenseacat: i think most chruby users use ruby-install, ruby-build or build themselves though
<sevenseacat> thats.... interesting
troulouliou_dev has quit [Remote host closed the connection]
<sevenseacat> yeah that just makes sense, we use tools like chruby because we dont want all-in-one behemoths like rvm
<rg4> rvm uses chruby now?
<havenwood> rg4: just an option in rvm1, but there was just a mention of a possibility of chruby doing the switching for rvm2, i don't know how likely that is
<freezevee> rg4: thank you
Xeago has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 245 seconds]
<freezevee> Is it better to create user authentication and management by myself as a new ruby user (coming from PHP & python) or use a gem like "Devise" ?
<sevenseacat> in a rails app? i would just dtop in devise
<sevenseacat> drop even
syva has joined #ruby
<freezevee> sevenseacat: yes in rails
<havenwood> rg4: rvm2 is pretty ambitious, and nicely modular it seems
bal has quit [Quit: bal]
bal has joined #ruby
<wng_z3r0> Next beginner question: How do I append an array to an array (without flattening to a single array?)
<havenwood> >> [1] << [2]
<eval-in_> havenwood => [1, [2]] (https://eval.in/198846)
<wng_z3r0> I would also appreciate any key words for searching next time - I can't seem to get google to cooperate
<wng_z3r0> ty.
<sevenseacat> 'ruby append array' ?
joonty has joined #ruby
troulouliou_dev has joined #ruby
<wng_z3r0> hmm ordering matters. weird. I kept ending up at places like this: https://stackoverflow.com/questions/980675/how-to-add-to-array-in-ruby anyways thanks
<havenwood> wng_z3r0: the docs are a good place to look: http://www.ruby-doc.org/core-2.1.3/String.html
multi_io has quit [Ping timeout: 244 seconds]
lampd1 has joined #ruby
andrewlio has joined #ruby
patrick99e99 has joined #ruby
Macaveli has joined #ruby
lewix has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
roolo has joined #ruby
lampd1 has quit [Ping timeout: 260 seconds]
sk87 has joined #ruby
Wolland has joined #ruby
alem0lars has quit [Quit: AFK..]
Gabri has quit [Remote host closed the connection]
banister has joined #ruby
jbueza has joined #ruby
banister has quit [Max SendQ exceeded]
patrick99e99 has quit [Ping timeout: 272 seconds]
Tomme has joined #ruby
banister has joined #ruby
Scotteh has quit [Ping timeout: 250 seconds]
timonv^ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
Wolland has quit [Ping timeout: 258 seconds]
ctp has joined #ruby
tanath has quit [Ping timeout: 264 seconds]
dumdedum has joined #ruby
wald0 has joined #ruby
GriffinHeart has joined #ruby
<havenwood> wng_z3r0: oops, i linked String not Array..
ndrei has joined #ruby
shock_one_ has joined #ruby
<wng_z3r0> close enough
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
anarang has joined #ruby
yfeldblum has joined #ruby
AlSquire has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
mercwithamouth is now known as cyberbird
alem0lars has joined #ruby
shredding has joined #ruby
cyberbird has quit [Quit: leaving]
angusiguess has joined #ruby
oponder has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw has joined #ruby
mercwithamouth has joined #ruby
mercwithamouth is now known as cyberbird
cyberbird is now known as iamcyberbird
Xeago has joined #ruby
Suchit has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
Suchit has joined #ruby
einarj has joined #ruby
tanath has joined #ruby
therue has joined #ruby
alem0lars has quit [Quit: alem0lars]
emrox has joined #ruby
ghr has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
marr has joined #ruby
anarang has quit [Ping timeout: 250 seconds]
teddyp1cker has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
hiyosi_ has joined #ruby
kamilc__ has joined #ruby
voodoofish has quit [Read error: No route to host]
axsuul has quit [Ping timeout: 246 seconds]
InhalingPixels has joined #ruby
timgauthier has joined #ruby
skammer has joined #ruby
oo_ has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
hiyosi_ has quit [Ping timeout: 272 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Remote host closed the connection]
InhalingPixels has quit [Ping timeout: 250 seconds]
shredding has quit [Quit: shredding]
skammer has quit [Ping timeout: 258 seconds]
zarubin has quit []
AndChat| has joined #ruby
workmad3 has joined #ruby
AFKGeek has joined #ruby
flughafen has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<flughafen> require_relative 'foobar' should include the foobar.rb in the same dir?
ndrei has joined #ruby
<Hanmac> flughafen: yes
JBreit has joined #ruby
<Hanmac> hm or the foobar.so ... depending on the system
<flughafen> i don't have to change LOAD_PATH?
<flughafen> ok thanks Hanmac
charliesome has joined #ruby
<Hanmac> hm no for require_relative the LOAD_Path does not need to be touched
tanath has quit [Remote host closed the connection]
shock_one_ has quit [Quit: Computer has gone to sleep.]
JBreit has left #ruby [#ruby]
<flughafen> ok
lkba has quit [Ping timeout: 260 seconds]
tanath has joined #ruby
sk87 has joined #ruby
AndChat| has quit [Ping timeout: 250 seconds]
voodoofish has joined #ruby
andrew_234gv has joined #ruby
<andrew_234gv> hello
<andrew_234gv> does anyone know how to make '>>' a string on rails?
<syva> wut
fgo has joined #ruby
<wasamasa> andrew_234gv: just put it in quotes
<aech> didn't he just do that...
<wasamasa> ssh
<wasamasa> *shh
<aech> :)
<andrew_234gv> 'cat >> /home/andrew/.ssh/authorized_keys'
<andrew_234gv> so i need double on the outside and single on the inside
<andrew_234gv> ?
shock_one_ has joined #ruby
<wasamasa> that's not a ruby question
<wasamasa> and an abuse of cat
<wasamasa> leave the poor animal alone!
anarang has joined #ruby
<Hanmac> andrew_234gv: rails questions for this channel #rubyonrails
<andrew_234gv> thanks
relix has joined #ruby
<andrew_234gv> i cant join that channel for some reason...
krisquigley has joined #ruby
<canton7> register with nickserv?
<andrew_234gv> what do u mean by nickserv?
relix has quit [Read error: Connection reset by peer]
<canton7> behold the power of the googles: https://freenode.net/faq.shtml#userregistration
syva has quit [Ping timeout: 245 seconds]
relix has joined #ruby
lsmola has joined #ruby
SOLDIERz has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
SOLDIERz has joined #ruby
iiiinzg has quit [Ping timeout: 246 seconds]
relix has quit [Client Quit]
Spami has joined #ruby
oponder has joined #ruby
boombadaroomba has joined #ruby
Spami has quit [Client Quit]
<sevenseacat> why'd you send him to us, he's not doing anything to do with rails >:(
Spami has joined #ruby
boombadaroomba has quit [Ping timeout: 272 seconds]
syva has joined #ruby
oo_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
relix has joined #ruby
zeroNone_ has quit [Quit: Textual IRC Client: www.textualapp.com]
teddyp1cker has joined #ruby
Wolland has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
<Hanmac> sevenseacat: because ... rails? ;P they deserve it ;P
Sawbones has joined #ruby
bMalum has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
<sevenseacat> he's using chef, not rails
teddyp1cker has quit [Ping timeout: 260 seconds]
AFKGeek has quit [Ping timeout: 272 seconds]
threesixes has quit [Remote host closed the connection]
mr_foobar_baz has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<agent_white> Haha. How easily he could have figured it out if he asked what he wanted to do instead.
bluOxigen has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
Gabri has joined #ruby
elstif has joined #ruby
charliesome has quit [Quit: zzz]
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
AFKGeek has joined #ruby
hiall has quit [Ping timeout: 245 seconds]
jonmorehouse has quit [Ping timeout: 260 seconds]
Hobogrammer has quit [Ping timeout: 244 seconds]
Sawbones has quit [Ping timeout: 245 seconds]
karupa is now known as zz_karupa
lolmaus_ has joined #ruby
lolmaus has quit [Ping timeout: 272 seconds]
robustus is now known as robustus|Off
mikepack has joined #ruby
krisquigley has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
krisquigley has joined #ruby
Xeago has joined #ruby
kil0byte has joined #ruby
angusiguess has joined #ruby
skaflem has joined #ruby
Shoomer has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
Advocation has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
axsuul has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
mr_foobar_baz has quit [Quit: WeeChat 1.0]
nettoweb has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
kaspertidemann has joined #ruby
cosa has joined #ruby
Alina-malina has quit [Ping timeout: 250 seconds]
cosa has quit [Client Quit]
ki0 has quit [Remote host closed the connection]
hiyosi_ has joined #ruby
Alina-malina has joined #ruby
startupality has joined #ruby
alem0lars has joined #ruby
InhalingPixels has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
ki0 has joined #ruby
decoponio has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
sk87 has joined #ruby
<andrew_234gv> is it possible to do iterate through osd_at_index: <% @osds.each do |ip, osd_at_index| %> <% osd_at_index['disk_journal'].each do |disk, info| %>
hiyosi_ has quit [Ping timeout: 258 seconds]
sk87 has quit [Client Quit]
<sevenseacat> have you tried it?
<andrew_234gv> yes
<sevenseacat> and?
Sawbones has joined #ruby
<workmad3> damn, where's apeiros with his cross-posting banstick when you need him?
moritzschaefer has joined #ruby
<andrew_234gv> syntax error unexpected '<', expecting keyword_end
<sevenseacat> the error isnt in those two lines of code.
<agent_white> lawd
Takle has joined #ruby
anarang has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
AlexRussia has joined #ruby
<agent_white> !code
<agent_white> :( helpa tell andrew
stef_204 has joined #ruby
anarang has joined #ruby
bricker`LA has quit [Ping timeout: 260 seconds]
Takle has quit [Remote host closed the connection]
aech is now known as ddv
lowandslow has quit [Quit: Leaving]
robustus|Off is now known as robustus
kaspergrubbe_ has joined #ruby
kaspergrubbe_ has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
kaspergrubbe_ has joined #ruby
freerobby has quit [Quit: Leaving.]
MCDev has quit [Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)]
fgo has quit [Remote host closed the connection]
angusiguess has joined #ruby
xcv has joined #ruby
lolmaus_ has quit [Read error: Connection reset by peer]
lolmaus_ has joined #ruby
dkam has joined #ruby
<andrew_234gv> anyone know how i would use osd_at_index on the 2nd iteration?
hellangel7 has joined #ruby
anarang has quit [Quit: Leaving]
abuzze_ has joined #ruby
agjacome has joined #ruby
heliosaurus has joined #ruby
bove_ is now known as bove
abuzze_ has quit [Remote host closed the connection]
abuzze_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
merqlove has quit [Quit: Connection closed for inactivity]
pushnell has quit [Quit: pushnell]
ItSANgo has quit [Quit: Leaving...]
dkam has quit [Quit: dkam]
gaussblurinc1 has joined #ruby
<wasamasa> well, uh
<wasamasa> the errors tells you @osds is nil
<wasamasa> or wait
Advocation has quit [Quit: Advocation]
<ghr> osd_at_index['disk_journal'] is nil
<wasamasa> osd_at_index['disk_journal'] is
<andrew_234gv> oh i mispelled
<wasamasa> I'd expect a something_at_index thing to use an integer index
havenwood has quit [Remote host closed the connection]
<andrew_234gv> what would be a better name for that variable
tokik has quit [Ping timeout: 245 seconds]
workmad3 has quit [Quit: Lost terminal]
jhass|off is now known as jhass
voodoofish has quit [Read error: Connection reset by peer]
lampd1 has joined #ruby
roolo has quit [Remote host closed the connection]
andrew_234gv has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fgo has joined #ruby
roolo has joined #ruby
walidvb has joined #ruby
janmuffino has joined #ruby
lukeholder has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
lampd1 has quit [Ping timeout: 244 seconds]
Tomme has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
Xiti` has quit [Quit: Leaving]
Wolland has joined #ruby
roolo has quit [Ping timeout: 272 seconds]
voodoofish has joined #ruby
oo_ has quit [Remote host closed the connection]
apeiros has joined #ruby
oo_ has joined #ruby
patrick99e99 has quit [Ping timeout: 260 seconds]
Synthead has quit [Ping timeout: 272 seconds]
HelperW is now known as duikboot
duikboot is now known as Duikboot
walidvb has quit [Read error: Connection reset by peer]
Tomme has joined #ruby
Xiti has joined #ruby
Advocation has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
syva_ has joined #ruby
tripwire has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv^ has quit [Remote host closed the connection]
dkam has joined #ruby
<tripwire> .
syva has quit [Ping timeout: 260 seconds]
syva_ is now known as syva
tripwire has quit [Client Quit]
tripwire has joined #ruby
Xeago has quit [Remote host closed the connection]
syva has quit [Client Quit]
tripwire has left #ruby [#ruby]
tripwire has joined #ruby
Macaveli has joined #ruby
Synthead has joined #ruby
oo_ has quit [Remote host closed the connection]
lkba has joined #ruby
mikepack has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
oo_ has joined #ruby
timgauthier is now known as timgauthier_isaw
phutchins has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jds has joined #ruby
tripwire has quit [Quit: Leaving...]
elstif has quit [Quit: Leaving.]
tripwire has joined #ruby
sk87 has joined #ruby
alem0lars has quit [Quit: AFK..]
mikepack has quit [Ping timeout: 260 seconds]
blueOxigen has joined #ruby
toretore has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
threesixes has joined #ruby
elstif has joined #ruby
hiyosi_ has joined #ruby
krisquigley has joined #ruby
roolo has joined #ruby
sk87 has quit [Client Quit]
abdulsattar has joined #ruby
robustus is now known as robustus|Off
phoo1234567 has joined #ruby
sk87 has joined #ruby
Squarepy has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
krisquigley has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
timgauthier has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
hiyosi_ has quit [Ping timeout: 272 seconds]
phoo1234567 has joined #ruby
Guest99268 has joined #ruby
<Guest99268> hello
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby
Guest99268 has quit [Client Quit]
tripwire has quit [Quit: Leaving...]
alem0lars has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
relix has joined #ruby
gregf has quit [Ping timeout: 260 seconds]
lemur has quit [Ping timeout: 244 seconds]
<sheepman> how can i get a range from ARGV[0] to ARGV[1] (both just integers)
<sheepman> ?
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<agent_white> sheepman: You mean you want to count the total ARGV arguments?
<sheepman> no
<agent_white> What are you trying to do?
<sheepman> i mean say ARGV[0] is 1 and ARGV[1] is 3 i want an array of [0,1,2,3]
<canton7> start..end
<sheepman> i always end up with a string
<canton7> pastie?
<tobiasvl> ARGV[0].to_i..ARGV[1].to_i
<sheepman> so result = "1..3"
<canton7> >> (1..3).to_a
<eval-in_> canton7 => [1, 2, 3] (https://eval.in/198881)
<canton7> you get a Range object. Something you're doing is turning it into a string, somehow
<sheepman> tobiasvl: try that, it doesn't work
Advocation has quit [Quit: Advocation]
<sheepman> canton7: works unless im using ARGV
alem0lars has quit [Quit: alem0lars]
<canton7> demonstrate?
<canton7> what do you get out?
<canton7> is there an error?
<tobiasvl> works here
kotk has joined #ruby
<sheepman> really?
<sheepman> wtf
<sheepman> no error just get a string and not a range
<tobiasvl> paste the output of `ARGV; ARGV[0]..ARGV[1]`
<tobiasvl> and your code
<canton7> sheepman, what are you doing to turn it into a string?
<canton7> a Range isn't a string. you're doing something to force that conversion
<sheepman> i don't want a string, two secs
<sheepman> i want an array
<canton7> like everyone keep saying, pastie you damn code
<sheepman> simples
<sheepman> one liner
<canton7> sheepman, that won't print anything
<sheepman> if i p range
<sheepman> i get a string
<canton7> right!
<canton7> thank you
<sheepman> after running ./script_name 0 10
<sevenseacat> because p will print strings
<canton7> don't p the range
duncannz has quit [Ping timeout: 250 seconds]
<canton7> or turn it into an array first, like I showed you
<canton7> >> (1..3).to_a
<eval-in_> canton7 => [1, 2, 3] (https://eval.in/198884)
<tobiasvl> >> p 1
<eval-in_> tobiasvl => 1 ... (https://eval.in/198886)
<tobiasvl> hehe
<sheepman> sorry!
<sheepman> big fat apologies everyone
<sheepman> i was being a complete c**t
<sheepman> :/
<canton7> :P
<sheepman> time for coffee at a guess, and maybe some food
<tobiasvl> sheepman: well, now you've learned that you need to show us the relevant code. we had no idea you were calling p on it.
<canton7> caffeine++
Takle has joined #ruby
* apeiros is curious how to expand c**t to get "idiot"
<sevenseacat> lol
<sheepman> apeiros: maybe the profanity i would use is more aggressive then yours
<sheepman> :)
alex88 has quit [Quit: Leaving...]
fsapo has joined #ruby
Advocation has joined #ruby
<apeiros> sheepman: my issue is more that your profanity seems to be sexist. and I'd advise you against using such.
mieko has joined #ruby
<gregf_> well designing is like, many can play a guitar, but very few are good ;)
<gregf_> bah :/ sorry
<sevenseacat> apeiros: i would generally respond to that with 'well ive got one but im not one'
<sheepman> and piece is resumed!
<sheepman> *peace
Advocation has quit [Client Quit]
<sheepman> deffo coffee o'clock. Or i might just give up on life...
<agent_white> Nope, just explain what you expect rather than ask how to do it.
<agent_white> Otherwise we could be calling in heavy-artillary to stomp an ant.
Synthead has quit [Ping timeout: 244 seconds]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Changing host]
troulouliou_dev has joined #ruby
cpruitt has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
<sevenseacat> the ant deserved it.
govg has joined #ruby
<agent_white> Hahah
yfeldblum has quit [Ping timeout: 244 seconds]
* agent_white equips flamethrower for ant hill and cackles.
kaspergrubbe_ has quit [Ping timeout: 244 seconds]
GriffinHeart has quit [Remote host closed the connection]
<shevy> love is all around us
mlnppy has quit [Ping timeout: 245 seconds]
<workmad3> shevy: it's everywhere we go?
<shevy> yes
<shevy> even after you went to the toilet
<shevy> there is love
* workmad3 really hates boy bands
heliosaurus has quit [Read error: No route to host]
afhkga has joined #ruby
<gregf_> sheepman: you can also check for the type? arr=[1,3];(arr.first..arr.last).class
<sheepman> ty
fsapo has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
ctp has joined #ruby
teddyp1cker has joined #ruby
<agent_white> night!
agent_white has quit [Quit: goodnight]
Synthead has joined #ruby
kaspergrubbe_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland has joined #ruby
oo_ has joined #ruby
cpruitt has quit [Client Quit]
fsapo has joined #ruby
Advocation has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
alem0lars has joined #ruby
emocakes__ has joined #ruby
gregf has joined #ruby
alem0lars has quit [Client Quit]
emocakes has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 244 seconds]
alem0lars has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
ItSANgo has joined #ruby
alem0lars has quit [Client Quit]
alem0lars has joined #ruby
msx has quit [Quit: WeeChat 1.0]
alem0lars has quit [Client Quit]
larissa has joined #ruby
alem0lars has joined #ruby
msx has joined #ruby
alem0lars has quit [Client Quit]
alem0lars has joined #ruby
GriffinHeart has joined #ruby
DarkFoxDK has quit [Quit: ZNC - http://znc.sourceforge.net]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zwq has quit [Quit: Leaving]
zorak8 has joined #ruby
xcv has quit []
xcv has joined #ruby
yfeldblum has joined #ruby
lukevinc has joined #ruby
yfeldblu_ has joined #ruby
Sht0 has joined #ruby
<lukevinc> Hello, my ri command is giving a strange bug, i try to type to it and appear nothing.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> lukevinc: how did you install ruby?
<lukevinc> jhass: i use the ruby of ubuntu.
<jhass> look out for a ruby-doc package or something
yalue has joined #ruby
hiall has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
<lukevinc> jhass: E: Unable to locate package ruby-doc
<jhass> "or something" I don't use ubuntu
<lukevinc> jhass: i found a interesting package here: ruby1.9.1-full, let me try it.
yfeldblu_ has quit [Ping timeout: 244 seconds]
terlar has quit [Ping timeout: 272 seconds]
relix has joined #ruby
kamilc__ has quit [Quit: Leaving...]
ItSANgo has quit [Quit: Leaving...]
angusiguess has quit [Ping timeout: 244 seconds]
Advocation has quit [Quit: Advocation]
anaeem1__ has joined #ruby
<lukevinc> still bugging, i will use the doc of ruby page. theres other tool instead of ri?
hiyosi_ has joined #ruby
alem0lars has quit [Quit: AFK..]
<shevy> there is a protein called titin
Nahra has joined #ruby
<shevy> lukevinc ubuntu stole your documentation
<ddv> lukevinc: or you could use rbenv,chruby or whatever
anaeem1__ has quit [Remote host closed the connection]
<shevy> so you have to ask them how they split it up
<shevy> if you compile ruby from source, there is one extra step "generating ri docu"
anaeem___ has joined #ruby
afhammad has joined #ruby
<shevy> at the end of the "make" step
<shevy> "Generating RDoc documentation"
kaspertidemann has quit []
<lukevinc> it's difficult to compile it?
<shevy> apt-get install ri
<shevy> on ubuntu yes
InhalingPixels has joined #ruby
<shevy> on sane systems no
<lukevinc> i tried that.
<lukevinc> what system do you use?
<shevy> I compile everything from source. the base system was a slackware (kernel, glibc and gcc are still original, rest is self compiled)
anaeem1_ has quit [Read error: Connection reset by peer]
<shevy> on ubuntu, you have to get some dev packages
<shevy> openssl you should get, readline
timgauthier is now known as timgauthier_isaw
<shevy> I mean the dev components of these
<lukevinc> how i will change the ruby of my system for compiled ruby?
<shevy> that depends on the --prefix option you use
<shevy> rbenv etc... typically will install into your $HOME directory
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kalleth> I thought by default when you make install'ed it replaced the binary that already existed in $PATH ?
<kalleth> unless ofc you use rbenv/rvm/etc
<shevy> I install into /usr prefix (or app-dir approach, like /Programs/Ruby/2.1.3)
<kalleth> rather than wget && ./configure && etc
<lukevinc> ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
TorpedoSkyline has joined #ruby
<shevy> "./configure" alone defaults to "./configure --prefix=/usr/local"
hiyosi_ has quit [Ping timeout: 250 seconds]
<shevy> yeah, typical ubuntu :)))
<lukevinc> i will check the official documentation.
<shevy> but I am sure there must be a package with the documentation
<shevy> at least in base debian
<kalleth> rm $(which ruby); reinstall ruby
<kalleth> totally clean and acceptable way to replace ruby
<kalleth> ofc
<lukevinc> nothing against ubuntu, it's a big system at all, it can survive over the years, but for install tools is a little pain.
<kalleth> wouldn't need to also clean up the gem executable and the bundler and the and the and the
* kalleth stops talking and being unhelpful
InhalingPixels has quit [Ping timeout: 245 seconds]
krz has quit [Quit: WeeChat 1.0]
<jhass> kalleth: well, if you call that clean... ruby installs more than the executable
<shevy> not a big deal
<lukevinc> nah, lady, you're fine, i will try to reinstall ruby, 1.9.3 is a old version.
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
elstif has quit [Ping timeout: 250 seconds]
<lukevinc> i purged ruby of my system, i will try to reinstall
<shevy> in /usr/bin it would typically be from the base system /usr/bin/{ri,irb,ruby,gem} hmm and one more I forgot or so... I can find out if that is needed! and in /usr/lib/ruby* - but curiously enough, debian sometimes also installs into /usr/local/lib/ruby (!!!)
<shevy> and /usr/include/ruby*
<lukevinc> shevy: which version can i install?
<shevy> I have a include/ruby-2.1.0 ... strange
<shevy> lukevinc the latest?
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2
<lukevinc> 2.1.3?
carif has quit [Ping timeout: 260 seconds]
<shevy> tar jxf ruby*.tar.bz2
<shevy> but you should compile libyaml first
<lukevinc> in ubuntu repositories there's no 2.1.3, it's 1.9.3, wft
<shevy> it is very small
sk87 has joined #ruby
<shevy> yes, ubuntu is slow
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
<shevy> Hanmac uses ubuntu though
<shevy> and he runs the latest ruby
InhalingPixels has joined #ruby
LudicrousMango has joined #ruby
<lukevinc> shevy: thanks sweetz, i found the package
lukeholder has joined #ruby
<shevy> now you can enjoy your 1.9.3 :)
lukeholder has quit [Max SendQ exceeded]
<lukevinc> nah, i want the new version
GriffinHeart has quit [Remote host closed the connection]
<lukevinc> theres no rubybrew?
<ddv> you can use a ppa if you want a newer ruby
lukeholder has joined #ruby
<sevenseacat> lukevinc: ruby has a 2 package in ubuntu
lukeholder has quit [Max SendQ exceeded]
Gabri has quit [Remote host closed the connection]
<lukevinc> ddv: whats the link of repository?
<ddv> lukevinc: the link is google.com
<lukevinc> wft
oo_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> though it only has 2.0.0 in it
lukeholder has joined #ruby
gregf has quit [Ping timeout: 246 seconds]
alem0lars has joined #ruby
<lukevinc> sevenseacat: yes, young boy
lukeholder has quit [Max SendQ exceeded]
Advocation has joined #ruby
<sevenseacat> you are?
<lukevinc> yeah
<sevenseacat> okay
mleone has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lukevinc> i will build that with my hands though
lukeholder has joined #ruby
<shevy> lukevinc there even is a package manager in ruby called mac homebrew, sadly it works mostly just for osx users
<shevy> lukevinc also, now you know why things like RVM, rbenv etc... exist, they promise to alleviate the situation like with default ubuntu-ruby :)
<lukevinc> shevy: ruby is a forsaken language, i'm trying to change this.
<shevy> ruby is awesome
<sevenseacat> erm, homebrew doesnt help you with the same problems as rvm and rbenv do
<shevy> python has more folks use them
<lukevinc> shevy: i agree
<rg4> i think rubybrew is talking about perlbrew
<sevenseacat> homebrew is a replacement for the lack of a package manager in osx
<rg4> something like rvm/chruby/etc then
<shevy> in ruby!!!
alex88 has joined #ruby
timgauthier has joined #ruby
<ddv> homebrew <3
timgauthier has quit [Max SendQ exceeded]
<shevy> now imagine if a package manager manages itself too \o/
<lukevinc> ubuntu doesn't depends of ruby like perl
robustus|Off is now known as robustus
<shevy> I follow the homebrew guys because they churn out a lot of package-updates
<lukevinc> so you can shit on it and for ubuntu it's fine
<shevy> and you can follow it easily, like at: https://github.com/mxcl/homebrew/commits/master/Library/Formula
<shevy> lukevinc yeah
<shevy> dpkg requires perl
<lukevinc> you guys are amazing
<shevy> so if you eliminate perl, dpkg will break
claymore has joined #ruby
<shevy> but you could also use python ;)
<lukevinc> i prefer python than perl, wtf, a lot of confusing symbols
alem0lars_ has joined #ruby
<shevy> oh no
<shevy> don't leat eam hear that
Gabri has joined #ruby
alem0lars has quit [Ping timeout: 272 seconds]
alem0lars_ is now known as alem0lars
nettoweb has joined #ruby
<shevy> ruby is perl 6
<shevy> except for the documentation
<shevy> there is more than one way in ruby - but we don't document them all
<shevy> HA HA HA :)
dorei has joined #ruby
<lukevinc> i like perl, i just doesn't like the syntax. the cpan support is great.
tjr9898 has joined #ruby
* sevenseacat wonders what people here are smoking sometimes
<shevy> ok but what does cpan offer that gem does not?
<lukevinc> i don't smoke buddy.
<txdv> i smoke american spirit
<txdv> and red bull
<shevy> sevenseacat yeah what are you smoking
<txdv> What do you smoke sevenseacat?
<shevy> I mean that nick alone
Suchit has quit [Ping timeout: 246 seconds]
<lukevinc> shevy: dunno, it's the same thing?
<shevy> seven cats
<sevenseacat> maybe i have seven cats.
<shevy> lukevinc no, it is a question, I don't know
<shevy> you can use cpan for perl-addon installation and gem for ruby-addon installation
Suchit has joined #ruby
<lukevinc> shevy: cpan is very big, i has a local mirror of it, it's about 5GB of whole code.
<shevy> ok so you use 5GB?
<shevy> is 10GB better than 5
<shevy> how about 10000GB
<lukevinc> nah, just for security, if i don't have internet it's here.
<shevy> you can install those gems locally + run a gemsever too
<lukevinc> i'm new to ruby.
<shevy> well or at least in the past you could
<shevy> I have this part in my documentation for gems: gem_server &
<shevy> I dunno if this still works :\
<txdv> the regime has changed
<ddv> I use dash
<ddv> app
Duikboot_ has joined #ruby
<shevy> for?
<shevy> is dash like bash
<ddv> searching docs
<shevy> aah
TorpedoSkyline has joined #ruby
<lukevinc> when ubuntu compiles ruby (28%) i will drink a bottle of coffee.
<shevy> did you extract the archive yet
kate_r has joined #ruby
<shevy> did you install libyaml - if not, psych libyaml bindings will probably not work right away
<shevy> you could use syck gem though, I do that too
<shevy> it's a bit annoying though
<soahccc> shevy: why shouldn't that work anymore? :) My one is still running even though I only use git for internal gems now
error404 has quit [Quit: leaving]
<shevy> soahccc I dunno, a lot of that docu was written when I was on 1.8.x
<shevy> I am on the past 1.9.x era since perhaps... 3 years? not sure
<lukevinc> shevy: i'm in the make part
<shevy> lukevinc \o/
<shevy> watch out for the rdoc step during make
<lukevinc> Elapsed: 109.4s
<soahccc> lukevinc: which OS?
<shevy> it takes a while
<shevy> drink coffee
angusiguess has joined #ruby
<lukevinc> soahccc: UBUNTU
sprihodko has joined #ruby
<kalleth> <jhass> kalleth: well, if you call that clean... ruby installs more than the executable
<kalleth> jhass: sorry, i need sarcasm tags
<kalleth> :(
Photism_ has joined #ruby
<jhass> oh yeah, you do
<lukevinc> shevy: hmmm, i forgot to unistall ri, it will give me trouble?
<soahccc> Don't know what the issue is lukevinc but maybe the package list in the comment here might help? https://gist.github.com/2called-chaos/e06bf6322525d37a5bf7
Duikboot has quit [Ping timeout: 260 seconds]
_cake has quit [Read error: Connection reset by peer]
<shevy> lukevinc simply remove the old part
<shevy> in /usr/bin kill ruby*, kill ri*, kill irb*
<shevy> lukevinc though actually
<shevy> the new one will overwrite the existing ones
abdulsattar has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 258 seconds]
ndrei has quit [Ping timeout: 244 seconds]
<shevy> so you don't have to remove... but I like to remove ubuntu stuff so I do that, it gives me a warm fuzzy feeling inside
<lukevinc> for my luck, when i purged ruby, ri goes in the sink too.
<shevy> aha so you used the distribution-way to eliminate the whole package
<shevy> you are a clever person
Duikboot_ has quit [Ping timeout: 260 seconds]
<lukevinc> sudo apt-get purge ruby?
<shevy> probably
<shevy> I also eliminate apt-get usually
<soahccc> ubuntu fucked that up by going the python way... ruby2.0 and gem2.0 ... much stuff breaks
<shevy> Cookbooks: 2645 programs are registered in our cookbooks at 26.09.2014.
<shevy> I carry those archives locally with me
jottr_ is now known as jottr
<lukevinc> i downloaded two new linux distros to browse in deep web: kali and tails. for my luck they're debian-based too :)
<shevy> well most of them... since games like wesnoth approach the 1GB size, I no longer download them... those guys keep on inflating their games ...
<flughafen> is rhtml the file extension for erb? or does tis mean someting else?
<shevy> one day you will go the keep it simple road
<shevy> either slackware, or like jhass archlinux
<shevy> flughafen I think so
Photism has quit [Ping timeout: 244 seconds]
<shevy> looks like php :(
<jhass> flughafen: file extensions on *nix are for the humans, the programs mostly don't care
lampd1 has joined #ruby
<flughafen> well, sinatra says ... hold on. let me look i need to double check
grenierm has quit [Quit: grenierm]
angusiguess has quit [Ping timeout: 245 seconds]
<lukevinc> ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
<lukevinc> ri 4.1.0
<lukevinc> \o/
paulfm has joined #ruby
<flughafen> jhass: i know ;)
peta_ has joined #ruby
<lukevinc> thanks for support, everybody, i will learn rails now.
Xiti has quit [Quit: Leaving]
<sevenseacat> oh, good luck.
<sevenseacat> start with learning ruby first.
InhalingPixels has quit []
<lukevinc> i learnt using codeacademy.com, now i wil go to the road, or better, on rails.
InhalingPixels has joined #ruby
benzrf|offline is now known as benzrf
<sevenseacat> uh huh.
<flughafen> shevy: http://www.sinatrarb.com/intro.html look under views/templates
<shevy> no this is too ugly to look at flughafen
Wolland has joined #ruby
<flughafen> shevy: you don't like sinatra?
<shevy> sinatra is ok, but not the templates
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
<flughafen> shevy: ok.
lampd1 has quit [Ping timeout: 272 seconds]
<shevy> <% @products.each do |p| %>
<shevy> <li><%= @p.name %></li>
<shevy> <% end %>
<shevy> my brain can not be bothered to want to try and make sense of it
<shevy> there is no elegance
<shevy> if I want ugly stuff like that I will use php
<flughafen> cppsp ;)
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peta_ has quit [Remote host closed the connection]
<canton7> shevy, you can use lots of different templating languages with sinatra
<flughafen> jinja ;)
Pupeno has quit [Remote host closed the connection]
peta_ has joined #ruby
tjr9898 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
freezevee has quit [Quit: Leaving...]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
paulfm has quit []
anaeem___ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 258 seconds]
Wolland has quit [Ping timeout: 246 seconds]
gccostab_ is now known as gccostabr
terlar has joined #ruby
ItSANgo has joined #ruby
anaeem1_ has joined #ruby
snath has quit [Ping timeout: 244 seconds]
tjr9898 has joined #ruby
crazydiamond has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> if any of them is pretty
<flughafen> shevy: do you not use any templating?
skammer has joined #ruby
<sevenseacat> i like haml for templating.
<shevy> nope
<flughafen> sevenseacat: haml for html?
<shevy> I let ruby generate everything including javascript
<dorei> flughafen: your nick means "airport" in german, right?
<shevy> yeah dorei :)
<flughafen> lots of downloads
<shevy> BERLIN AIRPORT
<flughafen> dorei: yes
gregf has joined #ruby
abdulsattar has joined #ruby
<flughafen> shevy: stop toying with my emotions
<sevenseacat> yeah for html
<shevy> hehehe
<shevy> you don't live in Berlin though right?
<flughafen> https://www.ruby-toolbox.com/categories/template_engines <- haml looks really popular
<flughafen> shevy: i used to, i wish i did now, but I took a job in another city
<dorei> it's one of the few german words i know, i was visiting a friend there and then had to travel to the airport to come back home and it was the only word i memorized in case i got lost :D
anaeem1_ has quit [Remote host closed the connection]
oleo has joined #ruby
<flughafen> dorei: german has lots of memorizable words ;)
<shevy> Unkraut
<shevy> Kindergarten
<dorei> ahtung :D
rylev has joined #ruby
<shevy> you missed a 'c' before the 'h'
tripwire has joined #ruby
<dorei> :)
livingstn has joined #ruby
<shevy> this is one of the coolest words: "Donaudampfschifffahrtsgesellschaft"
kate_r_ has joined #ruby
bmurt has joined #ruby
* apeiros switched from haml to slim
<apeiros> even less noise
yfeldblum has joined #ruby
lukevinc has joined #ruby
<shevy> it stems back from the pre-world war I era where there was an ARMY of ship vessels on the... danube river (which is pretty much a joke in itself this is how they looked - http://goo.gl/UjN0hx)
kate_r has quit [Ping timeout: 246 seconds]
<Hanmac> shevy "Baumkuchen" ? ;P
<lukevinc> sorry to bother you again, ruby installation was perfect, how i install rbi now? hehe
agjacome has quit [Quit: leaving]
gregf has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
krisquigley has joined #ruby
<flughafen> baumkuchen und baumstriezel gefällt mir :)
<lukevinc> ops, i entered in germany bunker, let me see.
Pupeno has joined #ruby
paulfm has joined #ruby
elaptics has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
tjr9898 has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
spyderman4g63 has joined #ruby
<lukevinc> flughafen: Ich möchte über Berliner Mauer gehen
tjr9898 has joined #ruby
abdulsattar has quit [Ping timeout: 258 seconds]
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
<flughafen> lukevinc: bist du im ostberlin gesteckt?
havenwood has joined #ruby
<Hanmac> if they constructors of the BER would have planed the BerlinWall they wouldnt have been finsih building it until now ;P
<flughafen> ha
charliesome has joined #ruby
<lukevinc> i like the german accent.
<lukevinc> You guys know that singer Nena, too sexy.
<flughafen> yeah
<Hanmac> lukevinc: depends on the state ... because we have different accents ;P
dc__ has quit [Remote host closed the connection]
<flughafen> Hanmac: bist du deutscher?
<lukevinc> Hanmac: Every country does.
krz has joined #ruby
elaptics`away has joined #ruby
dangerousdave has joined #ruby
<lukevinc> but i like the rrrrrrrrr
Advocation has quit [Quit: Advocation]
<lukevinc> it's funny germans speaking in English.
workmad3 has joined #ruby
ryao has joined #ruby
axsuul has joined #ruby
<ryao> What provides rspec/core/rake_task? It is missing from my system.
<sevenseacat> very old versions of rspec
<lukevinc> flughafen: ich bin nicht aus Deutschland, aber Ich mag, um in Deutsch zu sprechen
hiyosi_ has joined #ruby
mary5030 has joined #ruby
dangerousdave has quit [Client Quit]
elaptics`away is now known as elaptics
<sevenseacat> ich lerne Deutch...errrr.... zum Duolingo? i forget the word for 'from'
dangerousdave has joined #ruby
<lukevinc> i'm using google translate :)
<flughafen> lukevinc: that was klar
<lukevinc> i already talk to greeks, iranians and iraqians through this.
<lukevinc> i'm brazilian.
zorak8 has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
<sevenseacat> oh, 'aus' would work!
jimmyy has quit [Read error: Connection reset by peer]
<sevenseacat> i think
Darryl has joined #ruby
<lukevinc> Wie werden meine Deutsch, großer Junge? gut oder schlecht?
cocotton has joined #ruby
threesixes has quit [Remote host closed the connection]
dangerousdave has quit [Client Quit]
<sevenseacat> something something my German, something boys, good or bad?
pu22l3r has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
hiyosi_ has quit [Ping timeout: 245 seconds]
<lukevinc> yeah, the tool isn't perfect, i asked, "how are my german, big boy? good or bad?"
claymore has quit [Quit: Leaving]
<oleo> are ?
<wasamasa> *is
<oleo> is
<oleo> jo
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
<wasamasa> "werden" isn't right either
<ddv> Mon_Ouie: are you in belgium now?
tripwire has left #ruby ["Leaving..."]
<gregf_> fg
<gregf_> bah :/
<lukevinc> Stella Artois.
<ddv> foreground?
kenneth has quit [Ping timeout: 260 seconds]
buub has joined #ruby
<flughafen> sevenseacat: your german is so good
agjacome has joined #ruby
kenneth has joined #ruby
<sevenseacat> hah
<lukevinc> i like the german girls
<lukevinc> boobs and beer, arrrrr
<lukevinc> oktoberfest is coming.
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
<ryao> sevenseacat: What do you mean by very old versions? Are you saying that it was removed in newer versions?
<emrox> lukevinc: it's already happening
dANO has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<sevenseacat> ryao: yes, it was removed a long time ago.
tjr9898 has joined #ruby
cocotton has quit [Remote host closed the connection]
cpruitt has joined #ruby
afhammad has quit [Remote host closed the connection]
afhammad has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
techsethi has quit [Ping timeout: 272 seconds]
skolman has joined #ruby
gregf has joined #ruby
spastorino has joined #ruby
jerius has quit []
sanguisdex has quit [Quit: Leaving.]
shock_one_ has quit [Quit: Computer has gone to sleep.]
<lukevinc> people, where i can find a interactive ruby?
<sevenseacat> in your terminal
tjr9898 has quit [Remote host closed the connection]
<lukevinc> i tried to install rbi, my ubuntu says theres no rbi
<canton7> that's because it's irb
<lukevinc> hahahaha
shock_one has joined #ruby
krisquigley has quit [Remote host closed the connection]
<lukevinc> i cant believe in this
tanath has quit [Remote host closed the connection]
krisquigley has joined #ruby
<sevenseacat> guess you learnt a lot in this codeacademy course
tjr9898 has joined #ruby
<rg4> check out http://www.pryrepl.org for a more advanced repl
tanath has joined #ruby
vinleod has quit [Quit: Computer has gone to sleep.]
<lukevinc> theres no irb in codeacademy, just ruby syntax.
<ddv> that is pretty embarrasing, lukevinc
tkuchiki has joined #ruby
cocotton has joined #ruby
<lukevinc> i just confused rbi with irb
cocotton has quit [Remote host closed the connection]
afhammad has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
Tuxero has joined #ruby
<lukevinc> i know ruby has 5 rep blocks: loop, while, until, times and each.
shock_one has quit [Client Quit]
<lukevinc> if you don't go wrong, you will never know where you are going. it's normal
shock_one has joined #ruby
RubNoob has joined #ruby
loly0 has quit [Quit: leaving]
<lukevinc> but, i thought the source code of ruby would come with irb.
<rg4> should
<sevenseacat> it does.
afhammad has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
<soahccc> I was thinking about screencasts with no cuts... Let people see how we work, not only the result of it
nettoweb has joined #ruby
<Mon_Ouie> ddv: Yes
nettoweb has quit [Max SendQ exceeded]
<ddv> Mon_Ouie: do you live in an rv traveling the world while coding ruby?
nettoweb has joined #ruby
<lukevinc> no, it doesn't, i did ./configure, make and, make install, where is the goddamn irb?!?
freerobby has joined #ruby
<wasamasa> why did you do that?
dkam has quit [Quit: dkam]
<wasamasa> just install it with your package manager, you silly person
shock_one has quit [Ping timeout: 260 seconds]
<sevenseacat> because he's a silly person
<lukevinc> ^your ma
<sevenseacat> and didnt use any of the multiple tools out there that will install and set up ruby for you
<wasamasa> ^
boombadaroomba has joined #ruby
<lukevinc> i compiled exactly the docs of ruby said.
<wasamasa> if you're on a system that comes with an outdated ruby and don't have a simple way of setting those up, use rbenv, chruby, whatever
<wasamasa> but don't circumvent your package manager and install system-wide
<wasamasa> unless you know what the hell you're doing
<lukevinc> how i will install irb now?
Scripore has joined #ruby
kamilc__ has joined #ruby
<soahccc> wasamasa: well i wouldn't recommend the package manager way for ruby to be honest
<lukevinc> yes, i sleep with your ma, i'm a silly boy
<sevenseacat> depends on the package manager - for ubuntu, definitely not
angusigu1ss has joined #ruby
<rg4> lol
<lukevinc> i installed the tar.gz of ruby2.1.3
<wasamasa> soahccc: well, thank you, I'm on a system that comes with 2.1.2
<sevenseacat> btw cracking dumb 'your mum' jokes wont win you any favour here
<lukevinc> they started, i don't are responsible for this.
<soahccc> wasamasa: which system is that?
<wasamasa> soahccc: an arch linux system
banister has quit [Read error: Connection reset by peer]
<wasamasa> soahccc: same thing would apply to fedora, gentoo, nixos, ...
<wasamasa> soahccc: probably even osx people who use brew
Macaveli has quit [Ping timeout: 258 seconds]
banister has joined #ruby
ghr has joined #ruby
<soahccc> wasamasa: well on OS X there is even ruby preinstalled
<wasamasa> soahccc: yes, a very old and outdated one
<sevenseacat> latest osx only comes with 2.0.0
<sevenseacat> before that, 1.8.7
<wasamasa> sevenseacat: hmm, good to hear they at least fixed that
<soahccc> but on OS X I would use chruby/rbenv anyway at least for dev.
boombadaroomba has quit [Ping timeout: 246 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0/20140830210550]]
<sevenseacat> i would use chruby/ruby-build or ruby-install on any system.
Guest54656 has quit []
<lukevinc> i said i installed through tar.gz, i need the irb.
noop has quit [Ping timeout: 250 seconds]
<sevenseacat> because i need multiple versions installed
<soahccc> sevenseacat: or that :) Don't you like ruby2.0 ? :P
angusigu1ss has quit [Ping timeout: 258 seconds]
<sevenseacat> i dont have any ruby 2.0 apps - i have some 2.1 and more 1.9.3
<sevenseacat> got the last app off 1.8.7 a couple months ago \o/
kaspertidemann has joined #ruby
<lukevinc> how i install irb for ruby2.1.3?
<soahccc> sevenseacat: I meant that you can have multiple rubies but they are getting linked like that
<soahccc> sevenseacat: on ubuntu
msmith_ has joined #ruby
<sevenseacat> yeah thats retarded by ubuntu
<flughafen> anybody here using vim-ruby in vim?
teddyp1cker has joined #ruby
<Mon_Ouie> ddv: No :p I've always been in Belgium.
jerius has joined #ruby
<ddv> Mon_Ouie: Oh ok :)
<lukevinc> damn, hahaha, irb is already installed, thanks everybody, i love you, don't take this personal \o/
<lukevinc> i was typing rbi
<sevenseacat> again??
aganov has quit [Ping timeout: 260 seconds]
<lukevinc> yes
<rg4> you should alias rbi='irb'
<wasamasa> lol
<lukevinc> good suggestion
<lukevinc> i think it's because of ri
pdoherty has joined #ruby
<lukevinc> every tool of ruby starts with r
<wasamasa> "RBI, the legasthenic's favourite Ruby REPL™"
abdulsattar has joined #ruby
<lukevinc> wft is irb?
<Nowaker> alias x='bundle exec'
<Nowaker> my favorite
<sevenseacat> i have `be` aliased for bundle exec
<wasamasa> lukevinc: far from it
mastr_bennett[x] has joined #ruby
zorak8 has joined #ruby
<lukevinc> yes, there's gem tool too, starts with g, jesus
<rg4> lol
<lukevinc> bb fellas.
mastr_bennett[x] has quit [Client Quit]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
<ddv> there is also god-b
<ddv> god-rb
Advocation has joined #ruby
<banister> ddv it was you who wrote IRT right?
<ddv> banister: nope :)
teddyp1cker has quit [Ping timeout: 260 seconds]
doodlehaus has joined #ruby
yfeldblum has joined #ruby
dangerousdave has joined #ruby
AtumT has joined #ruby
Xiti has joined #ruby
abdulsattar_ has joined #ruby
abdulsattar_ has quit [Client Quit]
abdulsattar has quit [Remote host closed the connection]
abdulsattar has joined #ruby
sailias has joined #ruby
andikr has quit [Remote host closed the connection]
elstif has joined #ruby
bricker`LA has joined #ruby
tesaf has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takle has joined #ruby
dangerousdave has joined #ruby
sk87 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
artmann has quit [Remote host closed the connection]
antlong has joined #ruby
antlong_ has joined #ruby
subopt has quit [Remote host closed the connection]
Davedo has quit [Ping timeout: 240 seconds]
antlong is now known as Guest55658
subopt has joined #ruby
fgo has quit [Remote host closed the connection]
shock_one has joined #ruby
jonr22 has joined #ruby
ht__ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
rylev has quit [Remote host closed the connection]
iamjarvo has joined #ruby
Channel6 has joined #ruby
mikepack has joined #ruby
AlexRussia has quit []
ht__th has quit [Ping timeout: 250 seconds]
Davedo has joined #ruby
AlexRussia has joined #ruby
cocotton has quit [Remote host closed the connection]
endash has joined #ruby
benzrf is now known as benzrf|offline
cocotton has joined #ruby
Takle has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
sanguisdex has joined #ruby
Ankhers has joined #ruby
Mia has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
narendraj9 has joined #ruby
rylev has joined #ruby
narendraj9 is now known as Guest65893
<sanguisdex> so I am new to cent and rvm so know that I am missing some basic concept. For some reason when I try too run gem from sudo it can't find the bin file
buub has quit [Ping timeout: 240 seconds]
hiyosi_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LudicrousMango has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
<rg4> try rvm use X.X.X, what is cent btw?
<sevenseacat> presuming centos
zekriad has joined #ruby
pu22l3r has quit [Remote host closed the connection]
gauke has quit [Quit: gauke]
hiyosi_ has quit [Ping timeout: 260 seconds]
pu22l3r has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
whitewalrus has left #ruby ["Leaving..."]
<sanguisdex> yes sorry s/cent/centos/
<rg4> got ya
LudicrousMango has quit [Ping timeout: 250 seconds]
Ankhers has quit [Remote host closed the connection]
shock_one has joined #ruby
cocotton has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
ki0_ has joined #ruby
Kricir has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
enodata has joined #ruby
djdb has joined #ruby
Tony23 has quit []
elstif has quit [Quit: Leaving.]
parduse has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
parduse has quit [Client Quit]
elstif has joined #ruby
hellangel7 has quit [Remote host closed the connection]
tkuchiki has joined #ruby
parduse has joined #ruby
lampd1 has joined #ruby
tjr9898 has quit [Ping timeout: 272 seconds]
parduse has left #ruby [#ruby]
parduse has joined #ruby
klmlfl has joined #ruby
buub has joined #ruby
skolman has quit [Remote host closed the connection]
shackleford has joined #ruby
shackleford has left #ruby [#ruby]
skolman_ has joined #ruby
nettoweb has joined #ruby
wald0 has quit [Quit: Lost terminal]
blueOxigen has quit [Ping timeout: 246 seconds]
Stalkr_ has joined #ruby
joonty has quit [Quit: Leaving]
rostam has quit [Remote host closed the connection]
Ankhers has joined #ruby
ht__ has quit [Read error: Connection reset by peer]
rostam has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
az has quit [Quit: WeeChat 0.4.2]
skolman_ has quit [Ping timeout: 244 seconds]
az has joined #ruby
coderdad has joined #ruby
braincrash has quit [Quit: bye bye]
MrBoolean has quit [Ping timeout: 250 seconds]
skolman_ has joined #ruby
ndrei has quit [Quit: leaving]
rostam has quit [Remote host closed the connection]
ndrei has joined #ruby
workmad3 has joined #ruby
hmsimha_ has joined #ruby
rostam has joined #ruby
WormDrink has quit [Ping timeout: 245 seconds]
braincrash has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
rostam has quit [Remote host closed the connection]
snath has joined #ruby
angusigu1ss has joined #ruby
parduse has quit []
parduse has joined #ruby
krisquigley has joined #ruby
rostam has joined #ruby
AlexRussia has quit [Remote host closed the connection]
slester has joined #ruby
kamilc__ has quit [Quit: Leaving...]
parduse has quit [Client Quit]
robustus is now known as robustus|Off
lampd1 has quit []
parduse has joined #ruby
Gabri has quit []
Tomme has quit [Ping timeout: 272 seconds]
AlexRussia has joined #ruby
diegoviola has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
mferrier has joined #ruby
abdulsattar has quit [Ping timeout: 260 seconds]
Suchit has quit [Quit: Computer has gone to sleep.]
cocotton has joined #ruby
end_guy has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
angusigu1ss has quit [Ping timeout: 245 seconds]
Suchit has joined #ruby
cocotton has joined #ruby
milkohol has joined #ruby
krisquigley has quit [Ping timeout: 244 seconds]
kaspergrubbe_ has quit [Remote host closed the connection]
HelperW has joined #ruby
patrick99e99 has joined #ruby
kaspergrubbe_ has joined #ruby
SilkFox_ has joined #ruby
yfeldblum has joined #ruby
xcv has quit [Remote host closed the connection]
axsuul has joined #ruby
fgo has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
axsuul has quit [Read error: Connection reset by peer]
hiyosi_ has joined #ruby
axsuul has joined #ruby
kobain has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
timonv_ has quit [Remote host closed the connection]
dx7 has joined #ruby
Suchit has quit [Ping timeout: 260 seconds]
end_guy has joined #ruby
timonv_ has joined #ruby
mocfive has joined #ruby
kaspergrubbe_ has quit [Ping timeout: 246 seconds]
dx7 has quit [Remote host closed the connection]
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
janmuffino has quit [Ping timeout: 246 seconds]
shock_one has quit [Quit: Computer has gone to sleep.]
enodata has left #ruby ["Leaving"]
dx7 has joined #ruby
Macaveli has joined #ruby
patrick99e99 has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
fgo has quit [Ping timeout: 258 seconds]
Inhaling_ has joined #ruby
timonv^ has joined #ruby
larissa has quit [Ping timeout: 260 seconds]
jonr22 has quit [Quit: WeeChat 0.4.2]
gsd has joined #ruby
benzrf|offline is now known as benzrf
jonr22 has joined #ruby
jobewan has joined #ruby
timonv_ has quit [Ping timeout: 244 seconds]
IceDragon has joined #ruby
diegoviola has joined #ruby
InhalingPixels has quit [Ping timeout: 240 seconds]
amundj has quit [Ping timeout: 258 seconds]
zorak8 has quit [Ping timeout: 258 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has quit [Ping timeout: 240 seconds]
milkohol has joined #ruby
Xeago has joined #ruby
starkhalo has joined #ruby
timonv^ has quit [Ping timeout: 245 seconds]
rylev has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
hmsimha_ has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
aspires has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
timonv_ has quit [Remote host closed the connection]
Kricir has quit [Read error: No route to host]
Kricir_ has joined #ruby
sevenseacat has quit [Remote host closed the connection]
peta_ has quit [Quit: peta_]
artmann has joined #ruby
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ndrei has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
perrier has quit [Remote host closed the connection]
havenwood has joined #ruby
afhammad has quit []
ndrei has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
AFKGeek has quit [Quit: Leaving]
afhkga has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
lmickh has joined #ruby
fgo has joined #ruby
geggam has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
LudicrousMango has joined #ruby
Advocation has quit [Quit: Advocation]
emocakes__ has quit [Ping timeout: 260 seconds]
Channel6 has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 260 seconds]
alem0lars has quit [Quit: AFK..]
robustus|Off is now known as robustus
robustus is now known as robustus|Off
ndrei has joined #ruby
Inhaling_ has quit [Remote host closed the connection]
WormDrink has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
emocakes has joined #ruby
bizarrosandwich has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
<sheepman> me again ;) whats an elegant way to do this: https://gist.github.com/anonymous/82faea49995ec85a1572
InhalingPixels has joined #ruby
perrier has joined #ruby
xcv has joined #ruby
sevvie has joined #ruby
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bal has quit [Quit: bal]
timonv_ has quit [Remote host closed the connection]
kedare has quit [Quit: WeeChat 0.4.1]
SilkFox_ has joined #ruby
havenwood has quit [Remote host closed the connection]
timonv_ has joined #ruby
<workmad3> sheepman: by using the array directly?
bricker`LA has joined #ruby
msmith_ has quit [Remote host closed the connection]
<workmad3> sheepman: i.e. instead of pcf_comp1 in your code, use compat_modes[0]
<sheepman> yeah i guess, the variable later gets used in a large hash and pcf_comp1 means something in my codes context
ducklobster has quit [Ping timeout: 246 seconds]
<sheepman> but that is a good answer
Takle has joined #ruby
<sheepman> in fact your right, thanks workmad3
Macaveli has quit [Ping timeout: 245 seconds]
<sheepman> :)
<workmad3> sheepman: maybe the array should be called 'pcf_comp' or 'pcf_comps'? ;)
vsipuli has joined #ruby
<sheepman> exactly my thoughts too
kaspergrubbe_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
treehug88 has joined #ruby
msmith_ has joined #ruby
rkalfane has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has quit [Remote host closed the connection]
kate_r_ has quit [Ping timeout: 250 seconds]
lkba has quit [Read error: Connection reset by peer]
timonv_ has quit [Ping timeout: 272 seconds]
alem0lars has joined #ruby
lkba has joined #ruby
baltazore has quit [Remote host closed the connection]
milkohol has joined #ruby
janmuffino has joined #ruby
dc__ has joined #ruby
Suchit has joined #ruby
dc___ has joined #ruby
dc__ has quit [Read error: Connection reset by peer]
kaspergrubbe_ has quit [Ping timeout: 245 seconds]
cym has quit [Ping timeout: 245 seconds]
IceDragon has quit [Ping timeout: 244 seconds]
mferrier has quit []
banister is now known as banisterfiend
qba73 has quit []
baltazore has joined #ruby
IceDragon has joined #ruby
benzrf is now known as benzrf|offline
tkuchiki has quit [Remote host closed the connection]
finitoo has joined #ruby
dc___ has quit [Ping timeout: 260 seconds]
<AlexRussia> >wtf? Show the backtrace of the most recent exception.
<AlexRussia> pretty clear :D
Shoomer has joined #ruby
vsipuli has quit []
oponder_ has joined #ruby
Tricon has joined #ruby
Guest55658 has quit [Quit: Textual IRC Client: www.textualapp.com]
kamilc__ has joined #ruby
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby
oo_ has joined #ruby
fold has joined #ruby
mikepack has joined #ruby
teddyp1cker has joined #ruby
mikepack has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
oponder has quit [Ping timeout: 272 seconds]
teddyp1cker has quit [Client Quit]
benzrf|offline is now known as benzrf
kate_r has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
gregf has quit [Ping timeout: 246 seconds]
Suchit has quit [Ping timeout: 245 seconds]
synergyz has quit [Remote host closed the connection]
coderdad has quit [Remote host closed the connection]
synergyz has joined #ruby
yfeldblum has joined #ruby
Shoomer has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
gregf has joined #ruby
Tricon has quit [Quit: Leaving...]
zeroNones has joined #ruby
skolman_ has quit [Remote host closed the connection]
audy has quit [Quit: bye]
perrier has quit [Remote host closed the connection]
skolman_ has joined #ruby
rubie has joined #ruby
shock_one has joined #ruby
Scripore has quit [Ping timeout: 258 seconds]
AFKGeek has joined #ruby
cubeport has joined #ruby
perrier has joined #ruby
mastr_bennett[x] has joined #ruby
abuzze_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
angusigu1ss has quit [Ping timeout: 245 seconds]
robustus|Off is now known as robustus
mastr_bennett[x] has quit [Client Quit]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 258 seconds]
skolman_ has quit [Ping timeout: 246 seconds]
skammer has quit [Ping timeout: 272 seconds]
AFKGeek has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
iiiinzg has joined #ruby
Tuxero has left #ruby [#ruby]
benzrf is now known as benzrf|offline
rylev has joined #ruby
dc__ has joined #ruby
jonr22 has quit [Quit: WeeChat 0.4.2]
jonr22 has joined #ruby
jonr22 has quit [Client Quit]
douglasssssss has joined #ruby
atmosx has joined #ruby
jonr22 has joined #ruby
TeresaP has joined #ruby
fsapo has quit [Ping timeout: 258 seconds]
jcdesimp has joined #ruby
fsapo has joined #ruby
jonr22 has quit [Client Quit]
Guest65893 has quit [Remote host closed the connection]
mikepack has joined #ruby
gsd has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
jottr has joined #ruby
timonv_ has joined #ruby
kil0byte has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
Scripore has joined #ruby
skolman_ has joined #ruby
dc__ has quit [Remote host closed the connection]
jonr22 has joined #ruby
abdulsattar has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
kaspergrubbe_ has joined #ruby
havenwood has joined #ruby
jonr22 has quit [Client Quit]
jonr22 has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
havenwood has quit [Client Quit]
drPoggs has quit [Ping timeout: 260 seconds]
IceDragon has quit [Ping timeout: 244 seconds]
jcdesimp has quit [Ping timeout: 244 seconds]
cubeport has quit [Remote host closed the connection]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
IceDragon has joined #ruby
Scotteh has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
kireevco1 has joined #ruby
fgo has joined #ruby
mpistone has joined #ruby
ghostmoth has joined #ruby
poguez_ has joined #ruby
atmosx has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
troyready has joined #ruby
troyready has quit [Remote host closed the connection]
kireevco has quit [Ping timeout: 245 seconds]
fgo has quit [Read error: No route to host]
elstif has quit [Quit: Leaving.]
fgo has joined #ruby
vinleod has joined #ruby
dblessing has joined #ruby
dblessing has quit [Client Quit]
jcdesimp has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 258 seconds]
kaspergrubbe_ has joined #ruby
rylev has quit []
hamakn has joined #ruby
thomas3141592653 has joined #ruby
jespada has joined #ruby
ndrei has joined #ruby
rippa has joined #ruby
nerofox has joined #ruby
mikepack has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 258 seconds]
nerofox has left #ruby [#ruby]
circ-user-jeVXz has joined #ruby
baltazore has quit [Remote host closed the connection]
kaspergrubbe_ has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TeresaP has quit [Quit: TeresaP]
dANO has quit []
mikecmpbll has quit [Ping timeout: 258 seconds]
InhalingPixels has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
crazydiamond has quit [Ping timeout: 260 seconds]
zeroNones has joined #ruby
Wolland has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
nettoweb has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
Rollabunna has joined #ruby
kate_r has quit [Read error: Connection reset by peer]
Wolland_ has joined #ruby
cndiv has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
Nieralyte has joined #ruby
kate_r has joined #ruby
wjimenez5271 has joined #ruby
Soda has joined #ruby
robustus is now known as robustus|Off
andrewjanssen has joined #ruby
dumdedum has quit [Quit: foo]
mikepack has joined #ruby
arup_r has joined #ruby
aspires has quit []
krisquigley has joined #ruby
Wolland_ has quit [Remote host closed the connection]
bricker`work has joined #ruby
jespada has quit [Ping timeout: 245 seconds]
enebo has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
shock_one has joined #ruby
klmlfl has quit [Remote host closed the connection]
ki0_ has quit [Ping timeout: 272 seconds]
oponder_ has quit [Remote host closed the connection]
emmesswhy has joined #ruby
GluonQuark has quit [Quit: Leaving]
yfeldblum has joined #ruby
pen has joined #ruby
shock_one has quit [Ping timeout: 246 seconds]
vsipuli has joined #ruby
jespada has joined #ruby
<rubie> hi all: i have a quick question, was wondering how to get strings out of an array then join them here is the problem https://gist.github.com/gabrie30/b716a9ebc6dbfd542f9c
andrewjanssen has quit [Quit: Leaving...]
yfeldblum has quit [Ping timeout: 244 seconds]
SilkFox_ has joined #ruby
<apeiros> rubie: there's no point in calling shuffle multiple times
<apeiros> oh… wait… what?
shackleford has joined #ruby
<apeiros> final << k.shuffle # why do you do this? do you want 100 differently shuffled arrays in final?
ghr has quit [Ping timeout: 244 seconds]
<apeiros> ah. should have read the comment on top first I guess. sorry :)
<rubie> well i figured after it goes through 100 times it will have eventually gotten all of the different combinations out of the way
angusigu1ss has joined #ruby
<apeiros> rubie: k.shuffle returns an array. you can turn it to a String by using Array#join, like this: k.shuffle.join("")
iiiinzg has quit [Ping timeout: 260 seconds]
<rubie> what does actually do -- the "" in the join
<rubie> that*
Hobogrammer has joined #ruby
<apeiros> it tells join with which string to join the elements
Derander_ is now known as Derander
SilkFox_ has quit [Ping timeout: 246 seconds]
<apeiros> >> [1,2,3].join("")
<eval-in_> apeiros => "123" (https://eval.in/199058)
<apeiros> >> [1,2,3].join(" hello ")
<eval-in_> apeiros => "1 hello 2 hello 3" (https://eval.in/199059)
<apeiros> >> [1,2,3].join(",")
<eval-in_> apeiros => "1,2,3" (https://eval.in/199060)
InhalingPixels has joined #ruby
shackleford has quit [Ping timeout: 240 seconds]
MaciejCzyzewski has joined #ruby
uber is now known as Guest71879
Guest71879 has quit [Killed (morgan.freenode.net (Nickname regained by services))]
jcdesimp has quit [Remote host closed the connection]
uber_ has joined #ruby
uber_ has quit [Max SendQ exceeded]
_maes_ has joined #ruby
carraroj has joined #ruby
Scripore has quit [Ping timeout: 246 seconds]
<rubie> i still dont understand the "" notation
atmosx has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 258 seconds]
uber has joined #ruby
uber has quit [Max SendQ exceeded]
<rubie> does it mean -- join the items that dont have any space
angusigu1ss has quit [Ping timeout: 260 seconds]
<tobiasvl> no
<tobiasvl> join these items using the empty string
uber has joined #ruby
uber has quit [Max SendQ exceeded]
deric_skibotn has joined #ruby
circ-user-jeVXz has quit [Remote host closed the connection]
<tobiasvl> it's the same as giving no argument I guess
<rubie> what is an "empty string"
uber has joined #ruby
uber has quit [Max SendQ exceeded]
terlar has quit [Ping timeout: 258 seconds]
roolo has quit [Quit: AAAAaaaaAAAAAAA]
<tobiasvl> rubie: "" is an empty string. a string with no characters.
Advocation has joined #ruby
uber has joined #ruby
<rubie> as in a number?
ndrei has joined #ruby
<tobiasvl> what? no
<rubie> join all the one character strings?
baltazore has joined #ruby
jcdesimp has joined #ruby
elstif has joined #ruby
apeiros has quit [Remote host closed the connection]
<tobiasvl> huh?
alem0lars has quit [Quit: alem0lars]
maestrojed has joined #ruby
apeiros has joined #ruby
abdulsattar has quit [Ping timeout: 272 seconds]
alem0lars has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
mattmcclure has joined #ruby
<rubie> [1,2,3].join(" hello ")
<rubie> => "1 hello 2 hello 3"
icarus has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<rubie> i dont see what .join is doing here
bricker`LA has quit [Ping timeout: 272 seconds]
<rubie> how does it know where to put the hello's
<tobiasvl> between the elements
apeiros has quit [Ping timeout: 245 seconds]
<rubie> do do the " represent elements
<rubie> so*
<tobiasvl> you call join on an array. what join does is that it takes each element of the array it was called on (self) and joins them together to a string, using its argument " hello " to join them
<tobiasvl> the " is the string delimiter. you don't know what a string is, do you?
wallerdev has quit [Quit: wallerdev]
<rubie> ohhh hence the name join
<rubie> "being serious"
<wasamasa> pretty shocking that programming languages try naming their methods logically, huh :P
AlexRussia has quit []
qmfnp has joined #ruby
AlexRussia has joined #ruby
<rubie> so its going to add whatever is between the " "
<rubie> between each of the elements of the array
<pontiki> unlike, what, `implode()` ?
* wasamasa implodes
<tobiasvl> rubie: yes. correct.
<rubie> perfect, thanks for staying with me
<wasamasa> pontiki: well, I'm mostly looking at the older generation which had names like PROGN
<wasamasa> pontiki: or TERPRI
ndrei has quit [Ping timeout: 258 seconds]
aspires has joined #ruby
cocotton has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 246 seconds]
krisquigley has quit [Remote host closed the connection]
<AlexRussia> does ruby have something like 'finally' for exceptions?
krisquigley has joined #ruby
<AlexRussia> block code, which be executed in any way, have we exception or no afaik
pen has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
kaspergrubbe_ has joined #ruby
<pontiki> begin-rescue-ensure
timonv_ has joined #ruby
<pontiki> the ensure block will always run
sepp2k has quit [Quit: Konversation terminated!]
mijicd has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
kaspergrubbe_ has quit [Ping timeout: 246 seconds]
<AlexRussia> pontiki: thanks
AlexRussia has quit []
AlexRussia has joined #ruby
jcdesimp has quit [Remote host closed the connection]
abdulsattar has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
enebo has quit [Quit: enebo]
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Advocation has quit [Quit: Advocation]
mocfive has quit [Remote host closed the connection]
elstif has quit [Quit: Leaving.]
Advocation has joined #ruby
mocfive has joined #ruby
fgo has joined #ruby
mkaesz has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
<AlexRussia> proxie: rescue block always should be?
<AlexRussia> pontiki: ^
<AlexRussia> proxie: sorry, typo
Advocation has quit [Client Quit]
enebo has joined #ruby
rubie has quit [Ping timeout: 246 seconds]
shock_one has joined #ruby
krz has quit [Quit: WeeChat 1.0]
mocfive has quit [Ping timeout: 245 seconds]
kaspertidemann has quit []
jcdesimp has joined #ruby
kil0byte has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
SilkFox_ has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jespada has quit [Quit: Leaving]
MaciejCzyzewski has joined #ruby
vsipuli has quit []
fsapo has quit [Remote host closed the connection]
AlexRussia has quit []
TorpedoSkyline has quit [Quit: Textual IRC Client: www.textualapp.com]
axsuul has quit [Ping timeout: 260 seconds]
DarthGandalf has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
Nahra has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
MaciejCzyzewski has quit [Client Quit]
douglasssssss has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SilkFox_ has joined #ruby
Tricon has joined #ruby
DarthGandalf has joined #ruby
rbrs has joined #ruby
AlexRussia has quit [Client Quit]
AlexRussia has joined #ruby
hiall has quit [Ping timeout: 260 seconds]
fold has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
pushnell has joined #ruby
aspires has quit []
robustus|Off is now known as robustus
axsuul has joined #ruby
alem0lars has quit [Quit: alem0lars]
LudicrousMango has quit [Remote host closed the connection]
shackleford has joined #ruby
wallerdev has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
LudicrousMango has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
baltazore has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
mrsolo has joined #ruby
mikepack has joined #ruby
klmlfl has joined #ruby
klmlfl has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
bigkevmcd has quit [Quit: Leaving]
alem0lars has joined #ruby
klmlfl has joined #ruby
klmlfl has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Advocation has joined #ruby
shackleford has quit [Ping timeout: 260 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw_ has joined #ruby
LudicrousMango has quit [Ping timeout: 250 seconds]
matchaw has quit [Ping timeout: 272 seconds]
gsd has joined #ruby
drPoggs has joined #ruby
Nahra has joined #ruby
jcdesimp has quit [Remote host closed the connection]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ptrrr has joined #ruby
micah` has quit [Quit: leaving]
robustus is now known as robustus|Off
jcdesimp has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
ashemark has joined #ruby
<ashemark> Hi everyone
Kricir_ has quit [Remote host closed the connection]
alphaboy has joined #ruby
hooper has joined #ruby
pen has joined #ruby
asbest has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
hmsimha_ has joined #ruby
<ashemark> while line = gets
<ashemark> #do something
<ashemark> ednd
LiohAu_ is now known as LiohAu
sailias has quit [Read error: Connection reset by peer]
pen has quit [Max SendQ exceeded]
carraroj has quit [Ping timeout: 260 seconds]
spicerack has joined #ruby
pen has joined #ruby
<ashemark> when line = gets doesn't return nil, what happens then
Hobogrammer has joined #ruby
<ashemark> does the assignment return true?
<Mon_Ouie> No, 'a = b' will always evaluate to b
<ashemark> so while construes b as true??
mieko has quit []
<Mon_Ouie> So your loop will end when gets returns nil (i.e. at the end of the file).
shinobi_one has joined #ruby
<ashemark> is this specific to ruby only or is it a standard??
kireevco1 has left #ruby [#ruby]
<Mon_Ouie> That's how it works in e.g. C and Java
crazydiamond has joined #ruby
finitoo was kicked from #ruby by Mon_Ouie [privmsg spam]
finitoo has joined #ruby
msmith_ has quit [Remote host closed the connection]
finitoo was banned on #ruby by Mon_Ouie [*!~man50@90.174.4.170]
finitoo was kicked from #ruby by Mon_Ouie [privmsg spam]
axsuul has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
coderdad has joined #ruby
alem0lars has quit [Quit: AFK..]
<ashemark> okay, so whenever there's a non nil value, while continues
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nahra has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ashemark has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.3/20140923175406]]
ashemark has joined #ruby
<ashemark> sorry, connection problem
thagomizer has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
<ashemark> So whenever while receives a non nil value, it continues?
aspires has joined #ruby
pushnell has quit [Quit: pushnell]
<ashemark> doesn't necessarily have too be a boolean?
matchaw_ has quit [Ping timeout: 246 seconds]
chrishough has joined #ruby
elaptics is now known as elaptics`away
angusigu1ss has quit [Ping timeout: 245 seconds]
rezzack has joined #ruby
zeroNones has joined #ruby
MaciejCzyzewski has joined #ruby
tylersmith has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
Wolland has joined #ruby
cocotton has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<ashemark> *to
kate_r_ has joined #ruby
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
kate_r has quit [Ping timeout: 246 seconds]
Wolland has quit [Remote host closed the connection]
shock_one has quit [Quit: Computer has gone to sleep.]
cocotton has joined #ruby
tjbiddle has joined #ruby
cocotton has quit [Remote host closed the connection]
shock_one has joined #ruby
cocotton has joined #ruby
mityaz_ has joined #ruby
cndiv has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
fsapo has joined #ruby
sailias has joined #ruby
mleone has joined #ruby
koderok has joined #ruby
msmith_ has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
shock_one has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maestrojed has joined #ruby
kate_r_ has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
ndrei_ has joined #ruby
kaspertidemann has joined #ruby
kate_r has joined #ruby
benzrf is now known as benzrf|offline
kate_r has quit [Client Quit]
abdulsattar has quit [Ping timeout: 258 seconds]
coderdad has quit [Remote host closed the connection]
koderok has quit [Quit: koderok]
Tricon has joined #ruby
melik has joined #ruby
<Mon_Ouie> Right, anything that's not false or nil is treated as true
ndrei has quit [Ping timeout: 245 seconds]
<ashemark> Mon_Ouie: thanks a ton
ndrei_ has quit [Ping timeout: 260 seconds]
mijicd has quit [Quit: leaving]
ashemark has left #ruby [#ruby]
kirun has joined #ruby
gccostab_ has joined #ruby
jbueza has joined #ruby
alem0lars has joined #ruby
jcdesimp has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
gccostabr has quit [Ping timeout: 272 seconds]
mijicd has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
AlexRussia_ has joined #ruby
shackleford has joined #ruby
shackleford has quit [Remote host closed the connection]
sepp2k has joined #ruby
mocfive has joined #ruby
shackleford has joined #ruby
aspires has quit []
AlexRussia has quit [Ping timeout: 264 seconds]
kil0byte_ has joined #ruby
cndiv has joined #ruby
kil0byte has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
krisquigley has joined #ruby
Takle has joined #ruby
axsuul has joined #ruby
ursooperduper has joined #ruby
MaciejCzyzewski has joined #ruby
rkalfane has joined #ruby
mijicd has quit [Remote host closed the connection]
marr has quit [Ping timeout: 258 seconds]
elstif has joined #ruby
Nahra has joined #ruby
stunder has joined #ruby
rbrs has quit [Remote host closed the connection]
Suchit has joined #ruby
Sawbones has quit []
jcdesimp has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
niklasb has joined #ruby
Takle has quit [Ping timeout: 260 seconds]
GR33NM4CH1N3 has joined #ruby
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
<GR33NM4CH1N3> Hello. Could someone please help me figure out why SASS is throwing an error in my style.css file? Here is the gist. https://gist.github.com/pmeaney/dc03acfe0219ac37a675
yetanotherdave has joined #ruby
douglasssssss has joined #ruby
Scripore has joined #ruby
<GR33NM4CH1N3> I dont have any gem file or anything. Do I need one? I used the sudo terminal command to install sass
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<GR33NM4CH1N3> anyone out there in ruby land?
axsuul has quit [Ping timeout: 272 seconds]
lifenoodles has quit [Ping timeout: 245 seconds]
<GR33NM4CH1N3> helloooo
jcdesimp_ has joined #ruby
<GR33NM4CH1N3> are ruby devs already drunk cuz its Friday?
diegoviola has quit [Quit: WeeChat 1.0]
jcdesimp has quit [Ping timeout: 272 seconds]
chihhsin_cloud has joined #ruby
jbueza has joined #ruby
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby
klmlfl has joined #ruby
ephemerian has quit [Quit: Leaving.]
klmlfl has quit [Remote host closed the connection]
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
klmlfl has joined #ruby
lifenoodles has joined #ruby
GR33NM4CH1N3 has quit [Remote host closed the connection]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GR33NM4CH1N3 has joined #ruby
GR33NM4CH1N3 has quit [Remote host closed the connection]
<wallerdev> lol
SCHAAP137 has joined #ruby
waxjar has quit [Ping timeout: 245 seconds]
mleone has joined #ruby
jcdesimp has joined #ruby
jcdesimp_ has quit [Read error: Connection reset by peer]
waxjar has joined #ruby
ramfjord has joined #ruby
andrewlio has quit [Quit: Leaving.]
Skyler has joined #ruby
Skyler has left #ruby [#ruby]
AlSquire has joined #ruby
GR33NM4CH1N3 has joined #ruby
<GR33NM4CH1N3> Anyone here??????????????
<fennec> nope
shackleford has quit []
cnj has quit [Ping timeout: 260 seconds]
<GR33NM4CH1N3> one person
<GR33NM4CH1N3> jeez
<GR33NM4CH1N3> #Laravel is so much more active
<shevy> lol
<oz> :D
<oz> it's troll-day \o/
<shevy> GR33NM4CH1N3 did you not use gem install
Skyler has joined #ruby
<GR33NM4CH1N3> my bad my bad
angusigu1ss has joined #ruby
cnj has joined #ruby
<shevy> well that is a weird error
<GR33NM4CH1N3> indeed. Do I need a gem file when using sass?
<GR33NM4CH1N3> I wonder what dependencies sass has
enebo has quit [Quit: enebo]
<shevy> I wonder how to use sass
apeiros has joined #ruby
<GR33NM4CH1N3> thought I tried to use "sudo gem install sass"
<shevy> no, you have it installed
<shevy> Fetching: sass-3.4.5.gem (100%)
<shevy> Successfully installed sass-3.4.5
<shevy> Parsing documentation for sass-3.4.5
<shevy> Installing ri documentation for sass-3.4.5
<shevy> I have it installed now as well
doodlehaus has quit [Remote host closed the connection]
peterhellberg has joined #ruby
<GR33NM4CH1N3> haha
<wallerdev> --no-ri --no-rdoc
peterhellberg has quit [Client Quit]
<wallerdev> pls
<shevy> GR33NM4CH1N3 I guess whatever variable you use, it returns some not found path
peterhellberg has joined #ruby
<shevy> wallerdev that requires effort
<shevy> I need to put this somewhere
<IceDragon> shevy: Just open your gemrc and quit being a shevy!
<shevy> I am sitting here in my chair and only copy pasting stuff
<shevy> man, opening a file... it's friday
<shevy> the WEEKEND is there
<wallerdev> thats how i code, just wait for someone in an irc to type out what i want and then copy paste it into our codebase
* IceDragon stares with bloodshot eyes
<GR33NM4CH1N3> I just tried to restart compiler
<GR33NM4CH1N3> I get htis
<GR33NM4CH1N3> sass --watch -l ./css-sass/sass/sass-main.sass :./css-sass/style.css
<GR33NM4CH1N3> >>> Sass is watching for changes. Press Ctrl-C to stop.
<GR33NM4CH1N3> error No such file or directory @ rb_sysopen -
<eval-in_> GR33NM4CH1N3 => /tmp/execpad-be08a98ac3a9/source-be08a98ac3a9:2: syntax error, unexpected '>' ... (https://eval.in/199073)
arup_r has quit [Quit: Leaving.]
<shevy> lol
<shevy> he triggered the bot
<wallerdev> >> bot pls
<GR33NM4CH1N3> nice
<eval-in_> wallerdev => undefined local variable or method `pls' for main:Object (NameError) ... (https://eval.in/199074)
<GR33NM4CH1N3> i am a hax0r
<shevy> real hax0r write stuff from scratch
patrick99e99 has joined #ruby
angusigu1ss has quit [Ping timeout: 240 seconds]
mikepack_ has joined #ruby
ivmx has joined #ruby
shackleford has joined #ruby
starless has joined #ruby
<iamjarvo> how does tryruby.org prevent shelling out?
shevy has quit [Ping timeout: 244 seconds]
mikepack has quit [Ping timeout: 272 seconds]
alphaboy has quit [Ping timeout: 250 seconds]
patrick99e99 has quit [Ping timeout: 258 seconds]
TeresaP has joined #ruby
aspires has joined #ruby
<fennec> dunno, but overriding things like Kernel.system and Kernel.` is fairly easy
<fennec> it might also use strict ulimits
<iamjarvo> fennec i can get those working but %x wouldnt work
<fennec> if I were them I'd do both
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iamjarvo> ulimits -> user limitations?
<fennec> man 3 ulimit
MaciejCzyzewski has joined #ruby
rdark has quit [Quit: leaving]
<peterhellberg> @iamjarvo Did you read the code?
<fennec> actually man 3 isn't the best for that, maybe
<iamjarvo> peterhellberg downloaded the code and bundling now
lifenoodles has quit [Ping timeout: 244 seconds]
<fennec> oh it's just in 'man bash' I guess
<iamjarvo> thanks folks
<peterhellberg> @iamjarvo Ok :) There are some trickery going on in there, didn’t read it all though
<fennec> "Provides control over the resources available to the shell and to processes started by it" such as "you can only have a process for the shell and a process for ruby and if you go past that the call will fail"
russt has joined #ruby
<fennec> also %x is just an alias to Kernel.` -- cf. http://www.ruby-doc.org/core-2.1.2/Kernel.html#method-i-60
MaciejCzyzewski has quit [Client Quit]
jthomp has joined #ruby
cajone has left #ruby [#ruby]
solo_ has joined #ruby
nobitanobi has joined #ruby
<iamjarvo> peterhellberg this repo right?
<Firespirit> does anyone have a heat template that setup a windows server with chef-solo on it?
<peterhellberg> iamjarvo: I think so
<nobitanobi> Hey guys, I have a string and I want to repeat it 5 times putting a breakline '\n' between the repetitions. I have done it this way: 5.times.each.map { 'mystring' }.join('\n')
<nobitanobi> Any way you guys would suggest?
<solo_> What's the best way to run a cli app that's using thor? something like bundle console but to create cli app?
samflores has joined #ruby
<mofai> hello, I am doing a tutorial from this book "Programming Ruby 1.9 & 2.0". With this code: http://pastie.org/9597701
sanguisdex has left #ruby [#ruby]
alem0lars has quit [Quit: AFK..]
lifenoodles has joined #ruby
<mofai> however, got error when I use the original proposed code (commented in the code)
<mofai> arning: you should require 'minitest/autorun' instead.
<mofai> Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
<samflores> which version of Ruby do you have?
<GR33NM4CH1N3> Im going to install ruby 2.1.3, hopefully this helps somehow
<mofai> this: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
mieko has joined #ruby
banister has joined #ruby
<koalallama> nobitanobi: what's wrong with just using this? 5.times.each.map { 'mystring' }.join("\n")
jthomp has quit [Ping timeout: 246 seconds]
<mofai> sorry, the proposed code is uncommented = performed the error.
aspires has quit []
<nobitanobi> koalallama: nothing :)
<nobitanobi> just wondering if you guys had any other way, just for learning purposes
<mofai> The result is ok with the commented code
<samflores> mofai, do you have only this version or are you using something live RVM, rbenv or chruby?
jthomp has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
<mofai> I install ruby via rbenv
<koalallama> nobitanobi: also, 5.times.collect { 'mystring' }.join("\n")
<koalallama> nobitanobi: also, your paste had '\n', which is different from "\n" in my examples.
<nobitanobi> koalallama: I was just looking into that!
<nobitanobi> How come '', adds another \?
<nobitanobi> ' '
shevy has joined #ruby
hellangel7 has joined #ruby
<samflores> that's weird. 2.1.2 is supposed to have minitest built-in
Tomme has joined #ruby
<samflores> what does `gem list minitest` tells you?
mikepack_ has quit [Remote host closed the connection]
gizmore has joined #ruby
<gizmore> the garbage collector never runs with 2.0 ?
<mofai> samflores, actually I corrected above, using minitest is fine (no error). only when I got error when using the original code from the book (require 'test/unit')
<samflores> oh
<mofai> sorry for confusing
doodlehaus has joined #ruby
<mofai> samflores: gem list minitest => ***LOCAL GEMS*** minitest (5.4.1, 4.7.5)
<samflores> wait, the original code requires "test/unit", but when you run it complains about minitest?
<samflores> which command are you using to execute it?
fgo has joined #ruby
solo_ has quit [Quit: Leaving...]
<mofai> the original code is using "test/unit". I got error. Then I changed to "minitest/autorun" without error
<koalallama> nobitanobi: ' treats \n as a literally \ and n. " escapes the \n to the actual new line value
<nobitanobi> koalallama: great. My Capybara test is passing now
<nobitanobi> :)
<nobitanobi> thanks ~
<samflores> mofai: m'kay. which error?
<nobitanobi> I was filling multiple line text area
<mofai> samflores: the command i used: "ruby file_name.rb"
<koalallama> no problem
<mofai> Warning: you should require 'minitest/autorun' instead.
<mofai> Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
HelperW has quit [Quit: Computer has gone to sleep.]
<mofai> samflores: actually it's longer, let me do pastie
HelperW has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
<mofai> samflores: this is the full error message from terminal: http://pastie.org/9597725
robustus|Off has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby
emmesswhy has quit [Quit: Leaving]
akkad has quit [Ping timeout: 272 seconds]
HelperW has quit [Ping timeout: 260 seconds]
<samflores> try uninstalling minitest 5.4.1
lagweezle has joined #ruby
Soda has quit [Remote host closed the connection]
lagweezle has quit [Changing host]
lagweezle has joined #ruby
robustus|Off has joined #ruby
<samflores> I guess new new version (5.4.1) is incompatible with the Test::Unit version you have
robustus|Off is now known as robustus
Tuxero has joined #ruby
Xeago has joined #ruby
slester is now known as slester|work
<mofai> samflores: hmm, seems like many gems are dependent to minitest -5.4.1. See this: http://pastie.org/9597737#8
<mofai> samflores: what do you think?
ivmx has quit [Quit: Leaving.]
lifenoodles has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ivmx has joined #ruby
marr has joined #ruby
<samflores> I hve a clean 2.1.2 install. It comes with minitest 4.7.5 and test-unit 2.1.2.0 bundled
<samflores> I installed MT 5.4.1 and got the same error you have
<mofai> i see. let me just uninstall it and see what will happen.
Xeago has joined #ruby
<samflores> try upgrading TU if you can't (don't wanna) remove MT
<mofai> samflores: it works!
<mofai> no error using "test/unit"
akkad has joined #ruby
<samflores> mofai TU-3.0.1 is compatible with MT-5.4.1 \o/
jthomp has quit [Quit: Leaving.]
<shevy> #<Encoding::InvalidByteSequenceError: "\xD6" followed by "C" on UTF-8>
<shevy> :(
<shevy> I don't even use UTF-8!
<mofai> samflores: I see. I got test-unit 2.1.2.0
<samflores> `gem upgrade test-unit` does the trick too (if you keep minitest-5.4.1)
lifenoodles has joined #ruby
<mofai> alright, cool
jthomp has joined #ruby
<mofai> i better use the updated one ya?
mikepack has joined #ruby
<samflores> idk. are you just studing it or this code may reach production?
eat_multi has joined #ruby
<mofai> just studying at this moment
<samflores> (well, test code never reaches production). lol
jonathan_alban has joined #ruby
<jonathan_alban> Hi all
<mofai> lol
<samflores> so, don't bother upgrading. in the real worl you'll use something like Bundler to make sure you have the correct dependencies in your ptoject
<samflores> s/worl/world/
benlieb has joined #ruby
<mofai> ya, you're right
ndrei has joined #ruby
ndrei_ has joined #ruby
<mofai> thanks man
Xeago has quit [Remote host closed the connection]
Scripore has quit [Ping timeout: 244 seconds]
threesixes has joined #ruby
<jonathan_alban> Friday night and here I am taking some time to learn some Ruby
<mofai> i updated both minitest and test-unit. much better. the command produced highlighted results some more
<mofai> lol
jcdesimp has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TieSoul_ has joined #ruby
Xeago has joined #ruby
<samflores> :D
TieSoul_ has quit [Remote host closed the connection]
TieSoul has quit [Ping timeout: 245 seconds]
TieSoul has joined #ruby
centrx has joined #ruby
nobitanobi has quit [Remote host closed the connection]
chipotle has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
Darryl has quit [Quit: Connection closed for inactivity]
startupality has quit [Quit: startupality]
Suchit has quit [Quit: Computer has gone to sleep.]
Suchit has joined #ruby
yfeldblum has joined #ruby
milkohol has joined #ruby
HelperW has joined #ruby
angusigu1ss has joined #ruby
skaflem has quit [Quit: Leaving]
Inhaling_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Suchit has quit [Ping timeout: 244 seconds]
lifenoodles has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
InhalingPixels has quit [Ping timeout: 244 seconds]
HelperW has quit [Ping timeout: 260 seconds]
willbarrettdev has joined #ruby
angusigu1ss has quit [Ping timeout: 260 seconds]
jcdesimp has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<shevy> jonathan_alban go on
benlieb has quit [Quit: benlieb]
chrishough has quit [Ping timeout: 250 seconds]
<jonathan_alban> Hey shevy. no questions just chatting :)
nobitanobi has joined #ruby
<jonathan_alban> To myself. Though I was trying to make conversation :D
mocfive has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
rkalfane has joined #ruby
lifenoodles has joined #ruby
mocfive has joined #ruby
<shevy> k
<shevy> how do you define a class in ruby jonathan_alban
<jonathan_alban> class Classname
<jonathan_alban> end
<centrx> DEFINE_CLASS CLASSNAME
<shevy> excellent
<shevy> and if you wish to subclass from your class?
mocfive_ has joined #ruby
<jonathan_alban> ohh
<jonathan_alban> class ClassName::SubClass
<pipework> negative
<jonathan_alban> other way?
<shevy> well that just defines a class in a namespace
thomas3141592653 has quit [Quit: Connection closed for inactivity]
<shevy> for instance, the above could well mean:
<shevy> class ClassName; class SubClass
<shevy> then you invoke the above via ClassName::SubClass.new
<jonathan_alban> ok
<jonathan_alban> yes ok
<shevy> but this is not a subclass, it is still only a class definition you did there
<a13x212> i'm trying to check if a variable is set and not nil but keep gettiing undefined method for nil:NilClass, if defined?(node['sc_sudo']['addl_groups']).nil?
kenneth has joined #ruby
<pipework> jonathan_alban: The way to subclass is to inherit. The way you most often inherit is with `class MyClass < ParentClass; end`
hmsimha_ has quit [Ping timeout: 245 seconds]
<pipework> a13x212: the sc_sudo attribute is nil
<shevy> a13x212 that is a strange way to use defined?
<shevy> a13x212 are you sure that node.nil? is false ?
<jonathan_alban> Cool get it. You know I've seen that done but never done it
<jonathan_alban> Makes sense
<a13x212> it is not even set
<shevy> well
<shevy> what is the sound of a falling tree
<apeiros> >> defined?({}[:foo][:bar])
<eval-in_> apeiros => nil (https://eval.in/199090)
<shevy> if nobody can hear it
<apeiros> pipework: ^
<pipework> `if node && node.fetch('sc_sudo', {})['addl_groups']`
<apeiros> defined? can handle that
<pipework> apeiros: I'm sure.
<apeiros> though, doesn't make it nice code.
enebo has joined #ruby
kil0byte_ has quit [Remote host closed the connection]
mocfive has quit [Ping timeout: 272 seconds]
Inhaling_ has quit [Remote host closed the connection]
mocfive_ has quit [Ping timeout: 250 seconds]
InhalingPixels has joined #ruby
<apeiros> pipework: I say your conclusion is wrong. node['sc_sudo'] returning nil would not cause the described exception
<apeiros> in fact, nothing in the pasted code would
<pipework> apeiros: It totally could, I just don't see what the method that was called was.
jthomp has quit [Quit: Leaving.]
<apeiros> pipework: to avoid misunderstandings - it could totally what?
jthomp has joined #ruby
jthomp has quit [Client Quit]
aspires has joined #ruby
mastr_bennett[x] has joined #ruby
<pipework> apeiros: I think we both know understand ruby enough to not have to delve into this kind of discussion.
<pipework> If you'd like, I'll admit that your penis is bigger than mine.
<shevy> ok
<shevy> size comparison now
stef_204 has joined #ruby
krisquigley has joined #ruby
<a13x212> here is what i want: if variable is defined do x
<shevy> do(x) if bla
<apeiros> pipework: so your reaction to "you're mistaken" is "you're trying to make a dick comparison!!!"
Nieralyte has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
<apeiros> seriously, what's wrong with you?
<pipework> Lol. What a troll.
<eam> >> "(_)_)"+?=*10+?D
<eval-in_> eam => "(_)_)==========D" (https://eval.in/199092)
<shevy> damn
pipework was kicked from #ruby by apeiros [good bye]
pipework has joined #ruby
Tuxero has quit [Quit: Tuxero]
pipework was banned on #ruby by apeiros [pipework!*@*]
pipework was kicked from #ruby by apeiros [good bye]
<centrx> wow
jthomp has joined #ruby
hellangel7 has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
chrishough has joined #ruby
chrishough has quit [Client Quit]
jds has quit [Quit: Connection closed for inactivity]
GR33NM4CH1N3 has quit [Read error: No route to host]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
<eam> well here's a better one
<eam> >> ([lambda{"(_)_)"+?=*rand(10)+?D}]*10).map(&:call).sort_by &:length
<eval-in_> eam => ["(_)_)D", "(_)_)====D", "(_)_)======D", "(_)_)=======D", "(_)_)=======D", "(_)_)========D", "(_)_)========D", "(_)_)=========D", "(_)_)=========D", "(_)_)=========D"] (https://eval.in/199093)
<eam> this would be a good theme for an intro to ruby book
<centrx> Playboy's Intro to Ruby
<TeresaP> Any of you ever seen this kind of output while using Ruby? I am trying to figure out if it’s the way I installed one of my tools/gems/Ruby itself. ---- DEBUG: Parsing source
<eam> is there a better way to call that lambda?
lolmaus_ has quit [Remote host closed the connection]
einarj has joined #ruby
cocotton has quit [Remote host closed the connection]
<eam> TeresaP: never seen it, what's the context?
oleo is now known as Guest94473
oleo__ has joined #ruby
fgo has joined #ruby
<shevy> TeresaP no idea but you could do a grep -r "DEBUG: Parsing source" in ruby SITE_PATH
<shevy> I am pretty sure it is not standard/core ruby though so it is probably some gem
ItSANgo has joined #ruby
benzrf|offline is now known as benzrf
<TeresaP> I’m executing Ruby code in a Ruby irb
Scotteh has joined #ruby
lifenoodles has quit [Ping timeout: 245 seconds]
<TeresaP> (calabash)
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
oleo__ has quit [Read error: Connection reset by peer]
<TeresaP> When it is trying to convert my commands to ones that work with another framework, I get craptons of output
<shevy> ok
<shevy> what method do you invoke
Xeago has quit [Remote host closed the connection]
<TeresaP> oh dang, it is in there
borkdude has joined #ruby
Wolland has joined #ruby
<borkdude> I am trying to run rake on my Mac, but I get this output: https://www.refheap.com/90732 - what's up with this?
Guest94473 has quit [Ping timeout: 272 seconds]
finitoo has quit [K-Lined]
<TeresaP> RubyMine is crashing now. One sec.
Squarepy has quit [Quit: Leaving]
paulfm has quit []
HelperW has joined #ruby
Wolland_ has joined #ruby
shackleford has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
oleo__ has joined #ruby
Scripore has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
oleo__ is now known as oleo
iajrz has joined #ruby
Scotteh has quit [Ping timeout: 260 seconds]
<iajrz> hey. Anyone knows how to run a pry enabled script in the background with nohup?
lifenoodles has joined #ruby
<benzrf> dong
<benzrf> iajrz: why nohup
shackleford has joined #ruby
<iajrz> benzrf: it's pookie, the bot; I want to leave it on a virtual machine even after I log out
<benzrf> why not use screen
nobitanobi has quit [Remote host closed the connection]
<iajrz> 'cause I don't know how to.
<peterhellberg> iajrz: I’d use tmux or screen
aspires has quit []
skammer has joined #ruby
MaciejCzyzewski has joined #ruby
<iajrz> is there a one-liner for that? reading through the manpages for tmux meanwhile
Wolland has quit [Ping timeout: 272 seconds]
<iajrz> disclaimer: I've never used tmux or screen
momomomomo has joined #ruby
HelperW has quit [Ping timeout: 260 seconds]
Avahey has joined #ruby
<peterhellberg> iajrz: run 'tmux', run your command, detach from tmux. http://www.dayid.org/os/notes/tm.html
einarj has quit [Remote host closed the connection]
<iajrz> tyvm, peterhellberg.
<peterhellberg> tmux might not be installed on your system, if so then you can just use (the older) screen instead.
<momomomomo> screen still works great
mieko has quit [Remote host closed the connection]
<momomomomo> being old doesn’t make code decay
<peterhellberg> Absolutely, it is very stable
<iajrz> it is installed.
<momomomomo> iajrz: what’s your issue, exactly?
<iajrz> and... perfect, beautiful, thanks a lot
<iajrz> already done :) I was working with pookie (IRC bot)
<peterhellberg> iajrz: If you want to attach again then just run 'tmux attach'
<iajrz> wanted to leave it running on the server
<iajrz> great :)
borkdude has left #ruby ["Textual IRC Client: www.textualapp.com"]
<iajrz> oh, another question... the code wasn't running on ruby 1.9 because a method used the form 'def lala(asd: false)', the ':' being the issue
threesixes has quit [Ping timeout: 258 seconds]
<iajrz> is 'def lala(asd= false)' roughly equivalent?
<momomomomo> iajrz: try it
<momomomomo> irb
<momomomomo> is a thing
<peterhellberg> def lala(asd: false) is not a feature in 1.9, named keyword arguments arrived later
Advocation has quit [Quit: Advocation]
Rahul_Roy has joined #ruby
codezomb has joined #ruby
mikepack has quit [Remote host closed the connection]
<iajrz> ok; I've only 1.9 on my server. But, as I'm never going to debug and the option was 'debug: false', that's good enough for me.
<peterhellberg> iajrz: You might be thinking of the 1.9 hash syntax=
<peterhellberg> ?
<centrx> iajrz, the equivalent would be to pass a hash with => syntax
<centrx> iajrz, but the method must be defined to accept a hash, not keyword arguments, but the calling is similar
mikepack has joined #ruby
<TeresaP> <snip>/ruby-2.0.0-p247/gems/rdoc-4.1.1/lib/rdoc/stats/normal.rb: puts "Parsing sources..." if $stdout.tty?
<TeresaP> huh.
txdv has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TeresaP> that’s not it
<TeresaP> here it is:
n_blownapart has joined #ruby
<momomomomo> TeresaP: !ask
<helpa> TeresaP: How to ask good questions and get great answers: http://www.mikeash.com/getting_answers.html
<TeresaP> <snip>/.rvm//rubies/default/lib/ruby/2.0.0/json/common.rb: puts "---- DEBUG: Parsing source #{source} and options #{opts}"
<TeresaP> is helpa a bot?
<momomomomo> !bot
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<peterhellberg> iajrz: So you should use def lala(options = {}), then pass in lala(asd: false), and use it inside the function as options[:asd]
<momomomomo> !bark
<momomomomo> !hello
<helpa> Hello. I am a HELPA 9000 computer. I became operational in #rubyonrails on the 28th of November 2009. My instructor was Ryan Bigg, and he taught me to sing a song. If you'd like to hear it, I can sing it for you.
<centrx> TeresaP, yes
bricker`LA has joined #ruby
<TeresaP> oook… not sure why it’s harassing me about my answer
<iajrz> peterhellberg: here's the offending code
<momomomomo> I asked it to, as you pasted random stuff to the irc channel.
<momomomomo> TeresaP: !code
<helpa> TeresaP: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
<TeresaP> no I didn’t
<TeresaP> I was answering shevy
<iajrz> I supposed it's not written to be 1.9 compliant
willbarrettdev has left #ruby ["Leaving"]
postmodern has joined #ruby
<TeresaP> And my question wasn’t about writing Ruby code.
<peterhellberg> iajrz: You need to install 2.0 to run that code
rubie has joined #ruby
<rubie> hi all: i have a quick question, which is in the comments here https://gist.github.com/gabrie30/35b75c9a19f4bc889c81
<TeresaP> Please feel free to scroll up
<momomomomo> you pasted the beginnings of a strace
<peterhellberg> iajrz: Or even better 2.1.3
<iajrz> Well, I don't have 2.0, and it's running.
<TeresaP> I pasted a query he asked me to run on my command line.
<iajrz> so I guess new features aren't being used a lot?
<momomomomo> right, but you should not paste code / errors to irc directly
<TeresaP> It’s not code.
<TeresaP> It’s a result from a query
<momomomomo> is it not a stack trace?
mollitz has joined #ruby
<TeresaP> No.
<momomomomo> lol
<TeresaP> I did a simple grep.
<TeresaP> It’s not a stack trace.
<momomomomo> from a log?
<TeresaP> No.
<momomomomo> grep from what
timonv_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
<TeresaP> to search the code on my computer for the line I asked about.
<iajrz> I have to bounce... thanks for everything.
nettoweb has quit [Max SendQ exceeded]
iajrz has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<TeresaP> I was answering shevy since he recommended doing that grep.
<momomomomo> common.rb? Would it not make sense that that is then code?
MaciejCzyzewski has joined #ruby
hellangel7 has joined #ruby
yalue has quit [Quit: Leaving]
<TeresaP> what are you asking me
<momomomomo> right, but you can organize your response and paste it to..
<momomomomo> !gist
<helpa> http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.
jottr has quit [Ping timeout: 245 seconds]
<TeresaP> it’s one line.
<TeresaP> And we’ve had about 30 lines talking about it.
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<momomomomo> you’re missing the point
krisquigley has quit [Remote host closed the connection]
<TeresaP> Really? Because I wasn’t pasting code. I was pasting the file that matched the question I asked.
<momomomomo> but carry on
TieSoul has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
<TeresaP> I feel like penis posts are a lot less useful than what I was writing about
nettoweb has quit [Max SendQ exceeded]
<TeresaP> And no one harassed them.
MaciejCzyzewski has quit [Client Quit]
krisquigley has joined #ruby
<momomomomo> I just connected
<TeresaP> I didn't
<momomomomo> neat
zeroNones has joined #ruby
bricker`LA has quit [Ping timeout: 260 seconds]
zeroNones has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
zeroNones has joined #ruby
txdv has joined #ruby
zeroNones has quit [Max SendQ exceeded]
deject3d has joined #ruby
nettoweb has joined #ruby
<shevy> today there is big drama on #ruby ;)
<shevy> and I was off fixing an annoying bug in my interactive ftp client :(
moritzschaefer has quit [Ping timeout: 272 seconds]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
mikepack has quit [Read error: Connection reset by peer]
<momomomomo> what drama?
<shevy> momomomomo man you miss out all the fun today
crazydiamond has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
<shevy> <apeiros> seriously, what's wrong with you?
<shevy> <pipework> Lol. What a troll.
zeroNones has joined #ruby
<shevy> * apeiros has kicked pipework from #ruby (good bye)
zeroNones has quit [Max SendQ exceeded]
<momomomomo> ~_~
dc__ has joined #ruby
<shevy> TeresaP have you tried to run the grep with the leading "DEBUG:" part ?
<TeresaP> shevy I found the offending code
<shevy> YES
<shevy> WHO IS THE CULPRIT
<centrx> OMG
zeroNones has joined #ruby
banister_ has joined #ruby
<shevy> tell
<TeresaP> lol, it’s in /.rvm//rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/json/common.rb
<shevy> json eh
<shevy> I knew nothing good ever comes out of it
yeticry has quit [Ping timeout: 260 seconds]
<TeresaP> yes it’s a simple ‘puts’ with no wrapper for verbose or anything
<TeresaP> I’m not entirely sure how to turn it off
yeticry has joined #ruby
jonmorehouse has joined #ruby
banister has quit [Ping timeout: 258 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
<shevy> you could patch it away directly :)
lifenoodles has quit [Quit: ZNC - http://znc.in]
<shevy> simply edit common.rb
<TeresaP> I think I may :)
<peterhellberg> TeresaP: But the only two puts statements present in common.rb are in Kernel.j and Kernel.jj?
<momomomomo> hmm it’s almost like it would be useful to have common.rb online somewhere
<TeresaP> seriously? I wonder if the file got messed with
<momomomomo> for everyone to view
<shevy> /Programs/Ruby/2.1.3/lib/ruby/2.1.0/json/common.rb
<shevy> /Programs/Ruby/2.1.3/lib/ruby/2.1.0/uri/common.rb
hiall has joined #ruby
<TeresaP> someone woke up on the wrong side of the bed
timonv_ has joined #ruby
<shevy> is this a story about your lazy cat again
Scotteh has joined #ruby
threesixes has joined #ruby
<TeresaP> I guess I must’ve edited the file ages ago for some dumb reason and left the puts in there
<TeresaP> It’s been driving me nuts
n_blownapart has quit []
<TeresaP> Here I thought I had some verbose/debug flag set when I installed something
freerobby has quit [Quit: Leaving.]
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shackleford has quit [Remote host closed the connection]
solo_ has joined #ruby
lifenoodles has joined #ruby
cocotton has joined #ruby
<solo_> Could someone point me to a good guide on handling exception (new to the ruby world)>
<solo_> s*
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
TieSoul has joined #ruby
<solo_> Thanks centrx!
HelperW has joined #ruby
relix has joined #ruby
<centrx> solo_, which points out the super parent Exception called "Exception" used by the RubyMonk example is a good example for learning, but as a matter of style, you should never capture /every possible exception/ willy-nilly, it should be fine-grained
hiall has quit [Quit: hiall]
dc__ has quit [Remote host closed the connection]
hiall has joined #ruby
<solo_> Great, will read RubyMonk first and then the 2nd article.
cocotton has quit [Ping timeout: 245 seconds]
<solo_> Does the ruby community have a defacto tutorial for learning?
<solo_> I went through learn ruby the hard way, but would like some more resources
<centrx> solo_, the de facto book is the Pick-Axe, https://pragprog.com/book/ruby4/programming-ruby
<centrx> solo_, though that's a comprehensive book, may not be what you consider a "tutorial"
<centrx> solo_, the free version is here http://ruby-doc.com/docs/ProgrammingRuby/ but is very old
<solo_> hm okay
<solo_> is it the de facto similar to K&R of C?
MaciejCzyzewski has joined #ruby
<solo_> in the since of, it's the defacto, but don't use it hah :p
patrick99e99 has joined #ruby
<solo_> I don't want to learn the ins and outs, just a quick overview of the best practices.
hiall has quit [Ping timeout: 245 seconds]
HelperW has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
<centrx> solo_,
<MaciejCzyzewski> Hi all, folks!
tvw has quit []
<solo_> centrx: ?
<centrx> solo_, Ruby Koans and Ruby Monk are both interactive tutorials
soulcake has quit [Quit: Quack.]
<centrx> solo_, they start off basic and show good practices
<MaciejCzyzewski> The best way to learn ruby is contributing on github projects...
gauke has joined #ruby
mocfive has joined #ruby
dc__ has joined #ruby
<solo_> Yeah, that's what I'm doing, except it's my own project.
nobitanobi has joined #ruby
soulcake has joined #ruby
<solo_> A lot of the iOS dev community knows ruby, and with this particilar project geared towards them, I figured I'd write it in it :)
<solo_> I like it so far.
shock_one has joined #ruby
gauke has quit [Client Quit]
skammer has quit [Ping timeout: 240 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
alvaro_o has joined #ruby
<solo_> Anyways, thanks for links centrx.
patrick99e99 has quit [Ping timeout: 260 seconds]
LiohAu has quit [Quit: LiohAu]
<centrx> yeah Ruby is awesome
cocotton has joined #ruby
ore0s has joined #ruby
<MaciejCzyzewski> Ruby and C xD
<centrx> Swift has a lot of Rubyisms
<MaciejCzyzewski> ANSI C, heh
<ore0s> so I've got an issue with either rspec or require_relative
<MaciejCzyzewski> ore0s, ok go on.
<solo_> centrx: yep, I like it :)
duncannz has joined #ruby
<ore0s> when I write the code in file "my_solution.rb" my rspec tests fail. when I put my code into the rspec testing file they all pass.
shock_one has quit [Ping timeout: 272 seconds]
GR33NM4CH1N3 has joined #ruby
jonathan_alban has quit [Ping timeout: 245 seconds]
<GR33NM4CH1N3> This is the weirdest shit. Same problem as before: I try to compile SASS file to CSS file. In CSS file, it puts out a bunch of errors. However, it simultaneously creates a .css file w/ same name as main sass file. So, it actually is compiling (in its own default way) and just shooting errors into the CSS file I pointed the compiler at.
jcdesimp has quit [Remote host closed the connection]
flughafen_ has joined #ruby
<ore0s> im using -> require_relative "my_solution" and they are in the same directory. ruby 2.0.0 and rbenv
r0bby_ has joined #ruby
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby
kriskropd has quit [Quit: Lost terminal]
robbyoconnor has quit [Ping timeout: 258 seconds]
mastr_bennett[x] has joined #ruby
andrewlio has joined #ruby
kriskropd has joined #ruby
<jthomp> i've played around with Swift a bit, too. i really like it. definitely feels similar to Ruby
ghostmoth has quit [Quit: ghostmoth]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman_ has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
<peterhellberg> I’ve found that a lot of people say that Swift feels like their favorite language, not sure if that is an entirely good thing.
skolman has joined #ruby
choke has quit [Remote host closed the connection]
<peterhellberg> But hey, as long as it improve on Objective-C then I’m all right with it
carraroj has joined #ruby
<ore0s> why wouldnt that be a good thing
shackleford has joined #ruby
<GR33NM4CH1N3> How do I get SASS to do its default compile mode?
<GR33NM4CH1N3> where it just creates a new .css file of itself
<GR33NM4CH1N3> ??
abdulsattar has joined #ruby
ivmx has left #ruby [#ruby]
danshultz has quit [Quit: ZNC - http://znc.in]
<peterhellberg> ore0s: Features taken from a lot of different languages can make for a language that tries to please everyone equally
skolman has quit [Ping timeout: 246 seconds]
danshultz has joined #ruby
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has quit [Quit: Konversation terminated!]
<GR33NM4CH1N3> fuckyeah my sass is working
<GR33NM4CH1N3> i kicked sass's ass thai guy
emocakes__ has joined #ruby
<GR33NM4CH1N3> mr buddhahead
<GR33NM4CH1N3> you hear that
<ore0s> that makes sense. didnt see it like that before
<GR33NM4CH1N3> buddha loves me the way i troll
<MaciejCzyzewski> lol, typical programmer
<MaciejCzyzewski> at work...
<centrx> Get back to work people!
<MaciejCzyzewski> centrx, where you work?
<centrx> It's always Monday morning if you want to be a WINNAR!
fgo has joined #ruby
<centrx> MaciejCzyzewski, outside
cocotton_ has joined #ruby
emocakes has quit [Ping timeout: 272 seconds]
<MaciejCzyzewski> centrx, on the hammock
<centrx> yes, no sitting, only lying down and standing up
<centrx> this is the way of health
<MaciejCzyzewski> xD
abdulsattar has quit [Ping timeout: 246 seconds]
<jthomp> peterhellberg: understandable. could lead to some weird issues where people expect certain features to behave in certain ways only to find they don't.
<ore0s> i cant wait to start working. gonna start looking for a job in february
angusiguess has joined #ruby
<centrx> ore0s, what happens in February?
<ore0s> i dont know if this is controversial or not, but i graduate from my dev bootcamp
incomprehensibly has quit []
<centrx> cool
<centrx> controversial? is it a jihadi dev bootcamp?
<jthomp> lol i was about to ask the same
<peterhellberg> jthomp: Yep, like .. and ... in Ruby vs Swift :)
fgo has quit [Ping timeout: 240 seconds]
aarkerio has joined #ruby
cocotton has quit [Ping timeout: 272 seconds]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cocotton_ has quit [Ping timeout: 260 seconds]
<MaciejCzyzewski> Haskell rules
<ore0s> idk. some comp sci people on reddit think the new bootcamps == the predecessor to ISIS
gsd has joined #ruby
<ore0s> its DBC (first one of the kind)
phutchins has quit [Ping timeout: 260 seconds]
<jthomp> peterhellberg yep!
yetanotherdave has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
paulfm has quit []
<MaciejCzyzewski> ore0s something for you http://devbootcamp.com/jobs/
aclearman037 has quit []
<MaciejCzyzewski> Aaaaa DBC = dev bootcamp...
tesaf has quit [Quit: Lost terminal]
<ore0s> :) I might try to TA for them if I have to delay my job search. ideally I dont want to delay my job search though
<MaciejCzyzewski> ores0s it's yours https://github.com/devin-liu/devin-liu.github.io?
<ore0s> yeah
<ore0s> wow that is quick. is my old githubname (ore0s) still associated with that account?
livingstn has quit []
jthomp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 245 seconds]
fsapo has quit [Remote host closed the connection]
bmurt has quit []
ndrei_ has quit [Ping timeout: 272 seconds]
douglasssssss has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MaciejCzyzewski> No, of course not. I'm just smart.
deject3d has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
deject3d has joined #ruby
decoponio has quit [Quit: Leaving...]
ndrei_ has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonr22 has quit [Quit: WeeChat 0.4.2]
milkohol has quit [Quit: Textual IRC Client: www.textualapp.com]
russt has quit [Quit: russt]
jxf has joined #ruby
jerius has quit []
freerobby has joined #ruby
MaciejCzyzewski has joined #ruby
<MaciejCzyzewski> Ok. I come back.
<ore0s> your github is like alien language to me
hiyosi_ has quit [Ping timeout: 260 seconds]
linguini has joined #ruby
aarkerio has quit [Quit: Verlassend]
tkuchiki has joined #ruby
<linguini> I'm using ruby 2.1 and trying to use byebug; it is barely functional; is there some magic to make it work, or does it just suck on ruby 2.1?
enebo has quit [Quit: enebo]
almostworking has joined #ruby
<linguini> By suck, I mean: (byebug) help show # INTERNAL ERROR!!! undefined method `to_sym' for ["show"]:Array
TeresaP has quit [Quit: TeresaP]
almostworking has left #ruby [#ruby]
gccostab_ has quit [Quit: ZZZzzz…]
axsuul has quit [Ping timeout: 246 seconds]
MrBoolean has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
Ankhers has quit [Ping timeout: 264 seconds]
kamilc__ has quit [Quit: Leaving...]
<MaciejCzyzewski> linguini? Don't work on 2.1.3... it's unstable
HelperW has joined #ruby
timonv_ has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<MaciejCzyzewski> ore0s, hah
sailias has quit [Quit: Leaving.]
<linguini> MaciejCzyzewski: According to http://www.ruby-doc.org/, Ruby 2.1.3 was the "current official release". Is that incorrect?
HelperW_ has joined #ruby
<linguini> s/was/is/
DrShoggoth has quit [Quit: Leaving]
<peterhellberg> It is the current stable release of Ruby, not aware of any issues so far.
yetanotherdave has joined #ruby
krisquigley has joined #ruby
<peterhellberg> (We’ve seen a nice decrease in memory usage in our production servers since upgrading)
angusiguess has quit [Ping timeout: 245 seconds]
<MaciejCzyzewski> Och. Och. How could I miss that...
<peterhellberg> linguini: Also, there is no to_sym method on instances of Array
HelperW has quit [Ping timeout: 260 seconds]
<MaciejCzyzewski> 'to_sym' for array? It's joke? http://stackoverflow.com/a/4062931
<linguini> peterhellberg: Ah, thanks. Yes, it certainly looks like bugs in byebug. I was hoping for a more efficient way to debug ruby than puts style debugging...
HelperW_ has quit [Read error: No route to host]
mclosson has joined #ruby
HelperW_ has joined #ruby
<peterhellberg> linguini: It would be _crazy_ to implement to_sym on Array before implementing garbage collection of symbols in Ruby.
krisquigley has quit [Ping timeout: 244 seconds]
<peterhellberg> And that will probably not happen before 2.2 if I remember correctly
mikeg has joined #ruby
<linguini> So, are there any good alternatives to byebug? Would I have more luck with it if I downgraded my ruby? Does everybody in ruby just live without a debugger?
chrishough has joined #ruby
<peterhellberg> I put more effort into writing good tests, never been much of a debugger user
<centrx> no debugger works for me
<dfedde> the only debugger I use is a binding.pry now and then
deject3d has quit [Read error: Connection reset by peer]
HelperW_ has quit [Ping timeout: 260 seconds]
deject3d has joined #ruby
<peterhellberg> linguini: What is it you are trying to debug?
<linguini> peterhellberg: rake db:rebuild # does a lot of work, then throws unhandled exception
havenwood has joined #ruby
d2dchat has joined #ruby
<Machetez> 'to_sym' for array why?
<peterhellberg> Ah, and I’m guessing there is no test coverage on that code?
<linguini> I can solve this without a debugger; it's just slower. I would ideally like to get control when the exception is being raised and poke around to look at things.
lolmaus has joined #ruby
TieSoul_ has joined #ruby
<peterhellberg> linguini: Did you try using binding.pry?
lolmaus has quit [Client Quit]
lolmaus has joined #ruby
lolmaus has quit [Client Quit]
lolmaus has joined #ruby
hiyosi_ has joined #ruby
<peterhellberg> (Not sure how well that would work though)
<linguini> peterhellberg: No; does it get control when an exception is raised? Or do I need to cause it to be invoked at the right time?
TieSoul has quit [Ping timeout: 245 seconds]
zvlex has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deject3d has quit [Ping timeout: 245 seconds]
lolmaus has quit [Client Quit]
pu22l3r_ has joined #ruby
lolmaus_ has joined #ruby
<peterhellberg> I think the only way is to cause it to be invoked at a specific point in the code.
deject3d has joined #ruby
<peterhellberg> Not certain though
<linguini> peterhellberg: Ah. byebug can do that too (without crashing!)
<tobiasvl> weekly strike isn't matchmaking right? fireteam only?
<peterhellberg> linguini: https://github.com/ConradIrwin/pry-rescue <- Something like this maybe?
larsam has joined #ruby
angusiguess has joined #ruby
pu22l3r has quit [Ping timeout: 250 seconds]
<linguini> peterhellberg: Yes, that looks useful! Come to think of it, I've used pry-rescue in tests before. Unfortunately, I dislike pry, but maybe I should just get used to it.
lolmaus_ has quit [Read error: Connection reset by peer]
<havenwood> linguini: what do you dislike?
<MaciejCzyzewski> pry-rescue +1
lolmaus has joined #ruby
hiyosi_ has quit [Ping timeout: 250 seconds]
lolmaus_ has joined #ruby
mikeg has quit [Remote host closed the connection]
gccostabr has joined #ruby
<linguini> havenwood: I find it awkward. It has too many commands. It assumes you are working in a terminal. Probably all my own resistance to spending time learning it.
slester|work has quit [Quit: slester|work]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiall has joined #ruby
<havenwood> linguini: You can remove all the commands. Maybe remove all but one and slowly add them back? I am working in a terminal, so that is nice for me. :P
<centrx> 2008-05-31 patchlevel 0
<havenwood> pop quiz?!
<centrx> wrong channel :(
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> ah, not jepardy boo
lolmaus has quit [Ping timeout: 272 seconds]
<centrx> What is, Jeopardy?
axsuul has joined #ruby
gsd has joined #ruby
nicksanford has joined #ruby
xcv has joined #ruby
zvlex has quit [Quit: Leaving]
hiall has quit [Client Quit]
hmsimha_ has joined #ruby
jcdesimp has joined #ruby
hiall has joined #ruby
BackEndCoder_ has quit [Ping timeout: 272 seconds]
choke has joined #ruby
nicksanford has quit [Quit: WeeChat 1.0]
mocfive has quit [Remote host closed the connection]
fgo has joined #ruby
parduse has quit []
nicksanford has joined #ruby
mocfive has joined #ruby
BackEndCoder has joined #ruby
andrewlio has quit [Quit: Leaving.]
emmesswhy has joined #ruby
skammer has joined #ruby
parduse has joined #ruby
parduse has quit [Client Quit]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Guest81638 has joined #ruby
ore0s has quit [Ping timeout: 246 seconds]
fgo has quit [Ping timeout: 250 seconds]
Guest81638 has quit [Client Quit]
mocfive has quit [Ping timeout: 260 seconds]
hiall has quit [Ping timeout: 250 seconds]
deject3d_ has joined #ruby
Guest2302 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
axsuul_ has joined #ruby
adac has quit [Ping timeout: 245 seconds]
deject3d has quit [Ping timeout: 258 seconds]
c107 has joined #ruby
r0bby_ has quit [Ping timeout: 246 seconds]
hiall has joined #ruby
Guest2302 has quit []
deric_skibotn has quit [Ping timeout: 250 seconds]
hiall has quit [Client Quit]
elstif has quit [Quit: Leaving.]
axsuul has quit [Ping timeout: 240 seconds]
elstif has joined #ruby
mijicd has joined #ruby
elstif has quit [Client Quit]
Guest33022 has joined #ruby
Guest33022 has quit [Client Quit]
deric_skibotn has joined #ruby
skammer1 has joined #ruby
treehug88 has quit []
parduse has joined #ruby
shackleford has quit []
hmsimha_ has quit [Ping timeout: 272 seconds]
existensil has joined #ruby
skammer has quit [Ping timeout: 250 seconds]
wldcordeiro has quit [Quit: Leaving]
kireevco has joined #ruby
mijicd has quit [Remote host closed the connection]
banister has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister_ has quit [Ping timeout: 272 seconds]
ikawnoclast has left #ruby ["PART #freebsd-src :QUIT :Leaving."]
pu22l3r has joined #ruby
szuletett has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
HelperW_ has joined #ruby
jthomp has joined #ruby
pu22l3r_ has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Stalkr_ has quit [Quit: Leaving...]
nettoweb has joined #ruby
IceDragon has joined #ruby
pu22l3r has quit [Ping timeout: 260 seconds]
nettoweb has quit [Max SendQ exceeded]
pdoherty has quit [Quit: pdoherty]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
yetanotherdave has quit [Read error: Connection reset by peer]
antlong_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jobewan has quit [Quit: Leaving]
nettoweb has joined #ruby
HelperW_ has quit [Ping timeout: 246 seconds]
carif has joined #ruby
HelperW_ has joined #ruby
jfran has joined #ruby
jthomp has quit [Ping timeout: 244 seconds]
deject3d_ has quit [Quit: Computer has gone to sleep.]
yetanotherdave has joined #ruby
Wolland_ has quit [Remote host closed the connection]
bmurt has joined #ruby
carif has quit [Ping timeout: 260 seconds]
shredding has joined #ruby
d2dchat has quit [Remote host closed the connection]
HelperW_ has quit [Ping timeout: 260 seconds]
<gizmore> lesbians are gay
chipotle has quit [Quit: cya]
<apeiros> gizmore: reading a dictionary, learning new words?
<gizmore> read: i wish you a nice weekend. Do not get stuck into old habits. try to unite and break the chains
mclosson has quit [Quit: leaving]
<centrx> he's breaking down our preconceptions with the power of linguo
<apeiros> tomorrow we'll learn that water is wet
<gizmore> >> water.respond_to?(:wetten)
<eval-in_> gizmore => undefined local variable or method `water' for main:Object (NameError) ... (https://eval.in/199120)
slyslick has joined #ruby
starless has quit [Quit: WeeChat 1.0]
<gizmore> question... how many of you know how the giral money works?
ghostmoth has joined #ruby
<centrx> Is that for buying gyros?
hiyosi_ has joined #ruby
<gizmore> it´s for creating money by debt
dkam has joined #ruby
<centrx> Is this an English word?
emmesswhy has quit [Quit: This computer has gone to sleep]
banister is now known as banisterfiend
mocfive has joined #ruby
i8igmac has quit [Ping timeout: 272 seconds]
<centrx> I only get results for "girl money", is that related?
kenndel has quit [Read error: Connection reset by peer]
<apeiros> I don't even know the word. curious whether it's related to giro
parduse has quit []
<gizmore> not sure if it´s a german term
kenndel has joined #ruby
<apeiros> if it's related to giro, then it's greek
<gizmore> [00:43:54] <gizmore> .de-en giralgeld
<gizmore> [00:43:55] <Lamb3> Translation: scriptural
<centrx> fiat money
<gizmore> yep, fiat money
<gizmore> invented money
mary5030 has quit [Remote host closed the connection]
<centrx> The bubbles just keep getting bigger and the party continues!
<gizmore> how many of you care about the system you are trapped in?
<gizmore> how many of you see the unfairness, every day, close their eyes, and never stood up
<apeiros> o0
<centrx> I am not a number!
hiyosi_ has quit [Ping timeout: 260 seconds]
<gizmore> centrx: you are a number, actually you are UID 258 on SID 4
skammer1 has quit [Ping timeout: 258 seconds]
<apeiros> the mechanisms of cash free money transfer and storing is in and of itself not unfair.
<gizmore> it is unfair
<apeiros> but methinks gizmore had one too many and should go to bed
<gizmore> i am just very off-topic here
<apeiros> that too
<gizmore> but i think you guys are a very good representative group to ask such a question
emmesswhy has joined #ruby
ovidnis has joined #ruby
<gizmore> i am worried you never heard of the fiat money unfairness
<gizmore> but lets talk ruby again :) (sorry)
carif has joined #ruby
Inhaling_ has joined #ruby
ndrei_ has quit [Quit: Lost terminal]
ndrei has quit [Quit: Lost terminal]
<gizmore> Ruby question: why is there no trim in String?
<apeiros> gizmore: so you'd prefer to pay your computer with goats?
ndrei has joined #ruby
<apeiros> and your apartment, and your food, and…
jonr22 has joined #ruby
<centrx> This is a good opportunity to mention Goat Simulator
<jhass> gizmore: because it's called strip
<apeiros> I prefer the cat simulator
peterhellberg has quit [Remote host closed the connection]
<gizmore> apeiros: i´d prefer to not worry about people who experience hunger, thirst and death because of the financial system
<apeiros> gizmore: you're confusing things
<gizmore> jhass: strip does not let me choose chars to trim? like 'aabbaa'.trim('a')
<apeiros> being able to not use cash is rather unrelated to people being hungry
<jhass> gizmore: so you want .delete ?
emmesswhy has quit [Client Quit]
<gizmore> jhass: it should return 'bb
<j4jackj> strimming
<gizmore> jhass: whereas 'bbaabb'.ltrim('b') # => 'aabb'
<apeiros> there's indeed no such method. you can use sub/gsub with a fitting regex
parduse has joined #ruby
<gizmore> regex is overused then
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Ping timeout: 245 seconds]
<gizmore> not sure
<eat_multi> gizmore: what about .chomp(string)
<apeiros> gizmore: you can solve your problem or refuse to solve it on idiologic grounds. your decision.
<apeiros> *ideologic
<eat_multi> gizmore: rtrim-esque-ish, I'm sure there's something better
momomomomo has quit [Quit: momomomomo]
<gizmore> my String monkeypatches :S
<apeiros> eat_multi: chomp only returns one. his example shows he wants {0,}
<apeiros> or *
<gizmore> it´s a shame that ruby is so clean and slim
<apeiros> oh wow, that code…
<gizmore> comments on my code are welcome
<centrx> wtf
<gizmore> nice comment! ;P
codecop has quit [Remote host closed the connection]
<centrx> you must be seriously blitzed to write this
<eat_multi> apeiros: true!
fgo has joined #ruby
msmith_ has quit [Remote host closed the connection]
afhammad has joined #ruby
pu22l3r has joined #ruby
<apeiros> eat_multi: thanks for parsing what I wrote to the intended meaning instead of what I actually wrote :D
* apeiros should probably get some sleep too *sob*
<gizmore> centrx: i often need those functions... 'aabbcc'.substr_to('cc') # => 'aabb'
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<gizmore> original function name was substrUntil
<centrx> slice_before?
<wasamasa> "ricer is an IRC bot written in ruby on rails."
<wasamasa> :<
<gizmore> wasamasa: see it in action in #ricergame
maestrojed has quit [Quit: Computer has gone to sleep.]
Inhaling_ has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 250 seconds]
<wasamasa> D:
InhalingPixels has joined #ruby
bigmac has joined #ruby
bigmac is now known as i8igmac
kirun has quit [Quit: Client exiting]
ovidnis has quit [Quit: leaving]
* apeiros now curious whether wasama's D: is due to +o or #ricergame :D
<centrx> good stuff
<centrx> <ricer> gizmore: Usage: jhype [<Id>]. Show a random or specific picture of the famous Jhype hacker girl.
parduse is now known as guest-1111
guest-1111 has quit []
<centrx> now to gain root access...
InhalingPixels has quit [Read error: Connection reset by peer]
kenndel_ has joined #ruby
InhalingPixels has joined #ruby
* apeiros hands centrx a blue shell
parduse has joined #ruby
zenspider has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
cpruitt has quit [Quit: cpruitt]
bruno- has quit [Ping timeout: 240 seconds]
justjealouse has joined #ruby
larissa has joined #ruby
kenndel has quit [Ping timeout: 260 seconds]
Scripore has quit [Ping timeout: 272 seconds]
gregf has quit [Ping timeout: 246 seconds]
Scripore has joined #ruby
tkuchiki has quit [Remote host closed the connection]
emmesswhy has joined #ruby
<wasamasa> apeiros: the +o
wjimenez_ has joined #ruby
<wasamasa> apeiros: I expect bad things to happen when someone puts his hat on
* apeiros now knows how to shock wasamasa :D
gsd has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
jonmorehouse has quit [Ping timeout: 260 seconds]
wjimenez5271 has quit [Ping timeout: 258 seconds]
ndrei has quit [Quit: Lost terminal]
ndrei has joined #ruby
jonr22 has quit [Quit: WeeChat 0.4.3]
jonr22 has joined #ruby
seanosaur has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
zybi1 has quit [Quit: Leaving]
flughafen_ has quit [Quit: WeeChat 0.4.1]
jonmorehouse has joined #ruby
gsd has joined #ruby
krisquigley has joined #ruby
<shevy> wasamasa an IRC bot written in ruby on rails?
<shevy> what the fudge is that?
jthomp has joined #ruby
pu22l3r has quit [Read error: No route to host]
<shevy> I thought the language was ruby
<centrx> shevy, check it ou in #ricergame awesomest place ever
<shevy> that channel name scares me :\
pu22l3r has joined #ruby
<gizmore> i chose rails because the plugins shall be able to offer www stuff too
<gizmore> it was a bad decision, but it´s not like i can change some dependencies
<gizmore> so far it speaks RicerIRC, LibPurple, Websockets, Netcat
<gizmore> whatsapp and twitter is on todo
jonr22 has quit [Ping timeout: 260 seconds]
shredding has quit [Quit: shredding]
InhalingPixels has quit [Remote host closed the connection]
nonmadden has quit [Quit: Leaving...]
linguini has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
InhalingPixels has joined #ruby
pandaant has quit [Remote host closed the connection]
Davedo has left #ruby ["Leaving"]
klmlfl has quit [Ping timeout: 258 seconds]
HelperW_ has joined #ruby
gregf has joined #ruby
<centrx> gizmore, hook in some AI and take over the world
<gizmore> nah
reset has joined #ruby
<rg4> i could a frontend to an IRC bot in rails but otherwise i'm not sure how it works :D
<gizmore> i will just create a network of chatters
<rg4> i could see*
<gizmore> so just in case we are connected somehow
<gizmore> the bots icq address is 697570787
pu22l3r has quit []
jonr22 has joined #ruby
<centrx> ICQ LOL
lmickh has quit [Remote host closed the connection]
banister has joined #ruby
<gr33n7007h> >> [116, 104, 101, 32, 113, 117, 105, 101, 116, 101, 114, 32, 121, 111, 117, 32, 98, 101, 99, 111, 109, 101, 44, 32, 116, 104, 101, 32, 109, 111, 114, 101, 32, 121, 111, 117, 32, 97, 114, 101, 32, 97, 98, 108, 101, 32, 116, 111, 32, 104, 101, 97, 114].pack('C*')
<eval-in_> gr33n7007h => "the quieter you become, the more you are able to hear" (https://eval.in/199129)
HelperW_ has quit [Ping timeout: 260 seconds]
moritzs has joined #ruby
bruno- has joined #ruby
HelperW_ has joined #ruby
marr has quit [Ping timeout: 258 seconds]
<shevy> is there a way to find out the site dir of ruby in a .rb file?
banisterfiend has quit [Ping timeout: 246 seconds]
<shevy> hmmm
<shevy> I found one way
<shevy> require 'rbconfig'; RbConfig::CONFIG['rubylibdir']
<shevy> not sure if this is a good way
danijoo_ has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: Leaving]
danijoo has joined #ruby
<epitron> omg someone's using pookie! :D
<shevy> damn... that is actually not site_ruby/
<epitron> (re: 3 hours ago)
bruno- has quit [Ping timeout: 272 seconds]
HelperW_ has quit [Ping timeout: 260 seconds]
startupality has joined #ruby
tkuchiki has joined #ruby
zorak8 has joined #ruby
<shevy> oh
<shevy> that hash has 'sitelibdir'
jottr has quit [Ping timeout: 250 seconds]
<rubie> anyone know why [*20..1] will not work but [*1..20] will?
InhalingPixels has quit [Remote host closed the connection]
graft_ has quit [Ping timeout: 244 seconds]
<gizmore> >> 'aaa'[*1..2]
<eval-in_> gizmore => "aa" (https://eval.in/199130)
<gizmore> >> 'aaa'[*3..2]
<eval-in_> gizmore => wrong number of arguments (0 for 1..2) (ArgumentError) ... (https://eval.in/199131)
<rubie> my question is why will it make an array going from smallest to largest
<rubie> but not largetst to smallest
<gizmore> rubie: i am guessing here.... the * does flatten/unflatten arrays/params
jottr has joined #ruby
<rubie> even with out it
<rubie> (20..1).to_a
<rubie> will not work but the other way around does
<gizmore> >> def fun(*ars); puts ars.inspect; end; fun *[20, 10]
<eval-in_> gizmore => [20, 10] ... (https://eval.in/199132)
afhammad has quit []
hiyosi_ has joined #ruby
^42 has quit [Ping timeout: 246 seconds]
skammer1 has joined #ruby
<centrx> >> {splat: '*'}
<eval-in_> centrx => {:splat=>"*"} (https://eval.in/199133)
<apeiros> rubie: because (a..b).to_a uses a.succ until it is == b
<apeiros> and there's no way to go from 20 to 1 by using succ
ptrrr has quit [Quit: ptrrr]
snath has quit [Ping timeout: 245 seconds]
jthomp_ has joined #ruby
<rubie> ahhh
<rubie> ok thanks
Snowstormer has joined #ruby
krisquigley has quit [Remote host closed the connection]
dsnow has quit [Quit: leaving]
krisquigley has joined #ruby
hiyosi_ has quit [Ping timeout: 250 seconds]
nfk has quit [Quit: yawn]
skammer1 has quit [Ping timeout: 272 seconds]
magic_ has joined #ruby
jthomp has quit [Ping timeout: 272 seconds]
angusiguess has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
nobitanobi has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 272 seconds]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenspider has joined #ruby
deric_skibotn has quit [Ping timeout: 245 seconds]
kaspertidemann has quit []
parduse has left #ruby [#ruby]
jbueza has joined #ruby
bricker`LA has quit [Ping timeout: 250 seconds]
parduse has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
fgo has joined #ruby
hiyosi_ has joined #ruby
KC9YDN has quit [Quit: In this moment, I am euphoric. Not because of any phony god’s blessing. But because, I am enlightened by my intelligence.]
Photism has joined #ruby
fsapo has joined #ruby
mocfive has quit [Remote host closed the connection]
apeiros has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
Photism_ has quit [Ping timeout: 258 seconds]
mocfive has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
stef_204 has joined #ruby