apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 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
toastynerd has joined #ruby
yeboot has quit [Quit: leaving]
einarj_ has quit [Remote host closed the connection]
nobitanobi has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
bunzz has joined #ruby
mkaesz has joined #ruby
sevvie has joined #ruby
theo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
doodlehaus has quit []
doritostains has joined #ruby
sepp2k1 has joined #ruby
mercwithamouth has joined #ruby
nobitanobi has quit []
mkaesz has quit [Ping timeout: 276 seconds]
mocfive has quit [Remote host closed the connection]
pwh has quit []
astav has quit [Quit: astav]
mocfive has joined #ruby
toastynerd has quit [Remote host closed the connection]
Kerber0s has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 260 seconds]
failshell has joined #ruby
Kerber0s has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars has joined #ruby
Mars is now known as Guest70148
niklas123 has quit [Quit: Leaving]
mocfive has quit [Ping timeout: 272 seconds]
necro has joined #ruby
<necro> Can anyone help me determine why there is a nomethoderror for the use of my any_string argument on line 26 https://gist.github.com/anonymous/9e9b085df79e53505773
dmfranc has quit []
<havenwood> necro: I think you mean `any_string[1..-1]`.
<havenwood> necro: () != []
<havenwood> one is squarer!
<necro> !! thank you
<havenwood> np
<necro> ha, yes distinctly so
<necro> those should be square brackets in my other methdos then as well, first_letter and first_two ?
<necro> methods*
<havenwood> yup, the #[] method
nobitanobi has joined #ruby
JetsekaiYori has quit []
<necro> now it's giving me this error message https://gist.github.com/anonymous/608ab36504fa3e8a2b59
<havenwood> it's syntactically sugary
kireevco has quit [Quit: Leaving.]
dh64 has quit [Quit: Konversation terminated!]
<necro> hm?
<havenwood> necro: you still have?: def translate(any_string)
<havenwood> necro: show your updated code
jottr_ has quit [Ping timeout: 246 seconds]
<havenwood> i don't see where you call translate?
mocfive has joined #ruby
<havenwood> necro: you still have bad any_string()s
<necro> which lines?
<necro> and where should I be calling translate? after the method is defined?
<havenwood> 23
<havenwood> necro: yup, it isn't defined until you define it
<necro> line 23 needs what change?
<nobitanobi> Hey guys, any suggestions on how to improve this? - https://gist.github.com/novito/af8802f3a8b23d13d299 I am trying to find if there is a matching between any of the combinations and the state
<havenwood> necro: being not broken
dh64 has joined #ruby
<necro> sorry I don't udnerstand
<necro> elsif vowels(any_string) == true
tjr9898 has joined #ruby
<havenwood> necro: you still have bad any_string()s
<necro> can you show me what change this line needs ^
<havenwood> necro: oh, nev
<havenwood> nvm
<necro> oh ok
<havenwood> necro: multi-tasking, i skimmed too fast
bdonnahue has joined #ruby
<necro> no problem i appreciae your help
<bdonnahue> hey. im on centos 7 and im trying to gem install fpm
<bdonnahue> but i get an error
<necro> the method is sufficiently defined, no?
<bdonnahue> ERROR: Could not find a valid gem 'fpm' (>= 0), here is why:
<bdonnahue> Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
tjr9898 has quit [Remote host closed the connection]
einarj has joined #ruby
<havenwood> bdonnahue: Gist the output from?: ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION' and openssl s_client -showcerts -connect rubygems.org:https
mocfive has quit [Ping timeout: 255 seconds]
<havenwood> bdonnahue: Network issue?
<necro> So, havenwood, how can I address the latest error? I am doing a tutorial, if that is of any improtance to my question or as to whether or not translate needs to be called
gregf has joined #ruby
<havenwood> necro: Just define it before calling it. Or Gist more code.
<havenwood> i'll be back in a few, but i'm sure plenty of folk around
<necro> thanks
havenwood has quit []
theo has quit [Remote host closed the connection]
Bumptious has quit [Remote host closed the connection]
<necro> can someone take a look at this code and help me understand whats wrong with it or why I am getting an error regarding the number of arguments?
einarj has quit [Ping timeout: 255 seconds]
kirun has quit [Quit: Client exiting]
io_syl has joined #ruby
cdolan has joined #ruby
<centrx> necro, #first_letter is a method with one required argument, yet it is called in #translate with no arguments.
chrishough has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
mocfive has joined #ruby
chrishough has quit [Client Quit]
jhass is now known as jhass|off
IrishGringo has quit [Ping timeout: 245 seconds]
<centrx> Kaplah to the future
bruno- has joined #ruby
cdolan has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
zorak8 has joined #ruby
pwh has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
nfk has quit [Quit: yawn]
chrishough has joined #ruby
<necro> thank you centrix
IrishGringo has joined #ruby
zorak_ has joined #ruby
zorak8 has quit [Quit: Leaving]
zorak_ has quit [Client Quit]
zorak8 has joined #ruby
zorak8 has quit [Client Quit]
cirn0 has joined #ruby
zorak8 has joined #ruby
zorak8 has quit [Client Quit]
<bdonnahue> looks like it may have been a network issue...
zorak8 has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bumptious has joined #ruby
Blizzy has quit [Ping timeout: 264 seconds]
Xaitec has joined #ruby
anshin has joined #ruby
cirn0 has quit [Ping timeout: 276 seconds]
lw has joined #ruby
britneywright has joined #ruby
einarj has joined #ruby
odlox has joined #ruby
ghostmoth has joined #ruby
axsuul has quit [Ping timeout: 255 seconds]
jaake has quit [Ping timeout: 245 seconds]
Blizzy has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
einarj has quit [Ping timeout: 272 seconds]
mkaesz has joined #ruby
nobitanobi has quit []
AzureDiamond has joined #ruby
toastynerd has joined #ruby
mkaesz has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
iamjarvo has joined #ruby
britneywright has quit [Quit: Textual IRC Client: www.textualapp.com]
dorei has quit []
SouL has quit [Ping timeout: 260 seconds]
cajone has quit [Read error: Connection reset by peer]
cajone has joined #ruby
Zesty has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
mesamoo has joined #ruby
sevvie has quit [Quit: leaving]
dapz has joined #ruby
w09x has joined #ruby
wjimenez5271 has joined #ruby
toastynerd has joined #ruby
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby
Xaitec has quit [Remote host closed the connection]
allgood38 has joined #ruby
zeroNones has quit [Read error: Connection reset by peer]
rockdon|away has quit [Ping timeout: 268 seconds]
nobitanobi has joined #ruby
ovoraptor has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
Guest70148 has quit [Remote host closed the connection]
rockdon_ has joined #ruby
sent-hil has quit [Quit: Connection closed for inactivity]
fabrice31 has joined #ruby
lw has quit [Quit: s]
jimms has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
jimms has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
ghr has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
jimms has quit [Remote host closed the connection]
zettam has quit [Read error: Connection reset by peer]
emmesswhy has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
20WABEUDO has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
bruno- has joined #ruby
io_syl has quit []
klmlfl has joined #ruby
niklasb_ has joined #ruby
shock_one_ has joined #ruby
lucianosousa has quit [Quit: lucianosousa]
mgorbach has quit [Quit: ZNC - http://znc.in]
bruno- has quit [Ping timeout: 245 seconds]
mgorbach has joined #ruby
dc__ has quit [Remote host closed the connection]
shock_one_ has quit [Ping timeout: 246 seconds]
20WABEUDO has quit [Quit: Konversation terminated!]
mgorbach has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
dh64 has joined #ruby
melik has joined #ruby
mgorbach has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
w3pm has quit [Quit: This computer has gone to sleep]
mgorbach has quit [Client Quit]
mgorbach has joined #ruby
mgorbach has quit [Client Quit]
mgorbach has joined #ruby
axsuul has joined #ruby
einarj has joined #ruby
toastynerd has joined #ruby
JohnFord has quit [Ping timeout: 260 seconds]
Vile` has joined #ruby
astav has joined #ruby
CuriousMind has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
synergyz has joined #ruby
atmosx has quit [Quit: Lost in trance]
<CuriousMind> join #photoshop
<CuriousMind> whoops sorry.
<CuriousMind> Hello everyone.
mkaesz has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
dc__ has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
necro has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
havenwood has joined #ruby
odlox has quit [Ping timeout: 264 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
Inhaling_ has joined #ruby
lw has joined #ruby
mgorbach has quit [Quit: ZNC - http://znc.in]
fflush has joined #ruby
fflush has quit [Client Quit]
Panicky has quit [Ping timeout: 255 seconds]
mkaesz has quit [Ping timeout: 260 seconds]
mgorbach has joined #ruby
astav has quit [Quit: astav]
mgorbach has quit [Client Quit]
ghostmoth has quit [Quit: ghostmoth]
dc__ has quit [Remote host closed the connection]
mgorbach has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
InhalingPixels has quit [Ping timeout: 252 seconds]
w3pm has joined #ruby
<CuriousMind> centrx: Hi.
mgorbach has quit [Client Quit]
mgorbach has joined #ruby
ghostmoth has joined #ruby
melik has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
PersonX has joined #ruby
sailias has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
mgorbach has quit [Quit: ZNC - http://znc.in]
ghostmoth has joined #ruby
mgorbach has joined #ruby
mgorbach has quit [Remote host closed the connection]
mgorbach has joined #ruby
CpuID has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
postmodern has joined #ruby
havenwood has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
mgorbach has quit [Quit: ZNC - http://znc.in]
tom_ has joined #ruby
tom_ is now known as Guest21509
mgorbach has joined #ruby
<Guest21509> hey guys, anyone know how i would set variables dynamically in an if statement?
Inhaling_ has quit [Remote host closed the connection]
<Guest21509> i am going through a range, 1-5 say, i want to create a player class each loop
Mars has joined #ruby
InhalingPixels has joined #ruby
<Guest21509> each player being player1, player2, player3, etc
Mars is now known as Guest16389
<Guest21509> i want to say something like player*i* = Player.new(blahblah) where is in index
bdonnahue has quit [Ping timeout: 252 seconds]
mgorbach has quit [Client Quit]
bruno- has joined #ruby
wjimenez5271 has quit []
mgorbach has joined #ruby
mgorbach has quit [Remote host closed the connection]
allgood38 has quit [Quit: Leaving]
mgorbach has joined #ruby
Guest16389 has quit [Ping timeout: 268 seconds]
synergyz has quit [Remote host closed the connection]
mgorbach has quit [Client Quit]
bruno- has quit [Ping timeout: 268 seconds]
nobitanobi has quit []
geggam has quit [Quit: relocate]
mgorbach has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
ClarusCogitatio has joined #ruby
PersonX has quit [Ping timeout: 272 seconds]
Vile` has joined #ruby
Scotteh has quit [Ping timeout: 246 seconds]
klmlfl has quit [Remote host closed the connection]
davedev24_ has joined #ruby
W0rmDr1nk has quit [Ping timeout: 264 seconds]
WormDrink has quit [Ping timeout: 268 seconds]
hellangel7 has joined #ruby
sevvie has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
cirn0 has joined #ruby
ARCADIVS has joined #ruby
melik has quit [Ping timeout: 264 seconds]
ghost2060 has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
avita1 has joined #ruby
gh has joined #ruby
cirn0 has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
Heartbroken has joined #ruby
pwh has quit []
braincrash has quit [Quit: bye bye]
Guest21509 has quit [Quit: Leaving]
chipotle has joined #ruby
renier has joined #ruby
WormDrink has joined #ruby
W0rmDr1nk has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
oddalot has joined #ruby
<oddalot> html
<oddalot> fuck
<oddalot> meant to join that channel
<centrx> fail
davedev2_ has joined #ruby
<havenwood> HTML!!!
braincrash has joined #ruby
<oddalot> haven't actually written any ruby in a long long time
<centrx> It's a sign
<oddalot> i pretty much just do front end stuff now
mkaesz has joined #ruby
<oddalot> a sign of what?
renier has quit [Client Quit]
davedev24_ has quit [Ping timeout: 255 seconds]
<centrx> to rejoin the joy of Ruby
<centrx> you didn't really want to join that html channel
<oddalot> ruby is pretty nice
<oddalot> my favorite language by far
<Wolland_> Guest21509 you can set instance variables, aside from that it's somewhat messy
<Wolland_> instance_variable_set("@test#{i}", "some value")
gh has quit [Quit: Leaving]
<oddalot> although javascript is pretty amazing in a weird sort of way
tlarevo_ has joined #ruby
Hobogrammer has joined #ruby
<havenwood> oddalot: just Opal, close your eyes and pretend JavaScript doesn't exist
ghost2060 has quit [Ping timeout: 245 seconds]
<oddalot> javascript pays the bills too
<havenwood> oddalot: http://opalrb.org/
mkaesz has quit [Ping timeout: 245 seconds]
kotk_ has joined #ruby
<oddalot> oh, i don't mind writing javascript, i don't think you would want to write it like ruby
allgood38 has joined #ruby
<oddalot> if you are going to code javascript, code javascript
<oddalot> don't try and make it liek ruby
<havenwood> Coffescript, Opal, Dart, Clojurescript.
pwh has joined #ruby
tlarevo has quit [Ping timeout: 264 seconds]
<havenwood> All better.
<havenwood> In varying degrees.
<havenwood> oddalot: Ought we really subject ourselves?
doritostains has quit [Quit: doritostains]
<havenwood> i blame Stockholm syndrome
<oddalot> better, maybe
<oddalot> i've never tried to write anything but javascript
<oddalot> i have enough problems debugging javascript, i wouldn't want to have another layer to deal with
<havenwood> oddalot: that is another reason for its persistence, i suppose. learning something really well endears you to it for good reason.
<oddalot> well, plus i can read anyones code
kotk has quit [Ping timeout: 264 seconds]
<havenwood> as you could at least as well in Dart or ClojureScript
<havenwood> well, by 'you' i mean 'one'
zarul has quit [Ping timeout: 264 seconds]
<havenwood> with you having particular JavaScript expertise
<havenwood> anyways, there's more than one way to do it ;)
startupality has joined #ruby
mary5030 has joined #ruby
<havenwood> oddalot: question is, end all lines in semi-colons? :O
* havenwood ducks
lidenbrock has joined #ruby
arup_r has joined #ruby
<oddalot> Semi-colons for life!
<oddalot> actually the thing is, I would normally disagree with you, but then
<oddalot> once I started using SASS, I don't think I could go back to just plain CSS
<oddalot> but then again, if you don't know css, i would strongly recommend you just use plain css for a long time before you make the switch
<oddalot> same with javascript
fabrice31 has joined #ruby
<oddalot> thinking you could just learn coffeescript and magically it makes javascript easy might be dangerous, i don't know
Mars has joined #ruby
davedev2_ has quit [Ping timeout: 260 seconds]
Mars is now known as Guest43427
Lewix has joined #ruby
Channel6 has joined #ruby
thomasxie has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
sevvie has quit [Ping timeout: 252 seconds]
compo has joined #ruby
Guest43427 has quit [Remote host closed the connection]
pwh has quit []
melik has joined #ruby
emmesswhy has quit [Quit: Leaving]
davedev24_ has joined #ruby
lidenbrock has quit [Remote host closed the connection]
tlarevo has joined #ruby
startupality has quit [Quit: startupality]
tlarevo_ has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
Heartbroken has quit [Read error: Connection reset by peer]
thomasxie has left #ruby [#ruby]
InhalingPixels has quit [Remote host closed the connection]
zarul has joined #ruby
zarul has quit [Changing host]
zarul has joined #ruby
InhalingPixels has joined #ruby
GinoMan has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
CpuID has joined #ruby
CpuID has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
eivindml has joined #ruby
emocakes has quit [Ping timeout: 240 seconds]
grokdancer has joined #ruby
emocakes has joined #ruby
allgood38 has quit [Ping timeout: 252 seconds]
newsarpk92 has quit [Ping timeout: 246 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
compo has quit [Quit: Leaving]
doritostains has joined #ruby
grokdancer has quit [Quit: Leaving.]
grokdancer has joined #ruby
CpuID has joined #ruby
sinkensabe has joined #ruby
einarj has joined #ruby
synergyz has joined #ruby
mkaesz has joined #ruby
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
mkaesz has quit [Ping timeout: 245 seconds]
_Kerber0s_ has joined #ruby
sevvie has joined #ruby
CorySimmons has joined #ruby
Kerber0s has quit [Ping timeout: 264 seconds]
sailias has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
lw has quit [Quit: s]
Fire-Dragon-DoL has quit [Quit: Leaving.]
duncannz has joined #ruby
InhalingPixels has quit [Ping timeout: 276 seconds]
allgood38 has joined #ruby
grokdancer has quit [Quit: Leaving.]
nucatus_ has joined #ruby
nucatus has quit [Read error: Connection reset by peer]
Mars has joined #ruby
bruno- has joined #ruby
Mars is now known as Guest32982
dodosan has joined #ruby
AzureDiamond has quit [Ping timeout: 255 seconds]
piwhy has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
Kerber0s has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
_Kerber0s_ has quit [Write error: Connection reset by peer]
patrick99e99 has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
astav has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
ghr has quit [Ping timeout: 268 seconds]
Guest32982 has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Bye!]
nucatus has joined #ruby
nucatus_ has quit [Ping timeout: 252 seconds]
nucatus_ has joined #ruby
piwhy has quit [Ping timeout: 269 seconds]
astav has quit [Quit: astav]
toastynerd has joined #ruby
nucatus has quit [Ping timeout: 265 seconds]
avi___ is now known as avi__
Channel6 has quit [Quit: Leaving]
coreycondardo has quit [Quit: coreycondardo]
sleepee has quit [Ping timeout: 245 seconds]
nucatus_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
Rollabunna has joined #ruby
mary5030 has quit [Remote host closed the connection]
einarj has joined #ruby
benzrf is now known as benzrf|offline
diegoviola has quit [Remote host closed the connection]
mkaesz has joined #ruby
<pontiki> is the switch between http: and https: causing this error:
<pontiki> [28] pry(main)> page = open("http://brewtoad.com")
<pontiki> RuntimeError: redirection forbidden: http://brewtoad.com -> https://www.brewtoad.com/
<pontiki> from /Users/tamara/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/2.0.0/open-uri.rb:223:in `open_loop'
troyready has joined #ruby
benzrf|offline is now known as benzrf
tectonic has joined #ruby
benzrf is now known as benzrf|offline
einarj has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby
mkaesz has quit [Ping timeout: 268 seconds]
Wolland_ has quit [Remote host closed the connection]
TheNet_ has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
TheNet has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
cjk101010 has quit [Ping timeout: 250 seconds]
GinoMan has quit [Ping timeout: 268 seconds]
<pontiki> never mind, i see it is.
<pontiki> bummer
echevemaster has quit [Quit: Leaving]
jgrevich has joined #ruby
toastynerd has quit [Remote host closed the connection]
cjk101010 has joined #ruby
fabrice31 has quit [Ping timeout: 268 seconds]
DEA7TH has quit [Remote host closed the connection]
nanoyak has joined #ruby
chrishough has joined #ruby
toastynerd has joined #ruby
bruno- has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
shredding has joined #ruby
oo_ has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
tectonic has quit []
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 1.0]
io_syl has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby
toastynerd has quit []
diegoviola has quit [Client Quit]
diegoviola has joined #ruby
JohnFord has joined #ruby
arup_r has quit [Quit: Leaving.]
tectonic has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Scotteh has joined #ruby
mary5030 has joined #ruby
Vile` has quit [Ping timeout: 246 seconds]
shock_one_ has joined #ruby
Vile` has joined #ruby
linojon has quit [Quit: linojon]
melik has joined #ruby
BraddPitt has quit [Ping timeout: 245 seconds]
Scotteh has quit [Ping timeout: 246 seconds]
Imofftopic has joined #ruby
Imofftopic has quit [Client Quit]
kenneth has joined #ruby
Imofftopic has joined #ruby
Imofftopic has quit [Client Quit]
duncannz has quit [Ping timeout: 268 seconds]
hamakn has joined #ruby
cirn0 has joined #ruby
Wolland has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
kenneth has joined #ruby
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
sinkensabe has joined #ruby
cirn0 has quit [Ping timeout: 246 seconds]
axsuul has joined #ruby
mary5030 has quit [Remote host closed the connection]
mkaesz has joined #ruby
Blizzy has quit [Quit: Leaving]
axsuul has quit [Ping timeout: 245 seconds]
mkaesz has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
havenwood has joined #ruby
BraddPitt has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
chipotle has quit [Quit: cya]
starkhallo has quit [Ping timeout: 240 seconds]
JohnFord has quit [Ping timeout: 268 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 240 seconds]
allgood38 has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
bdonnahue has joined #ruby
einarj has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
einarj has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
charliesome has quit [Quit: zzz]
pierre1_ has quit [Quit: Leaving]
_Kerber0s_ has joined #ruby
starless has quit [Quit: Leaving]
Kerber0s has quit [Ping timeout: 245 seconds]
patrick99e99 has quit [Ping timeout: 268 seconds]
ghr has joined #ruby
amundj has joined #ruby
charliesome has joined #ruby
havenwood has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
ItSANgo has quit [Quit: Leaving...]
havenwood has quit [Ping timeout: 264 seconds]
lxsameer has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
troyready has quit [Ping timeout: 268 seconds]
shock_one_ has quit [Quit: Computer has gone to sleep.]
shock_one_ has joined #ruby
BOKALDO has joined #ruby
guinslym has joined #ruby
nucatus has joined #ruby
guinslym is now known as guinsly
bdonnahue has quit [Ping timeout: 245 seconds]
guinsly is now known as guinslym
fabrice31 has joined #ruby
mateuszz has joined #ruby
decoponio has joined #ruby
ht__th has joined #ruby
Imofftopic has joined #ruby
carraroj has joined #ruby
niklasb_ has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
bousquet has joined #ruby
bruno- has joined #ruby
nucatus has quit [Ping timeout: 255 seconds]
Imofftopic has left #ruby ["Leaving"]
mkaesz has quit [Ping timeout: 272 seconds]
carraroj has quit [Ping timeout: 272 seconds]
ghostmoth has quit [Quit: ghostmoth]
Vile` has quit [Quit: .]
PersonX has joined #ruby
mateuszz has quit [Quit: leaving]
bruno- has quit [Ping timeout: 246 seconds]
ItSANgo has joined #ruby
tvw has joined #ruby
mary5030 has joined #ruby
PersonX has quit [Ping timeout: 245 seconds]
tectonic has quit []
PersonX has joined #ruby
ClarusCogitatio has quit [Ping timeout: 260 seconds]
mary5030 has quit [Ping timeout: 268 seconds]
siwica has quit [Ping timeout: 255 seconds]
shredding has quit [Quit: shredding]
ClarusCogitatio has joined #ruby
MatthewsFace has joined #ruby
banister has joined #ruby
goodenough has quit []
coderhs has joined #ruby
Vile` has joined #ruby
Takle has joined #ruby
shredding has joined #ruby
einarj has joined #ruby
Jackneill has joined #ruby
banjara has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
GriffinHeart has joined #ruby
relix has joined #ruby
shredding has quit [Quit: shredding]
klmlfl has joined #ruby
ghr has joined #ruby
siwica has joined #ruby
PersonX has quit [Ping timeout: 272 seconds]
Lewix has quit [Remote host closed the connection]
jacobat has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
klmlfl has quit [Remote host closed the connection]
havenwood has joined #ruby
bousquet has quit []
bruno- has joined #ruby
TheNet_ has quit [Quit: Leaving...]
sigurding has quit [Quit: sigurding]
mkaesz has joined #ruby
melik has joined #ruby
marr has joined #ruby
PersonX has joined #ruby
cirn0 has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
cirn0 has quit [Ping timeout: 264 seconds]
axsuul has joined #ruby
d3scala has quit [Ping timeout: 245 seconds]
descala has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 276 seconds]
ClarusCogitatio has joined #ruby
carraroj has joined #ruby
arup_r has joined #ruby
zorak8 has quit [Ping timeout: 260 seconds]
PersonX has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 240 seconds]
coderhs has quit [Ping timeout: 252 seconds]
olekenneth has quit [Ping timeout: 276 seconds]
Azzurrio has joined #ruby
darkxploit has quit [Remote host closed the connection]
klmlfl has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
maestrojed has joined #ruby
diegoviola has quit [Remote host closed the connection]
andrewlio has joined #ruby
diegoviola has joined #ruby
JohnBat26 has joined #ruby
carraroj has quit [Ping timeout: 260 seconds]
klmlfl has quit [Remote host closed the connection]
einarj has joined #ruby
klmlfl has joined #ruby
PersonX has joined #ruby
eivindml has joined #ruby
jhass|off is now known as jhass
olekenneth has joined #ruby
klmlfl has quit [Ping timeout: 252 seconds]
coderhs has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
ptrrr has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
<mozzarella> guys
marr has quit [Ping timeout: 245 seconds]
<mozzarella> is there shorter than [].tap { |x| x.delete(0) }
<mozzarella> trying to reduce the "|x| x." part
maestrojed has quit [Quit: Computer has gone to sleep.]
<CuriousMind> Hi mozzarella :)
<mozzarella> hi
ndrei has joined #ruby
<mozzarella> I wish you could do something like [].tap(&:delete, 0)
cina has joined #ruby
<CuriousMind> Ah ruby ruby ruby. This is it.
<CuriousMind> How do I call the bot.
<CuriousMind> How do I call the bot?*
<mozzarella> >> 'this way'
<eval-in____> mozzarella => "this way" (https://eval.in/189616)
ghr has joined #ruby
diegoviola has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
<CuriousMind> mozzarella: thank you
<CuriousMind> >> hi bot
<eval-in____> CuriousMind => undefined local variable or method `bot' for main:Object (NameError) ... (https://eval.in/189617)
<CuriousMind> Whoops.
<CuriousMind> I guess this bot is for doing ruby code.
fabrice31 has joined #ruby
smss1995 has joined #ruby
cina has quit [Quit: Reconnecting]
cina has joined #ruby
<jhass> mozzarella: does it have to be self-modifying?
<mozzarella> jhass: what do yo umean
<CuriousMind> >> money = 2; stealCar = true; dealerBuysCar = true; if (dealerBuysCar == true) && (stealCar == true); money *= 2000; puts "nice business, success"; end
<eval-in____> CuriousMind => nice business, success ... (https://eval.in/189618)
<jhass> mozzarella: is the call allowed to return a new array instead
<mozzarella> jhass: yes
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> then []-[0]
<CuriousMind> >> money = 2; stealCar = true; dealerBuysCar = true; if (dealerBuysCar == true) && (stealCar == true); money *= 2000; puts "nice business, success"; puts "The amount of money earned: #{money}";end
<eval-in____> CuriousMind => nice business, success ... (https://eval.in/189619)
smss1995 has quit [Client Quit]
<jhass> CuriousMind: please use the bot only for demonstration purposes. To share code use gist.github.com, to try things out use your local irb or pry
<mozzarella> damn, I didn't know about that
<CuriousMind> jhass: ah ok, sorry. :(
<CuriousMind> Can't let a monkey swing on a vine. Meh
diegoviola has quit [Remote host closed the connection]
cryptoca_ has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Ping timeout: 268 seconds]
io_syl has quit []
ClarusCogitatio has quit [Ping timeout: 276 seconds]
emmesswhy has joined #ruby
<jhass> btw == true is pretty pointless, just dealer_buys_car && steal_car (note the snake_case too!)
ClarusCogitatio has joined #ruby
<CuriousMind> Does anyone know for how I can check how many times I pushed to a certain repository?
<CuriousMind> I have asked in Github already, I'm just asking.
Deele has joined #ruby
cryptoca has joined #ruby
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby
Mon_Ouie has joined #ruby
<jhass> I don't think git tracks that
w3pm has quit [Quit: This computer has gone to sleep]
<jhass> github may
GriffinHeart has quit [Remote host closed the connection]
<jhass> but looks like only commits
<CuriousMind> jhass: that's what I am asking
<CuriousMind> jhass: How do I find out the amount of times I pushed to a repo online through Github?
<Wolland> do you literally mean "pushed" or do you mean commits?
jgrevich has quit [Quit: jgrevich]
<CuriousMind> Wolland: push to online Github
JBreit has joined #ruby
w09x has quit [Remote host closed the connection]
<jhass> what insight do you want from that data?
<Wolland> commits are tracked of course but pushes are not, only way I can think of is to grep your history but that's limited of course
mikecmpbll has joined #ruby
<CuriousMind> jhass: just the number of times I pushed to a repo? Is that ok?
<Wolland> if you push every time you commit, than it would be the same #
jds has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jacobat has quit [Ping timeout: 268 seconds]
JBreit has left #ruby [#ruby]
Martxel has joined #ruby
oo_ has quit [Remote host closed the connection]
dcoxall has joined #ruby
oo_ has joined #ruby
PersonX has quit [Remote host closed the connection]
PersonX has joined #ruby
ringarin has joined #ruby
dcoxall has quit [Ping timeout: 272 seconds]
PersonX has quit [Max SendQ exceeded]
ringarin has quit [Client Quit]
arup_r has quit [Ping timeout: 245 seconds]
cryptoca has quit [Ping timeout: 272 seconds]
CuriousMind has quit [Quit: Page closed]
arup_r has joined #ruby
cryptoca has joined #ruby
coderhs has quit [Ping timeout: 255 seconds]
tlarevo has joined #ruby
<mozzarella> GUYS
atmosx has joined #ruby
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
axsuul has joined #ruby
<mozzarella> how do I modify a value inside a matrix?
eivindml has joined #ruby
Ideosancrasy has joined #ruby
eivindml has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
Ideosancrasy has quit [Client Quit]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
<mozzarella> "A Matrix instance is (by default) immutable."
<mozzarella> what the fuck man
eivindml has joined #ruby
<jhass> I guess all modifying operations return a new one then?
nfk has joined #ruby
einarj has joined #ruby
<mozzarella> "The designer of class Matrix must have been a fan of immutable data structures and functional programming."
<mozzarella> :di:
<mozzarella> ಠ_ಠ
<Wolland> mozzarella: you can't just do matrix[1,1] = 10 ?
oo_ has quit [Remote host closed the connection]
zarul has quit [Ping timeout: 255 seconds]
<mozzarella> Wolland: no I can't
<Hanmac> you cant modify the matrix or otherwise you cause devajus ,P
emmesswhy has quit [Quit: This computer has gone to sleep]
<Wolland> you can if you are The One
<Hanmac> hm or you are The Other One ;P
jacobat has joined #ruby
<Wolland> mozzarella: there is a way to patch Matrix and add that method
<Wolland> very bottom
<Wolland> aside from that, I guess you can't
PersonX has joined #ruby
Azzurrio has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 268 seconds]
cryptoca has quit [Ping timeout: 260 seconds]
<Hanmac> Wolland: hm the patch is dump ... it might been better to just make the method public instead of private
PersonX has quit [Max SendQ exceeded]
<Wolland> you should open an issue :)
Lewix has joined #ruby
threesixes has quit [Remote host closed the connection]
<mozzarella> it's all retarded bro
<mozzarella> this life is a joke
<mozzarella> someone should beat up the one who came up with that
Lewix has quit [Remote host closed the connection]
<Wolland> there is probably a reason, I am not sure what it is though
ClarusCogitatio has quit [Ping timeout: 264 seconds]
<Wolland> but it's simple enough to fix if you need to
PersonX has joined #ruby
<mozzarella> for now I just export it to an array, modify the array and create another matrix
PersonX has quit [Max SendQ exceeded]
<mozzarella> it's probably been written by a haskell guy ( ͡° ͜ʖ ͡°)
<Wolland> why not use that patch? m[1,1] = 5 looks so much nicer
ClarusCogitatio has joined #ruby
PersonX has joined #ruby
cryptoca has joined #ruby
<Mon_Ouie> Has integer been written by haskell guys? Why is there an Integer#[] but no Integer#[]= to set individual bits?!
melik has quit [Quit: Computer has gone to sleep.]
<apeiros> Mon_Ouie: wondered the same
<Mon_Ouie> Actually, or with sarcasm? Because that cannot be implemented for Fixnums due to how they're represented
<yxhuvvd> right, it is the same argument as the one against ++
havenwood has joined #ruby
<yxhuvvd> I suppose one could argue for a variant that make a copy and set the bit in the copy before returning it
Wolland has quit [Remote host closed the connection]
<yxhuvvd> such a method should probably not use []= though, as that generally speaking has destructive semantics
wallerdev has quit [Quit: wallerdev]
dmfranc has joined #ruby
dmfranc has quit [Max SendQ exceeded]
cryptoca has quit [Ping timeout: 268 seconds]
carraroj has joined #ruby
cryptoca has joined #ruby
cirn0 has joined #ruby
qualiabyte has quit [Quit: Leaving]
Kislik has joined #ruby
thomasxie has joined #ruby
luckyruby has quit [Remote host closed the connection]
thomasxie has quit [Read error: Connection reset by peer]
cirn0 has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
Scotteh has joined #ruby
doritostains has joined #ruby
<apeiros> Mon_Ouie: true. but a method to get an int returned with specific bits set would be nice. using << and | to construct it is IMO cumbersome.
thomasxie has joined #ruby
luckyruby has quit [Ping timeout: 264 seconds]
<Mon_Ouie> Maybe something based on strings would be more convenient to implement that? You'd also be able to mutate the bitset directly too
sleepee has joined #ruby
nucatus has joined #ruby
sleepee has quit [Excess Flood]
AlexRussia has quit [Quit: Leaving]
sleepee has joined #ruby
bruno- has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carraroj has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lxsameer has joined #ruby
BTRE has quit [Quit: Leaving]
mijicd has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
nucatus has quit [Remote host closed the connection]
banister has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
ClarusCogitatio has joined #ruby
phoo1234567 has joined #ruby
Lewix has joined #ruby
bluOxigen has joined #ruby
fabrice31 has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
mijicd has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 276 seconds]
phoo1234567 has joined #ruby
CpuID has joined #ruby
Lewix has quit [Remote host closed the connection]
diegoviola has joined #ruby
mijicd has joined #ruby
mijicd has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 268 seconds]
autochthon has joined #ruby
ghr has joined #ruby
Lewix has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
zettam has joined #ruby
mahtennek has joined #ruby
<mahtennek> hi is there any way i can uninstall my gems or those that are causing conflicts?
lxsameer has quit [Ping timeout: 272 seconds]
<mahtennek> i am getting this error while installing azure gem. .rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:69: warning: Insecure world writable dir /usr/local/heroku/bin in PATH, mode 040777
Lewix has quit [Remote host closed the connection]
rbenv has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has quit [Ping timeout: 252 seconds]
boena has joined #ruby
autochthon has quit [Remote host closed the connection]
<boena> Hi! I have a JSON which contains a field with the string as an regular expression. Is there some way I can search up the JSON-item from a string that matches that expression? The other way around works but I am unable to use it this way.
Lewix has joined #ruby
<jhass> boena: make a gist with input and desired output please
<jhass> mahtennek: seems only to be a warning? though you do probably shouldn't make that directory world writable
zarul has joined #ruby
Lewix has quit [Remote host closed the connection]
<mahtennek> jhass: i have no idea why i am getting that error though.
<jhass> mahtennek: because the mentioned directory is world writable
<mahtennek> it's heroku toolbelt, but i don't think it links to my rubygems anyhow, so i am pretty confused
<mahtennek> jhass: i see. i guess i will remove this
<Hanmac> hey have some one many gems installed and may want to see a dependency tree between them?
DrCode has quit [Remote host closed the connection]
<jhass> mahtennek: chmod og-w
<mahtennek> jhass: to /usr/local/heroku/bin ? gotcha
DrCode has joined #ruby
shevy has quit [Read error: Connection reset by peer]
<boena> jhass: I've tried to switch it around too, but still no luck
sameerynho has quit [Ping timeout: 276 seconds]
<mahtennek> jhass: is there any way to remove this error from showing? it seems to be coming from this ".rvm/gems/ruby-2.0.0-p353/gems/systemu-2.6.4/lib/systemu.rb:34:"
<jhass> boena: what about .find {|translation| translation['message'].start_with? "'this' is not of expected type" }['id']
<boena> jhass: What I am trying to accomplish is that I will get a string sent to me. Try to match it against the 'message'-field in the JSON and parse out the ID
<Hanmac> jhass find may return nil, so you might need to check that too
<jhass> Hanmac: I know
<boena> jhass: The problem is that sometimes the line starts with the regex-variable
<Hanmac> jhass do you currently have many gems installed?
jeroenvisser101 has joined #ruby
<boena> jhass: like the ID: 15112
rbrs has joined #ruby
<jhass> boena: so in the message you get the (.+) is replaced with something?
<boena> yeah exactly
<boena> jhass: It's a variable name
<jhass> boena: .find {|translation| Regexp.new(translation['message']).match user_input }["id"]
<boena> so it could be anything
w09x has joined #ruby
<boena> jhass: I'll try that out :)
Imofftopic has joined #ruby
<Hanmac> jhass: hm use =~ instead of match if you dont need the MatchData object
<jhass> I always type ~= first for some reason ;P
<jhass> wish we had .match?
RandyT has quit [Ping timeout: 240 seconds]
sleepee has quit [Ping timeout: 246 seconds]
startupality has joined #ruby
<Hanmac> jhass: https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a here with that you can visualize your gemtree ... and yes it does shows more than bundler would do
m8 has joined #ruby
sleepee has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
BTRE has joined #ruby
zeroNones has joined #ruby
GriffinHeart has joined #ruby
sleepee has quit [Max SendQ exceeded]
<boena> jhass: That seems to work! Thank alot!
<boena> jhass: I changed to =~ though :)
sundeer has joined #ruby
<boena> jhass: Do you know if creating new Regexp's is bad for performance?
emocakes__ has joined #ruby
<jhass> if you do that a real lot I do would consider doing that once, yeah
sleepee has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<boena> jhass: It's around 10k rows in that JSON, so I guess there would be a maximum of 10k Regexp allocations? Or am I totally wrong?
emocakes has quit [Ping timeout: 260 seconds]
<jhass> if you do one query, yeah
tvw has quit []
<atmosx> In methods, when you deploy begin/rescue you have to explicitly call 'return result(JSON.parse)' ?
<atmosx> Because some of my methods were working without the return statement, now it's kinda required.
<jhass> atmosx: begin / rescue don't change rules of implicit return
<atmosx> jhass: wha are the rules of implicit return, because my methods are changing behavior and I don't understand why
sleepee has quit [Max SendQ exceeded]
<atmosx> never mind I figure it out
<atmosx> the last call
gogohome has joined #ruby
<atmosx> if I add another call even outside the begin/rescue scope I need a return
zmartAway has joined #ruby
<atmosx> if it's the last statement you don't.
zmartAzz has quit [Read error: Connection reset by peer]
<jhass> the last executed statement of a block of code is its value, that's true for methods, ifs, begins and so on
sleepee has joined #ruby
sundeer has quit []
Imofftopic has left #ruby ["Leaving"]
GriffinHeart has joined #ruby
postmodern has quit [Quit: Leaving]
MasterPiece has quit [Quit: Leaving]
theo_ has joined #ruby
sleepee has quit [Max SendQ exceeded]
sleepee has joined #ruby
<Hanmac> atmosx: do you currently have many gems installed?
<atmosx> Hanmac: for my project, or generally speaking?
<atmosx> Hanmac: I'm using rvm
<atmosx> no wait, this proejct is using the default gemset, wait.
marcus_ has joined #ruby
<Hanmac> hm ok in that case i am interested in the biggest gemset if possible
<atmosx> gem list|wc -l => 274
<atmosx> don't know if it's big enough
<atmosx> y?
dideler has joined #ruby
<Hanmac> you can use that https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a you might know it already but i did some changes and fixes about
havenwood has quit [Ping timeout: 264 seconds]
sleepee has quit [Max SendQ exceeded]
w09x has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
sleepee has joined #ruby
heftig has quit [Quit: Quitting]
SCHAAP137 has joined #ruby
lkba has joined #ruby
AndChat| has joined #ruby
einarj has joined #ruby
Lewix has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
Lewix has quit [Remote host closed the connection]
pandaant has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
<atmosx> Hanmac: gemtree.rb:231:in `<main>': undefined method `to_h' for #<Array:0x007f8e72a2d430> (NoMethodError)
<Hanmac> ah yeah older version of Ruby ... hm just replace it with Hash[]
rikai has quit [Ping timeout: 245 seconds]
startupality has quit [Quit: startupality]
rikai has joined #ruby
<atmosx> doesn't work either
GriffinHeart has quit [Remote host closed the connection]
sigurding has joined #ruby
ghr has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
shevy has joined #ruby
startupality has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
emocakes__ is now known as emocakes
dapz has joined #ruby
jacobat has joined #ruby
claymore has joined #ruby
jottr_ has joined #ruby
jeroenvisser101 has quit [Ping timeout: 264 seconds]
startupality has quit [Quit: startupality]
diegoviola has joined #ruby
carraroj has joined #ruby
sectionme has joined #ruby
ItSANgo has quit [Read error: Connection reset by peer]
ItSANg___ has joined #ruby
Blizzy has joined #ruby
<Blizzy> hello. How would I access a module function from inside a Class? note: the module IS NOT inside the class.
<havenwood> Blizzy: ::ModuleName.module_function_name
DaniG2k has joined #ruby
a_ has joined #ruby
<atmosx> havenwood: for this to work, the structure must be module Test; class Test1; end; end ?
<a_> hi guys. When you unit test your database abstraction layer, do you have it communicate with a database?
kenneth has quit [Ping timeout: 260 seconds]
<atmosx> a_: I never wrote tests for AR or Sequel but I can't image this going otherwise. In test environments DBs are SQLite3s usually... so that's not a big problem as I see it
<havenwood> atmosx: It'd work that way, but also other ways.
<atmosx> havenwood: if the module sits in the same file as the class, you can still access it using :: or you have to 'include ModuleName' ?
<atmosx> I mean access the module's methods
<havenwood> my output from Hanmac's gemtree (zoom out) :O http://i.imgur.com/TUEqV5B.jpg
<havenwood> atmosx: The namespace doesn't give it any automagic access.
<jhass> atmosx: in what file or scope the module is defined is basically irrelevant, relevant is if they're instance, singleton methods or module functions
<a_> atmosx: how about when the production DB would be NoSQL, e.g. MongoDB?
<Blizzy> the module is in another file.
<Blizzy> so module is in a.rb. class is in b.rb
cina has quit [Ping timeout: 245 seconds]
<jhass> Blizzy: are you sure that file is loaded when trying to access it?
diegoviola has quit [Ping timeout: 276 seconds]
<Blizzy> well I use 'require ./a.rb' at the top of the b.rb file
DaniG2k_ has joined #ruby
<jhass> Blizzy: show code and real error message
<atmosx> a_: no idea, I've only setup mongodb and Redis, never actually wrote code for NoSQL so far, so I don't know (although I can't imagine the real diff, these db's are extremely easy to setup for testing envs)
DaniG2k has quit [Ping timeout: 264 seconds]
<atmosx> havenwood: Hanmac's rapresentation is cool but not practical (at all).
<havenwood> atmosx: What's impractical about it? I can see I'm missing runtime dep to parser gem since it's a red hexagon!
<havenwood> atmosx: visualize ftw
<atmosx> hahaha
<atmosx> havenwood: I have a hard time following that graph, you can 'see things' ?
DaniG2k_ has quit [Ping timeout: 264 seconds]
<atmosx> Hanmac: what version of ruby are you use to run gemtree? 2.1.2?
cjk101010 has quit [Ping timeout: 246 seconds]
<Hanmac> atmosx: but only because i did exlain to him what the different colors and styles does mean ;P ... yeah that file does need a doc
<Hanmac> atmosx: currently it seems 2.1 ... but i try to backport it to 2.0 and 1.9
<atmosx> nah don't
<havenwood> atmosx: i used the Hanmac reference manual :P
<atmosx> I'll switch and retry
<atmosx> rvm ftw!
DaniG2k has joined #ruby
cjk101010 has joined #ruby
<Hanmac> atmosx: adding missing to_h method https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a with that it should work with older versions too
<atmosx> Hanmac: I'm missing something, I only get a sort hash of headers
<atmosx> digraph inheritance { .. }
OffTheRails has joined #ruby
<atmosx> ah there are options okay let me check
Mon_Ouie has quit [Ping timeout: 272 seconds]
<Hanmac> yeah thats the dot graph ... do draw it use something like that: "./gemtree.rb | dot -Tsvg -oout.svg; eog out.svg"
<atmosx> Hanmac: what package do I need to install for dot? and eog?
<atmosx> I was on the iMac last time I tried and I installed the software there, but now I'm on the laptop :-P
jottr_ has quit [Ping timeout: 260 seconds]
ARCADIVS has quit [Ping timeout: 252 seconds]
cina has joined #ruby
<atmosx> jeez!
<atmosx> I lost the GP lights :-(
* atmosx got carried away by code refactoring
<Hanmac> atmosx: "graphviz: /usr/bin/dot" and for eog you can use any other image viewer
DaniG2k has quit [Ping timeout: 252 seconds]
<Hanmac> (you might swich the T type to png)
w09x has joined #ruby
<a_> atmosx: I was asking as people tend to say 'unit tests should never touch a DB, otherwise they are unit tests'
<a_> "they are integration tests"*
<atmosx> no idea mate
jxs_ has joined #ruby
jottr_ has joined #ruby
j416_ has joined #ruby
j416 has quit [Ping timeout: 245 seconds]
Apocalypse has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
w09x has quit [Ping timeout: 252 seconds]
fabrice31 has joined #ruby
j416_ is now known as j416
sepp2k has joined #ruby
heftig has joined #ruby
aspiers has quit [Ping timeout: 272 seconds]
<jacobat> I have a class that takes an IO object to read from, how do I provide it with an unbuffered IO object so that I don't have to press enter to read from the stream?
aspiers has joined #ruby
<jhass> jacobat: which method do you use to read?
fabrice31 has quit [Ping timeout: 260 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
<jhass> and when you say "press enter", you pass stdin?
zmartAway has quit [Quit: Leaving]
patrick99e99 has joined #ruby
nucatus has joined #ruby
<jacobat> jhass: Let's say I do "IO.copy_stream STDIN, STDOUT" - how do I get the echo on stdout every time I press a key?
<shevy> anyone of you knows a simple way to specifically check if there were changes in the last 3 years to e. g. the ruby cgi module?
czaks is now known as s307
asbest has joined #ruby
cina has quit [Ping timeout: 255 seconds]
parus_ is now known as parus
doritostains has quit [Quit: doritostains]
<jacobat> jhass: Let me read that, thanks
yfeldblum has quit [Ping timeout: 260 seconds]
<waxjar> shevy: git?
avita1 has quit [Quit: Leaving.]
bruno- has quit [Ping timeout: 245 seconds]
<jacobat> jhass: Just what I was looking for, thanks!
Lewix has joined #ruby
zmartAzz has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
<shevy> waxjar hmm is there anywhere this is logged?
Lewix has quit [Remote host closed the connection]
sagittarian_ has joined #ruby
<waxjar> idk, it may be in the change logs as well
nucatus has quit [Ping timeout: 245 seconds]
lxsameer has quit [Quit: Leaving]
ghr has joined #ruby
bluenemo has quit [Quit: Verlassend]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
<shevy> cool
<shevy> it is still alive
ghr has quit [Ping timeout: 252 seconds]
<shevy> and the whole of ruby is too \o/ https://github.com/ruby/ruby/commits/trunk/lib/
freerobby has joined #ruby
pandaant has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 246 seconds]
oo_ has joined #ruby
nfk has joined #ruby
kirun has joined #ruby
TheNet has joined #ruby
benzrf|offline is now known as benzrf
sectionme has quit [Ping timeout: 272 seconds]
odlox has joined #ruby
jacobat has joined #ruby
charliesome has quit [Quit: zzz]
sigurding has quit [Quit: sigurding]
Hanmac has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
odlox has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
ghost2060 has joined #ruby
kaspertidemann has joined #ruby
mahtennek has quit []
niklas123 has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
bruno- has joined #ruby
ghost2060 has quit [Ping timeout: 268 seconds]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
codecop has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
w09x has joined #ruby
lw has joined #ruby
Hanmac has joined #ruby
lw has quit [Max SendQ exceeded]
mijicd has joined #ruby
lw has joined #ruby
gccostabr has joined #ruby
sectionme has joined #ruby
w09x has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
heftig has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
bruno- has quit [Read error: No route to host]
DEA7TH has joined #ruby
JohnFord has joined #ruby
sevenseacat has joined #ruby
dmfranc has joined #ruby
Chunkr has joined #ruby
nfk has quit [Quit: yawn]
einarj has quit [Ping timeout: 276 seconds]
lw has quit [Quit: s]
JohnFord has quit [Ping timeout: 240 seconds]
kotk has joined #ruby
kotk_ has quit [Ping timeout: 255 seconds]
SouL has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
bruno- has joined #ruby
ghr has joined #ruby
mercwithamouth has joined #ruby
nfk has joined #ruby
mahtennek has joined #ruby
SouL has quit [Client Quit]
Takle has quit [Remote host closed the connection]
<mahtennek> hi can someone assist me, i installed 'azure' gem and i have been getting this warning.
<mahtennek> .rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:69: warning: Insecure world writable dir /usr/local in PATH, mode 040777
<mahtennek> everytime i run a ruby file, this will pop up
<mahtennek> i tried to chmod og-w but it still shows up.
<mahtennek> any idea? does it got to do with my rvm?
<jhass> did you notice that the path changed?
<mahtennek> jhass: i removed heroku
<mahtennek> and this was the next
<jhass> besides why is /usr/local/ in your path
SouL has joined #ruby
<mahtennek> i have totally no idea. could you advice me
Fire-Dragon-DoL has joined #ruby
<jhass> well, first let's verify that. What's echo $PATH giving?
freerobby has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
niklas123 has quit [Quit: Leaving]
teleporting_hams has joined #ruby
<jhass> mmh, maybe the parsing logic of something is broken since you simply removed that directory
mercwithamouth has quit [Ping timeout: 246 seconds]
Kislik has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Remote host closed the connection]
<jhass> since you remove the directory you should remove it from PATH too, how you do that on OS X I don't know
Kislik has joined #ruby
<mahtennek> okay let me figure out
<jhass> in any case, /usr/local shouldn't be world-writable either
<mahtennek> yes i have absolutely no idea how tat happened
<mahtennek> so i should chmod og-w again?
<jhass> does OS X chmod now the X option? (man chmod)
<mahtennek> meaning?
<mahtennek> X option?
<jhass> r=read, w=write x=executable X=executable but only on directories
astav has joined #ruby
lucianosousa has joined #ruby
lw has joined #ruby
<mahtennek> yes
<jhass> try chmod -R og-wX /usr/local
<mahtennek> how about 755?
<jhass> 755 is good for directories but not good for files (that should default to 644)
<mahtennek> another question, should /usr/local/bin be part of my env variables?
<jhass> yes
<mahtennek> unable to change file mode
hellangel7 has joined #ruby
<mahtennek> whole lot of errors
<mahtennek> operation not permitted
Takle has joined #ruby
<jhass> well, you need to sudo that since root should own most of these files
Kislik has quit [Ping timeout: 268 seconds]
<mahtennek> oh that's right
<jhass> but actually let's do chmod -R og=rX /usr/local
hellangel7 has quit [Max SendQ exceeded]
<mahtennek> okay let me try
hellangel7 has joined #ruby
<mahtennek> yeah it's finally out of the way
yfeldblum has joined #ruby
<mahtennek> thanks jhass!
<mahtennek> have absolutely no idea how did /usr/local changed its permissions
geggam has joined #ruby
Takle has quit [Remote host closed the connection]
sleepee has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 264 seconds]
lucianosousa has quit [Quit: lucianosousa]
<wasamasa> oh damn you, CSV
<wasamasa> why does it yield arrays when not specifying a header and dictionaries when specifying one
<wasamasa> *hashes
spastorino has joined #ruby
<jhass> wasn't there an option to still get arrays with a header?
bruno- has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
<wasamasa> I'd rather get hashes
<wasamasa> every time
<wasamasa> or wait, there must be an option for that
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 264 seconds]
<jhass> what would be the hash keys?
<jhass> btw those aren't hashes but CSV::Rows
<wasamasa> if it looks like a hash and behaves like a hash, I'll call it a hash
<wasamasa> apparently it's enough to set :headers to true
lucianosousa has joined #ruby
<wasamasa> then it will use the headers of the first row
<jhass> yes
mollitz has joined #ruby
<jhass> or you pass your own header description to it
<jhass> if the file has none
<wasamasa> if you do that, you'll have to skip the original headers if there are any
<jhass> and CSV::Row#[] will transparently lookup by field name or index
sylvanica has joined #ruby
<jhass> sure, there's an option for that too
<wasamasa> where?
dmfranc has quit []
<jhass> meh, I was sure there was
lucianosousa has quit [Client Quit]
avita1 has joined #ruby
zeroNones has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
OffTheRails has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
gccostabr has quit [Quit: ZZZzzz…]
hellangel7 has quit [Max SendQ exceeded]
Lewix has joined #ruby
hellangel7 has joined #ruby
sectionm1 has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
Apocalypse has joined #ruby
sectionme has quit [Ping timeout: 276 seconds]
mahtennek has quit []
rippa has joined #ruby
w09x has joined #ruby
linojon has joined #ruby
mary5030 has joined #ruby
freerobby has joined #ruby
snorkra_ is now known as snorkra
sinkensabe has quit [Remote host closed the connection]
mityaz_ has quit [Quit: See ya!]
timonv_ has quit [Remote host closed the connection]
a_ has quit [Read error: No route to host]
w09x has quit [Ping timeout: 246 seconds]
davedev24_ has joined #ruby
a has joined #ruby
a is now known as Guest3611
carraroj has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
devoknievo__ has joined #ruby
guinslym has quit [Ping timeout: 264 seconds]
patrick99e99 has joined #ruby
<shevy> so many programs depend on ssl
rockdon_ has joined #ruby
rockdon_ is now known as rockdon|away
shock_one_ has quit [Quit: Computer has gone to sleep.]
guinslym has joined #ruby
rockdon|away is now known as rockdon_
kadoppe has joined #ruby
nucatus has joined #ruby
havenwood has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 276 seconds]
nucatus has quit [Read error: Connection reset by peer]
mijicd has quit [Remote host closed the connection]
havenwood has joined #ruby
nucatus has joined #ruby
BTRE has quit [Ping timeout: 245 seconds]
odlox has joined #ruby
odlox has quit [Max SendQ exceeded]
odlox has joined #ruby
tvw has joined #ruby
mijicd has joined #ruby
nucatus has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 264 seconds]
klmlfl has joined #ruby
ghr has joined #ruby
Platini has quit [Ping timeout: 240 seconds]
bdonnahue has joined #ruby
einarj has joined #ruby
Platini has joined #ruby
lucianosousa has joined #ruby
bmurt has joined #ruby
GriffinHeart has joined #ruby
mary5030 has quit [Remote host closed the connection]
Channel6 has joined #ruby
kp666 has joined #ruby
adamski2600 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coihue has joined #ruby
sinkensa_ has joined #ruby
<bdonnahue> hey everyone i have an fpm build that fails. im not sure how to debug
yfeldblum has joined #ruby
<bdonnahue> can anyone offer some advice
astav has quit [Quit: astav]
BTRE has joined #ruby
bluenemo has joined #ruby
timonv_ has joined #ruby
lampd has joined #ruby
t0rc has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
lampd is now known as lampd1
<shevy> what is a fpm build
t0rc has quit [Client Quit]
<jhass> bdonnahue: there's #fpm
jaake has joined #ruby
mercwithamouth has joined #ruby
Takle has joined #ruby
Rubie has joined #ruby
<Rubie> im having trouble understanding .nil - anyone willing to help?
<jhass> Rubie: do you mean .nil?
<Rubie> yes
heftig has joined #ruby
<jhass> Rubie: nil.nil? #=> true, anything_else.nil? #=> false
<Rubie> and if statements only proceed if true correct?
chipotle has joined #ruby
<jhass> mmh, no, it's easier to say they don't proceed if nil or false
<jhass> for everything else they proceed
<Rubie> ok
<Rubie> for example
<Rubie> if movies [title].nil?
<Rubie> this will execute
<jhass> that's what we call truthy and falsey, nil and false are the only falsey objects in ruby, everything else is truthy
<jhass> your example will execute if movies[title] returns nil
<jhass> though you're probably better off with movies.has_key? title
<Rubie> and that example will not return nil, if there is a value?
<jhass> that's sort of the default behavior of a hash
<Rubie> ok thanks!
<jhass> though nil is also a valid value, so you can't distinguish that
mercwithamouth has quit [Ping timeout: 252 seconds]
<Rubie> makes sense
<jhass> >> h = {foo: nil}; [h[:foo], h.has_key?(:foo), h[:bar], h.has_key?(:bar)]
<eval-in____> jhass => [nil, true, nil, false] (https://eval.in/189697)
marcus_ has quit [Ping timeout: 245 seconds]
mijicd has quit [Remote host closed the connection]
relix has joined #ruby
cirn0 has joined #ruby
bluenemo has quit [Quit: Verlassend]
TheNet has quit [Quit: Leaving...]
<Rubie> that is going to take some digesting
mijicd has joined #ruby
mercwithamouth has joined #ruby
<Rubie> h is a hash
<jhass> yes
<Rubie> the rest is an arry
<jhass> well, yeah, just to make eval-in return multiple values in one line here
dorei has joined #ruby
<Rubie> foo: nil [:foo] == nil
<dorei> hello
<jhass> Rubie: yep
mijicd has quit [Remote host closed the connection]
<Rubie> ahhh
<Rubie> the value of foo is nil
<jhass> yes
sinkensa_ has quit [Remote host closed the connection]
<Rubie> why do they use array symbols [] to evaluate a hash {}
sinkensabe has joined #ruby
<dorei> which one do you prefer, collection.map { |el| SomeClass.new(el) } or collection.map(&SomeClass.method(:new)) ?
sinkensabe has quit [Remote host closed the connection]
<jhass> Rubie: do you mean the outer [ ... ] or h[..] ?
freerobby has quit [Quit: Leaving.]
<jhass> dorei: the former
devoknievo__ has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 255 seconds]
<dorei> jhass: if only there was a more compact way... :(
<Rubie> i would think it would make more sense to do foo: nil {foo} == nill
<Rubie> since h is a hash
<Rubie> not an array
cirn0 has quit [Ping timeout: 245 seconds]
bdonnahue has left #ruby [#ruby]
<jhass> Rubie: String has [] too: "foo"[0] == "f"
<jhass> Rubie: [] is in fact just a method call, you could define it for your own objects
mercwithamouth has quit [Ping timeout: 252 seconds]
<jhass> Rubie: the common base semantic is basically access by index
<jhass> for an array that's 0..array.size-1
<jhass> for an hash that's its keys
sevenseacat has quit [Quit: Leaving.]
timonv_ has quit [Remote host closed the connection]
Martxel has quit [Quit: Leaving]
timonv_ has joined #ruby
<Rubie> oh didn't know that about strings
atmosx has quit [Quit: Lost in trance]
<jhass> you can do lots of fancy stuff with String#[] but that'll just confuse you for now ;)
<Rubie> are keys different?
<jhass> different from what?
<Rubie> sorry
<Rubie> the opposite of a key
<jhass> values? still in what way?
<Rubie> ya the values, do you reference them with [ ] too
<Rubie> or just the keys
<jhass> no, that would make them keys
<jhass> a hash is a mapping from a key to a value
<Rubie> so a key in a hash will be referenced by []
<jhass> the generic term for this datastructure you'll find in most languages is in fact map
<Rubie> and the values can be referenced how?
<jhass> if you want to reference by value that's a good sign you built your hash the wrong way around
<Rubie> so a {value, key} is a map?
<jhass> {value, key} is not a valid literal in ruby, so not sure what you mean :)
sectionm1 has quit [Ping timeout: 252 seconds]
<Rubie> {value: key}?
<jhass> that would define a hash with the symbol `:value` as key and the value of the method or local variable key as value
<jhass> as only entry I should say
Kricir has joined #ruby
<Rubie> oh so {key: value} is correct order
<jhass> note that key: is always the symbol `:key`
<Rubie> and [0] would reference :key
<jhass> the generic syntax is {key => value}
<jhass> no, no
PersonX has quit [Remote host closed the connection]
<jhass> you can't access a hash by position
<Rubie> {key => value},{what => the},{heck => isogingon}
<jhass> hash has the method .keys which returns an Array so you could do hash.keys[0] to get the first key, but the usecases for depending on the order of a hash are very rare
<Rubie> so [1] does not reference anything
<jhass> no, not with {} around each pair, instead: {key => value, another_key => another_value}
<jhass> Rubie: that depends on what you call it
<Rubie> oh
<Rubie> ok so if ur hash
<Rubie> was hass
<jhass> I do can built a hash with 1 as a key
<jhass> >> h = {1 => 2}; h[1]
<eval-in____> jhass => 2 (https://eval.in/189698)
w09x has joined #ruby
<Rubie> .hass[0] would reference value
io_syl has joined #ruby
tlarevo has quit [Ping timeout: 268 seconds]
<jhass> no
lkba has joined #ruby
<Rubie> h[1] == 2
lkba has quit [Read error: Connection reset by peer]
<jhass> yes
<Rubie> or so its saying the key of 1 equals 2
AndChat| has quit [Ping timeout: 272 seconds]
<jhass> no
<Rubie> the key of 1 of h equals 2
<jhass> 1 is the key
<jhass> 2 is the value
<jhass> >> h = {:key => :value}; h[:key]
<eval-in____> jhass => :value (https://eval.in/189699)
britneywright has joined #ruby
<Rubie> ahhh
<Rubie> can you have two of the same keys in a hash?
<jhass> no
<Rubie> ok
<Rubie> error?
<jhass> simply not possible
<jhass> the later definition overrides the former
<jhass> >> h = {}; h[:key] = :a; h[:key] = :b; h[:key]
<eval-in____> jhass => :b (https://eval.in/189700)
<Rubie> so what if im a teacher and I had two johns in my class of students
w09x has quit [Ping timeout: 255 seconds]
<wasamasa> that's why you have immatriculation numbers
<jhass> Rubie: you would go to your local CS teacher and he would start babbling something about DBs and assigning each student a unique id because names suck for identifying stuff
<Rubie> h = {}; h[:key] = :a; h[:key] = :b; h[:key]
<Rubie> hahah
<Rubie> ok
<Rubie> ok ok i got the example u gave
<Rubie> just says that once you re-assign it the value changes
boena has quit []
<jhass> yes, you set a new value for the key
Imofftopic has joined #ruby
<Rubie> awesome
tlarevo has joined #ruby
marcus_ has joined #ruby
ghost2060 has joined #ruby
<Rubie> line 18
<Rubie> why the .nil?
<jhass> because the author didn't know about unless or ! or has_key?
<jhass> also I wouldn't to_sym user input but rather use string keys
tanath has joined #ruby
<Rubie> why doesn't that run as false?
lkba has joined #ruby
<Rubie> its not nil, there is a value, correct?
sectionme has joined #ruby
<Rubie> ohhhhhh
<Rubie> thats the value, and the value is nil
<Rubie> basically saying
sdwrage has quit [Quit: This computer has gone to sleep]
<Rubie> if the value to the key is nil execute
sdwrage has joined #ruby
<jhass> yes
<Rubie> yahoooo!
sdwrage has quit [Remote host closed the connection]
<Rubie> u helped me a bunch
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
mercwithamouth has joined #ruby
shock_one_ has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
havenwood has joined #ruby
klmlfl has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
freerobby has joined #ruby
larissa has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
shock_one_ has quit [Ping timeout: 264 seconds]
doritostains has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
VTLob has joined #ruby
shevy has quit [Ping timeout: 264 seconds]
PersonX has joined #ruby
gogohome has left #ruby [#ruby]
Fire-Dragon-DoL has joined #ruby
anaeem1 has joined #ruby
slester has quit [Ping timeout: 255 seconds]
PersonX has quit [Remote host closed the connection]
kaspertidemann has quit []
PersonX has joined #ruby
theo_ has quit []
Rollabunna has quit [Remote host closed the connection]
tjr9898 has joined #ruby
PersonX has quit [Max SendQ exceeded]
shevy has joined #ruby
linojon has quit [Quit: linojon]
mary5030 has joined #ruby
bmurt has quit []
linojon has joined #ruby
bmurt has joined #ruby
PersonX has joined #ruby
timonv_ has quit [Remote host closed the connection]
PersonX has quit [Max SendQ exceeded]
fabrice31 has joined #ruby
lucianosousa has quit [Quit: lucianosousa]
tkuchiki has quit [Remote host closed the connection]
mikeg has joined #ruby
thomasxie has quit [Quit: Leaving.]
mary5030 has quit [Ping timeout: 240 seconds]
astav has joined #ruby
bmurt has quit [Ping timeout: 240 seconds]
sagittarian_ has quit [Ping timeout: 268 seconds]
jaake has quit [Ping timeout: 245 seconds]
vinleod has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 272 seconds]
slester has joined #ruby
tjr9898 has quit [Remote host closed the connection]
jordsmi has joined #ruby
VTLob has quit [Quit: VTLob]
rbenv has joined #ruby
bMalum has joined #ruby
w3pm has joined #ruby
PersonX has joined #ruby
slester is now known as slester|lunch
PersonX has quit [Max SendQ exceeded]
ghost2060 has quit [Ping timeout: 268 seconds]
bMalum has left #ruby [#ruby]
bmurt has joined #ruby
sdwrage has joined #ruby
jottr_ has joined #ruby
sdwrage has quit [Remote host closed the connection]
io_syl has quit [Remote host closed the connection]
sdwrage has joined #ruby
starkhallo has joined #ruby
mercwithamouth has joined #ruby
bmurt has quit [Client Quit]
havenwood has quit [Ping timeout: 264 seconds]
PersonX has joined #ruby
PersonX has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
CaptainJet has joined #ruby
britneywright has joined #ruby
w09x has joined #ruby
PersonX has joined #ruby
mikeg has quit [Remote host closed the connection]
nucatus has joined #ruby
thatsnotjack has joined #ruby
jordsmi has quit []
InhalingPixels has joined #ruby
w09x has quit [Ping timeout: 246 seconds]
rockdon_ has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
PersonX has quit [Remote host closed the connection]
marcus_ has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
rikai has quit [Ping timeout: 255 seconds]
mikeg has joined #ruby
shock_one_ has joined #ruby
PersonX has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
SouL has quit [Ping timeout: 276 seconds]
JBreit has joined #ruby
SouL has joined #ruby
PersonX has quit [Max SendQ exceeded]
PersonX has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
Wolland has joined #ruby
PersonX has quit [Max SendQ exceeded]
rbrs has left #ruby [#ruby]
PersonX has joined #ruby
zorak8 has joined #ruby
PersonX has quit [Max SendQ exceeded]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guinslym has quit [Quit: Leaving]
_Kerber0s_ has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Kerber0s has joined #ruby
GriffinHeart has joined #ruby
bluenemo has joined #ruby
gtrak has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellangel7 has quit [Ping timeout: 264 seconds]
lucianosousa has joined #ruby
rockdon_ has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
hellangel7 has joined #ruby
Inhaling_ has joined #ruby
britneywright has joined #ruby
Xaitec has joined #ruby
InhalingPixels has quit [Ping timeout: 255 seconds]
zz_jrhorn424 is now known as jrhorn424
GriffinHeart has quit [Remote host closed the connection]
ahmads has joined #ruby
GriffinHeart has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
GriffinHeart has quit [Read error: Connection reset by peer]
<shevy> long live ruby! \o/
GriffinHeart has joined #ruby
ccooke has quit [Ping timeout: 240 seconds]
<wasamasa> I think the world would be a better place if rails would have replaced all "Java for Web Development" needs
<shevy> I am not sure if rails alone can do that
<shevy> I mean, you not only need to know rails but also CSS and javascript
<shevy> and quite a bit about databases
jottr_ has joined #ruby
<shevy> it's quite a step ahead of straight .php files
Royalb15 has joined #ruby
tvw has quit []
sectionme has quit [Ping timeout: 245 seconds]
geggam has quit [Quit: Leaving]
<jhass> you don't need to know any more CSS or JS than you need for any other web technology
danijoo has quit [Ping timeout: 250 seconds]
rikai has joined #ruby
bluenemo has quit [Quit: Verlassend]
melik has joined #ruby
marcus_ has joined #ruby
<wasamasa> ^
<wasamasa> the more I use rails, the more I feel like it originated from the need to obliterate java for this
carraroj has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<wasamasa> with its autogeneration and stack of dependencies to solve nearly anything that crops up
<jhass> well, but then the java stuff is of extraordinary pain ;P
tjr9898 has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
cirn0 has joined #ruby
danijoo has joined #ruby
hellangel7 has quit [Quit: Leaving]
Xaitec has quit [Ping timeout: 264 seconds]
doritostains has quit [Quit: doritostains]
PersonX has joined #ruby
sectionme has joined #ruby
emmesswhy has joined #ruby
tjr9898 has quit [Remote host closed the connection]
andrewlio has quit [Remote host closed the connection]
yfeldblum has joined #ruby
PersonX has quit [Read error: Connection reset by peer]
cirn0 has quit [Ping timeout: 240 seconds]
<thatsnotjack> Best way to do java web dev is with clojure :)
<jhass> by that argument you can jruby too
<jhass> it's not java if it's another language
<thatsnotjack> but then you don't get to brag about writing purely functional code :/
<thatsnotjack> er, wait, dumb argument to make for clojure I guess. Some Haskell fiend is about to call me out on that I'm sure
xtruder has joined #ruby
Inhaling_ has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Ping timeout: 252 seconds]
InhalingPixels has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
amclain has joined #ruby
PersonX has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 245 seconds]
lucianosousa has quit [Quit: lucianosousa]
Imofftopic has quit [Quit: Leaving]
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
mikeg has quit [Remote host closed the connection]
ccooke has joined #ruby
geggam has joined #ruby
Cache_Money has joined #ruby
rubytor has quit [Ping timeout: 268 seconds]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
mikeg has joined #ruby
freerobby has quit [Quit: Leaving.]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
jottr_ has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
jottr_ is now known as jottr
wallerdev has joined #ruby
banjara has joined #ruby
sinkensabe has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
ghost2060 has joined #ruby
heftig has quit [Quit: Quitting]
PersonX has quit [Ping timeout: 264 seconds]
dodosan has joined #ruby
arup_r has joined #ruby
Takle has quit [Remote host closed the connection]
tylerkern has joined #ruby
Takle has joined #ruby
koderok has joined #ruby
Juanchito has joined #ruby
hamakn has quit [Ping timeout: 252 seconds]
dodosan has quit [Client Quit]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
koderok has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
centrx has joined #ruby
Takle has quit [Ping timeout: 276 seconds]
ClarusCogitatio has quit [Ping timeout: 272 seconds]
banjara has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby
Scotteh has quit [Ping timeout: 246 seconds]
britneywright has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
ClarusCogitatio has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
JBreit has left #ruby ["Leaving"]
JohnFord has joined #ruby
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
astav has quit [Quit: astav]
dmfranc has joined #ruby
ClarusCogitatio has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
devoknievo__ has joined #ruby
ClarusCogitatio has joined #ruby
Guest3611 has quit [Ping timeout: 245 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Remote host closed the connection]
sparrovv has joined #ruby
sectionm1 has joined #ruby
InhalingPixels has joined #ruby
ahmads has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 268 seconds]
fabrice31 has joined #ruby
carraroj has quit [Ping timeout: 260 seconds]
Aranshada|W has quit [Ping timeout: 246 seconds]
sectionme has quit [Ping timeout: 245 seconds]
doritostains has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
InhalingPixels has quit [Ping timeout: 276 seconds]
kaspertidemann has joined #ruby
<shevy> this code works but http://pastie.org/9534215
<shevy> is there a way to access to CONFIG in a generic way?
grokdancer has joined #ruby
<shevy> I could omit the Foo:: part but I rather want to retain it, but do so in a generic way
fabrice31 has quit [Ping timeout: 255 seconds]
<shevy> if I change the name of the top module, I'd have to change the name of Foo:: too
tanath has quit [Remote host closed the connection]
ClarusCogitatio has joined #ruby
tanath has joined #ruby
jottr_ has joined #ruby
ahmads1 has joined #ruby
<jhass> you can just leave the Foo:: off
<jhass> not for the outside calls but for the code inside the module
Rollabunna has joined #ruby
tectonic has joined #ruby
astav has joined #ruby
<shevy> I tried that here http://pastie.org/9534216 but that code does not work " uninitialized constant CONFIG "
jottr has quit [Ping timeout: 268 seconds]
<shevy> it's strange that it works when one puts "Foo" before
sparrovv has quit [Remote host closed the connection]
<yxhuvvd> ::CONFIG explicitly says you want to start to look at the global level.
sparrovv has joined #ruby
<yxhuvvd> should work better without the ::'s
heftig has joined #ruby
<shevy> hmm
<shevy> yeah works without the :: but I kinda like the :: there :(
<yxhuvvd> Then make CONFIG global.
ahmads1 has left #ruby [#ruby]
<shevy> outside a namespace?
<jhass> well, it's the Object namespace ;P
Rollabunna has quit [Ping timeout: 264 seconds]
PersonX has joined #ruby
tkuchiki has joined #ruby
<shevy> hmmmmm
dmfranc has quit [Read error: Connection reset by peer]
axsuul has quit [Ping timeout: 268 seconds]
avita1 has quit [Quit: Leaving.]
sparrovv has quit [Ping timeout: 268 seconds]
<shevy> how can I actually get the top module of a class? like: module Foo; class Bar <-- from within Bar, how could one get the name Bar?
ClarusCogitatio has quit [Ping timeout: 268 seconds]
Takle has joined #ruby
ClarusCogitatio has joined #ruby
astav has quit [Quit: astav]
tkuchiki has quit [Ping timeout: 252 seconds]
PersonX has quit [Ping timeout: 272 seconds]
devoknievo__ has quit [Quit: Computer has gone to sleep.]
<waxjar> Module.nesting[1]
<apeiros> that only works in specific lexical contexts
<waxjar> it breaks if you inherit from Bar though
<waxjar> what apeiros said :p
<apeiros> >> module Foo; end; class Foo::Bar; Module.nesting; end; end
<eval-in____> apeiros => /tmp/execpad-228515eb4a86/source-228515eb4a86:3: syntax error, unexpected keyword_rescue, expecting end-of-input ... (https://eval.in/189724)
<apeiros> >> module Foo; end; class Foo::Bar; Module.nesting; end
<eval-in____> apeiros => [Foo::Bar] (https://eval.in/189725)
Tomme has joined #ruby
PersonX has joined #ruby
chendry has joined #ruby
w3pm has quit [Quit: This computer has gone to sleep]
sparrovv has joined #ruby
chendry has left #ruby [#ruby]
melik has quit [Quit: Computer has gone to sleep.]
chendry has joined #ruby
benzrf is now known as benzrf|offline
marcus_ has quit [Read error: Connection reset by peer]
jrhorn424 is now known as zz_jrhorn424
troyready has joined #ruby
Scotteh has joined #ruby
Lewix has quit [Remote host closed the connection]
grenierm has joined #ruby
Xaitec has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bMalum has joined #ruby
w3pm has joined #ruby
carraroj has joined #ruby
lucianosousa has joined #ruby
patrick99e99 has joined #ruby
j_mcnall_ has joined #ruby
teleporting_hams has quit [Remote host closed the connection]
linojon has quit [Quit: linojon]
linojon has joined #ruby
lectrick is now known as pmarreck
grokdancer has quit [Quit: Leaving.]
Rubie has quit [K-Lined]
Phrogz has quit [K-Lined]
<pmarreck> shevy, apeiros, whoever the hell else knows me as "lectrick"... decided to just go non-anonymous for the time being.
Heartbroken has joined #ruby
kotk_ has joined #ruby
Xaitec has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 272 seconds]
carraroj has quit [Quit: Konversation terminated!]
marr has joined #ruby
kotk has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
arup_r has quit [Quit: Leaving.]
slester|lunch has quit [Quit: Quitte]
emmesswhy has quit [Quit: This computer has gone to sleep]
britneywright has joined #ruby
grokdancer has joined #ruby
enebo has quit [Quit: enebo]
awkwords has joined #ruby
zmartAzz has quit [Read error: Connection reset by peer]
zmartAway has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
emmesswhy has joined #ruby
<awkwords> in rubular this works but adding it to my split method doesnt work.. split([grep|grep_defined]\(['|"](.*?)['|"]
<awkwords> )
tectonic has quit []
<jhass> awkwords: you need to surround it in / /
gsd has joined #ruby
<jhass> rubular prints them outside the form
ghr has joined #ruby
<awkwords> ah thnks
Adrao has joined #ruby
orolo has joined #ruby
<awkwords> do i have to escape the special characters?
<jhass> only if they're special in the current context
zmartAway has quit [Read error: Connection reset by peer]
<jhass> like you shouldn't need to escape the | in the character classes for example
zmartAzz has joined #ruby
nobitanobi has joined #ruby
<apeiros> [grep|grep_defined] does not do what you think it does
<jhass> though maybe you confused character classes and match groups there. ^ faster
<apeiros> [grep|grep_defined] is a character class and represents a single character
<awkwords> it does in rubular
<apeiros> it's equivalent to [grepdfin_|]
<apeiros> (i.e., all characters occurring in your char class)
<nobitanobi> guys, given an array of elements, I want just to get that array with (instead of the elements), the indeces as elements. I have done it like this: [9,8,7,6].map.each_with_index { |e,index| index }
robustus has joined #ruby
<jhass> awkwords: it does but it also matches more
<nobitanobi> Any suggestions on a better approach?
<apeiros> awkwords: note the difference between "works" and "works because it does what I think it does"
InhalingPixels has joined #ruby
<apeiros> yours seems to be the former :-)
<awkwords> no it def works how i want it, grep and grep_defined have values associated with their keys that need to be parsed
PersonX has quit [Ping timeout: 272 seconds]
<jhass> nobitanobi: 0..array.size-1 or if you want to iterate just them 0.upto(array.size-1)
ghr has quit [Ping timeout: 252 seconds]
<nobitanobi> jhass: beautiful
<nobitanobi> thanks
<apeiros> awkwords: *shrug*, fine. believe what you want.
mary5030 has joined #ruby
<apeiros> the better choice would be to scrutinize.
bMalum has quit [Quit: bMalum]
<awkwords> i keep getting premature end of char class when adding this regex to split method
troyready has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
claymore has quit [Quit: Leaving]
InhalingPixels has quit [Ping timeout: 272 seconds]
tectonic has joined #ruby
bMalum has joined #ruby
t0rc has joined #ruby
Fire-Dragon-DoL1 has joined #ruby
t0rc has quit [Client Quit]
Fire-Dragon-DoL has quit [Ping timeout: 272 seconds]
mweshi has joined #ruby
t0rc has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
orolo has quit [Quit: This computer has gone to sleep]
dapz has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lampd1 has quit [Ping timeout: 260 seconds]
j_mcnall_ is now known as j_mcnally
Kricir has joined #ruby
melik has joined #ruby
seamon has joined #ruby
SouL has quit [Ping timeout: 245 seconds]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
luckyruby has joined #ruby
timonv_ has joined #ruby
dcoxall has joined #ruby
Nilium has quit [Ping timeout: 245 seconds]
jdj_dk has joined #ruby
Xeago has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
tlarevo_ has joined #ruby
sagittarian_ has joined #ruby
InhalingPixels has joined #ruby
tlarevo has quit [Ping timeout: 252 seconds]
JohnFord has quit [Ping timeout: 268 seconds]
benzrf|offline is now known as benzrf
lucianosousa has quit [Quit: lucianosousa]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PersonX has joined #ruby
bruno-_ has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
bruno-_ has quit [Client Quit]
coihue has quit [Ping timeout: 245 seconds]
threesixes has joined #ruby
InhalingPixels has quit [Ping timeout: 272 seconds]
mweshi has quit [Quit: ZZZzzz…]
sigurding has joined #ruby
naos has joined #ruby
grokdancer has quit [Quit: Leaving.]
naos has quit [Client Quit]
InhalingPixels has joined #ruby
devoknievo__ has joined #ruby
Takle has joined #ruby
MaciejCzyzewski has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
modernbob has joined #ruby
modernbob has joined #ruby
Aranshada|W has joined #ruby
MaciejCzyzewski has quit [Client Quit]
MaciejCzyzewski has joined #ruby
PersonX has quit [Remote host closed the connection]
MaciejCzyzewski has quit [Client Quit]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
grenierm has quit [Quit: grenierm]
ghanima has joined #ruby
MaciejCzyzewski has joined #ruby
Morkel has joined #ruby
<ghanima> hello all was hoping I could get some advice... anyone have poltergiest headless web kit gem setup to do concurrent session visits
<ghanima> Haven't been able to find a clear example that shows how one can do this
Morkel has quit [Client Quit]
aspires has joined #ruby
fabrice31 has joined #ruby
siwica has quit [Ping timeout: 276 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
Takle has quit [Ping timeout: 246 seconds]
mgorbach has quit [Read error: No route to host]
sdwrage has joined #ruby
mgorbach_ has joined #ruby
mgorbach_ is now known as mgorbach
mijicd has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
KLVTZ has joined #ruby
axsuul has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
<MaciejCzyzewski> Hi all, folks!
Zesty has joined #ruby
shock_one_ is now known as shock_one
<MaciejCzyzewski> What is the best alternative for activerecord and sequel?
<centrx> MaciejCzyzewski, Those are the two main alternatives
<centrx> MaciejCzyzewski, DataMapper is an old reliable standard, but it is fairly old now
emocakes__ has joined #ruby
gtrak has quit [Ping timeout: 264 seconds]
<MaciejCzyzewski> That's why I asked this question ^^
<MaciejCzyzewski> I think rom can be use like normal ORM...
emocakes has quit [Ping timeout: 276 seconds]
<apeiros> adequaterecord? :)
<centrx> MaciejCzyzewski, Yes, but ROM is very new and immature. Last I checked it didn't have proper database support for any databases even
a____ has joined #ruby
Trynemjoel has joined #ruby
gtrak has joined #ruby
<wasamasa> ROM?
BTRE has quit [Ping timeout: 272 seconds]
<centrx> wasamasa, Ruby Object Mapper
melik has quit [Quit: Computer has gone to sleep.]
tlarevo_ has quit [Remote host closed the connection]
<centrx> wasamasa, It's supposed to be the successor to DataMapper, but it has been languishing for three years
seamon has quit [Quit: Zzzzzzz]
<apeiros> MaciejCzyzewski: if that was a question whether I meant that one - yes.
cocotton has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
bMalum has quit [Ping timeout: 245 seconds]
<centrx> MaciejCzyzewski, AdequateRecord is actually improvements to ActiveRecord that will be included in Rails 4.2
bMalum has joined #ruby
Rollabunna has joined #ruby
decoponio has quit [Quit: Leaving...]
cocotton has quit [Remote host closed the connection]
Aahz has joined #ruby
<MaciejCzyzewski> Yep. But I am writing something stupidly simple.
<centrx> MaciejCzyzewski, What's wrong with Sequel or ActiveRecord?
<MaciejCzyzewski> I don't need big monster like ActiveRecord.
gccostabr has joined #ruby
cocotton has joined #ruby
<apeiros> why do you bother how big it is? it's still one gem.
axsuul has quit [Ping timeout: 245 seconds]
SouL has joined #ruby
<mozzarella> and you probably have it already lololol
aspires has quit []
<centrx> MaciejCzyzewski, The big monsterness of ActiveRecord is really only relevant for performance, which shouldn't make a difference for something stupidly simple?
<centrx> also why not Sequel
<MaciejCzyzewski> mhm
Rollabunna has quit [Ping timeout: 246 seconds]
seamon has joined #ruby
VBlizzard has joined #ruby
GriffinHeart has joined #ruby
rippa has quit [Read error: Connection reset by peer]
ht__th has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
rippa has joined #ruby
freerobby has joined #ruby
tkuchiki has joined #ruby
emmesswhy has joined #ruby
flak has joined #ruby
intnsity has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
Blizzy has quit [Ping timeout: 252 seconds]
flak is now known as Guest15021
Guest15021 has quit [Read error: Connection reset by peer]
intnsity has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
Kricir has quit [Remote host closed the connection]
Aranshada|W has quit [Ping timeout: 246 seconds]
axsuul has joined #ruby
Guest15021 has joined #ruby
Guest15021 has quit [Client Quit]
Kricir has joined #ruby
havenwood has joined #ruby
BTRE has joined #ruby
Morkel has joined #ruby
rippa has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
Blizzy has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
Aahz has quit [Read error: Connection reset by peer]
VBlizzard has quit [Ping timeout: 246 seconds]
MCDev has joined #ruby
Kricir has quit [Ping timeout: 276 seconds]
Morkel has quit [Client Quit]
adamski2600 has quit []
LangeOortjes has quit [Remote host closed the connection]
cirn0 has joined #ruby
ExceptionalEngin has joined #ruby
oponder has joined #ruby
JohnFord has joined #ruby
sectionm1 has quit [Ping timeout: 246 seconds]
Hobogrammer has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
anaeem1 has joined #ruby
cirn0 has quit [Ping timeout: 260 seconds]
dcoxall has quit []
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
doritostains has quit [Quit: doritostains]
<wasamasa> "Basically, this is one of the cases where the normally helpful ORM system is getting in your way."
* wasamasa shakes fist
* shevy shakes wasamasa
<wasamasa> ACTIVERECORRRD!
nobitanobi has joined #ruby
armyriad has quit [Ping timeout: 246 seconds]
Rubie has joined #ruby
armyriad has joined #ruby
Rubie has quit [Client Quit]
<ghanima> anyone here have any experience with celluloid
CaptainJet has quit [Ping timeout: 260 seconds]
<havenwood> ghanima: having celluloid issues?
<waxjar> if not, try #celluloid :)
<ghanima> havenwood: I think soo but it could be user error on my part. Let me descriibe what I am trying to do
JohnFord has quit [Ping timeout: 245 seconds]
<ghanima> waxjar: I did try and looks like the channel doesn't exist
mary5030 has quit [Remote host closed the connection]
<ghanima> havenwood: I have a capybara poltergeist script that is visiting a website
<ghanima> the script is pretty basic
<waxjar> it does. perhaps you need to be identified with nickserv to join, i do not know
<ghanima> it login into a website
Takle has quit [Remote host closed the connection]
dorei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
<havenwood> ghanima: #celluloid exists
<ghanima> waxjar: you are correct I mispelled that
<ghanima> my bad
Davedo has quit [Ping timeout: 246 seconds]
lampd has joined #ruby
<ghanima> havenwood: once i get logged into the site I come across a form select list and once you select your option and click submit you a popup appears and you go to another page. Since the pop-up exposes the URL what I am trying to do is take all the values of the list and construct the URL and then visit the URL. I have it working in capybara but the time my problem is that it is taking so long to get a response from each one and
lampd is now known as lampd1
<ghanima> so now tat you get the gist
<ghanima> here is my script
tectonic has quit []
anaeem1 has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 255 seconds]
BOKALDO has quit [Quit: Leaving]
tylerkern has quit [Quit: Connection closed for inactivity]
dblessing has joined #ruby
<havenwood> though there ^ you get blocked by the longest taking one
<havenwood> ghanima: your script and more details about the logic you want would be helpful
<ghanima> havenwood: this is my first attempt http://paste.ubuntu.com/8284587/
pskosinski has joined #ruby
tjbiddle has joined #ruby
<mozzarella> when is it better to use celluloid instead of eventmachine or normal multithreaded code?
ndrei has quit [Read error: Connection reset by peer]
<mozzarella> I still don't see the appeal of celluloid
ilteris has joined #ruby
ilteris has quit [Excess Flood]
Takle has joined #ruby
tectonic has joined #ruby
<havenwood> mozzarella: For example, with Celluloid::IO you can have a Thread pool of Threads that each run a reactor. If one dies it's fault tolerant, will start itself back up. Also the style of using it. You don't have to back bend around callbacks or janky style. Just include Celluloid.
tectonic has quit [Client Quit]
marcus_ has joined #ruby
Inhaling_ has joined #ruby
kristofferR has quit [Read error: Connection reset by peer]
<mozzarella> havenwood: what do you mean "dies"?
<mozzarella> like raises an error?
<havenwood> mozzarella: You can choose how your supervisors handle it.
<ghanima> havenwood: sorry do you still need more context based of of what I posted thus far
AlSquire has joined #ruby
kristofferR has joined #ruby
sigurding has quit [Quit: sigurding]
Davedo has joined #ruby
tectonic has joined #ruby
kaspertidemann has quit []
InhalingPixels has quit [Ping timeout: 245 seconds]
<havenwood> so you're running an asynchronous method that iterates and takes a while to return?
mkaesz has quit [Remote host closed the connection]
<ghanima> havenwood: no
<havenwood> ghanima: the link i pasted above ^ shows how you might create a future for each request, then iterates over those futures' values as they become available
heftig has quit [Ping timeout: 272 seconds]
dorei has joined #ruby
<ghanima> havenwood: Today was my first attempt to get celluloid working.. before that my script would run snychrounous and would take a while to run. Looking to use celluloid to run async but get this error http://paste.ubuntu.com/8284646/
JohnFord has joined #ruby
britneywright has joined #ruby
jdj_dk has quit [Remote host closed the connection]
<ghanima> havenwood: in the example you provided the line HTTP.get(url, socket_class: Celluloid::IO::TCPSocket)
<ghanima> what is socket_class: Celluloid::IO::tcpSocket
bluOxigen has quit [Ping timeout: 255 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> ghanima: it's telling HTTP to use a Celluloid Actor with an nio4r reactor backed TCPSocket instead of a traditional TCPSocket
<havenwood> ghanima: so a threaded, evented replacement for TCPSocket
jdj_dk has joined #ruby
<havenwood> ghanima: Compare with the normal HTTP gem usage: https://github.com/tarcieri/http#get-requests
ilteris has joined #ruby
<ghanima> havenwood: since I am using capybara and the method I am using is visit method would I pass that to the the method or do I have to do that with the driver
niklas123 has joined #ruby
<ghanima> I have to use a headless browser in this instance because the content that comes back is JSscript and i need to render it in a browser
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> ghanima: No, that wouldn't work (unless it took a provided TCPSocket as that argument, which i'd doubt).
gtrak has quit [Ping timeout: 264 seconds]
<ghanima> havenwood: any other thoughts
<havenwood> ghanima: maybe this is germane (sorry, multitasking): https://gist.github.com/roroco/8155870
<ghanima> havenwood: the closest example I could find that is doing what I am doing is this project: https://github.com/roroco/try/blob/master/ex/ex.rb
<ghanima> havenwood: right but in your example where is the loop
<ghanima> looks like it is iterating over the same content
Xeago has quit [Remote host closed the connection]
<havenwood> ghanima: right, but do the exact same thing but iterate over different content
<havenwood> ghanima: then, depending on strategy, get those return values from the futures
gccostabr has quit [Quit: ZZZzzz…]
<havenwood> ghanima: the example i showed you is quite simple, it iterates then blocks for each future value before moving on to the next
<ghanima> havenwood: So to be clear the loop done outside of the class
<havenwood> ghanima: yes
<havenwood> ghanima: you add the asynchronous ability to the class, then use future in an iterator outside it
<havenwood> futures*
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devoknievo____ has joined #ruby
heftig has joined #ruby
sectionme has joined #ruby
maoko has joined #ruby
goleldar has joined #ruby
melik has joined #ruby
devoknievo__ has quit [Ping timeout: 268 seconds]
Inhaling_ has quit [Remote host closed the connection]
AlSquire has quit [Quit: This computer has gone to sleep]
InhalingPixels has joined #ruby
qualiabyte has joined #ruby
ndrei has joined #ruby
duncannz has joined #ruby
<havenwood> ghanima: there are various ways to check if the futures are finishes
ghost2060 has quit [Ping timeout: 252 seconds]
<ghanima> havenwood: so if I read the script properly it looks like it creates a new Capybara Session for each actor, but in my case the problem is that every URL that I am accessing is based off of a previous session i.e logging into a site with username and password
<ghanima> I am trying to see if I can save the cookie and reuse that the cookie from a previous session when the actor executes
<ghanima> havenwood: I am somewhat new to capybara so this will take me moment
crdpink has quit [Ping timeout: 246 seconds]
crdprink2 has joined #ruby
jacobat has quit [Ping timeout: 255 seconds]
<havenwood> ghanima: i probably know less capybara than you do :P
MaciejCzyzewski has joined #ruby
cocotton has quit [Remote host closed the connection]
<havenwood> mozzarella: i think part of the issue if that it isn't finished yet. some of these things take configuration and will hopefully become a nice automatic default.
<havenwood> mozzarella: supervision stuff is a work in progress afaik
<havenwood> but taking neat ideas from akka and erlang
banister has joined #ruby
mary5030 has joined #ruby
benlieb has joined #ruby
hfp has quit [Quit: bye]
axsuul has quit [Ping timeout: 245 seconds]
InhalingPixels has quit []
seamon has quit [Quit: Zzzzzzz]
<benlieb> Is there a gem I can use to post to a FB page or group from an app?
banister has quit [Client Quit]
DrCode has quit [Ping timeout: 264 seconds]
phrozen77 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
seamon has joined #ruby
pskosinski has quit [Ping timeout: 264 seconds]
Blue_Ice_ has quit [Ping timeout: 260 seconds]
KingOfKarlsruhe has quit [Ping timeout: 245 seconds]
TheNet has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
Nahra` has quit [Ping timeout: 245 seconds]
BlaDe^ has quit [Remote host closed the connection]
BlaDe^ has joined #ruby
bauruine has quit [Ping timeout: 272 seconds]
drizz has quit [Ping timeout: 272 seconds]
sonOfRa has quit [Ping timeout: 245 seconds]
parus has quit [Ping timeout: 245 seconds]
drizz has joined #ruby
ashleah has joined #ruby
pskosinski has joined #ruby
parus has joined #ruby
banister has quit [Ping timeout: 245 seconds]
Blue_Ice has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
doodlehaus has joined #ruby
Butthurthead has joined #ruby
timonv_ has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
haasn has quit [Quit: haasn]
doodlehaus has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jhass is now known as jhass|off
perrier_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
ccooke has quit [Ping timeout: 276 seconds]
JohnFord has quit [Ping timeout: 260 seconds]
ccooke has joined #ruby
kalleth_ has quit [Quit: No Ping reply in 180 seconds.]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phrozen77 has joined #ruby
perrier has joined #ruby
DrCode has joined #ruby
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
{xenomorph} has quit [Ping timeout: 260 seconds]
perrier has quit [Remote host closed the connection]
havenwood has joined #ruby
kalleth has joined #ruby
SpaceKookie has quit [Ping timeout: 260 seconds]
KingOfKarlsruhe has joined #ruby
hfp has joined #ruby
St_Marx has quit [Remote host closed the connection]
aef_ has quit [Ping timeout: 245 seconds]
{xenomorph} has joined #ruby
axsuul has joined #ruby
MaciejCzyzewski has joined #ruby
sonOfRa has joined #ruby
perrier has joined #ruby
haasn has joined #ruby
SpaceKookie has joined #ruby
ringarin has joined #ruby
iaj_ has quit [Read error: Connection reset by peer]
iaj has joined #ruby
bauruine has joined #ruby
aef has joined #ruby
dc has joined #ruby
Ankhers has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Ping timeout: 264 seconds]
agjacome has quit [Quit: leaving]
sent-hil has joined #ruby
<shevy> code code code
<shevy> we must overcome python with the better projects
sectionme has quit [Ping timeout: 245 seconds]
Bish has quit [Quit: ZNC - http://znc.sourceforge.net]
jhass|off has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jhass|off has joined #ruby
jhass|off is now known as jhass
haasn has quit [Ping timeout: 260 seconds]
a____ has quit [Quit: Lost terminal]
fabrice31 has joined #ruby
<ghanima> havenwood: still online
oponder has quit [Remote host closed the connection]
<shevy> tectonic that sounds damn scary
<shevy> like spying zombies
<tectonic> spying zombies?
haasn has joined #ruby
<shevy> yeah
<shevy> "building agents that perform automated tasks for you"
ilteris has quit [Quit: ZNC - http://znc.in]
<shevy> spying slave zombies
fabrice31 has quit [Ping timeout: 252 seconds]
bMalum has quit [Ping timeout: 264 seconds]
bMalum has joined #ruby
pu22l3r has joined #ruby
seamon has quit [Quit: Zzzzzzz]
KingOfKarlsruhe has quit [Ping timeout: 264 seconds]
narcan has joined #ruby
w09x has joined #ruby
w09x has quit [Remote host closed the connection]
lpaste has quit [Ping timeout: 272 seconds]
ohcibi has quit [Quit: No Ping reply in 180 seconds.]
PaulePanter has quit [Ping timeout: 245 seconds]
end_guy has quit [Ping timeout: 264 seconds]
soahccc has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
aef has quit [Ping timeout: 245 seconds]
ccooke has quit [Ping timeout: 245 seconds]
s307 has quit [Ping timeout: 250 seconds]
ohcibi has joined #ruby
phrozen77 has quit [Ping timeout: 260 seconds]
drizz has quit [Ping timeout: 260 seconds]
doritostains has joined #ruby
zaiste has quit [Ping timeout: 250 seconds]
ndrst has quit [Ping timeout: 272 seconds]
asbest has quit [Ping timeout: 255 seconds]
Blue_Ice has quit [Ping timeout: 272 seconds]
s307 has joined #ruby
kalleth has quit [Ping timeout: 260 seconds]
yano has quit [Remote host closed the connection]
kalleth has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
kaspertidemann has joined #ruby
<ghanima> anyone familiar with celluloid
Blue_Ice has joined #ruby
end_guy has joined #ruby
soahccc has joined #ruby
havenwood has joined #ruby
<ghanima> havenwood: Ok I think I got something working
<ghanima> havenwood: but I am still coming across errors
<havenwood> ghanima: nice
<ghanima> here is my code example
pu22l3r has quit [Remote host closed the connection]
<KLVTZ> exit
KLVTZ has quit [Quit: {K}angaroo {L}eague on a {V}endetta for {T}errifying {Z}ebras]
timonv_ has joined #ruby
aef has joined #ruby
<ghanima> havenwood this is the error I get
tac_ has joined #ruby
asbest has joined #ruby
<ghanima> havenwood: I have tested the capybara code
<ghanima> and that works without error
<ghanima> incuding the generating a new session
codecop has quit [Remote host closed the connection]
<ghanima> havenwood: if you look at the bottom of my code you will see how I am calling celluloid
davedev24_ has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
tectonic has quit []
tac_ has quit [Quit: Leaving]
zaiste has joined #ruby
<ghanima> sorry here is the full error
Royalb15 has quit [Read error: Connection reset by peer]
phrozen77 has joined #ruby
Royalb15 has joined #ruby
Lewix has quit [Remote host closed the connection]
<ghanima> havenwood: you still online
linduxed has quit [Ping timeout: 240 seconds]
<havenwood> ghanima: ya
<havenwood> ghanima: just distracted
JohnFord has joined #ruby
<ghanima> havenwood: just checking
<ghanima> havenwood: I thought I did do it correctly looking at the basic usage guide
yfeldblum has quit [Ping timeout: 245 seconds]
linojon has quit [Quit: linojon]
jack_rabbit has joined #ruby
Rollabunna has joined #ruby
linduxed has joined #ruby
charliesome has joined #ruby
ccooke has joined #ruby
OffTheRails has joined #ruby
Cooler_ has joined #ruby
Lewix has joined #ruby
odlox has quit [Ping timeout: 264 seconds]
kirun has quit [Quit: Client exiting]
ringarin has quit [Ping timeout: 252 seconds]
Rollabunna has quit [Ping timeout: 276 seconds]
Lewix has quit [Remote host closed the connection]
tkuchiki has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
goleldar has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
goleldar has joined #ruby
tectonic has joined #ruby
dorei has quit []
<ghanima> havenwood: you still have some cycles to help troubleshoot
tkuchiki has quit [Ping timeout: 255 seconds]
jxs_ has quit [Quit: Leaving]
mikepack has joined #ruby
charliesome has quit [Quit: zzz]
PaulePanter has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
goleldar has quit [Ping timeout: 252 seconds]
marcus_ has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Ping timeout: 268 seconds]
sparrovv has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 245 seconds]
sparrovv has joined #ruby
Royalb15 has quit [Quit: Leaving]
davedev24_ has joined #ruby
cirn0 has joined #ruby
yfeldblum has joined #ruby
doodlehaus has joined #ruby
caveat- has joined #ruby
startupality has joined #ruby
sparrovv has quit [Ping timeout: 268 seconds]
cirn0 has quit [Ping timeout: 260 seconds]
sectionme has joined #ruby
drizz has joined #ruby
Bumptious has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 276 seconds]
JohnFord has quit [Ping timeout: 268 seconds]
j_mcnally has joined #ruby
OffTheRails has quit [Ping timeout: 245 seconds]
astav has joined #ruby
astav has quit [Client Quit]
bruno- has quit [Ping timeout: 255 seconds]
jdj_dk has quit [Remote host closed the connection]
sectionme has quit [Ping timeout: 255 seconds]
Kerber0s has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
m8 has quit [Quit: Sto andando via]
Kerber0s has joined #ruby
lpaste has joined #ruby
banister is now known as banisterfiend
geggam has quit [Ping timeout: 268 seconds]
doodlehaus has quit [Remote host closed the connection]
kaspertidemann has quit []
dblessing has quit [Quit: dblessing]
TheNet has quit [Remote host closed the connection]
doodlehaus has joined #ruby
TheNet has joined #ruby
sectionme has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caveat- has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
startupality has joined #ruby
_cake has quit [Ping timeout: 255 seconds]
sectionme has quit [Ping timeout: 255 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
awkwords has quit [Ping timeout: 276 seconds]
ndrst has joined #ruby
caveat- has joined #ruby
starless has joined #ruby
j_mcnally has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
Nilium has joined #ruby
<ghanima> anyone familiar celluloid
patrick99e99 has quit [Ping timeout: 245 seconds]
dapz has joined #ruby
OffTheRails has joined #ruby
Azure has joined #ruby
qwyeth_ has quit [Ping timeout: 240 seconds]
bMalum has quit [Quit: bMalum]
<havenwood> ghanima: i don't spot the issue right off and am not in a good place at the moment to look closely
doodlehaus has quit [Remote host closed the connection]
<havenwood> ghanima: i think as detailed a post as you can to #celluloid is a good idea, but may take a bit for a reply since it's weekend
<havenwood> ghanima: or i'll look when i get to a proper spot
<ghanima> havenwood: thanks for checking you recommended futures but just curious should I look at implementing supervisor to try to relauch an actor that died
<havenwood> ghanima: another good question for #celluloid! but yeah, depending on what you're doing quite possibly.
<ghanima> havenwood: thanks for your help today
<havenwood> ghanima: no prob, sorry i couldn't be more clear
<ghanima> ok will post in the celluloid channel and see who bites
<havenwood> stuff is in flux
<ghanima> havenwood: no worries :)
KingOfKarlsruhe has joined #ruby
xtruder has quit []
mikecmpbll has quit [Quit: i've nodded off.]
kotk has joined #ruby
sevvie has joined #ruby
Kricir has joined #ruby
ursooperduper has joined #ruby
doodlehaus has joined #ruby
kotk_ has quit [Ping timeout: 268 seconds]
caveat- has quit [Ping timeout: 260 seconds]
kotk_ has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jacobat has joined #ruby
pu22l3r has joined #ruby
gtrak has joined #ruby
caveat- has joined #ruby
Takle has quit [Remote host closed the connection]
kotk has quit [Ping timeout: 268 seconds]
spider-mario has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
GriffinHeart has joined #ruby
chrishough has joined #ruby
Takle has joined #ruby
caveat- has quit [Ping timeout: 272 seconds]
niklas123 has quit [Quit: Leaving]
linojon has joined #ruby
dblessing has joined #ruby
j_mcnally has joined #ruby
doodlehaus has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 264 seconds]
aspiers has quit [Ping timeout: 268 seconds]
aspiers has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
Takle has quit [Remote host closed the connection]
EasyCo has joined #ruby
Bumptious has joined #ruby
Takle has joined #ruby
Lewix has joined #ruby
fabrice31 has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
caveat- has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
mijicd has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 246 seconds]
sylvanica has joined #ruby
britneywright has joined #ruby
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
fabrice31 has quit [Ping timeout: 245 seconds]
marcules has quit [Ping timeout: 255 seconds]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
Aahz has joined #ruby
doodlehaus has joined #ruby
TripTastic has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
odlox has joined #ruby
pwh has quit []
odlox_ has joined #ruby
odlox_ has quit [Client Quit]
jhass is now known as jhass|off
davedev24_ has quit [Ping timeout: 276 seconds]
odlox has quit [Ping timeout: 276 seconds]
justjealouse has joined #ruby
davedev24_ has joined #ruby
<justjealouse> im trying to install mechanize, but I'm getting "you have to install development tools first" error, google's being pretty vague about the solution can someone help
pwh has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
marcus_ has joined #ruby
sylvanica has quit [Quit: Quitte]
<shevy> justjealouse you must get the exact error
<shevy> when you install via gem install, the .gem is downloaded
<shevy> find where the .gem is
<shevy> extract it via gem unpack name.gem
dblessing has quit [Quit: dblessing]
<shevy> enter the dir, go to cd ext/ and try again there, via extconf.rb or setup.rb in that directory usually
w09x has joined #ruby
marcus_ has quit [Ping timeout: 245 seconds]
<Hanmac> justjealouse: what ruby version? installed via system or otherwise? if system did you install the ruby*-dev packages too?
<justjealouse> Hanmac, I just used the Windows Installer for Ruby 2.0 and now im trying to install mechanize
<Hanmac> hm ok for windows i have no idea how it works
<justjealouse> I used gem install if that helps...
phutchins has quit [Ping timeout: 255 seconds]
nfk has quit [Quit: yawn]
<Hanmac> justjealouse: http://rubyinstaller.org/downloads/ there is the devkit did you installed it too?
<justjealouse> Hanmac, Ill try to install that
doodlehaus has quit [Remote host closed the connection]