apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mostlybadfly has quit [Quit: Connection closed for inactivity]
nanoyak has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
fayesal has quit [Quit: fayesal]
Stalkr_ has quit [Quit: Leaving...]
kevinykchan has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
clov3r has quit [Ping timeout: 264 seconds]
lw has joined #ruby
kevinykchan has joined #ruby
danshultz has quit [Remote host closed the connection]
Guest24812 has quit [Changing host]
Guest24812 has joined #ruby
Guest24812 is now known as guyz
Overboost has joined #ruby
francisfish has joined #ruby
danshultz has joined #ruby
timonv has quit [Remote host closed the connection]
gregf has joined #ruby
nanoyak has joined #ruby
mostlybadfly has joined #ruby
francisfish has quit [Ping timeout: 252 seconds]
danshultz has quit [Ping timeout: 252 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ce_afk is now known as cescalante
aspires has joined #ruby
davedev25 has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: ciao.]
davedev24 has joined #ruby
lethjakman has quit [Ping timeout: 255 seconds]
brunops has quit [Ping timeout: 240 seconds]
GaryOak_ has quit [Ping timeout: 276 seconds]
nateberkopec has quit [Quit: Leaving...]
aspires has quit []
lethjakman has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
dorei has quit []
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parduse has quit [Ping timeout: 255 seconds]
yubrew has joined #ruby
sailias has joined #ruby
b00stfr3ak has quit [Ping timeout: 276 seconds]
* Overboost is away: bbl
nwertman has joined #ruby
phutchins has joined #ruby
funktor has joined #ruby
gregf_ has joined #ruby
b00stfr3ak has joined #ruby
tjsousa has joined #ruby
nwertman has quit [Client Quit]
pu22l3r has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 255 seconds]
<elik> Hey, I am trying to install a ruby on rails application (redmine), which comes packaged on debian. The installer sets up the database, but not the website
ikaros has quit [Quit: Ex-Chat]
rodri_gore has quit [Quit: WeeChat 0.4.3]
<elik> I follow instruciton in the documentation to install the proper apache conf file, which makes use of fcgid, but the application serves empty pages
<weaksauce> anyone have tips or links on coding ruby with existing frameworks that don't document everything out 100%?
pu22l3r has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<elik> I know the application works as another method using webricks works. Looking at the logs, I noticed I backtrace: pastebin.com/jA1ayz8c. I tried to put debugging code in dispatcher.fcgi, but I'm a bit blind (don't know much about ruby nor fcgi)
<elik> any tips?
nwertman has joined #ruby
nanoyak has joined #ruby
<weaksauce> elik looks like the db is not setup correctly in database.yml
<weaksauce> check that
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
beef-wellington has joined #ruby
razrunelord has joined #ruby
JBreit has left #ruby ["Leaving"]
baweaver has joined #ruby
nwertman has quit [Quit: leaving]
zzzbra has joined #ruby
nwertman has joined #ruby
mrj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjsousa has quit [Quit: Computer has gone to sleep.]
codeurge has quit [Ping timeout: 252 seconds]
nwertman has quit [Client Quit]
nwertman has joined #ruby
nwertman has quit [Client Quit]
razrunelord has quit [Ping timeout: 264 seconds]
lw has quit [Quit: s]
baweaver has quit [Ping timeout: 240 seconds]
jackjackdrpr has joined #ruby
Musashi1 has joined #ruby
lw has joined #ruby
funktor has quit [Remote host closed the connection]
psyko666 has joined #ruby
Overboost has quit [Ping timeout: 252 seconds]
<elik> weaksauce: right, I hadn't notice right after the get, thx
mrmargolis has joined #ruby
<elik> weaksauce: not sure how it's supposed to be though :S
afex has quit [Ping timeout: 255 seconds]
marr has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
amclain has joined #ruby
<elik> weaksauce: I see 4 database.yml in the application, all under lib/plugins (awesome_nested_set/{test,spec}/, acts_as_{versionned,tree}/test/)
tkuchiki has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby
mansi has joined #ruby
rebelshrug has joined #ruby
pel_daniel has left #ruby [#ruby]
Lewix has joined #ruby
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
pu22l3r has quit [Remote host closed the connection]
dr0ff has joined #ruby
meatherly has joined #ruby
<RubyPanther> elik: if your documentation says to use fcgi, make sure it isn't an 8 year old doc....
zz_karupa is now known as karupa
brunops has joined #ruby
geggam has quit [Ping timeout: 252 seconds]
northfurr has joined #ruby
<elik> RubyPanther: there seems to be a newer method with passenger, which I would use if I could, but I'm stuck on a debian stable machine, with backports, and because of dependency issues, I can't install libapach2-mod-passenger
pietr0 has quit [Quit: pietr0]
Overboost has joined #ruby
<elik> RubyPanther: so I'm kinda stuck with fcgid :S weaksauce tips seems to be interesting though
metamaterial has joined #ruby
papercode has joined #ruby
afex has joined #ruby
mansi has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
mansi has joined #ruby
sbob99 has joined #ruby
jsaak_ has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
sbob99 has left #ruby [#ruby]
shanlar has quit [Ping timeout: 252 seconds]
<terrellt> elik: Better to ask in #rubyonrails , and post the readme you're following.
danijoo has quit [Read error: Connection reset by peer]
* combusean writes 16 lines of code and about 15 bugs
* combusean sighs
<elik> terrellt: ah, thx, I tried #rails but had nothing, will give it a try, but I think I have found the issue
danijoo has joined #ruby
fgo has joined #ruby
mansi has quit [Ping timeout: 255 seconds]
b00stfr3ak has quit [Ping timeout: 255 seconds]
Zenigor has quit [Remote host closed the connection]
edgar_wang_cn has joined #ruby
<elik> database.yml specifies database information for production db, but not dev. Webricks instructions I followed started in prod, and right now I only see output in development log. Just gotta find how to switch that
s2013_ has joined #ruby
s2013 has quit [Disconnected by services]
s2013_ is now known as s2013
Overboost has quit [Ping timeout: 252 seconds]
<gizmore> I want to self.send(:hello_world, array_of_args) make it call def hello_world(array_item1, array_item2)
oo_ has joined #ruby
<gizmore> like send_argv
<centrx> gizmore, Use the splat operator *
endash has quit [Quit: endash]
<gizmore> centrx: i have plugin classes that can do: has_usage :func_name => '<username> [<boolean>]' .-.. and it shall just def func_name(username, boolean) and get called accordingly
<gizmore> i don´t want def func_name(*args)
bttf has joined #ruby
<bttf> is it me or does this not make any sense at all? http://pastebin.com/pmhg0smS
<centrx> gizmore, The splat operator works in both directions, self.send(:hello_world, *array_of_args)
vpretzel_ is now known as vpretzel
<gizmore> bttf: maybe there is an alias for "ruby"?
<gizmore> centrx: thank you very very very much!
lethjakman has quit [Ping timeout: 276 seconds]
<bttf> like in my bashrc?
yfeldblum has quit [Remote host closed the connection]
<shevy> like in your pants!
chrisja has quit [Quit: leaving]
papercode has quit [Ping timeout: 258 seconds]
<bttf> there are no aliases in my pants
<shevy> you can also try "locate ruby"
<shevy> and stat /home/chowdhury/local/bin/ruby
SCommette has joined #ruby
<shevy> and put it as first in your $PATH; or alias /usr/bin/ruby to point to that location, somewhere your ruby binary must be
endash has joined #ruby
<shevy> Unix - there is more than one way
<shevy> Ruby - there is more than one way
endash has quit [Client Quit]
danshultz has joined #ruby
<bttf> Okay but I'd like to find out what's causing this
<gizmore> set | grep PATH # might be interesting too
monkegjinni has joined #ruby
<gizmore> bttf: also, maybe you are using 2 different shells and one uses an outdated PATH?
<bttf> home dir is in path
<bttf> the shell i am using seems to have up to date path
Lewix has quit [Remote host closed the connection]
<gizmore> did you try the locate from shevy?
tkuchiki has joined #ruby
<bttf> I did
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
<bttf> couln't make sense of it ... http://pastebin.com/mN5sY19C
Hanmac has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 250 seconds]
marahin_ has joined #ruby
jsaak has joined #ruby
Overboost has joined #ruby
seaned has quit [Quit: Zzzzzz....]
Hobogrammer has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
mjsmith2 has joined #ruby
<gizmore> bttf: show us env | grep PATH
nateberkopec has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
Jaden has joined #ruby
<Jaden> yo
mr_snowf1ake has joined #ruby
<Jaden> hi
sski has quit [Remote host closed the connection]
<gizmore> Jaden: hello, enjoy your flight
<Jaden> flight?
yfeldblum has joined #ruby
<Jaden> what do you mean by flight?
sski has joined #ruby
funktor has joined #ruby
bkparso has joined #ruby
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bkparso has quit [Client Quit]
parduse has quit [Ping timeout: 276 seconds]
marahin has quit [Quit: ZNC - http://znc.in]
marahin_ is now known as marahin
bkparso has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
<gizmore> bttf: chmod -R 0700 /home/chowdhury/local/bin ?
marahin is now known as Guest41167
funktor has quit [Remote host closed the connection]
omosoj has joined #ruby
<Jaden> yo what ide is best for ruby
<Jaden> what should i use for ruby
<gizmore> Jaden: My coworker is happy with "RubyMine"
<Jaden> what do you use?
<gizmore> For me it failed on breakpoints in threaded tasks
<bttf> gizmore: permissions are fine ...
<gizmore> jackjackdrpr: i use eclipse aptana ... it sucks very much and i do breakpoints with byebug in console -.-
<gizmore> oops* @ Jaden
<bttf> gizmore: someone in #bash has enlightened me ... 'which' is a third-party app which may or may not report correctly according to your path
<gizmore> bttf: your path looked fine to me though
<gizmore> so i thought it´s maybe the perms :)
yubrew has quit [Ping timeout: 255 seconds]
soheil_ has quit [Remote host closed the connection]
<gizmore> Jaden: you could give emacs or vim a try
<Jaden> what emacs?
sdwrage has quit [Quit: This computer has gone to sleep]
<bttf> thanks gizmore ill keep you aprised
<gizmore> Jaden: I´d like to try emacs with ruby stuff, it looked ok on screenshots, and is probably nice ... emacs is a linux operatin.... emacs is a linux text editor :)
Guest15352 has quit [Remote host closed the connection]
Guest41167 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
sski has quit [Ping timeout: 265 seconds]
<gizmore> Jaden: for rubyonrails, RubyMine should be great though ;)
<Jaden> yo dawg i use windows xp. So no emacs in her
robustus has quit [Ping timeout: 252 seconds]
<gizmore> it cost a few low $30 maybe... there is a trial
<Jaden> what! 30 dolla but i wan free software.
robustus has joined #ruby
instantaphex has joined #ruby
<popl> Emacs runs on Windows.
<Jaden> aight dawg. emacs on windows tight. how much cost?
metamaterial has quit [Ping timeout: 272 seconds]
<gizmore> emacs is free software i think :)
sailias has quit [Read error: Connection reset by peer]
<Jaden> free software dawg~~~``1
<gizmore> never got used to vim or emacs here, but i should give emacs a try (it looks not too different from other software)
phutchins has quit [Ping timeout: 250 seconds]
afex has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
<Jaden> i need free stuff dawg. feel me
<popl> I'd rather not.
Hanmac has joined #ruby
<Jaden> you no feelin me?
<Jaden> aight i go do emacs.
Megtastique has joined #ruby
<Jaden> Yo i dunno what is emacs. Help me out dawg.
instantaphex has quit [Ping timeout: 255 seconds]
<popl> I just posted a URL that will lead you to Emacs.
ghr has joined #ruby
<Jaden> that the verxsion dawg! I all no i using windows xp.
afex has joined #ruby
SCommette has quit [Quit: SCommette]
<bttf> gizmore: 'hash -r' fixed it
sevenseacat has joined #ruby
<Jaden> what emacs? help me out
<popl> Jaden: Are you trolling or what?
<Jaden> say waht
<Jaden> I tryin to do ruby an need tools
zz_jrhorn424 is now known as jrhorn424
Jaden has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<popl> heh
fgo has quit [Remote host closed the connection]
codeFiend has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
Hanmac1 has joined #ruby
<combusean> I'm looking through a gem that takes a lot of memory and I see a lot of "s for non interpolated strings and a lot of variables that are created once and never used again. Would it improve performance if things were condensed?
yfeldblum has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 276 seconds]
mansi has joined #ruby
razrunelord has quit [Ping timeout: 252 seconds]
nwertman has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
maroloccio has joined #ruby
beef-wellington has quit [Ping timeout: 252 seconds]
zcreative has joined #ruby
mansi has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
agrinb has joined #ruby
vallieres_ has joined #ruby
freerobby has joined #ruby
SCommette has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
mlapp30m has joined #ruby
mlapp30m has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
binaryhat has joined #ruby
<johnny5> i dunno maybe the Correct people know
monkegjinni has quit [Remote host closed the connection]
afex has quit [Ping timeout: 255 seconds]
agrinb has quit [Ping timeout: 255 seconds]
SilkFox has joined #ruby
monkegjinni has joined #ruby
havenwood has quit [Remote host closed the connection]
MrWharfsnort has joined #ruby
sdwrage has joined #ruby
ddv has joined #ruby
geggam has joined #ruby
Overboost has quit [Ping timeout: 240 seconds]
HashNuke has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
pwh has quit []
razrunelord has joined #ruby
binaryhat has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
freezey has joined #ruby
pontiki has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
sepp2k has quit [Quit: Leaving.]
<pontiki> hi
razrunelord has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
hamakn has quit [Remote host closed the connection]
<havenwood> good evening
mansi has joined #ruby
hamakn has joined #ruby
clov3r has joined #ruby
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
<johnny5> hello
bin_bash has joined #ruby
<bin_bash> do i need root to do gem install?
<johnny5> no
<bin_bash> hm
timonv has joined #ruby
<bin_bash> anon7@yggdrasil:~$ gem install rails -v 4.0.4
<bin_bash> Permission denied - /var/lib/gems
<bin_bash> ERROR: While executing gem ... (Errno::EACCES)
<bin_bash> Fetching: i18n-0.6.9.gem (100%)
<johnny5> google.com it is
<johnny5> common issue
<bin_bash> well it works as root
<bin_bash> is it bad to gem install as root
<johnny5> maybe look into why your environment is misconfigured
<bin_bash> i just installed ruby
<bin_bash> just now
eynj1 has joined #ruby
<johnny5> okay cool
<johnny5> it is not a requirement to install rubygems as root
bearlulz has quit [Ping timeout: 252 seconds]
<bin_bash> ok
codeurge has joined #ruby
<bin_bash> is it bad practice to gem install as root?
simono has joined #ruby
<johnny5> no idea
<johnny5> thats for you to decide
sdwrage has quit [Quit: This computer has gone to sleep]
<bin_bash> ...
<centrx> That's what I do
Shidash has quit [Ping timeout: 255 seconds]
hamakn has quit [Ping timeout: 264 seconds]
Martxel has quit [Ping timeout: 240 seconds]
bthesorceror has quit [Ping timeout: 258 seconds]
clov3r has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 265 seconds]
lw has joined #ruby
clov3r has joined #ruby
codeFiend has quit [Quit: codeFiend]
eynj has joined #ruby
lw has quit [Max SendQ exceeded]
clov3r has quit [Read error: Connection reset by peer]
lw has joined #ruby
tyll has joined #ruby
lw has quit [Max SendQ exceeded]
subbyyy_ has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
<johnny5> maybe try toor i hear that account sometimes works
lw has joined #ruby
<pontiki> r u srs?
Mapley is now known as Maple__
<johnny5> yeah, FreeBSD use to have an account called 'toor'
<johnny5> maybe still does
<pontiki> sounds like another huge security hole
<johnny5> from 4.4-RELEASE days i believe
Hanmac1 has quit [Ping timeout: 252 seconds]
<shevy> bin_bash there is no gem install "as root" - there are merely assumptions done about the default targets
tyll_ has quit [Ping timeout: 245 seconds]
<bin_bash> shevy: what do you mean
<shevy> bin_bash gem will install into ruby's site dir at lib/ruby/gems/2.1.0/cache
<pontiki> yggdrasil
<shevy> respectively the one below cache/
danshultz has quit [Remote host closed the connection]
<shevy> bin_bash and there are only two possibilities there - either you have access to that directory path or you don't
<pontiki> funkykitty?
toastynerd has quit [Remote host closed the connection]
mrj has joined #ruby
moted has quit [Quit: moted]
danshultz has joined #ruby
mrj has quit [Max SendQ exceeded]
<shevy> bin_bash so the main question is where you want your .gems to reside
jamto11 has joined #ruby
<shevy> bin_bash, for instance, my current ruby ones are kept at /Programs/Ruby/Current/lib/ruby/gems/2.1.0/
northfurr has quit [Quit: northfurr]
<shevy> FHS systems will have them reside somewhere at /usr/lib/* somewhere, or I think debian has /var/lib/* something
francisfish has joined #ruby
<shevy> you can get the path via "gem env"
<johnny5> thanks shevy useful info
<johnny5> i didnt know that about debian
krz has joined #ruby
<pontiki> more to the point, do you want your gems to be installed system-wide, or for your own development? (sometimes, the answer will be "both" or "yes")
mrj has joined #ruby
akgerber has joined #ruby
<shevy> bin_bash say yes to pontiki
yubrew has joined #ruby
nfk has quit [Quit: yawn]
<pontiki> but there is still a difference
<pontiki> system-wide, you'll need to install them as root
<johnny5> system-wide is generally not a good idea
<johnny5> if you can localize an install, the number of gems in the "set" is considerably smaller
<johnny5> you can easily rm -rf it too
<pontiki> well, it is if you're installing programs intended to be run system-wide
<bin_bash> pontiki: hm ok
<johnny5> sure
<bin_bash> I'm going to be installing spreecommerce
northfurr has joined #ruby
<pontiki> however, if you're doing development, you generally want to have user-writeable installations for that
<pontiki> which means you'll be developing
<pontiki> when you reach a point of deploying your app that uses spreecommerce, you'll probably want to install things at the system level for that app server/cluster
danshultz has quit [Ping timeout: 264 seconds]
moted has joined #ruby
moted has left #ruby [#ruby]
BWStearns has quit [Ping timeout: 252 seconds]
krazh has joined #ruby
francisfish has quit [Ping timeout: 255 seconds]
BSaboia has joined #ruby
yubrew has quit [Ping timeout: 258 seconds]
<pontiki> bin_bash: the thing to do, for the user you're going to be doing development with (assuming "anon7"), is make a $HOME/.gemrc file with the following line: "install: --user-install" in it
<johnny5> yeah, but a lot of people use bundler.
chrisseaton has quit []
<bin_bash> pontiki: yeah i just installed rvm actually
<bin_bash> so i'm looking into that
fgo has joined #ruby
<bin_bash> thanks :)
<johnny5> so you can also say, bundle install --path=foo/bar
<johnny5> that'd install the gems into foo/bar
<pontiki> i'm giving you something rote, but you can study it by reading the documentation at http://guides.rubygems.org
mlapp30m has joined #ruby
<johnny5> rubygems and bundler appear to be merging in the short term though
<pontiki> ok, rvm handles local/user installation of gems, as it's managing the various rubies you install locally as well
<pontiki> can't come fast enough for me, johnny5
<johnny5> yeah
<johnny5> indeed
<johnny5> but looks good so far
rezzack has quit [Ping timeout: 258 seconds]
psyko666 has quit [Ping timeout: 276 seconds]
<pontiki> but i'd still prefer they take enough time to make sure everything works
<johnny5> yup
<johnny5> RUBYGEMS_GEMDEPS was so broken it was scary
<pontiki> i ain't got time to be testing no package manager
s00pcan has quit [Read error: Connection reset by peer]
pwh has joined #ruby
<pontiki> not this month anyway ~o~
<johnny5> yeah
<johnny5> it seems to be mostly fixed on master
<johnny5> the RUBYGEMS_GEMDEPS stuff
<pontiki> cool
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> pontik
<shevy> i mean
<shevy> pontiki
<shevy> you work too much
rostam has quit [Remote host closed the connection]
clov3r has joined #ruby
nowthatsamatt has joined #ruby
nowthatsamatt has quit [Client Quit]
brunops has quit [Ping timeout: 252 seconds]
hamakn has joined #ruby
rostam has joined #ruby
nateberkopec has quit [Quit: Leaving...]
sdwrage has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
fgo has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
psyko666 has joined #ruby
clov3r has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
clov3r has joined #ruby
krazh has quit [Quit: krazh]
clov3r has quit [Read error: Connection reset by peer]
sdwrage has quit [Client Quit]
krazh has joined #ruby
mehlah has quit [Quit: Leaving...]
postmodern has joined #ruby
krazh has quit [Remote host closed the connection]
sdwrage has joined #ruby
brunops has joined #ruby
binaryhat has joined #ruby
krazh has joined #ruby
jimbow has joined #ruby
<jimbow> is rake the same as rvm?
<sevenseacat> no
sunya7a has joined #ruby
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> there can be only one rvm
s2013 has quit [Ping timeout: 255 seconds]
sunya7a has quit [Client Quit]
<benzrf> jimbow: not even closer
<benzrf> *close
<benzrf> rake is make for ruby
Guest33794 has joined #ruby
<jimbow> that's what i'm getting
<jimbow> i don't get what any of that means
BSaboia has quit [Ping timeout: 240 seconds]
<havenwood> jimbow: You are apparently programming!
Bumptious has joined #ruby
<jimbow> havenwood: i'm trying to learn to program i've yet to make anything useful outside irb
mjsmith2 has quit [Remote host closed the connection]
<shevy> jimbow nono
alexju has joined #ruby
<shevy> if your stuff works in irb
<havenwood> jimbow: You're using RVM as a version manager, with which you installed Ruby 2.0.0-p451 (a fairly recent version of Ruby). Running the default rake task has tried to require 'hello.rb', which is not in your $LOAD_PATH.
<shevy> it works (almost always) outside irb, in a .rb file, as well
<sevenseacat> looks like your default rake task is to run a spec
ukd1 has quit [Quit: Leaving...]
<sevenseacat> and the spec has blown up
brunops has quit [Ping timeout: 240 seconds]
<havenwood> mm, so `hello_spec.rb` can't find `hello.rb`
northfurr has quit [Quit: northfurr]
<jimbow> havenwood: how do i set it to the $LOAD_PATH and what is a $LOAD_PATH
aspiers has quit [Ping timeout: 252 seconds]
gsvolt has joined #ruby
<shevy> hmm anyone knows, on github, if someone files a new issue, is there a way to get notified via email?
parduse has quit [Ping timeout: 258 seconds]
<havenwood> shevy: watch the project
<havenwood> shevy: or say something on the issue
<shevy> ah
<sevenseacat> it does that by default if you have notifications enabled
<sevenseacat> i think
<sevenseacat> i disabled all of them.... i'd get thousands
<havenwood> jimbow: it requires a 'hello.rb' file that isn't there, why i dunno
LaPetiteFromage_ has joined #ruby
<shevy> sevenseacat hehe
<jimbow> oh, where should the hello.rb be?
<havenwood> jimbow: there's a default rake task for specs in the root directory, but no specs to run
<jimbow> i've put it in the same directory as the hello_spec
fusiosio has joined #ruby
<havenwood> jimbow: is this created for ruby 1.8 per chance?
<havenwood> jimbow: require './hello'
radic has quit [Ping timeout: 252 seconds]
<havenwood> jimbow: or: require_relative 'hello'
<sevenseacat> i hope not
<fusiosio> Hello! I'm trying to install the new Jekyll 2. `gem` complains that the server close to me does not work. How can you specify another mirror to connect to? My error message is: Unable to download data from https://rubygems.org/ - bad response Gateway Time-out 504 (https://tokyo-m.rubygems.org/quick/Marshal.4.8/jekyll-2.0.1.gemspec.rz)
<havenwood> jimbow: or add the current directory to your $LOAD_PATH, which is an Array, just unshift on to it
<jimbow> i don't know havenwood i'm a neophyte and i have a feeling i might be genuinely retarded
yfeldblum has joined #ruby
<johnny5> no one is retarded
<johnny5> only the people who make you think that way
<johnny5> those are the real retards
<Nilium> Noooo I'm pretty sure there are people who are genuinely retarded.
<havenwood> from the tutorial: ruby -v #=> ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
<popl> we don't use the term retard anymore
radic has joined #ruby
<popl> :P
<havenwood> jimbow: You're simply following a dated tutorial.
<jimbow> i'm trying to get in the app academy
<combusean> havenwood, what resources do you know that would help somebody write highly efficient code? i know that's a loaded question...
<jimbow> it is a developer bootcamp
<shevy> jimbow in the old days, people first wrote ruby code, and no specs
<havenwood> jimbow: Anything before Ruby 1.9.3 is past end-of-life. You're using Ruby 2.0, which is great. Just find a 1.9+ resource. :)
<shevy> and there was no other bootcamp than one called reallife
<jimbow> so this website is dated?
<popl> shevy: I'm surprised you haven't died yet.
<havenwood> combusean: i really like some of rich hickey's talks on the subject
<havenwood> combusean: what do you mean by efficient though, i may be misunderstanding
<shevy> popl cat have 9 lives man
<shevy> I mean cats
<popl> what about trolls?
<jimbow> this is the code
<shevy> popl trolls are weaker than cats so they have about 3
wookiehangover has quit [Ping timeout: 240 seconds]
<combusean> havenwood, we do static analysis in ruby in our office and that's a process that's hugely memory intensive. as a general rule, I want to know how to write better ruby.
sambao21 has joined #ruby
<popl> shevy: about 3?
<popl> shevy: not quite 3 but more than 2?
<shevy> popl yeah, the old trolls have less
<shevy> the young ones are still going strong
<havenwood> combusean: mm, hard question
maestrojed has joined #ruby
<combusean> i get interview questions about scalability of code a lot and I can never answer them a whole lot from a fundamental perspective
<johnny5> oh yeah Rich Hickey the lisp god
<johnny5> from the JVM
sdouglas has joined #ruby
sambao21 has quit [Client Quit]
wookiehangover has joined #ruby
Megtastique has quit []
<combusean> what about variables that are declared, used once, and never touched again. do those get garbage collected when the def completes?
<combusean> or would it be faster if I condensed things?
razrunelord has joined #ruby
arrubin has joined #ruby
<havenwood> combusean: http://tmm1.net/ruby21-rgengc/
papercode has joined #ruby
<pontiki> if they're local variables, they're probably on the stack instead of the heap, so they're reaped immediately
<pontiki> but i'm not all that sure how ruby does it
fusiosio has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
razrunelord has quit [Ping timeout: 258 seconds]
fgo has joined #ruby
sambao21 has joined #ruby
Soliah has joined #ruby
<banister> combusean only if they're not captured by a closure
codeFiend has joined #ruby
<banister> if they're captured by a closure they get copied onto the heap (along with the entire stack frame iirc)
<pontiki> oh, right, good point
dsdeiz_ has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
jrhorn424 is now known as zz_jrhorn424
dsdeiz has quit [Ping timeout: 252 seconds]
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pontiki> i will no longer speak of ruby internals, as i know nothing of them
WishBoy- has joined #ruby
* pontiki zips her mouth
yubrew has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<shevy> overworked and mute
<shevy> that is the fate of pontiki
<pontiki> mmphmmm
brunops has joined #ruby
<pontiki> but i leave for vacation for week tomorrow!
<pontiki> OUCH
mr_snowf1ake has quit [Quit: Leaving]
snath has quit [Ping timeout: 245 seconds]
WishBoy has quit [Ping timeout: 255 seconds]
alpha123 has quit [Ping timeout: 252 seconds]
krazh has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
alpha123 has joined #ruby
snath has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
<Nilium> I know things about ruby internals but I keep my mouth shut about them because they're traumatic.
<Nilium> Well, MRI internals, anyway.
krazh has joined #ruby
* sevenseacat knows nothing
braincrash has quit [Quit: bye bye]
_maes_ has joined #ruby
sdouglas has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
tengopreguntas has left #ruby [#ruby]
maestrojed has quit [Quit: Computer has gone to sleep.]
sdouglas has joined #ruby
Hanmac has quit [Ping timeout: 258 seconds]
fgo has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 258 seconds]
bthesorceror has joined #ruby
braincrash has joined #ruby
phinfonet has quit []
n_blownapart has joined #ruby
codeurge has joined #ruby
n_blownapart has quit [Client Quit]
LaPetiteFromage_ has quit [Quit: LaPetiteFromage_]
n_blownapart has joined #ruby
Lewix has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
jamto11_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
maestrojed has joined #ruby
Hanmac has joined #ruby
anaeem1 has quit [Remote host closed the connection]
jamto11_ has quit [Ping timeout: 252 seconds]
mr_snowf1ake has quit [Quit: Leaving]
maestrojed has quit [Quit: Computer has gone to sleep.]
bin_bash has quit [Remote host closed the connection]
fgo has joined #ruby
bin_bash has joined #ruby
mr_snowf1ake has joined #ruby
<Arkaniad> n_blownapart, why did I get a ruby file from you?
<n_blownapart> Arkaniad: sorry not sure I accidently dragged and dropped from a sublime file.
<n_blownapart> it landed on your name in the member column on the right side of limechat.
<n_blownapart> Arkaniad: ^
instantaphex has joined #ruby
sambao21 has joined #ruby
zz_jrhorn424 is now known as jrhorn424
<jumblemuddle> How can I remove unused dependencies? I've uninstalled a gem, but it left behind quite a few gems.
<centrx> I don't think there is any kind of autoclean/autoremove
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<centrx> You can go through the gem list and use gem remove, or write a little script to do it
<jumblemuddle> So I have to remove every one manually? How can I get a list of dependencies for a gem, so I can remove them?
kate_r has joined #ruby
<centrx> I don't know, that's what I've always done, maybe I don't have that many gems installed
<centrx> it's very easy to write a script to do it
ner0x has joined #ruby
<sevenseacat> i've never bothered about cleaning up unused gems
<havenwood> jumblemuddle: If the gem was `pry` for example: gem dependency pry --pipe
<centrx> maybe not even a script, just something with cut and xargs
<centrx> maybe sed instead of cut
<centrx> or ruby of course
<n_blownapart> I have a simple recursion problem http://pastie.org/9147578 wondering on line 2: if the array length is 2 or less, that is two elements. so why couldn't you use b = rocks_arr[1] instead of rocks_arr[-1] if there are only two elements?
<centrx> Have you tried ruby yet?
<centrx> n_blownapart, It looks like someone was goofing off
<centrx> n_blownapart, Or maybe it is a remnant of other code that used to make sense there
<n_blownapart> centrx: whaddya mean
jaffery has quit [Quit: WeeChat 0.4.1]
instantaphex has quit [Ping timeout: 258 seconds]
RaptorJesus has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
St_Marx has quit [Write error: Broken pipe]
end_guy has quit [Write error: Broken pipe]
atmosx has quit [Write error: Broken pipe]
tacos1de has quit [Write error: Connection reset by peer]
<centrx> b = rocks_arr[1] should work...
<n_blownapart> [1] makes line 13 return an error: comparison of Fixnum with nil failed. centrx
ghr has joined #ruby
<centrx> n_blownapart, Then they must return different values, so what are the different values?
porco has joined #ruby
<centrx> n_blownapart, What /is/ rocks_array anyway
<jumblemuddle> How can I get a list of all gems, that aren't 'default'?
<centrx> n_blownapart, Well that explains it
<centrx> n_blownapart, rocks_arr.length <= 2
<jumblemuddle> it's saying I can't uninstall test-unit because it's default.
papercode has quit [Ping timeout: 240 seconds]
krazh has quit [Remote host closed the connection]
krazh has joined #ruby
<n_blownapart> centrx: sorry , but that is 2 elements, so either it is the first or second element i.e. [0] or [1] or [-1]
<n_blownapart> I just thought either would work.
ghr has quit [Ping timeout: 276 seconds]
<centrx> If rocks_arr.length == 1 then rocks_array[1] == nil
funburn has quit [Ping timeout: 252 seconds]
<centrx> n_blownapart, Thus a > b is...
<centrx> >> 5 > nil
<eval-in_> centrx => comparison of Fixnum with nil failed (ArgumentError) ... (https://eval.in/147424)
mr_snowf1ake has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
Asher has joined #ruby
SilkFox has quit [Ping timeout: 246 seconds]
<n_blownapart> but doesn't the base case in this program allow for an array with a maximum index of [0,1] ? so you wouldn't need to use [-1] to indicate the last element. centrx
tacos1de has joined #ruby
jrhorn424 has left #ruby ["Textual IRC Client: www.textualapp.com"]
<n_blownapart> because [1] would also indicate the last element^
atmosx has joined #ruby
<centrx> [1] indicates the second element
michael_lee has joined #ruby
<centrx> >> [0, 1].length
<eval-in_> centrx => 2 (https://eval.in/147425)
<centrx> n_blownapart, Look up "off-by-one error"
agrinb has joined #ruby
funburn has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<n_blownapart> ok thanks centrx
benzrf is now known as benzrf|offline
s3ri0us is now known as s3ri0us|away
<centrx> jumblemuddle, I wasn't able to find a defaults list command in gem, maybe there is a list somewhere
<centrx> (on the web)
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Remote host closed the connection]
jrhorn424 has joined #ruby
mary5030 has joined #ruby
zzzbra has left #ruby [#ruby]
C0deMaver1ck has quit [Ping timeout: 250 seconds]
MrWharfsnort has quit [Ping timeout: 255 seconds]
<havenwood> >> Dir.chdir(Gem::Specification.load_defaults[0]) { Dir['*'] }.map { |gemspec| gemspec.split(/\-\d/)[0] }
<eval-in_> havenwood => (https://eval.in/147426)
jackjackdrpr has quit [Quit: Leaving.]
<havenwood> oh, well of course no eval-in >.>
pika_pika has quit [Ping timeout: 255 seconds]
<havenwood> from Ruby for Pry deps: Gem::Specification.find_by_name('pry').dependencies.map(&:name)
Riking has quit [Ping timeout: 250 seconds]
<jumblemuddle> centrx: Alright, thanks for looking.
timonv has joined #ruby
<havenwood> jumblemuddle: ["bigdecimal", "io-console", "json", "minitest", "psych", "rake", "rdoc", "test-unit"]
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest25079
<jumblemuddle> havenwood: thanks
Solnse has quit [Ping timeout: 240 seconds]
Riking has joined #ruby
marcdel has joined #ruby
end_guy has joined #ruby
zzzbra has joined #ruby
geggam has quit [Quit: gnite]
bthesorceror has quit [Remote host closed the connection]
cibs has quit [Quit: leaving]
Sirupsen has joined #ruby
agent_white has joined #ruby
vallieres_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has joined #ruby
beneggett has joined #ruby
timonv has quit [Ping timeout: 276 seconds]
razrunelord has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
s3ri0us|away is now known as s3ri0us
rebelshrug has joined #ruby
rebelshrug has quit [Max SendQ exceeded]
johnny5 has quit []
Shidash has joined #ruby
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beneggett has quit [Client Quit]
datafirm has quit [Quit: datafirm]
jamto11 has quit [Remote host closed the connection]
razrunelord has quit [Ping timeout: 264 seconds]
johnny5 has joined #ruby
yubrew has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<n_blownapart> centrx: pardon .. sorry is this correct?: ' If rocks_arr.length == 1 then rocks_array[1] == nil ' . Isn't rocks_array[1] the second placemarker in an array of length 2? sorry to belabor this but I don't see it.
<agent_white> So... what does "**" do in a function argument? Checking out http://globaldev.co.uk/2014/05/ruby-2-1-in-detail/ under "def returns function name as a symbol".
yfeldblum has joined #ruby
<agent_white> I know * explodes... but does is double explode? Or wat?
marcdel has joined #ruby
<centrx> agent_white, ** is like an exploder for keyword arguments
<havenwood> >> def example **hash; hash end; example
<eval-in_> havenwood => {} (https://eval.in/147427)
meatherly has quit [Remote host closed the connection]
<havenwood> >> def example **hash; hash end; example a: 1, b: 2
<eval-in_> havenwood => {:a=>1, :b=>2} (https://eval.in/147428)
yubrew has quit [Ping timeout: 240 seconds]
<centrx> >> rocks_array = [0,1]; rocks_array[1]
<centrx> >> rocks_array = [0,1]; rocks_array[1]
<eval-in_> centrx => 1 (https://eval.in/147429)
<eval-in_> centrx => 1 (https://eval.in/147430)
<centrx> >> rocks_array = [0]; rocks_array[1]
<eval-in_> centrx => nil (https://eval.in/147431)
davedev24 has quit [Remote host closed the connection]
davedev24 has joined #ruby
<agent_white> Whoa...
kate_r has quit [Ping timeout: 240 seconds]
* agent_white powers-on irb
<agent_white> I need to tinker with this.
<havenwood> >> module Levenshtein; def self.distance x, y; Gem::SpecFetcher.new.levenshtein_distance x, y end end; Levenshtein.distance 'centrx', 'agent_white'
<eval-in_> havenwood => (https://eval.in/147432)
<havenwood> #=> 6
<havenwood> your names are not the same...
fgo has joined #ruby
<havenwood> thought it was interesting that levenshtein distance is available without a gem though :O
SCommette has quit [Quit: SCommette]
maroloccio has quit [Quit: WeeChat 0.4.3]
tkuchiki_ has joined #ruby
stnly has quit [Ping timeout: 252 seconds]
jrhorn424 is now known as zz_jrhorn424
ner0x has quit [Quit: Leaving]
northfurr has joined #ruby
zzzbra has quit [Remote host closed the connection]
<popl> havenwood: what do you mean without a gem?
Hobogrammer_ has joined #ruby
<popl> you used SpecFetcher
stnly has joined #ruby
<havenwood> popl: ships with Ruby
<popl> oh
<popl> I see
<agent_white> centrx: Hm. Still not sure what that is useful for?
<popl> so they're not gems if they ship with ruby?
<popl> what are they then?
<havenwood> popl: it isn't a gem at all
davedev24 has quit [Ping timeout: 255 seconds]
<havenwood> popl: it is a namespace under Gem
<havenwood> popl: Gem::SpecFetcher.new.levenshtein_distance
<popl> ok
<centrx> agent_white, I don't use keyword arguments, but I assume it is useful if you do, in the same way as the splat
sambao21 has quit [Quit: Computer has gone to sleep.]
Guest33794 has quit [Ping timeout: 255 seconds]
dsdeiz_ has quit [Ping timeout: 252 seconds]
<agent_white> centrx: I think I'll have to look into keyword args... they looked useful in 2.1?
<centrx> agent_white, I bet it works the same ways as extract_options in Rials
<centrx> agent_white, Yeah, 2.0 too
<agent_white> centrx: Huh, never tried either really. I'll look into it all! :D
tkuchiki has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Ping timeout: 252 seconds]
francisfish has joined #ruby
<centrx> agent_white, They seem to work in much the same way as the hash now
dsdeiz has joined #ruby
<centrx> agent_white, Just as the Hash now supports keyword argument syntax { a: 1, b: 2 }
<centrx> agent_white, and just as a method accepts meth("do", "a" => 1, "b" => 2)
<centrx> So it looks like kind of the same thing
<agent_white> Huh... looking into it now!
<agent_white> Kinda interesting that you can leave them blank!
skysploit has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
n_b has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 255 seconds]
mr_snowf1ake has joined #ruby
<agent_white> Wierd stuff.
<agent_white> I like those.
<n_b> Is there anything like Clojure's `swap` in Ruby? i.e. Given a map, a key, and a function, it applies that function to that key in the map and returns the new map?
<n_b> *to the value of the key in the map
<centrx> Do you have an example?
<n_b> (swap! @(atom {:foo 1}) :foo inc) => {:foo 2}
<n_b> inc~= ++
<havenwood> popl: i guess more specifically: require 'rubygems/text'; include Gem::Text; levenshtein_distance 'hello', 'helloo' #=> 1
<centrx> n_b, What's the input and output. I don't know Clojure
francisfish has quit [Ping timeout: 265 seconds]
<centrx> n_b, Is map another name for Hash?
<n_b> yes
SCommette has joined #ruby
<n_b> The similar function signature in Ruby would be def swap(hsh, key, &block) probably, and be used something like swap({foo: 1}, :foo) { |k| k++ } ==> {foo: 2}
<n_b> I guess I can just write this myself and open up Hash
jamto11 has joined #ruby
Guest33794 has joined #ruby
<centrx> n_b, One way is: my_hash.map { |k,v| [fn(k), v] }
<centrx> n_b, rather my_hash.map { |k,v| [fn(k), v] }.to_h
<centrx> n_b, Or you may mean only one particular key, in which case it could be:
Cache_Money has joined #ruby
<centrx> n_b, my_hash[fn(k)] = my_hash.delete(k)
<centrx> n_b, Where fn is the "function" you are referring to in both cases
davedev24 has joined #ruby
CorpusCallosum has quit [Ping timeout: 252 seconds]
<havenwood> require 'hashy'; {foo: 1}.map_value &:succ #=> {:foo=>2}
* havenwood cheats.
<centrx> ++
<centrx> Is hashy performance optimized?
<havenwood> >> {foo: 1, bar: 2}.map { |k, v| [k, v.succ] }.to_h
<eval-in_> havenwood => {:foo=>2, :bar=>3} (https://eval.in/147433)
St_Marx has joined #ruby
<havenwood> centrx: no C ext, just Ruby
freezey has quit [Remote host closed the connection]
porco has quit [Quit: Leaving...]
<havenwood> centrx: trivial implementation, nothing to it
<n_b> the .delete thing actually works centrx
<n_b> since I only need to update a single key
<n_b> .delete returning the value is something I wouldn't have expected, but wfm
Hobogrammer has joined #ruby
<n_b> thanks for your help, same to you havenwood
<centrx> What the heck havenwood, your gem has been replaced by some kind of javascript app
<havenwood> centrx: :O
<havenwood> centrx: which one? ;P
linojon has joined #ruby
<centrx> havenwood, Fixed, you should SEO your github repository...somewho
justinxreese has quit [Ping timeout: 246 seconds]
<havenwood> centrx: terribad name, my fault
justinxreese has joined #ruby
<havenwood> centrx: i hoped its functionality would get included in 2.1 then i could just kill the gem :P
<centrx> havenwood, As for performance optimization, there are like five or more ways of iterating to create a hash. One of them must be the fastest
<centrx> havenwood, e.g. each_with_object was really slow when it was only in Rails
Hobogrammer_ has quit [Ping timeout: 240 seconds]
agent_white has quit [Quit: bai guys]
mary5030 has quit [Remote host closed the connection]
alem0lars has joined #ruby
psyko666 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
mois3x has quit [Quit: mois3x]
ValicekB has joined #ruby
beneggett has joined #ruby
fijimunkii has joined #ruby
Soliah has quit [Quit: Soliah]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
icedp has quit [Ping timeout: 240 seconds]
mr_rich101 has quit [Ping timeout: 276 seconds]
zz_jrhorn424 has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
zz_jrhorn424 has joined #ruby
icedp has joined #ruby
krazh has quit [Read error: Connection reset by peer]
krazh has joined #ruby
johnny5 has quit [Read error: Connection reset by peer]
fella6s has joined #ruby
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
zorak8 has joined #ruby
alem0lars has quit [Quit: Going AFK...]
mr_rich101 has joined #ruby
subbyyy_ has joined #ruby
starfox21 has quit [Quit: starfox21]
fella5s has quit [Ping timeout: 252 seconds]
mlapp30m has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
mlapp30m has joined #ruby
fgo has quit [Remote host closed the connection]
momigi_ has quit [Remote host closed the connection]
<zorak8> every excercise i do in codecademy about javascript make me love more ruby
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> Javascript is a bit clunky
<centrx> Coffeescript makes it better
johnny5 has joined #ruby
momigi has joined #ruby
Lewix has quit [Remote host closed the connection]
datafirm has joined #ruby
<centrx> havenwood, Yeah you need to learn Japanese to push this to Ruby core
<johnny5> :/
<johnny5> thats not true
<popl> centrx: why's that?
<johnny5> in the very early days it might have been but time moves and so do people
<centrx> I mean it would make him more able to persuade them to add it, not as a requirement for being able to push code
vinse has joined #ruby
<johnny5> knowing japanese would help when communicating to japanese people, yeah
pen has joined #ruby
hoelzro has quit [Ping timeout: 265 seconds]
sdouglas has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
jamto11 has joined #ruby
<johnny5> english is more or less a universal language
alem0lars has joined #ruby
momigi has quit [Ping timeout: 265 seconds]
momigi has joined #ruby
<centrx> It's still said of the Ruby core team
<bin_bash> Has anyone ever seen this error before when trying to start rails?
<bin_bash> .rvm/gems/ruby-2.1.1/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
<johnny5> it can't still be said, no
<johnny5> it could have been said 10 years ago
<johnny5> but not anymore
n_blownapart has quit []
<johnny5> i mean you can say it
<johnny5> but you'd be talking a lot of rubbish
SilkFox has joined #ruby
<centrx> Well, it was said maybe as recently as two years ago
<johnny5> i see
<johnny5> i dont believe it to be true
<centrx> Japan is a more insular place. Some people just do not know English well
<johnny5> yeah are you speaking on behalf of japan?
<centrx> I am Emperor of Japan, yes that's correct
<johnny5> hah
<johnny5> but you cant speak japanese
<johnny5> thats weird
<sevenseacat> bin_bash: read error, install a runtime. and ask rails questions in the right channel.
<centrx> havenwood can't speak Japanese
<johnny5> yeah
mansi has quit [Remote host closed the connection]
<johnny5> so?
<johnny5> it's not a requirement
<centrx> The Emperor of Japan is too busy to help him speak Japanese
<johnny5> oh zzz
<havenwood> i can't :O, or you're ordering me as emperor not to?
<centrx> Are you Japan?
<johnny5> i dont believe so
<johnny5> are you a tit?
mansi has joined #ruby
<centrx> I am Emperor of Japan
<havenwood> centrx: I'm the country itself.
jonDeer has joined #ruby
<centrx> Then yes, it is an order
<centrx> What was it again?
<havenwood> dunno
<popl> no hot dogs on Friday
<popl> or hot dogs on Friday
<havenwood> oh, that's too bad!
<popl> I forget which
<centrx> It is ordered. No hot dogs on Friday
<havenwood> the latter i hope
<havenwood> corn dogs?
<popl> NO
<centrx> It is ordered. Extra hot dogs if corn dogs? on Friday
<johnny5> centrx: if you cant bring yourself to talk to japanese people, you shouldnt be writing ruby
yubrew has joined #ruby
<havenwood> i took a few years of japanese
porco has joined #ruby
<centrx> I do not talk to Japanese people. I order them as the descendent of the Sun God himself.
<popl> havenwood: but you don't remember any of it
<havenwood> but i don't understand enough to follow along, and i certainly can't converse
<johnny5> i see
<havenwood> popl: pretty much
<popl> havenwood: mostly you just wanted to score Japanese ladies.
<jonDeer> im having trouble opening my heroku app, I figured I could copy my log and show it to you guys but I don't know how to copy lines from a terminal/git shell
SilkFox has quit [Ping timeout: 245 seconds]
<centrx> ruh roh heroku
razrunelord has joined #ruby
<havenwood> popl: hey, i'm single, i certainly wouldn't complain!
<johnny5> i love /ignore
<johnny5> perfect for centrx
<havenwood> now now
<popl> johnny5: it's bad form to announce that sort of thing
<centrx> Too bad, I was just about to reveal my most important secret
<johnny5> ?
<popl> johnny5: fine if you do it, but keep it to yourself
roadie has joined #ruby
<johnny5> i dont want to listen to that rubbish
<popl> yeah, you sure showed him by ignoring him.
<centrx> oww
<johnny5> guess so
hoelzro has joined #ruby
<havenwood> jonDeer: copy/paste troubles?
iamcalledrob has joined #ruby
<havenwood> jonDeer: There're a handful of apps you can pipe to to copy to the terminal. What OS/distro?
<popl> havenwood: I wonder how often men learn foreign languages for women.
mansi has quit [Ping timeout: 252 seconds]
<johnny5> all the time
Bira has joined #ruby
<johnny5> foreign women are beautiful
<popl> I like App::NoPaste
<jonDeer> havenwood: I have windows, I can paste to a git shell but I don't know how to copy from it
<havenwood> jonDeer: ah, I dunno! :O
<jonDeer> i basically wanna show people my heroku log
MissionCritical has quit [Ping timeout: 240 seconds]
b00stfr3ak has joined #ruby
<jonDeer> my app runs locally but not on heroku
yubrew has quit [Ping timeout: 255 seconds]
razrunelord has quit [Ping timeout: 252 seconds]
<popl> jonDeer: open it up in edit, copy everything, paste it to gist?
jrhe has quit [Quit: Connection closed for inactivity]
<havenwood> jonDeer: record yourself reciting the log, then upload the wav to youtube
<johnny5> lol
<popl> install Strawberry Perl, install App::Nopaste, nopaste heroku.log
<havenwood> mm, Strawberry Perl make me hungry
Bira has quit [Ping timeout: 240 seconds]
* havenwood may just be hungry.
<johnny5> love me some perl
Avahey_ has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Ping timeout: 276 seconds]
<bin_bash> sevenseacat: can you tell me the right rails channel
<johnny5> i can
<bin_bash> what is it, johnny5
<johnny5> 1sec
<johnny5> figuring it out
<sevenseacat> #rubyonrails
<bin_bash> I alreayd tried #rails and ##rails and #rubyrails
<johnny5> i see
<johnny5> i think its actually #django
<havenwood> bin_bash: #rubyonrails does req nick reg, btw
jamto11 has quit [Remote host closed the connection]
Morkel has joined #ruby
eynj1 has quit [Quit: eynj1]
sdouglas has joined #ruby
<bin_bash> havenwood: good thing my nick is registered then
<johnny5> i think thats the wrong channel
<johnny5> is it not #django nowadays?
sdouglas has quit [Remote host closed the connection]
Winslow has joined #ruby
starfox21 has joined #ruby
northfurr has quit [Quit: northfurr]
<havenwood> #django-unchained*
<johnny5> gotcha
<havenwood> crush the snake!
<havenwood> ahem, i mean live harmoniously...
<johnny5> does a good job at that itself
funburn has quit [Ping timeout: 252 seconds]
jack_rabbit has quit [Ping timeout: 255 seconds]
MissionCritical has joined #ruby
bkparso has quit [Quit: bkparso]
Steve21 has joined #ruby
Soda has quit [Remote host closed the connection]
sdouglas has joined #ruby
Arkaniad has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby
jimbow has quit [Quit: Lost terminal]
knwang has joined #ruby
jamto11 has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
tkuchiki_ has joined #ruby
RaptorJesus has joined #ruby
tobago has joined #ruby
fgo has joined #ruby
akgerber has quit [Ping timeout: 276 seconds]
knwang has left #ruby [#ruby]
tkuchiki has quit [Ping timeout: 255 seconds]
alem0lars has quit [Quit: Going AFK...]
linojon has quit [Quit: linojon]
_justin has joined #ruby
jamto11 has quit [Ping timeout: 255 seconds]
Steve21 has quit [Quit: Steve21]
funburn has joined #ruby
jack_rabbit has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
alpha123_ has joined #ruby
alem0lars has joined #ruby
instantaphex has joined #ruby
Arkaniad has joined #ruby
alem0lars has quit [Client Quit]
alpha123 has quit [Ping timeout: 258 seconds]
Kruppe has quit [Ping timeout: 258 seconds]
carlyle has joined #ruby
carlyle has quit [Remote host closed the connection]
alem0lars has joined #ruby
iamcalledrob has quit [Quit: Computer has gone to sleep.]
dr0ff has left #ruby [#ruby]
instantaphex has quit [Ping timeout: 265 seconds]
Kruppe has joined #ruby
pu22l3r has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
sldhtw has joined #ruby
iamcalledrob_ has joined #ruby
krazh has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
krazh has joined #ruby
mary5030 has joined #ruby
agrinb has joined #ruby
starfox21 has quit [Quit: starfox21]
tagrudev has joined #ruby
alem0lars has quit [Quit: Going AFK...]
timonv has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
s3ri0us is now known as s3ri0us|away
s3ri0us|away is now known as s3ri0us
SCommette has quit [Quit: SCommette]
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
mary5030 has quit [Ping timeout: 258 seconds]
amclain has quit [Quit: Leaving]
lurch_ has joined #ruby
sdouglas has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
marcdel has quit []
alem0lars has joined #ruby
artgoeshere has quit [Ping timeout: 240 seconds]
gigetoo has quit [Read error: Connection reset by peer]
mr_snowf1ake has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
Adran has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
hostess has quit [Ping timeout: 240 seconds]
dyreshark has quit [Ping timeout: 240 seconds]
Kamilion has quit [Ping timeout: 240 seconds]
Guest33794 has quit [Quit: p33 ba115]
max__ has joined #ruby
sdouglas has quit [Ping timeout: 252 seconds]
max__ is now known as Guest99938
pu22l3r has quit [Remote host closed the connection]
gigetoo has joined #ruby
yubrew has joined #ruby
sdouglas has joined #ruby
toastynerd has joined #ruby
cschneid has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
eynj has left #ruby [#ruby]
vpretzel has quit [Ping timeout: 250 seconds]
apeiros_ has joined #ruby
razrunelord has joined #ruby
Xeago has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
iamcalledrob_ has quit [Quit: Computer has gone to sleep.]
s2013 has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
IceDragon has quit [Quit: Space~~~]
razrunelord has quit [Ping timeout: 255 seconds]
subraminion has joined #ruby
asdklji2 has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
ehaliewicz has joined #ruby
iamcalledrob_ has joined #ruby
omosoj has quit [Ping timeout: 255 seconds]
Kamilion has joined #ruby
apeiros_ has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 265 seconds]
subbyyy has joined #ruby
Macaveli has joined #ruby
askldjuio2 has quit [Ping timeout: 252 seconds]
Chamkila has joined #ruby
Chamkila has quit [Changing host]
Chamkila has joined #ruby
subbyyy_ has quit [Ping timeout: 255 seconds]
WishBoy- has quit [Remote host closed the connection]
WishBoy has joined #ruby
havenwood has quit []
agrinb has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
agrinb has joined #ruby
fantazo has joined #ruby
InfraRuby has quit [Remote host closed the connection]
mlapp30m` has joined #ruby
francisfish has joined #ruby
bal has joined #ruby
agrinb has quit [Ping timeout: 255 seconds]
davedev25 has joined #ruby
mlapp30m has quit [Ping timeout: 252 seconds]
Chamkila_ has joined #ruby
Chamkila_ has quit [Remote host closed the connection]
francisfish has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
jonDeer has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]]
nari has joined #ruby
davedev25 has quit [Ping timeout: 240 seconds]
St_Marx has joined #ruby
Chamkila has quit [Ping timeout: 240 seconds]
edgar_wang_cn has quit [Ping timeout: 252 seconds]
edgar_wang_cn has joined #ruby
CADBOT has joined #ruby
<CADBOT> how do I get a gems such as this in my gemfile
<CADBOT> gem 'capybara/poltergeist'
<sevenseacat> the gem is poltergeist
<sevenseacat> so just add `gem "poltergeist"`
railsbro has joined #ruby
<CADBOT> My specific issue is I'm I have this line in one of my ruby files
<CADBOT> r
robbyoconnor has joined #ruby
<sevenseacat> yes, likely your spec heloper
<CADBOT> require 'capybara/poltergeist'
<sevenseacat> *helper
<CADBOT> Yep, the spec helper
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
<CADBOT> And when I bundle exec the rake task, it breaks cause it can't find that
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<sevenseacat> is poltergeist in your Gemfile?
<CADBOT> To be perfectly honest, I don't really understand fully what's going on when you have a require with a / in it
<CADBOT> No, and that might be the issue
<sevenseacat> its just requiring a file
<sevenseacat> the file is located in that gem
<CADBOT> so in my spec file, would putting this be valid as well
<CADBOT> gem 'capybara'; gem 'poltergeist'
<CADBOT> (Minus the ugly semicolon of course)
<sevenseacat> in your spec file? no
<sevenseacat> in your Gemfile, yes
<CADBOT> In my spec helper file
Adran has joined #ruby
<sevenseacat> do you know what Gemfile is and what its for?
<CADBOT> The part I'm not getting is why my spec helper lists it as require 'capybara/poltergeist', but my gemfile has it as gem 'capybara' gem 'poltergeist
ddv has quit [Changing host]
ddv has joined #ruby
<sevenseacat> because capybara and poltergeist are two separate gems
<sevenseacat> `require 'capybara/poltergeist'` simply requires this file https://github.com/teampoltergeist/poltergeist/blob/master/lib/capybara/poltergeist.rb
<sevenseacat> which is inside the poltergeist gem
kitak_ has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
chipotle has joined #ruby
<CADBOT> I see. Thanks for that link. It really cleared things up
kevinykc_ has joined #ruby
Sirupsen has joined #ruby
<CADBOT> That also explains to me why I don't have to require capybara, as capybara/poltergeist takes care of that for me
<certainty> moin
<certainty> sevenseacat: long time no see
<sevenseacat> certainty: howdy.
<certainty> :)
krazh has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
krazh has joined #ruby
kevinykchan has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
brunops has joined #ruby
noop has joined #ruby
Sirupsen has quit [Client Quit]
techsethi has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
yubrew has joined #ruby
kiri has joined #ruby
mbuf has joined #ruby
_justin has quit [Quit: _justin]
sldhtw has left #ruby [#ruby]
sdwrage has quit [Quit: This computer has gone to sleep]
fgo has quit [Remote host closed the connection]
_justin has joined #ruby
alpha123_ has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby
yubrew has quit [Ping timeout: 258 seconds]
W0rmDr1nk has quit [Ping timeout: 240 seconds]
alpha123 has joined #ruby
akemrir has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
LekeFly_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hobogrammer has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
kevinykc_ has quit [Ping timeout: 264 seconds]
razrunelord has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
smaboshe has joined #ruby
ayaz has joined #ruby
thomasxie has left #ruby [#ruby]
razrunelord has quit [Ping timeout: 264 seconds]
Cache_Money has quit [Quit: Cache_Money]
datafirm has quit [Quit: datafirm]
momigi has quit [Remote host closed the connection]
momigi has joined #ruby
wallerdev has quit [Quit: wallerdev]
Hanmac1 has joined #ruby
claymore has joined #ruby
robbyoconnor has joined #ruby
vinse has quit [Ping timeout: 265 seconds]
Winslow has quit [Ping timeout: 250 seconds]
gaussblurinc has joined #ruby
fabrice31 has joined #ruby
Guest99938 has quit [Quit: p33 ba115]
Hanmac has quit [Ping timeout: 264 seconds]
mlapp30m` has quit [Ping timeout: 255 seconds]
funburn has quit [Quit: funburn]
sl33k_ has joined #ruby
momigi has quit [Ping timeout: 240 seconds]
alem0lars has quit [Ping timeout: 250 seconds]
tesuji has joined #ruby
alem0lars has joined #ruby
gaussblurinc has quit [Client Quit]
nfk has joined #ruby
_justin has quit [Quit: _justin]
chipotle_ has joined #ruby
obs has joined #ruby
zigomir has joined #ruby
bluOxigen has joined #ruby
St_Marx has quit [Remote host closed the connection]
rdark has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
W0rmDr1nk has joined #ruby
lsmola has joined #ruby
St_Marx has joined #ruby
roshanavand has joined #ruby
CADBOT has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jamto11 has joined #ruby
greenarrow has joined #ruby
_justin has joined #ruby
aganov has joined #ruby
dangerousdave has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
timonv has joined #ruby
francisfish has joined #ruby
claymore has quit [Ping timeout: 255 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
andikr has joined #ruby
claymore has joined #ruby
fgo has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
subraminion_ has joined #ruby
JumpMast3r has quit [Ping timeout: 250 seconds]
subraminion has quit [Read error: Connection reset by peer]
francisfish has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
relix has joined #ruby
agrinb has joined #ruby
LekeFly has joined #ruby
shvelo has joined #ruby
krazh has quit [Remote host closed the connection]
ghr has joined #ruby
krazh has joined #ruby
yubrew has joined #ruby
LekeFly has quit [Client Quit]
agrinb has quit [Ping timeout: 255 seconds]
zenojis has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
fgo has joined #ruby
brunops has joined #ruby
zenojis has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
sk87 has joined #ruby
LekeFly has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
Hanmac1 has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
heftig has joined #ruby
sooik has joined #ruby
yfeldblum has joined #ruby
Hanmac has joined #ruby
alem0lars has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
aganov has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
lxsameer has quit [Quit: Leaving]
Azure has quit [Quit: My MBP went to sleep.]
Azure has joined #ruby
codeFiend has quit [Quit: codeFiend]
Asher has quit [Remote host closed the connection]
subraminion_ has quit [Quit: Lingo - http://www.lingoirc.com]
subraminion has joined #ruby
iamcalledrob_ has quit [Quit: Computer has gone to sleep.]
lxsameer has joined #ruby
combusean has quit [Ping timeout: 252 seconds]
lxsameer has quit [Changing host]
lxsameer has joined #ruby
mansi has joined #ruby
hermanmunster has quit [Remote host closed the connection]
narcan has joined #ruby
hermanmunster has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
razrunelord has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
RohanRNS has quit [Quit: Connection closed for inactivity]
d33tah has quit [Read error: Connection timed out]
edgar_wang_cn has left #ruby [#ruby]
hermanmunster has quit [Ping timeout: 255 seconds]
obs has quit [Quit: Saliendo]
d33tah has joined #ruby
obs has joined #ruby
razrunelord has quit [Ping timeout: 240 seconds]
JoeGaudet has quit [Quit: Computer has gone to sleep.]
alex88 has joined #ruby
aagdbl has joined #ruby
Lewix has joined #ruby
subraminion has quit [Read error: Connection reset by peer]
subraminion has joined #ruby
fgo has quit [Remote host closed the connection]
Asher has joined #ruby
krazh has quit [Remote host closed the connection]
monkegjinni has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
alem0lars has joined #ruby
CADBOT has joined #ruby
ghr has joined #ruby
nvrch has joined #ruby
CADBOT has quit [Client Quit]
alexju has quit [Remote host closed the connection]
qba73 has joined #ruby
roolo has joined #ruby
michaelchum has quit [Quit: Connection closed for inactivity]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LiohAu has joined #ruby
obs_ has joined #ruby
einarj has joined #ruby
kitak_ has quit [Remote host closed the connection]
tvw has joined #ruby
kitak_ has joined #ruby
funburn has joined #ruby
pgmcgee has quit [Ping timeout: 250 seconds]
roshanavand has quit [Ping timeout: 252 seconds]
_justin has quit [Quit: _justin]
pgmcgee has joined #ruby
roshanavand has joined #ruby
andrewlio has joined #ruby
_Andres has joined #ruby
lurch_ has quit [Quit: lurch_]
marr has joined #ruby
elaptics`away is now known as elaptics
mehlah has quit [Quit: Leaving...]
lurch_ has joined #ruby
yubrew has joined #ruby
klaut has quit [Remote host closed the connection]
timonv has joined #ruby
_justin has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
subraminion has quit [Quit: Computer has gone to sleep.]
brunoro has joined #ruby
brunoro has quit [Client Quit]
Morkel_ has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
ktun has joined #ruby
brunops has quit [Ping timeout: 265 seconds]
Morkel has quit [Ping timeout: 250 seconds]
Morkel_ is now known as Morkel
fgo has joined #ruby
brunoro has joined #ruby
mcrmfc has joined #ruby
ktun has quit [Client Quit]
akemrir has quit [Quit: WeeChat 0.4.3]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 240 seconds]
ktun has joined #ruby
AlSquire has joined #ruby
LekeFly has joined #ruby
postmodern has quit [Quit: Leaving]
DrakeN3t has joined #ruby
subraminion has joined #ruby
olivier_bK has joined #ruby
<DrakeN3t> I'm a noobie rubie, just wondering, can ruby connect "easily" to microsoft SQL?
subraminion has quit [Client Quit]
subraminion has joined #ruby
<johnny5> le sigh
sl33k_ has quit [Ping timeout: 255 seconds]
<apeiros> DrakeN3t: I think there are drivers for mssql, yes.
mansi has joined #ruby
vpretzel has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
sputnik13 has quit [Max SendQ exceeded]
obs_ has quit [Quit: Saliendo]
sputnik13 has joined #ruby
likemike has quit [Read error: Operation timed out]
likemike has joined #ruby
razrunelord has joined #ruby
mansi has quit [Ping timeout: 255 seconds]
LekeFly has joined #ruby
mbuf has left #ruby ["Leaving"]
funburn has quit [Quit: funburn]
razrunelord has quit [Ping timeout: 264 seconds]
dsdeiz_ has joined #ruby
robbyoconnor has quit [Ping timeout: 276 seconds]
mehlah has joined #ruby
dsdeiz has quit [Ping timeout: 255 seconds]
ikaros has joined #ruby
sl33k_ has joined #ruby
<mikecmpbll> >> a, b = 1
<eval-in_> mikecmpbll => 1 (https://eval.in/147535)
<mikecmpbll> >> a, b = 1; b
<eval-in_> mikecmpbll => nil (https://eval.in/147536)
robbyoconnor has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
<johnny5> \o o/
kitak_ has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
klaut has joined #ruby
kitak_ has joined #ruby
<johnny5> parallel assignment cool
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
workmad3 has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
lolmaus has joined #ruby
funburn has joined #ruby
subraminion has quit [Ping timeout: 250 seconds]
subraminion has joined #ruby
subraminion has quit [Client Quit]
DrakeN3t has quit []
subraminion has joined #ruby
subraminion has quit [Client Quit]
banister_ has joined #ruby
iamcalledrob_ has joined #ruby
banister has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
subraminion has joined #ruby
shredding has joined #ruby
artgoeshere has joined #ruby
dyreshark has joined #ruby
hostess has joined #ruby
twiceaday has joined #ruby
iamcalledrob_ has quit [Ping timeout: 265 seconds]
b00stfr3ak has quit [Ping timeout: 250 seconds]
apeiros_ has joined #ruby
jamto11 has joined #ruby
agrinb has joined #ruby
RubyPanther has quit [Ping timeout: 245 seconds]
apeiros has quit [Ping timeout: 252 seconds]
twiceday has quit [Ping timeout: 252 seconds]
apeiros_ is now known as apeiros
keen_______ has quit [Ping timeout: 276 seconds]
yubrew has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
supermarin has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
spider-mario has joined #ruby
_justin has quit [Quit: _justin]
fgo has joined #ruby
mven has quit [Ping timeout: 265 seconds]
yubrew has quit [Ping timeout: 258 seconds]
mven has joined #ruby
funburn has quit [Quit: funburn]
RubyPanther has joined #ruby
alem0lars has quit [Quit: Going AFK...]
_justin has joined #ruby
ridget has joined #ruby
alem0lars has joined #ruby
francisfish has joined #ruby
blackmesa has joined #ruby
johnny5 has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 255 seconds]
sevenseacat has quit [Quit: Leaving.]
_justin has quit [Ping timeout: 264 seconds]
_justin has joined #ruby
anaeem1__ has joined #ruby
pen has quit []
pen has joined #ruby
sl33k_ has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
anaeem1 has quit [Ping timeout: 240 seconds]
kate_r has joined #ruby
kate_r has quit [Max SendQ exceeded]
ridget has quit [Quit: Textual IRC Client: www.textualapp.com]
kate_r has joined #ruby
ridget_ has joined #ruby
ridget_ has quit [Client Quit]
lurch_ has quit [Quit: lurch_]
karupa is now known as zz_karupa
narcan has joined #ruby
Lewix has quit [Remote host closed the connection]
canton7-mac has joined #ruby
mansi has joined #ruby
RaptorJesus has quit [Ping timeout: 272 seconds]
olivier_bK has quit [Remote host closed the connection]
tjsousa has joined #ruby
tjsousa has quit [Remote host closed the connection]
tjsousa has joined #ruby
sl33k_ has joined #ruby
ihitdisplay has joined #ruby
HashNuke has quit [Quit: Connection closed for inactivity]
Alina-malina has joined #ruby
lurch_ has joined #ruby
razrunelord has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danijoo has quit [Quit: Leaving...]
danijoo has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
nicar_ is now known as nicar
sdouglas has quit [Remote host closed the connection]
pagioss is now known as pagios
razrunelord has quit [Ping timeout: 255 seconds]
DaniG2k has joined #ruby
sdouglas has joined #ruby
_justin has quit [Quit: _justin]
monkegjinni has quit [Remote host closed the connection]
fijimunkii has quit [Ping timeout: 252 seconds]
sdouglas has quit [Ping timeout: 250 seconds]
ehaliewicz has quit [Ping timeout: 258 seconds]
aspiers has joined #ruby
kate_r has quit [Ping timeout: 252 seconds]
matchaw has quit [Remote host closed the connection]
braincra- has joined #ruby
braincrash has quit [Ping timeout: 264 seconds]
matchaw has joined #ruby
alexju has joined #ruby
fgro has joined #ruby
_justin has joined #ruby
seaned has joined #ruby
<fgro> is there a ruby method for the following: .... make_array(array_or_string) ... returns Array(string) or "original array from input" .. ?
nvrch has quit [Quit: nvrch]
shredding has quit [Quit: shredding]
<canton7-mac> example inputs and outputs? it's hard to visualise what you're describing
<fgro> so basically def make_array(input) ; Array(input).flatten; end
alexju has quit [Ping timeout: 258 seconds]
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7-mac> I meant in terms of example inputs ("test", [1, 2], etc), and outputs
<fgro> ah sorry... Array([1,2,3]) => [1,2,3]
yubrew has joined #ruby
aspiers has quit [Ping timeout: 255 seconds]
<canton7-mac> again, you're describing a solution, not a problem :P
subraminion has quit [Quit: Computer has gone to sleep.]
<canton7-mac> you just pasted some valid ruby :P
matchaw has quit [Ping timeout: 255 seconds]
matchaw has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
ayaz has joined #ruby
decoponio has joined #ruby
matthewrobbins has joined #ruby
twiceday has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Leaving...]
Alina-malina has joined #ruby
mcrmfc has quit [Ping timeout: 240 seconds]
matthewrobbins is now known as mcrmfc
subraminion has joined #ruby
fabrice31 has quit [Remote host closed the connection]
subraminion has quit [Remote host closed the connection]
Shidash has quit [Quit: Leaving.]
subraminion has joined #ruby
subraminion has quit [Client Quit]
subraminion has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
kate_r has joined #ruby
baweaver has joined #ruby
hermanmunster has joined #ruby
shredding has joined #ruby
baweaver has quit [Ping timeout: 265 seconds]
alem0lars has quit [Quit: alem0lars]
roolo has joined #ruby
BSaboia has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
m00nlight has joined #ruby
Alina-malina has joined #ruby
Martxel has joined #ruby
ktun has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
AlexRussia has joined #ruby
brunoro has quit [Ping timeout: 264 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
narcan has joined #ruby
francisfish has quit [Remote host closed the connection]
obs_ has joined #ruby
zoraj has joined #ruby
andrewlio has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 276 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
LekeFly_ has joined #ruby
Alina-malina has joined #ruby
subraminion has joined #ruby
kitak_ has quit [Remote host closed the connection]
subraminion has quit [Remote host closed the connection]
_justin has quit [Ping timeout: 252 seconds]
cibs has joined #ruby
_justin has joined #ruby
LekeFly_ has quit [Client Quit]
subraminion has joined #ruby
kitak_ has joined #ruby
lxsameer has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
LekeFly has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
fijimunkii has joined #ruby
sepp2k has joined #ruby
Alina-malina has joined #ruby
razrunelord has joined #ruby
kitak_ has quit [Ping timeout: 240 seconds]
Rahul_Roy has joined #ruby
supermarin has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 258 seconds]
supermarin has joined #ruby
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
obs has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
toretore has joined #ruby
razrunelord has quit [Ping timeout: 240 seconds]
obs has joined #ruby
klaut has quit []
klaut has joined #ruby
supermarin has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
supermarin has joined #ruby
kate_r has quit []
northfurr has joined #ruby
sooik has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
agrinb has joined #ruby
porco has quit [Quit: Linkinus - http://linkinus.com]
iamcalledrob_ has joined #ruby
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
phutchins has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
yubrew has joined #ruby
lxsameer has quit [Client Quit]
eka has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 258 seconds]
AlSquire has quit [Ping timeout: 252 seconds]
iamcalledrob_ has quit [Ping timeout: 240 seconds]
eka has quit [Client Quit]
yubrew has quit [Ping timeout: 264 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
lxsameer has joined #ruby
fijimunkii has quit [Ping timeout: 250 seconds]
lxsameer has quit [Changing host]
lxsameer has joined #ruby
robbyoconnor has joined #ruby
shredding has quit [Quit: shredding]
yfeldblum has joined #ruby
jamto11 has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
brunoro has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
shredding has joined #ruby
northfurr has quit [Quit: northfurr]
jamto11 has quit [Ping timeout: 252 seconds]
blueOxigen has joined #ruby
Alina-malina has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Read error: Connection reset by peer]
shredding has quit [Client Quit]
_Andres has quit [Read error: Connection reset by peer]
supermarin has quit []
Hanmac1 has joined #ruby
jrhe has joined #ruby
jonathanwallace has quit [Ping timeout: 250 seconds]
lw has quit [Quit: s]
Hanmac has quit [Ping timeout: 255 seconds]
workmad3 is now known as wm3|away
BSaboia has quit [Ping timeout: 252 seconds]
Nahra has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 265 seconds]
qba73 has quit [Ping timeout: 265 seconds]
simono has joined #ruby
lowski has joined #ruby
kpshek has joined #ruby
robbyoconnor has joined #ruby
andrewlio has joined #ruby
tesuji has quit [Ping timeout: 264 seconds]
simono has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Nahra has joined #ruby
sl33k_ has quit [Ping timeout: 240 seconds]
phoo1234567 has joined #ruby
<lupine> well, that's interesting
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lupine> https://groups.google.com/forum/#!topic/rubyonrails-security/NkKc7vTW70o - shouldn't the oatches also check for File::ALT_SEPARATOR ?
monkegjinni has joined #ruby
sl33k_ has joined #ruby
<lupine> oh, wait, I'm being stupid
<lupine> that's just the tests
momigi has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
relix has joined #ruby
nari has quit [Ping timeout: 245 seconds]
simono has joined #ruby
guinslym has joined #ruby
lowski is now known as lowski_away
yalue has joined #ruby
mansi has joined #ruby
bluOxigen has joined #ruby
robbyoconnor has quit [Ping timeout: 250 seconds]
blueOxigen has quit [Ping timeout: 252 seconds]
arturaz has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
JasmeetQA has quit [Read error: Connection reset by peer]
pdtpatrick has quit [Remote host closed the connection]
razrunelord has joined #ruby
robbyoconnor has joined #ruby
Megtastique has joined #ruby
d33tah has quit [Read error: Connection timed out]
shredding has joined #ruby
pdtpatrick has joined #ruby
nvrch has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
razrunelord has quit [Ping timeout: 255 seconds]
alpha123 has quit [Ping timeout: 255 seconds]
d33tah has joined #ruby
yubrew has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
subraminion has quit [Quit: Computer has gone to sleep.]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
arturaz has quit [Remote host closed the connection]
sk87 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
troulouliou_dev has joined #ruby
olivier_bK has joined #ruby
tjr9898 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<lupine> oop, _valid_action_name? is wrong
banister has joined #ruby
bkparso has joined #ruby
subraminion has joined #ruby
banister has quit [Max SendQ exceeded]
subraminion has quit [Remote host closed the connection]
jxf has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
subraminion has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
monkegjinni has quit [Remote host closed the connection]
ktun has joined #ruby
banister has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
monkegjinni has joined #ruby
sssczy has joined #ruby
yfeldblum has joined #ruby
lowski_away is now known as lowski
Sirupsen has joined #ruby
nateberkopec has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
DaniG2k has quit [Quit: leaving]
yfeldblum has quit [Ping timeout: 276 seconds]
snath has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
renier has joined #ruby
monkegjinni has quit [Remote host closed the connection]
sambao21 has joined #ruby
mr_snowf1ake has joined #ruby
r0bby has joined #ruby
robbyoconnor has quit [Ping timeout: 265 seconds]
<sssczy> Hello, guys! Who knows the book "Meteprogamming Ruby" ? I have a question about the 3.7 chapter “Quiz:A better DSL”...
<canton7> I doubt anyone's got it to hand... why don't you ask a complete, self-contained question?
bdabrowski has joined #ruby
noop has quit [Ping timeout: 255 seconds]
sl33k_ has quit [Ping timeout: 264 seconds]
<shevy> sssczy just ask man
<apeiros> +1
zz_karupa is now known as karupa
[gmi] has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
karupa is now known as zz_karupa
benzrf|offline is now known as benzrf
renier has quit [Quit: Textual IRC Client: www.textualapp.com]
subraminion has quit [Quit: Computer has gone to sleep.]
francisfish has joined #ruby
mark_locklear has joined #ruby
jamto11 has joined #ruby
subraminion has joined #ruby
<guinslym> hI! How can I remove a quotes within a string on a csv file https://gist.github.com/guinslym/a78e1fa5794698e7439a
<tobiasvl> use gsub instead of tr
fgo has quit [Remote host closed the connection]
<tobiasvl> hmm no tr does that already
<tobiasvl> what doesn't work here?
try has joined #ruby
<guinslym> my csv file has some error CSV::MalformedCSVError: Missing or stray quote in line 6310 and it'S always the same error
<guinslym> there is a quotation mark inside of a string "Les enfants surdoués ou "la précocité embarrassante" /",
<tobiasvl> ah yes
<tobiasvl> that needs to be escaped
<guinslym> so as my file is about 1gb I can't look for every errors manually. So I would like to be able for
xIzIv has joined #ruby
voltagex has left #ruby ["WeeChat 0.4.3"]
<guinslym> or within the loop to be able to remove the unwanted quotation
s00pcan has joined #ruby
mjs2600_ has joined #ruby
<tobiasvl> the problem is that you do that after trying to parse the CSV file
<tobiasvl> but the parsing fails because the file isn't valid CSV
sunya7a has joined #ruby
monkegjinni has joined #ruby
r0bby has quit [Ping timeout: 265 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<guinslym> ruby is able to parse the file but when it gets to a row that 's not well formated (like row 6310) it output an error
sdwrage has joined #ruby
m8 has joined #ruby
<tobiasvl> guinslym: that's … the parsing failing on that line
monkegjinni has joined #ruby
jack_rabbit has quit [Ping timeout: 265 seconds]
pu22l3r has joined #ruby
<Schmidt> Do any of you know if there is a library for working with SAMI subtitles ?
chrisseaton has joined #ruby
<guinslym> yes the parsing is failing on the line 6310 all the previous line is working great
endash has joined #ruby
<tobiasvl> guinslym: I understand that, but the parsing of the entire file fails because of that line. you can't parse that line and THEN try to remove the quote. that needs to be done prior to parsing it
zack` has joined #ruby
zack` has left #ruby [#ruby]
sl33k_ has joined #ruby
Alina-malina has joined #ruby
DouweM has joined #ruby
<try> tobiasvl: could you not parse each line separately, and catch such errors? sure, it would be slow...
pika_pika has joined #ruby
bthesorceror has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<guinslym> tobiasvl, ok I see. I will try to read the file //File.read('filename')// and for each line replacing the quotation within a string than parsing in it with the CSV library...thks! c ya!
r0bby has joined #ruby
xcesariox has joined #ruby
<xcesariox> hi can any one help me out?
<xcesariox> https://gist.github.com/shaunstanislaus/760b51b8a30cac44d059 , which version of ruby is stable for me to use right now and show i update my gem, rails, and ruby
<xcesariox> i am currently using , gem 2.0.14, rails 4.0.2, ruby 2.0.0p451, should i update it?
<apeiros> guinslym: IMO divide and conquer
<shevy> hehe
<apeiros> I mean, optimally you get whoever produces that csv to produce actually *valid* csv
<apeiros> but if you can't get them to, parse as much as parses without failure, write out the rest, fix, rinse and repeat
<apeiros> automatically parsing invalid data is bound to give you headaches
<apeiros> "just delete all quotes" will just yield to data which is invalid in another way. not really a solution.
pu22l3r has quit [Remote host closed the connection]
michael_lee has quit [Read error: Connection reset by peer]
lw has joined #ruby
<apeiros> xcesariox: ruby-1.9.3-p545, ruby-2.0.0-p451, ruby-2.1.1 are all stable
agrinb has joined #ruby
kitak_ has joined #ruby
<apeiros> (and while 1.8.7-p374 is stable too, it's EOL and not sane to use)
mrj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has joined #ruby
anaeem1__ has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
yubrew has joined #ruby
razrunelord has joined #ruby
rmorello has joined #ruby
dblessing has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
greenarrow has quit [Quit: 500]
linojon has joined #ruby
Hanmac1 is now known as Hanmac
yubrew has quit [Ping timeout: 255 seconds]
razrunelord has quit [Ping timeout: 258 seconds]
greenarrow has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
paulfm has joined #ruby
<shevy> Hanmac I dont like those images, they are so long to read
<shevy> I like xkcd format
horsecowdog has joined #ruby
ada2358 has quit [Remote host closed the connection]
rmorello has left #ruby ["Textual IRC Client: www.textualapp.com"]
nateberkopec has quit [Quit: Leaving...]
fgo has joined #ruby
fijimunkii has joined #ruby
seaned has quit [Quit: Zzzzzz....]
RaptorJesus has joined #ruby
wald0 has quit [Quit: Lost terminal]
AlSquire has quit [Ping timeout: 252 seconds]
roshanavand has quit [Quit: Gone!]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jackneill has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Client Quit]
kaspergrubbe has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
meatherly has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has quit [Quit: Leaving.]
mven has quit [Ping timeout: 258 seconds]
kaspergrubbe has quit [Client Quit]
mven has joined #ruby
fgo has joined #ruby
johnny5 has joined #ruby
_justin_ has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
_justin has quit [Ping timeout: 252 seconds]
_justin_ is now known as _justin
fgo has quit [Read error: No route to host]
fgo has joined #ruby
timgauthier has joined #ruby
AlSquire has joined #ruby
sailias has joined #ruby
kaspergrubbe has joined #ruby
mven has quit [Ping timeout: 252 seconds]
skaflem has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
subraminion has joined #ruby
ylluminate` has joined #ruby
mrmargolis has joined #ruby
<xcesariox> apeiros what is the meaning of EOL and not sane to use?
jamto11 has joined #ruby
<apeiros> EOL = end of line
<xcesariox> apeiros so again, my question is should i continue with the current version i have or should i update to the latest.
ldnunes has joined #ruby
qwyeth has joined #ruby
instantaphex has joined #ruby
<xcesariox> apeiros i am currently using , gem 2.0.14, rails 4.0.2, ruby 2.0.0p451, should i update it?
Sirupsen has joined #ruby
<xcesariox> apeiros another question is also , should i use brew to install all this or is better to install globally directly into local using RVM .
<DouweM> xcesariox: if you can update without too much hassle, go for it
Avahey_ has joined #ruby
<xcesariox> DouweM is there a way to update all 3 of this with a command?
ndrei has joined #ruby
pu22l3r has joined #ruby
SCommette has joined #ruby
<shevy> I hate rewrites
<apeiros> xcesariox: we can't answer the question "should I update" for you. you have to know whether your stuff is 2.1 compatible.
<apeiros> if it is, I'd recommend updating to 2.1, yes.
<apeiros> as for brew/rvm: I'm quite happy with rvm. but ymmv
<shevy> xcesariox you should update
jamto11 has quit [Ping timeout: 258 seconds]
pRiVi has joined #ruby
<shevy> xcesariox does it have to be a single command :P you can update gem from within "gem" command, and then rails via gem too; but you can not update ruby with gem alone
troulouliou_dev has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
<shevy> updating gem is simplest from these three
subraminion has quit [Remote host closed the connection]
<shevy> gem update --system
subraminion has joined #ruby
<pRiVi> Hi... I have a ruby installation (gitlab), changed the hostname and now no login is possible. Logfile just shows "Can't verify CSRF token authenticity\nCompleted 401 Unauthorized in 74ms". Any idear how to debug ruby?
<shevy> though I prefer direct download of the rubygem
mven has joined #ruby
<timgauthier> woah, Jekyll turns 2.0.0
<timgauthier> does it suck less yet? :P
<shevy> timgauthier there we accept the challenge
<timgauthier> :P
<shevy> timgauthier you will write something better than jekyll!
<DouweM> pRiVi: that's Rails
<timgauthier> I'm already using middleman!
<timgauthier> so shevy I "get" to go back to Canada the end of this month.
<shevy> I have no idea what middleman is, but there was a movie called man in the middle from the 1980s from sweden
<pRiVi> DouweM: How can I debug this? I am normaly very fit in software, but this cannot be debugged?!
<shevy> timgauthier cool
<timgauthier> ehh, the fiancee doesn't
<shevy> lol
<toretore> shevy: did he work at the post office?
<shevy> toretore no, he was military personnel, navy diver or however you call those dudes that must get rid of mines in the ocean
<toretore> so he wasn't intercepting messages? :(
<DouweM> pRiVi: of course it can be debugged
<pRiVi> DouweM: How?
<DouweM> pRiVi: but we don't really have enough information to see what's wrong
<shevy> well, not really but he got hired as spy by the swedish royal secret service
<DouweM> pRiVi: if it's a gitlab problem, how about contacting them?
<timgauthier> shevy lol
<xcesariox> shevy: okay i just did "gem update --system" it changed my ruby 2.0.0p451 to ruby 2.0.0p247. why does it roll back to older version?
fgo has quit [Remote host closed the connection]
<shevy> xcesariox wat
<shevy> how can this be xcesariox
<toretore> are you talking about carl hamilton?
<xcesariox> shevy: i am serious.
<pRiVi> I am developer (not ruby but perl, pyhton, ...), and I think a system should be debuggeable. But it seems that ruby or rails or whatever it is named is not?
<DouweM> pRiVi: where did you get the idea from that it's not?
<tobiasvl> not debuggable?
<shevy> toretore not sure honestly, I never researched who wrote the stuff
<DouweM> pRiVi: but if it's a problem with GitLab, take it up with them
<pRiVi> DouweM: I am search logfiles, source code or anyhting making sense
<shevy> xcesariox I tell you, that has never happened to me
<DouweM> pRiVi: we don't know how it works or what your specific problem is
<pRiVi> but I don't find anything
<xcesariox> shevy: do i need to sudo ?
<pRiVi> or logs saying anything more than ""Can't verify CSRF token authenticity\nCompleted 401 Unauthorized in 74ms""
<xcesariox> shevy: shaunstanislaus@Master:~$ gem update --system
<xcesariox> Latest version currently installed. Aborting.
<shevy> xcesariox no idea, I mistrust your system; gem can not update ruby itself
<pRiVi> /var/log/gitlab/ don't have anything more than this about the login
<xcesariox> then how do you update ruby
<pRiVi> any apache has better logs
cpruitt has joined #ruby
<shevy> xcesariox what does "gem --version" show now btw?
<DouweM> pRiVi: I have no idea how GitLab is packaged or how and if it can be debugged. take it up with them
<xcesariox> shevy 2.2.2
Lewix has joined #ruby
<DouweM> pRiVi: of course Ruby and Rails have logging and can be debugged
<shevy> ah ok, so at least that gem version is correct
<shevy> 2.2.2 is latest gem version xcesariox
<xcesariox> shevy: but my ruby isnt
lowski is now known as lowski_away
<shevy> xcesariox but you seem to have multiple rubies
<xcesariox> shevy: how do you know? how to clear multiple ruby
<shevy> xcesariox well that you gave two version strings above:
Xeago_ has quit [Remote host closed the connection]
<shevy> <xcesariox> shevy: okay i just did "gem update --system" it changed my ruby 2.0.0p451 to ruby 2.0.0p247
<shevy> so somewhere you must have had these two strings
<xcesariox> yup
<shevy> 451 and 247
<shevy> xcesariox what kind of ruby are you using that you have two different p variants?
<shevy> I mean, they must come from somewhere
<xcesariox> no before i did the gem update --system, i type ruby -v, it shows p451, after doing that system update thing, i did ruby -v, it showed p247 version.
<shevy> huh
michaeldeol has joined #ruby
<shevy> how can this be
<xcesariox> shevy: this is how it is, i swear.
<xcesariox> shevy: nvm, how do i update the ruby manually to the latest.
<pRiVi> The source it completly weird and unreadable
vpretzel has quit [Quit: Adios!]
<pRiVi> scary...
<shevy> xcesariox well there are several ways for that
<DouweM> xcesariox: it's probably rvm messing with stuff
<DouweM> pRiVi: sounds like it's obfuscated
vpretzel has joined #ruby
ndrei has quit [Remote host closed the connection]
<pRiVi> it seems that ruby or rails or what its name is crap...
<shevy> xcesariox the hard one is to wget the latest source: wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.bz2
<pRiVi> bye
Xeroa has joined #ruby
pRiVi has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
<mikecmpbll> lmfao@privi
<DouweM> haha
lxsameer has quit [Ping timeout: 240 seconds]
<shevy> xcesariox but it's what I use because in the long run, it is the simplest for me to understand
<xcesariox> shevy: i am doing wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.bz2 this now.
<shevy> xcesariox do you use rvm?
<xcesariox> shevy: should i go ahead with it?
<xcesariox> shevy: yes i use RVM
momigi has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby
mansi has joined #ruby
<shevy> xcesariox dunno, you may run into some problems if you try a source compile for the first time depending on your host computer; rvm is probably easier
<xcesariox> shevy: i ftp and downloaded it so what do i do now?
<DouweM> xcesariox: if you're using rvm, let rvm handle updating ruby. don't download the source :P
<xcesariox> shevy: okay i will stick to rvm.
<shevy> xcesariox well you could try to see where it fails :P
<shevy> on debian you would usually lack some -dev packages
chipotle_ has quit [Quit: cya]
codabrink has joined #ruby
<shevy> on archlinux you might be luckier, considering that it's not as insane as debian-based systems haha
<shevy> no idea about osx
<shevy> but it looks shiny
baweaver has joined #ruby
crelix has joined #ruby
r0bby has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
danshultz has joined #ruby
<xcesariox> shevy DouweM : lame rvm, i just did rvm install ruby and it automatically downloads 2.1.1 the latest. rofl.
MrPopinjay has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
xIzIv has quit [Quit: WeeChat 0.4.3]
<MrPopinjay> Hi gang. I'm using yard to generate my app documentation. Should I include the doc directory in the repository or not?
yubrew has quit [Client Quit]
tkuchiki_ has quit [Ping timeout: 252 seconds]
dideler|work has quit [Quit: WeeChat 0.4.4-dev]
baweaver has quit [Ping timeout: 252 seconds]
sssczy has left #ruby [#ruby]
<Hanmac> MrPopinjay: you should not because this doc would be generated while installing or later with command
<MrPopinjay> As I suspected. Thank you.
yubrew has joined #ruby
alpha123 has joined #ruby
<MrPopinjay> Does the same go for .yardoc/ ?
zarul has quit [Read error: Connection reset by peer]
_justin has quit [Quit: _justin]
dideler|work has joined #ruby
smaboshe has left #ruby [#ruby]
<Hanmac> hm i dont know i am an rdoc user ...
<MrPopinjay> OK, thank you
_justin has joined #ruby
SilkFox has joined #ruby
lxsameer has joined #ruby
chrisseaton has quit []
rebelshrug has joined #ruby
paulfm has quit []
lxsameer has quit [Client Quit]
axl_ has joined #ruby
okinomo_away is now known as okinomo
mjsmith2 has joined #ruby
pu22l3r has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
beef-wellington has joined #ruby
paulfm has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
lethjakman has joined #ruby
r0bby has joined #ruby
MrPopinjay has left #ruby ["WeeChat 0.3.8"]
lowski_away is now known as lowski
johnmlocklear_ has joined #ruby
mark_locklear has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby
maximski has joined #ruby
beef-wellington has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
jamto11 has joined #ruby
anaeem1 has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
tjr9898 has quit [Remote host closed the connection]
Xeroa has quit [Quit: Ex-Chat]
_justin has quit [Quit: _justin]
razrunelord has joined #ruby
treehug88 has joined #ruby
lethjakman has quit [Ping timeout: 252 seconds]
r0bby has quit [Ping timeout: 252 seconds]
subraminion has quit [Quit: Computer has gone to sleep.]
wm3|away is now known as workmad3
beef-wellington has joined #ruby
<shevy> xcesariox hehe that's why I don't like automatic tools if I didn't write them myself, they do strange unknown stuff :P
enebo has joined #ruby
subraminion has joined #ruby
<apeiros> xcesariox: of course. if you don't specify a version, it uses latest stable. and that's 2.1.1
lethjakman has joined #ruby
<apeiros> sane behavior IMO
subraminion has quit [Remote host closed the connection]
<xcesariox> apeiros, shevy : shaunstanislaus@Master:~$ ruby -v
<xcesariox> ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0]
<xcesariox> apeiros, shevy : thank you!
<shevy> \o/
subraminion has joined #ruby
cescalante is now known as ce_afk
Zenigor has joined #ruby
mansi has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
zzzbra has joined #ruby
mansi has joined #ruby
razrunelord has quit [Ping timeout: 258 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<xcesariox> shevy, apeiros : now my rails -v comes out error with Could not find 'railties' (>= 0) among 14 total gem(s) (Gem::LoadError)
bkparso has quit [Quit: bkparso]
kevinykc_ has joined #ruby
<shevy> xcesariox see that is why I don't like automatic tools
<shevy> you won't know where the things are
<shevy> xcesariox my recommendation is to first find out where your gems are
<xcesariox> shevy: what is the best practice?
mansi has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
<Symbiosisz> Hey all, I'm sure I've made a silly oversight, but for some reason if I put "include models.rb" in my file (and models.rb is in the same folder as the file that I'm running) it throws an exception saying it could not be loaded.
<xcesariox> shevy: how do i fix my rails now.
<shevy> on my system they are under /Programs/Ruby/Current/lib/ruby/gems/2.1.0/cache/ respectively the directory one level down of that
sk87 has joined #ruby
<shevy> xcesariox no real idea, sorry, I don't use rvm; I use the source approach. If I have to make a guess, your rails can not find the gems; try to look through "gem env" output
aganov has quit [Quit: Leaving]
sdouglas has joined #ruby
<shevy> Symbiosisz the syntax: include models.rb
<apeiros> xcesariox: you installed a new ruby version, you didn't upgrade an existing
<shevy> is not valid ruby syntax
freerobby has joined #ruby
<apeiros> xcesariox: you'll have to reinstall your gems
<apeiros> xcesariox: but a simple `bundle` in your rails app should suffice
<Symbiosisz> Sorry, my miistake. I actually wrote require 'models.rb' -- not sure what I was thinking. Here's the code: http://pastie.org/pastes/9149996/text?key=jyblpoemnuuwj1qds1jtwa
<toretore> what's that thing called that you present at a pharmacy and get drugs?
<apeiros> prescription?
<xcesariox> apeiros: i am not in any rails app. i am just in the plain terminal in home directory.
baweaver has joined #ruby
<toretore> apeiros: that's it, thanks. having brain problems
<toretore> need more drugs
<apeiros> xcesariox: well, reinstall the rails gem then
kevinykchan has quit [Ping timeout: 252 seconds]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xcesariox> apeiros: how to reinstall?
<apeiros> toretore: aaaah, evil. I'm so tempted to use that wrt previous discussion :-p
<johnny5> yeah, prescription drugs are for the bin
<toretore> lol
<apeiros> xcesariox: `gem install rails`
<xcesariox> apeiros, shevy : take a look for me please, here is what happened earlier . https://gist.github.com/shaunstanislaus/e6eea052205ab2efa1aa
momomomomo has joined #ruby
<johnny5> ain't that so Symbiosisz
SCommette has quit [Quit: SCommette]
Rickardo1 has joined #ruby
techsethi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Symbiosisz> johnny5: It is! One note, I am using RVM. Could that hav esomething to do with it? Here's the exception that's raised: http://pastie.org/private/n00hgac0s5hpmrrba4az3g
<johnny5> shrug
Macaveli has quit [Ping timeout: 252 seconds]
axl_ has quit [Ping timeout: 240 seconds]
<johnny5> it is not mission impossible to install a gem or fix some trivial problem with models.rb or w/e
vali has joined #ruby
<johnny5> apparently, ruby on rails made that so though
<shevy> xcesariox yeah no real idea with rvm sorry
<vali> hi guys, just started with ruby and having a question about accessing a multi dimensional array
<shevy> vali array[0][3] there you go!
<vali> :)
<vali> I hash it first
ixti has joined #ruby
<xcesariox> shevy: is okay, i am doing apeiros's instruction with `gem install rails` it seems like it is installing all the latest rails.
<Symbiosisz> johnny5: I'm not quite sure what you're getting at.
<vali> b = Hash.new(0)
sdouglas has quit [Ping timeout: 240 seconds]
<vali> c.each do |v|
<vali> b[v][0] += 1
<vali> end
<vali> I get an error when trying to do this
<shevy> xcesariox \o/
<johnny5> Symbiosisz: i'm saying if you want to solve trivial problems, use another medium like google.com, DIY.
<shevy> vali when you write "an error"
<Symbiosisz> johnny5: Thanks, very helpful. Already been Googling to no avail. P.S. I'm not using Rails.
kevinykc_ has quit [Read error: Connection reset by peer]
<shevy> is the error "You have no flowers at home."
<vali> counter.rb:10:in `block in <main>': undefined method `[]=' for 0:Fixnum (NoMethodError)
<vali> :)
<shevy> ;P
axl_ has joined #ruby
<shevy> vali that is easy, you try to invoke a method on Fixnum, and it does not have that method
ahawkins has joined #ruby
<ahawkins> hey everyone, when a process forks does it maintain references to the parent threads?
kevinykchan has joined #ruby
maximski has quit []
seaned has joined #ruby
<vali> getting lost at counting the arrays inside
axl_ has quit [Client Quit]
<shevy> vali let's optimize your ruby first
<shevy> alarm=5;
<shevy> no need for trailing ;
trhodes_ has quit [Ping timeout: 264 seconds]
<vali> ok
<shevy> also, alarm = 5 would be easier to read
<j416> o/
<shevy> vali so obviously your error is here: b[v][0] += 1
<vali> yep
<j416> what is this an example of?
<j416> def self.method_missing(method, *args); raise self.new; end
<j416> is it a common pattern of some sort?
<shevy> vali, what is v there?
<j416> (inside a class extending StandardError)
<shevy> j416 it's fun with method missing
jobewan has joined #ruby
axl_ has joined #ruby
<shevy> people who write such code should be slain j416
<vali> shevy, v would be the counter for each IP address
<shevy> vali well are you sure
<shevy> vali I get this for v: ["50.198.37.242", "1"]
<vali> I want to count each address and increase it by one
<vali> I just want to get the address
<shevy> so your code of b[v][0] += 1
<vali> and not the other member
<shevy> becomes b[["50.198.37.242", "1"]][0] += 1
ixti has quit [Ping timeout: 264 seconds]
Guest25079 is now known as C0deMaver1ck
<shevy> vali why don't you break that code up into smaller parts
<shevy> ip = get_ip_here
<shevy> ip = v[0]
<shevy> well
mjsmith2 has quit []
<j416> n/m I got it
monkegjinni has quit [Read error: Connection reset by peer]
<shevy> vali you need to structure your ruby code so that it is simple and easier to read
<j416> it's a class that raises error if someone tries to use it
<j416> o_O
<j416> ohwell. :) thanks
<vali> trying...just started with ruby
monkegjinni has joined #ruby
yfeldblum has joined #ruby
<shevy> vali http://pastie.org/9150042, output is now: {"50.198.37.242"=>4}
snath has joined #ruby
<shevy> vali that is ok, just keep things in mind; terseness is great, but not when it becomes to terse that you no longer understand what it is doing
<shevy> b[a][n] += x
mjsmith2 has joined #ruby
<workmad3> shevy: don't say that... you'll make perl programmers cry!
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<vali> shevy, that actually does what I need for now. Thanks! Playing with it further on
rudisimo has joined #ruby
<shevy> workmad3 well I see people +10 years older than me use perl a lot
<shevy> so it'll take at least +20 more years before these are gone
<shevy> so essentially I make old perl programmers sad
freerobby1 has joined #ruby
rostam has quit [Remote host closed the connection]
<shevy> "gone" not in the sense of dead
freerobby has quit [Read error: Connection reset by peer]
<shevy> but out of active working life
<shevy> like into retirement
<ddv> you want them to die, shevy
<shevy> ddv nono
yfeldblum has quit [Ping timeout: 252 seconds]
<ddv> how cruel of you
<shevy> but they are competition
mary5030 has joined #ruby
<shevy> they make up their slowness with a lot of knowledge
<ddv> perl developers? I doubt it :P
<shevy> I tell you
<shevy> I was surrounded by old perl gurus at work
lkba has joined #ruby
hiall has joined #ruby
bearlulz has joined #ruby
tobago has quit [Remote host closed the connection]
rostam has joined #ruby
<ddv> shevy: you shouldn't perceive so called 'gurus' as competition
<johnny5> ?
<ddv> shevy: always good to be surrounded by people who are better than you
<johnny5> my first language was perl
<ddv> johnny5: so?
<johnny5> good to live in reality yeah
<shevy> ddv yeah - and you are the first to go when budget is short :P
<DefV> My first language was dutch
blueOxigen has joined #ruby
<johnny5> fantastic
<ddv> me2 DefV
<j416> kaas
<ddv> shevy: are you a junior?
<johnny5> no, senior i believe
<shevy> ddv I am no longer there actually
fgo has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
<ddv> don't work for a company that is slowly sinking :P
alexju has joined #ruby
ffranz has joined #ruby
tagrudev has quit [Remote host closed the connection]
alexju has quit [Read error: Connection reset by peer]
alexju has joined #ruby
andrewjanssen has joined #ruby
<johnny5> nice http://perl6.org
<shevy> johnny5 the ironic thing is that if you wish to bootstrap/compile perl6 parrot, you need perl5 available
<johnny5> same for rubinius
<johnny5> kind of
bluOxigen has quit [Ping timeout: 264 seconds]
<johnny5> you need a ruby to bootstrap
<shevy> yeah
<shevy> but I compare main languages here really
<shevy> perl5 - you can wget the source and compile
<shevy> ruby2 - you can wget the source and compile
momigi has joined #ruby
sambao21 has joined #ruby
<johnny5> i dunno i havent actually written perl in a very long time
<shevy> perl6 syntax looked nicer than perl5
paulfm has quit []
txdv has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
<txdv> !eval puts 1
ce_afk is now known as cescalante
<shevy> still +200 folks on #perl6
<txdv> is there any eval function?
<ddv> the problem with perl is that you can do the same thing in a different million ways
<johnny5> ruby has the same problem then
axl_ has quit [Quit: axl_]
<shevy> txdv in ruby? sure. eval(). in the channel? there is a bot, he understands ruby code, prefix it via >> like: >> eval 5
kevinykchan has quit [Ping timeout: 255 seconds]
fgo has quit [Ping timeout: 258 seconds]
sambao21 has quit [Client Quit]
<shevy> you kinda need a main person to drive a language forward
<ddv> johnny5: it's way easier to shoot yourself in the foot with perl than with ruby
<shevy> like larry for perl5, guido for python, matz for ruby
<johnny5> doubt it :)
<shevy> johnny5 if you write simple ruby code with simple idioms then things will stay simpler
<tobiasvl> every language needs a benevolent dictator for life
<shevy> johnny5, but look at stuff like this here:
kotk_ has joined #ruby
<shevy> <j416> def self.method_missing(method, *args); raise self.new; end
SCommette has joined #ruby
<shevy> johnny5 is it instantly obvious to you what this does
<shevy> and how it will react at runtime
paulfm has joined #ruby
vpretzel is now known as vpretzel|1419
<johnny5> yeah but its not code you'd use in the real world probably
<shevy> the mascot for perl 6 looks as if someone took a drug
andrewjanssen has quit [Ping timeout: 265 seconds]
kotk has quit [Ping timeout: 265 seconds]
<tobiasvl> seriously
<tobiasvl> what the fuck
<tobiasvl> excuse my language
zzzbra has quit []
<shevy> haha
<shevy> even the old camel mascot was nicer, although plain
<shevy> Go has one of the coolest mascots
jdguzman has joined #ruby
s2013 has joined #ruby
jprovazn has quit [Quit: Leaving]
axl_ has joined #ruby
<shevy> and some variants of that
<shevy> http://goo.gl/XQEM5m isn't that cute
<crome> I love the go hamster
<crome> its just so uncool
<shevy> hmm
<shevy> could do with a diet
Azure has quit [Quit: Blue Sky Fish]
<mrgoodcat> anybody having trouble compiling ruby on 14.04?
<mrgoodcat> I can't seem to get ruby-install to build it
doodlehaus has joined #ruby
acrussell has joined #ruby
<tobiasvl> what's 14.04?
<ddv> Ubuntu
<tobiasvl> ah
<mrgoodcat> yea sorry. ubuntu 14.04
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<mrgoodcat> readline.c won't build
<ddv> mrgoodcat: post the build log somewhere
subraminion has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mrgoodcat> do you know where ruby-install outputs logs?
sl33k_ has quit [Ping timeout: 265 seconds]
lethjakm1 has joined #ruby
<toretore> do you have readline installed?
<ddv> mrgoodcat: it will tell you when it fails building
lethjakman has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
codeFiend has joined #ruby
mjs2600_ has quit []
akgerber has joined #ruby
<mrgoodcat> yes i have readline
<toretore> libreadline-dev ?
<mrgoodcat> libreadline-dev, libreadline5, libreadline6, libreadline6-dev
<mrgoodcat> all installed
<toretore> ok
<xcesariox> shevy: you there?
<mrgoodcat> re-running the build to get the log
Azure has joined #ruby
chrisseaton has joined #ruby
<xcesariox> apeiros, shevy : you both there?
<xcesariox> shevy, apeiros : ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0], the terminal that i update ruby to 2.1.1 stays 2.1.1 , i open new tab and try ruby -v, it is showing 2.0.0, any idea why?
Macaveli has joined #ruby
<toretore> libssl-dev libreadline6-dev zlib1g-dev is what i have written down for ubuntu
s2013 has quit [Remote host closed the connection]
<shevy> xcesariox probably something wrong with your path setting
timgauthier has joined #ruby
<xcesariox> shevy: as in the path in bashrc?
<shevy> xcesariox yeah, I assume that rvm somehow adds something to your path setting
<xcesariox> shevy: this is what i found in my .bashrc "PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting"
alpha123 has quit [Ping timeout: 264 seconds]
sl33k has joined #ruby
<shevy> yeah
<shevy> probably it linked in different ruby version
toastynerd has joined #ruby
<shevy> xcesariox btw if you are sure you no longer need the old one, you could actually remove it :)
banister has joined #ruby
<xcesariox> shevy: how to remove it properly?
<shevy> or just change PATH to point to the current ruby anyway
<shevy> dunno
banister has quit [Max SendQ exceeded]
tjr9898 has joined #ruby
<shevy> I remove things aggressively
<ddv> xcesariox: is it set a default ruby?
<ddv> +as a*
banister has joined #ruby
eka has joined #ruby
lethjakm1 has quit [Ping timeout: 276 seconds]
Macaveli has quit [Quit: Leaving]
garndt has joined #ruby
<mrgoodcat> toretore: i have all of those installed
paulfm has quit []
<xcesariox> shevy , ddv : erm i found another thing on bash_profile, is this the reason why it conflict having it in bashrc and bash_profile? bash_profile has "[[-s "$HOME/.rvm/scripts/rvm"]] && . "$HOME/.rvm/scripts/rvm"
pskosinski has joined #ruby
benzrf|offline is now known as benzrf
<shevy> xcesariox no real idea but things like that is a reason why I don't allow software to mess with my *rc files, I handle them on my own
mrj has joined #ruby
paulfm has joined #ruby
sl33k has quit [Ping timeout: 276 seconds]
<xcesariox> shevy: how do you handle them on your own when those stuff like RVM or automated tools installs them and creates path in your bashrc.
<shevy> xcesariox as written above, I don't use RVM
<ddv> rvm overrides cd what the f
<ddv> :)
<shevy> I use a rvm-like approach though, but on a global basis, every program gets an app-dir like directory, so if I wish to switch ruby or any other program, I resymlink
<workmad3> ddv: what the FUD :P
<ddv> shevy: you use gobo right?
<timgauthier> what?!
<apeiros> xcesariox: if you've used rvm, `rvm use 2.1.1 --default`
<apeiros> xcesariox: `rvm list` shows you which ruby is the default ruby
<apeiros> xcesariox: also that warning rvm gave you in the pastie you showed us
<apeiros> (did not read the scrollback, so if that was already said and addressed…)
<shevy> ddv gobo kinda died years ago, I tried to simulate it though, in essence I usually start from slackware, then recompile things until everything "fits"; one day I will have that fully automated with ruby, right now I still have to do some commands
<xcesariox> apeiros: wow rvm list shows me i still have 1.9.3, 2.0.0 and 2.1.1
<ddv> shevy: well gobo is terrible
vpretzel|1419 has quit [Remote host closed the connection]
<xcesariox> apeiros: whats the difference between current && default and default alone.
<ddv> and slackware is still stuck in 1950
<ddv> glad i'm on osx though
b00stfr3ak has joined #ruby
<apeiros> current is the one active in your current terminal
<shevy> ah so you are not even on linux
francisfish has quit []
blackmesa has joined #ruby
<apeiros> default is the one which will be set in a new terminal
vpretzel|1419 has joined #ruby
<ddv> workmad3: you like rvm?
<workmad3> ddv: no
razrunelord has joined #ruby
<ddv> lies you do
<workmad3> ddv: or rather, I don't bother with it anymore :)
<shevy> he is a ruby-install dude now
benzrf is now known as benzrf|offline
<ddv> ok :)
guinslym has quit [Ping timeout: 264 seconds]
<xcesariox> apeiros: FINALLY! all updated and using the latest as default!
<timgauthier> man i'm glad I use PHP.. so much easier!
<timgauthier> ;)
andrewlio has quit [Quit: Leaving.]
<xcesariox> apeiros: when i set 2.1.1 as default for rvm, it automatically changes my gems to the latest version as default too?
<apeiros> xcesariox: each ruby has a separate gems dir
<xcesariox> apeiros: ah, okay i get it now.
<apeiros> xcesariox: if you install gems for 2.0, they won't be present for 2.1.1
<xcesariox> apeiros: thanks for guiding.
<timgauthier> hmm, any of you guys use slack before?
<shevy> timgauthier well you don't really use real ruby, you use erb hell
<timgauthier> yes, its beautiful!
<shevy> is slack slackware?
BWStearns has joined #ruby
<j416> johnny5: not code you would use in the real world probably? :D
<ddv> timgauthier: erb is fugly....
<j416> johnny5: you would be surprised. :)
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<timgauthier> naw, slack is a chat thingy for businesses/teams
<shevy> ddv why do I confuse you with ddd
apeiros has quit [Remote host closed the connection]
krz has joined #ruby
shevy is now known as ddw
<ddw> yo brothers
workmad3 is now known as shevy
<shevy> mwahahaha
apeiros has joined #ruby
<timgauthier> *referall link* https://slack.com/r/029npub5-029ntqur only using the link cause it gives you a $100 credit if you sign up. And 100$ if you pay for it, i figure if you are going to sign up you should get something extra
shevy is now known as workmad3
<ddv> lol
sdouglas has joined #ruby
<timgauthier> and then there is ddw
<timgauthier> ugh my brain!
Xeago has joined #ruby
<ddw> yeah
<timgauthier> anyhow, slack looks like they repackaged IRC in a really nice way
<ddw> the whole IRC
jxf has joined #ruby
razrunelord has quit [Ping timeout: 255 seconds]
omosoj has joined #ruby
<timgauthier> naw, just the protocol
<timgauthier> no freenode, no servers, no porn
<timgauthier> :P
<ddv> I want the real shevy back
<ddw> ok and you connect how?
ddw is now known as shevy
<shevy> I mean... no servers
<shevy> hmmm
<ddv> you selling wigs, shevy? is this your website: http://www.shevypro.com ?
<timgauthier> i don't know entirely, its a web app, app thingy its neat
<timgauthier> its very slick,
<ddv> why should we take your word on it, timgauthier
<ddv> maybe its not slick at all
<timgauthier> maybe it is crufty and clunky
<ddv> maybe? :)
<timgauthier> *shrug* i signed up for it with the hope of using it to communicate with a small group of design people.
LekeFly has joined #ruby
<timgauthier> it is not bad, and i can get away with a free version
orolo has joined #ruby
vpretzel_ has joined #ruby
lowski is now known as lowski_away
<shevy> ddv lol
<shevy> ddv I usually get poked with driving down my chevy
Sirupsen has joined #ruby
<ddv> aaah ok
benzrf|offline is now known as benzrf
<orolo> from the result of Dir.pwd, i need to grab the name before the dot and after the /stuff in something like this: "/home/httpd/stuff/myname.thing/"
apeiros has quit [Ping timeout: 252 seconds]
<orolo> "myname"
Xeago has quit [Ping timeout: 276 seconds]
bal has quit [Quit: bal]
lowski_away is now known as lowski
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aspires has joined #ruby
benzrf is now known as benzrf|offline
akgerber has quit [Quit: Lost terminal]
vpretzel|1419 has quit [Ping timeout: 240 seconds]
<shevy> orolo well that sucks
<orolo> thanks shevy
<j416> lol
<shevy> >> File.basename("/home/httpd/stuff/myname.thing/",'.thing')
<eval-in_> shevy => "myname" (https://eval.in/147700)
benzrf|offline is now known as benzrf
EagleDelta has joined #ruby
<shevy> I dont like the trailing /
<j416> orolo: File.basename(Dir.pwd)[/.*(?=\.)/]
<j416> maybe
<j416> depends on what you're aftetr
<j416> aftger*
<j416> ...
<shevy> lol
<j416> after*
<j416> :P
<shevy> do that again
<j416> never
<shevy> haha damn
<j416> hey we have the >>, why aren't I using it :/
<j416> >> File.basename('/home/httpd/stuff/myname.thing/')[/.*(?=\.)/]
<eval-in_> j416 => "myname" (https://eval.in/147701)
kevind has joined #ruby
<shevy> know what is weird
<j416> but I like the suffix argument that shevy suggests, it's cleaner
<shevy> if you are in /tmp
<j416> if you know it.
<shevy> and you use Dir.pwd
<shevy> you get back # => "/tmp"
<shevy> if you are in / however
vpretzel_ is now known as vpretzel
<shevy> and you do the same
<shevy> you get back /
Xeroa has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
vpretzel is now known as vpretzel|1419
<j416> crazy, huh.
<shevy> yeah
<j416> it's like it knows what directory you're in
<shevy> in one case you get trailing /, in the other don't
<j416> ah, I see
<shevy> so when you wish to join dirs, and you apply the same on /tmp but also on /, you end up with "//" in the latter
<j416> yeah, that's a bit weird
<shevy> well it's no big deal, I just find it ugly
<j416> I always trim trailing slash on everything
<shevy> I hate // paths
<j416> before appending things
<shevy> lemme play with File.join ...
<j416> no
Lewix has quit [Remote host closed the connection]
<shevy> lol
<shevy> that one is weird too
<shevy> >> File.join('/','/tmp')
<eval-in_> shevy => "/tmp" (https://eval.in/147702)
<j416> in Ruby's defence though, the regular `pwd` behaves like this too
momigi_ has joined #ruby
<shevy> >> File.join('/','//tmp')
<eval-in_> shevy => "//tmp" (https://eval.in/147703)
<shevy> >> File.join('','//tmp')
<eval-in_> shevy => "//tmp" (https://eval.in/147704)
<shevy> >> File.join('','/tmp')
<eval-in_> shevy => "/tmp" (https://eval.in/147705)
<shevy> hmm
<j416> I didn't know about File.join
<j416> such new
<j416> very wow
<shevy> j416 hmm how do you join file paths in bash?
<shevy> can there be directories with multiple / ? like //tmp
<orolo> thank you
<shevy> or perhaps
<certainty> >> require 'pathname'; Pathname.new("/foo///bar/").cleanpath
<eval-in_> certainty => #<Pathname:/foo/bar> (https://eval.in/147706)
<shevy> /tmp//foo
<ddv> shevy: why use bash when you know ruby
<shevy> certainty that one is nice except that it takes a million years to type :)
<shevy> ddv just to show how they solve it
<certainty> shevy: learn to type faster :p
<shevy> there is even a whole linux distribution built around shell scripts
<shevy> GNU Sourcemage!
<j416> ddv: I like to avoid ruby when bash is enough
<ddv> I like to avoid bash when I have access to ruby
blueOxigen has quit [Ping timeout: 250 seconds]
<j416> tends to make things more portable
<shevy> certainty I am even lazier than workmad3 :(
<certainty> impossible! :)
<shevy> ddv do you use a ruby-esque shell?
<j416> :D
<ddv> no I use zsh actually
<j416> ddv: that's not ruby, though
<shevy> we'd need a ruby-zsh
* j416 teaches
<j416> rubash
<ddv> j416: really?
<shevy> where you have the basic linux shell commands, but also can use ruby
momigi has quit [Ping timeout: 240 seconds]
<certainty> there is rush
<shevy> hmm
* workmad3 was doing bash scripting earlier
<shevy> isn't rush ruby-syntax only?
<certainty> not so nice my precious
<ddv> I don't think rush is maintained anymore
fabrice31 has quit [Remote host closed the connection]
<certainty> workmad3: these are the things you do, but never talk about
<shevy> the oldest rush has a cool thing
<certainty> just like fight club and anal sex
freezey has joined #ruby
<shevy> drop-down boxes in ncurses when you used something like: Dir.p<TAB_PRESS_HERE>
yfeldblum has joined #ruby
<shevy> in colours!
<certainty> hoist the colours
<shevy> sadly the thing died :(
<zastern> Why does `p '#{3}'` print with an escape character, while `puts '#{3}'` does not?
<timgauthier> isn't p short for like print?
<shevy> no
aspires has quit [Ping timeout: 264 seconds]
<certainty> it is, but not in ruby
<shevy> >> class Foo; end; foo = Foo.new; p foo
<shevy> bot!
<shevy> >> class Foo; end; foo = Foo.new; p foo
<eval-in_> shevy => #<Foo:0x419a23c4> ... (https://eval.in/147707)
<certainty> wait for it
<shevy> there timgauthier
ahawkins has quit [Ping timeout: 258 seconds]
<j416> sometimes you have to yell at bot
<shevy> yeah
jxf has quit [Quit: Leaving]
try has quit [Ping timeout: 276 seconds]
<shevy> he is a maybe bot
<shevy> "maybe I will give you results"
<timgauthier> haha
<shevy> "maybe I will not"
<certainty> Just bot
blackmesa has quit [Ping timeout: 252 seconds]
jxf has joined #ruby
<timgauthier> its running on a toaster man, be nice
lmickh has joined #ruby
<j416> what a weird prompt you have (%)
<j416> what's that
<zastern> zsh
<j416> oh
<j416> weird.
<zastern> but it's just a theme
spider-mario has quit [Read error: Connection reset by peer]
<j416> :P
<zastern> it can look like anything
<ddv> oh-my-zsh is pretty bloated, not sure if you use it though
<zastern> I do use it
<zastern> "bloated"
<zastern> it works really well for me
<ericwood> it seemed complicated so I just wrote my own config
freezey has quit [Read error: Connection reset by peer]
<ericwood> found some snippets for the stuff I wanted
<zastern> All I did was enable some plugins I wanted.
<ericwood> etc.
<zastern> it was trivial
chipotle has joined #ruby
freezey has joined #ruby
<ddv> I enabled some git/ruby plugins and it suddenly took more than 10 seconds entering git dirs
<certainty> p foo is probably something akin to puts foo.inspect
<zastern> ddv: yeah I had a similar issue with mac's default git
<ericwood> ddv: I have that problem too but I love the git status stuff so much :'(
<zastern> brew install git fixed it
<ericwood> hmm I'm using the homebrew git as well
<zastern> welp.
<zastern> i don't have that problem :D
<ericwood> our repo is huge, tho
okinomo is now known as okinomo_away
<davzie> Does anyone know any iOS developers? I'm in desperate, urgent need of one.
<ddv> davzie: stackoverflow?
<zastern> davzie: have you tried "the internet" :)
<ericwood> you probably won't find them here
yfeldblum has quit [Ping timeout: 255 seconds]
<ddv> depens if they use rubymotion, they could be in here
<ericwood> that's like maybe 2 people :P
<ddv> true :P
<zastern> I'd probably use rubymotion before I learned objective c. Just because I have other things I'd rather be learning.
diegoviola has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<zastern> Like clojure maybe.
ylluminate_ has joined #ruby
axl_ has quit [Quit: axl_]
yfeldblum has joined #ruby
<ddv> I think you want to use some multiplatform toolkit when developing apps though
tjr9898 has joined #ruby
michael_lee has joined #ruby
kiri has quit [Quit: Leaving]
<ericwood> I looked at rubymotion but it seemed like I'd still have to learn all the APIs anyways and that it was more elegant to work with them in ObjC
failshell has joined #ruby
failshell has quit [Remote host closed the connection]
failshell has joined #ruby
<ericwood> seemed like a lot of work to avoid ObjC :P
<Hanmac> avoiding ObjC is always a good idea
<ericwood> it seems like a nice enough language but I haven't worked with it extensively
paulfm has quit []
yfeldblu_ has joined #ruby
<ddv> objc has some nice features indeed but I don't like how it looks
zcreative has joined #ruby
havenwood has joined #ruby
<ericwood> I'd take it any day over C++ tho :)
<instantaphex> if only objective c hadn't used that gay ass bracket heavy syntax maybe more people would use it
toastynerd has quit [Remote host closed the connection]
<ericwood> I am accepting of syntax of all sexual orientations
<Symbiosisz> Seriously? Using gay as a pejorative term? You're a dick.
bthesorceror has quit [Remote host closed the connection]
gplymale has joined #ruby
sailias has quit [Quit: Leaving.]
Marf_ has joined #ruby
<Marf_> hello
<instantaphex> ok, heterosexual ass bracket heavy syntax
gplymale has quit [Client Quit]
bthesorceror has joined #ruby
fgo has joined #ruby
bthesorceror has quit [Read error: Connection reset by peer]
<Marf_> Anybody can tell me what I can run ruby function from C extension?
bthesorceror has joined #ruby
rippa has joined #ruby
ylluminate` has quit [Ping timeout: 276 seconds]
sailias has joined #ruby
<Hanmac> Marf_ rb_funcall ?
Olipro has quit [Ping timeout: 246 seconds]
bearlulz has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Marf_> Hanmac, h... not object onlu function
yfeldblum has quit [Ping timeout: 264 seconds]
sdouglas has quit [Quit: Leaving...]
banister has joined #ruby
apeiros has joined #ruby
banister has quit [Max SendQ exceeded]
<workmad3> Marf_: there's no such thing as a function call without an object in ruby
banister has joined #ruby
<havenwood> methods \o/
banister has quit [Max SendQ exceeded]
<ericwood> objects \o/
ylluminate_ has quit [Ping timeout: 260 seconds]
<workmad3> ruby \o/
banister has joined #ruby
codeFiend has quit [Quit: codeFiend]
<apeiros> no such thing \o/
<certainty> free love \o/
zoraj has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Ping timeout: 276 seconds]
<ericwood> wednesday hugs \o/
hpoydar has joined #ruby
<Hanmac> apeiros: "no such thing" is the next big thing ;P
sl33k has joined #ruby
horsecowdog has quit []
Hobogrammer has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
zoraj has joined #ruby
fgo has quit [Ping timeout: 258 seconds]
mrj has quit [Quit: Textual IRC Client: www.textualapp.com]
freezey has quit [Remote host closed the connection]
freezey has joined #ruby
<Marf_> workmad3, I can make simple function def func2(buffer)
<Marf_> puts "ruby global method: #{buffer}"
<Marf_> end
<workmad3> Marf_: that's defined on the main object
<workmad3> Marf_: and is still a method
<Marf_> ok, how I can run it?
<Marf_> any tutorial?
freezey_ has joined #ruby
<instantaphex> Marf_ you're trying to run ruby code from a C extension? What's the purpose of writing a C extension if you're trying to put ruby code in it?
<Marf_> ok wait
tjr9898 has quit [Remote host closed the connection]
pu22l3r has joined #ruby
freezey has quit [Ping timeout: 264 seconds]
bthesorceror has quit [Remote host closed the connection]
_maes_ has joined #ruby
sdwrage has joined #ruby
johnny5 has left #ruby [#ruby]
bthesorceror has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
<Marf_> instantaphex, workmad3 , Hanmac https://gist.github.com/anonymous/615c2ed3ba62c6c8d631
arrubin has joined #ruby
<Marf_> I need write a func in ruby
bthesorceror has quit [Remote host closed the connection]
<Marf_> when I call C extension I need use this func() in C extension.
patteh is now known as Patteh
Bira_ has joined #ruby
GaryOak_ has joined #ruby
Rickardo1 has quit [Remote host closed the connection]
alpha123 has joined #ruby
<xybre> wat
poguez_ has joined #ruby
<xybre> What are you really trying to do?
anaeem1 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
anaeem1_ has joined #ruby
dfinly has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
lowski has quit [Quit: Textual IRC Client: www.textualapp.com]
<Marf_> xybre, I need run extension in C
centrx has joined #ruby
<Marf_> this C extension using ruby code ;-)
<Marf_> I know this is not simple ;-) but is faster
bradhe has joined #ruby
<xybre> You don't want your C extension to run Ruby code.
<instantaphex> Marf_ you want your function to have a callback?
axl_ has joined #ruby
<xybre> If you want to use Ruby's C functions, you can do that.
sunya7a has joined #ruby
<Marf_> I create a array in ruby, this array is creating dynamicaly from data. I need use it in C extension.
tmuxer has joined #ruby
SCommette has quit [Quit: SCommette]
bthesorceror has joined #ruby
pietr0 has joined #ruby
rodri_gore has joined #ruby
Yami_ has joined #ruby
<Yami_> Hi
<xybre> Right, so you'd be calling Ruby's C functions, not normal Ruby code.
Marverick has joined #ruby
Marverick has left #ruby [#ruby]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phinfonet has joined #ruby
<Marf_> xybre, yes in c is easy but func is so complicated to write in C
razrunelord has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
<Marf_> VALUE method_test1(VALUE self) {
<Marf_> int x = 10;
<Marf_> return INT2NUM(x);
<Marf_> }
<Marf_> // Jak uruchomic func2(a) z tego miejsca?
jxf has quit [Ping timeout: 240 seconds]
<Marf_> How tun globalu def func2() from C ?
lw has quit [Quit: s]
carraroj has joined #ruby
jhass|off is now known as jhass
zcreative has quit [Quit: Computer has gone to sleep.]
<xybre> Okay, now you've lost me.
tmuxer has quit [Quit: c]
<workmad3> ...
anaeem1_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 276 seconds]
Aryasam has joined #ruby
anaeem1_ has joined #ruby
kpshek has quit []
jxf has joined #ruby
<Yami_> Hi people, I'm student in software engineering and I have to write a client/server software which communicate via tcp sockets. We have to do the server in C but the client is language free and I thought about ruby which I used coupled with Rails during my internship. I was wondering if it is wize to do it has a gem and to execute it with ./client [arguments].
<benzrf> Yami_: wize to do it has a gem?
razrunelord has quit [Ping timeout: 276 seconds]
<Yami_> benzrf: Yeah I don't know anything about software in ruby, I only used it to do a rails website :/
Hobogrammer has quit [Ping timeout: 264 seconds]
Marf_ has left #ruby ["Wychodzi"]
<certainty> Yami_: you don't need to create a gem to in order to be able to run a ruby program from the command line
<certainty> -to
<Yami_> certainty: Yeah but the architecture of a gem is interesting.
<benzrf> Yami_: not really...
<benzrf> a gem is just a project bundled in a gem file
omosoj has quit [Ping timeout: 250 seconds]
<benzrf> o-O
the_f0ster has joined #ruby
<Yami_> benzrf: I'm used to C/C++ to write programs
hpoydar has quit [Remote host closed the connection]
<workmad3> a gem: "Here's a big zipfile of a bunch of code you might like... oh, and it has a metadata file telling you the name, dependencies and version, and some other potentially useful stuff"
geggam has joined #ruby
SCommette has joined #ruby
WishBoy has quit [Remote host closed the connection]
michaeldeol has joined #ruby
renier has joined #ruby
<Yami_> workmad3: Ok, I didn't think of it like that :/
codeurge has joined #ruby
<certainty> Yami_: doing the client in ruby is fine, if that's your language of choice. Making a gem of it is fine too if you want to learn how to build gems. It all depends on what your goals are :)
<Yami_> certainty: The project is really more about the protocol's implementation than the languages, I just chose ruby cause I like it and it will make it way simpler than C++
<timgauthier> what... the actual fuck? http://google-nest.org
<Yami_> The thing is, it's a project I CAN'T fail so I have to get documented before starting something
<certainty> Yami_: well then go for it. I'd probably not bother building a gem though
<certainty> you have to get documented before starting something? What does that mean?
toastynerd has joined #ruby
djbkd has joined #ruby
nwertman has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 255 seconds]
<Yami_> certainty: In my schools for the first 2years we are doing C/C++ projects so we can jump in. (With UMLs and stuff ^^). But this is the last project of the second year and the first time that it's language free. I don't wanna fail because I wasn't documented enough to know that I was tough/impossible in ruby.
<Yami_> (Even if nothing is impossible btw)
sunya7a has quit [Ping timeout: 258 seconds]
<certainty> Yami_: well then you don't have to fear anything. It will definitely be possible
nowthatsamatt has joined #ruby
rodri_gore has quit [Ping timeout: 255 seconds]
greenarrow has quit [Quit: 500]
<Yami_> certainty: Yeah I thought that simple string communication between sockets wasn't that occult :p
<certainty> Yami_: nope. Of course complicated protocols can, well, complicate things, but ruby is a good language to solve these problems
codeurge has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
lethjakm1 has joined #ruby
<workmad3> Yami_: you aren't likely to need to solve the halting problem or have an efficient solution to an NP-complete problem in your protocol, so it shouldn't be impossible ;)
<Yami_> certainty: We will also have to do an AI to use this protocol. It's kind of game where AIs are looking for stuff on a map and the first team to collect all of the required stuff wins.
fgro has quit [Quit: leaving]
<Yami_> workmad3: You lost me :3 It's just string based communication. The strings look a lot like JSON but it's not :/
papercode has joined #ruby
zoraj has quit [Remote host closed the connection]
codeurge has joined #ruby
<Yami_> But well it should be easy to parse with regex
sambao21 has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
<certainty> workmad3: don't threaten them. It's np-hard for them to understand what you mean :p
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
omosoj has joined #ruby
wallerdev has joined #ruby
<workmad3> certainty: awwww :D
_justin_ has joined #ruby
<workmad3> certainty: 2nd year CS should know about halting problem IMO :P
kpshek has joined #ruby
<Yami_> certainty: Is a "client.rb" which requires everything it needs in a "src/" folder acceptable? :B
lolmaus has joined #ruby
roolo has quit [Quit: Linkinus - http://linkinus.com]
tkuchiki has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 255 seconds]
tvw has quit [Ping timeout: 276 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nvrch has quit [Quit: nvrch]
shredding has quit [Quit: shredding]
aagdbl has quit [Quit: Connection closed for inactivity]
zigomir has quit [Remote host closed the connection]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fgo has joined #ruby
zigomir has joined #ruby
ihitdisplay has quit [Quit: Leaving]
brunoro has quit [Quit: WeeChat 0.4.3]
freezey_ has quit [Remote host closed the connection]
GaryOak_ has quit [Remote host closed the connection]
<certainty> workmad3: totally true
<certainty> Yami_: sure, why not
lethjakm1 has joined #ruby
<xcesariox> shevy: are you still there?
<Yami_> certainty: Simpler than I thought ^^"
IceDragon has joined #ruby
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
wald0 has joined #ruby
bradhe has quit [Remote host closed the connection]
jxf has quit [Read error: Connection reset by peer]
<shevy> xcesariox kinda
andrewlio has joined #ruby
alpha123 has quit [Ping timeout: 276 seconds]
sl33k is now known as sl33k_
sl33k_ has quit [Changing host]
sl33k_ has joined #ruby
<shevy> xcesariox but I am on linux and don't use rvm :D
<xcesariox> shevy: no worries, now is about rails/ruby
<shevy> I dont know rails
bennylope has joined #ruby
<shevy> #rubyonrails :D
<shevy> ruby yeah
<xcesariox> shevy: help me take a look at this error, i don't think i am wrong. https://gist.github.com/shaunstanislaus/ed576f1daa94b04c7d0f
<shevy> show the question about ruby
<xcesariox> shevy: it is ruby.
yfeldblum has joined #ruby
<shevy> no it is about rails
<shevy> and rvm
kitak_ has quit [Remote host closed the connection]
<xcesariox> where should i ask my questions about this
fgo has quit [Ping timeout: 258 seconds]
<shevy> Users/shaunstanislaus/Desktop/code/blog/db/migrate/20140507161832_create_posts.rb:5: syntax error, unexpected ':' t.text : body
<shevy> what is that even
<shevy> did you write that code yourself?
zigomir has quit [Ping timeout: 250 seconds]
mary5030_ has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
<xcesariox> shevy: eh i didn't write, it was doing scaffold and then rake db:migrate
<shevy> perhaps it should be t.text :body
<xcesariox> i was"
<shevy> I see
mcrmfc has quit [Ping timeout: 252 seconds]
<shevy> so far you aren't writing anything yourself
<shevy> you are using layers on layers of what other people wrote
<certainty> Yami_: simple is good
<Yami_> Well thank you all ;)
<shevy> xcesariox, try #rubyonrails
<Yami_> certainty: simple is better :)
mary5030_ has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Ex-Chat]
tjr9898 has quit [Remote host closed the connection]
mary5030 has joined #ruby
tjr9898 has joined #ruby
funktor has joined #ruby
<xcesariox> shevy: okay bro, asking there right now.
kevinykchan has joined #ruby
<shevy> \o/
freezey has joined #ruby
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 255 seconds]
andikr has quit [Remote host closed the connection]
Aryasam has quit [Ping timeout: 250 seconds]
figgleberry has joined #ruby
<certainty> is anybody of you attending re:publica?
try has joined #ruby
lw has joined #ruby
Hobogrammer has joined #ruby
<shevy> I dont even know what that is
<shevy> or where that is
Aryasam has joined #ruby
ylluminate` has joined #ruby
<certainty> shevy: it's a conference in berlin that's currently running
<shevy> hehe
ghr has quit [Ping timeout: 258 seconds]
<shevy> certainty, let's ask through a trick question
<shevy> - Who of you is currently in Berlin?
<certainty> hehe
mikecmpbll has quit [Ping timeout: 255 seconds]
nwertman has joined #ruby
andrewlio has quit [Quit: Leaving.]
rodri_gore has joined #ruby
<crome> brrrlin
Lewix has joined #ruby
timonv has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<havenwood> Bearlin, bears i tell you!
<certainty> lot's of interesting talks around alot of things but all somewhat related to the digital world (not only though).
<certainty> privacy is a big topic of course
nwertman has quit [Client Quit]
shredding has joined #ruby
nwertman has joined #ruby
michaeldeol has joined #ruby
deric_skibotn has joined #ruby
wallerdev has quit [Quit: wallerdev]
alex88 has quit [Quit: Leaving...]
tacos1de has quit [Read error: Connection reset by peer]
atmosx has quit [Remote host closed the connection]
RaptorJesus has quit [Read error: Connection reset by peer]
<shevy> it is so privat that none here has even heard of it
<shevy> *private
atmosx has joined #ruby
havenwood has quit [Remote host closed the connection]
tacos1de has joined #ruby
Iniesta8 has joined #ruby
lethjakm1 is now known as lethjakman
maximski has joined #ruby
freezey has quit [Remote host closed the connection]
WishBoy has joined #ruby
einarj has quit [Remote host closed the connection]
codeFiend has joined #ruby
jxf has joined #ruby
datafirm has joined #ruby
nemesit|znc has quit [Read error: Connection reset by peer]
orolo has quit [Quit: This computer has gone to sleep]
zcreative has joined #ruby
enebo has quit [Quit: enebo]
benzrf is now known as benzrf|offline
franzip has joined #ruby
<certainty> shevy: hah! yeah sadly enough. Maybe there are not many non-germans that know it exists
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnmlocklear_ has quit [Ping timeout: 265 seconds]
cescalante is now known as ce_afk
KanKava has joined #ruby
<certainty> shevy: but even david hasselhoff is there! =)
rezzack has joined #ruby
instantaphex has quit [Ping timeout: 258 seconds]
<certainty> well they did it to get publicity
razrunelord has joined #ruby
ascarter has joined #ruby
shredding has quit [Quit: shredding]
mikecmpbll has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
cina has joined #ruby
obs has quit [Remote host closed the connection]
canton7-mac has quit [Remote host closed the connection]
mattmcclure has joined #ruby
LiohAu has quit [Quit: LiohAu]
paulfm has joined #ruby
zigomir has joined #ruby
chrisja has joined #ruby
SegFaultAX has quit [Excess Flood]
maximski has quit [Read error: Connection reset by peer]
maximski has joined #ruby
DouweM has quit [Ping timeout: 255 seconds]
maximski has quit [Max SendQ exceeded]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Ping timeout: 252 seconds]
maximski has joined #ruby
beef-wellington has quit [Ping timeout: 252 seconds]
maximski has quit [Max SendQ exceeded]
RaptorJesus has joined #ruby
Aryasam has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
SegFaultAX has joined #ruby
wallerdev has joined #ruby
saarinen has joined #ruby
maximski has joined #ruby
s2013 has joined #ruby
freggles has joined #ruby
kpshek has quit []
klaut has quit [Remote host closed the connection]
seaned has quit [Quit: Zzzzzz....]
pu22l3r_ has joined #ruby
Valesk has joined #ruby
subbyyy has joined #ruby
jottr_ has joined #ruby
dik_dak has joined #ruby
DouweM has joined #ruby
terrell_t has joined #ruby
nwertman has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Ping timeout: 255 seconds]
terrellt has quit [Disconnected by services]
<shevy> certainty hasselhoff was cool in the 1980s
terrell_t is now known as terrellt
<shevy> now he is semi-tragic
okdas has joined #ruby
codeurge has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
s2013 has quit [Ping timeout: 240 seconds]
pika_pika has quit [Ping timeout: 258 seconds]
bradhe has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
spyderman4g63 has joined #ruby
havenwood has joined #ruby
Yami_ has quit [Quit: Page closed]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
papercode has quit [Ping timeout: 240 seconds]
cina_ has joined #ruby
freezey has joined #ruby
jeregrine has joined #ruby
funktor has quit [Remote host closed the connection]
<razrunelord> Anyone know what color scheme this is? http://imgur.com/aZi9C5k
saarinen has quit [Quit: saarinen]
apeiros has quit [Remote host closed the connection]
Aryasam has joined #ruby
agrinb has joined #ruby
apeiros has joined #ruby
<centrx> RGB?
Xeago has joined #ruby
<shevy> KGB!
chendry has joined #ruby
cina has quit [Ping timeout: 264 seconds]
sunya7a has joined #ruby
<chendry> greetings, all! I'm curious about Net::HTTP. Why does the constructor take a URI as a parameter, when Net:HTTP#post also takes the URL?
Xiti has joined #ruby
saarinen has joined #ruby
nanoyak has joined #ruby
Tricon has joined #ruby
timgauthier has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
agrinb has quit [Ping timeout: 265 seconds]
apeiros has quit [Ping timeout: 252 seconds]
the_f0ster has quit [Quit: Leaving...]
andrewjanssen has joined #ruby
AlSquire has quit [Ping timeout: 255 seconds]
<workmad3> chendry: because Net::HTTP hates you...
zzzbra has joined #ruby
bradhe has quit [Remote host closed the connection]
<zzzbra> hello world
combusean has joined #ruby
St_Marx has quit [Remote host closed the connection]
zzzbra has quit [Remote host closed the connection]
noop has joined #ruby
dideler|work has quit [Ping timeout: 258 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
Snarkz has joined #ruby
St_Marx has joined #ruby
JoeGaudet has joined #ruby
thumpba_ has quit []
ascarter has joined #ruby
thumpba has joined #ruby
rezzack has quit [Quit: Leaving.]
eka_ has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
b00stfr3ak has quit [Ping timeout: 252 seconds]
beef-wellington has joined #ruby
fgo has joined #ruby
agrinb has joined #ruby
mehlah has quit [Quit: Leaving...]
yekta has joined #ruby
eka has quit [Ping timeout: 240 seconds]
<shevy> perhaps testing should be broadened
<shevy> like, you don't necessarily need to test completely
<shevy> you could test only those areas where you need to retain the basic functionality
benzrf|offline is now known as benzrf
nwertman has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
hiall has quit [Ping timeout: 264 seconds]
Snarkz has quit [Quit: Textual IRC Client: www.textualapp.com]
bttf has left #ruby [#ruby]
cina_ has quit [Read error: No route to host]
erjohnso has joined #ruby
_justin_ has quit [Ping timeout: 255 seconds]
erjohnso has left #ruby [#ruby]
<chendry> oh, sheesh, what has been happening with TDD lately
hgl has quit [Ping timeout: 240 seconds]
<certainty> ?
cina has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
<billiam_> chendry: all the drama. All of it.
<certainty> chendry: what has been happening?
<chendry> yeah, seriously... everybody just needs to smoke a bowl and write tests when it makes sense
<certainty> that has always been the case
i_s has joined #ruby
<chendry> exactly
Olipro has joined #ruby
johnmlocklear_ has joined #ruby
SHyx0rmZ has joined #ruby
instantaphex has joined #ruby
_justin has joined #ruby
kirun has joined #ruby
Xeago has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
terrellt has quit [Read error: Connection reset by peer]
terrellt has joined #ruby
<certainty> i better stop, before i get even started.
pel_daniel has joined #ruby
<chendry> no, go! :)
apeiros has joined #ruby
the_f0ster has joined #ruby
<chendry> just don't get me started about emacs
codeFiend has quit [Quit: codeFiend]
<certainty> nah, i would end up bashing some capitalist jerk that tries to promote his stupid product
sdwrage has joined #ruby
rodri_gore has quit [Ping timeout: 255 seconds]
<chendry> i like products! what is it?
nanoyak has joined #ruby
<certainty> chendry: oh go on! i'm an emacs user but i'm always interested in what people don't like about it
<wallerdev> emacs is cool
<certainty> chendry: basecamp
gregf has joined #ruby
billiam_ is now known as billiam
<chendry> certainty: hah, i actually don't dislike emaics at all... just grew up on vim and haven't given emacs a shot :)
billiam has quit [Changing host]
billiam has joined #ruby
vinse has joined #ruby
<certainty> centrx: hehe yeah, and typically we have foot pedals too
<chendry> certainty: woah, basecamp, are you david hh?
<certainty> no that's the capitalist jerk
<certainty> :p
<banister> chendry check out org-mode, it'll blow your mind
Olipro has quit [Ping timeout: 246 seconds]
<chendry> certainty: oh, hah :)
bradhe has joined #ruby
soheil has joined #ruby
nanoyak has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
<chendry> banister: i will give that a shot! emacs has admittidely always sounded cool with it's lispiness and it's ability to tell me when the sun will come up... that's what I mostly remember from the years ago when I used it
nanoyak has joined #ruby
djbkd has quit [Remote host closed the connection]
MrWharfsnort has joined #ruby
<certainty> chendry: the only thing you need to be aware of with emacs is to not fall into the emacs trap. Wasting endless amounts of time fiddling with configuration and trying out yet another feature
Aryasam has joined #ruby
Aryasam has quit [Client Quit]
funktor has joined #ruby
guinslym has joined #ruby
nanoyak has quit [Client Quit]
<chendry> certainty: i've avoided that trap with vim... the problem though is that everybody around me is way better at vim than I am.
ce_afk is now known as cescalante
soheil_ has joined #ruby
<certainty> chendry: how much better? like significantly, meaning that they're saving way more time and are much more productive?
<certainty> or only slightly?
benzrf is now known as benzrf|offline
mercwithamouth has joined #ruby
freezey has quit [Remote host closed the connection]
nanoyak has joined #ruby
<chendry> certainty: good question. maybe only slightly, but it's probably a lot more fun playing with the editor
RohanRNS has joined #ruby
<certainty> chendry: that's the problem :)
<chendry> certainty: why don't you like fun!
pel_daniel has quit [Ping timeout: 264 seconds]
<zastern> What might cause ruby to throw a "cannot load such file" error other than the file just being missing or having bad permissions?
<zastern> Assuming it's in the load path
blackmesa has joined #ruby
<jhass> zastern: ruby being unable to locate the file would
Sirupsen has joined #ruby
soheil has quit [Ping timeout: 265 seconds]
<certainty> chendry: i do like fun. I also like being focused
<chendry> certainty: hah, yeah, agreed... speaking of which, I have taken #ruby entirely off-topic :)
jdguzman has quit [Quit: Textual IRC Client: www.textualapp.com]
s2013 has joined #ruby
yfeldblum has joined #ruby
soheil_ has quit [Remote host closed the connection]
djbkd has joined #ruby
deric_skibotn has quit [Read error: Connection reset by peer]
the_f0ster has quit [Ping timeout: 252 seconds]
testcore has joined #ruby
soheil has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soheil has quit [Remote host closed the connection]
User458764 has joined #ruby
keelzebub has joined #ruby
Ardenzi has joined #ruby
soheil has joined #ruby
deric_skibotn has joined #ruby
ascarter has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
lurch_ has quit [Quit: lurch_]
<keelzebub> Question: why does "look here"["loo"] evaluate to true? What's going on there?
<centrx> >> "look here"["loo"]
<eval-in_> centrx => "loo" (https://eval.in/147745)
<User458764> Hi I have a loop but my script doesn't react to Crtl-C why?
<Symbiosisz> keelzebub: Anything non False or nil evaluates to True.
<centrx> keelzebub, All objects are truthy except false and nil
<jhass> User458764: show us your script (see the topic)
<centrx> (truthy vs falsy)
<keelzebub> I phrased that incorrectly. And also didn't understand what I was asking
<shevy> keelzebub hehehe
<shevy> Try with Question #2!
<certainty> trudy vs. fallacy
<keelzebub> Why does "look here"["loo"] return "loo"?
<shevy> phallucy?
<keelzebub> That's what I meant. Sorry
cescalante is now known as ce_afk
Lewix has joined #ruby
<shevy> keelzebub ok, you can use [] on strings, yes?
<shevy> we need to go step-wise
<User458764> jhass http://pastie.org/9150636
<shevy> this here is (almost) the same
sl33k_ has quit [Ping timeout: 276 seconds]
<shevy> >> "look here"[/loo/]
<eval-in_> shevy => "loo" (https://eval.in/147746)
<shevy> now you see, in [], we give a regex
<keelzebub> Ah!
terrell_t has joined #ruby
<shevy> if you ask me, [] with a regex is much more often used than a "string" argument
<shevy> >> "look here"[/o../]
<eval-in_> shevy => "ook" (https://eval.in/147747)
<keelzebub> Thank you!
timonv has joined #ruby
<keelzebub> That was exactly what I was looking for
<shevy> I assume the same result you could get if you would use: ~ //
bluOxigen has joined #ruby
<shevy> hmmm
<shevy> nope
<shevy> >> "look here" =~ /o../
<eval-in_> shevy => 1 (https://eval.in/147748)
terrell_t has quit [Remote host closed the connection]
<shevy> that was a shevyfail here :(
<Symbiosisz> I just picked up Ruby a week ago, after having been primarily a Java programmer for my entire undergrad so far (3 years). I think I might cry: Ruby and Sinatra are amazing!
<jhass> User458764: hm, unless Mechanize or your terminal are doing funky things that shouldn't catch a SIGINT
terrell_t has joined #ruby
<wallerdev> yeah java is no good, ruby is the true enterprise language
<shevy> >> "look here" =~ /(o..)/; $1
<eval-in_> shevy => "ook" (https://eval.in/147749)
yakko has joined #ruby
<shevy> keelzebub, now I corrected the shevyfail :P
<wallerdev> please dont use $1 lol
<apeiros> keelzebub: if you installed ruby with docs, you can type `ri String#[]` in your shell and get the docs for that method
<shevy> lol
<apeiros> keelzebub: those state: "If a match_str is given, that string is returned if it occurs in the string."
<apeiros> (along with an example)
olivier_bK has quit [Ping timeout: 252 seconds]
<User458764> jhass why it doesn't catch a SIGINT?
cina has quit [Ping timeout: 276 seconds]
<shevy> wallerdev hmm but if you use =~, how can you avoid the $1?
<apeiros> shevy: by not using =~
<wallerdev> just use "look here"[/(o..)/, 1] if you needed groupings
<apeiros> if you want the value of $1, =~ is the wrong tool :)
<shevy> nono
<jhass> User458764: it not doing it means it should abort on it. Ctrl+C normally sends a SIGINT to the running program
<shevy> then we use []
terrellt has quit [Ping timeout: 276 seconds]
<shevy> and I already covered that
andrewlio has joined #ruby
<shevy> shevy> >> "look here"[/o../]
b00stfr3ak has joined #ruby
cina has joined #ruby
<User458764> jhass ok :)
s2013_ has joined #ruby
BizarreCake has joined #ruby
<wallerdev> theres no reason to use =~ in the first place if you want the result lol
<shevy> >> "look here"[/(o..)/, 1]
<eval-in_> shevy => "ook" (https://eval.in/147750)
<shevy> hmm
<shevy> that's even longer now!
<apeiros> if you want the full match, why use a group?
nanoyak has quit [Quit: Computer has gone to sleep.]
<apeiros> >> "look here"[/o(..)/, 1]
<eval-in_> apeiros => "ok" (https://eval.in/147751)
hamakn has quit [Remote host closed the connection]
<shevy> I see
<apeiros> use the right tool for the job, as usual :)
yairgo has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
omosoj has quit [Ping timeout: 250 seconds]
pushpak has joined #ruby
<wallerdev> groups are faster though
<wallerdev> id probably write it like
<wallerdev> >> "look here"[/(((((o..)))))/, rand(6)]
<eval-in_> wallerdev => "ook" (https://eval.in/147752)
<jhass> User458764: I seem to be able to abort that just well, so I'm tipping on your shell or your terminal emulator doing weird things
blackmesa has quit [Ping timeout: 240 seconds]
mansi_ has quit [Remote host closed the connection]
BizarreCake has quit [Read error: Connection reset by peer]
mansi has joined #ruby
tcstar has quit [Read error: Connection reset by peer]
<keelzebub> Thanks shevy and aperios and wallerdev. Just what I need :)
atmosx has quit [Remote host closed the connection]
freezey has joined #ruby
atmosx has joined #ruby
_justin has quit [Quit: _justin]
marr has quit [Ping timeout: 252 seconds]
pu22l3r has joined #ruby
rodri_gore has joined #ruby
terrell_t is now known as terrellt
zcreative has joined #ruby
doodlehaus has quit [Remote host closed the connection]
pu22l3r_ has quit [Ping timeout: 252 seconds]
monkegjinni has quit [Remote host closed the connection]
zcreative has quit [Client Quit]
troulouliou_dev has quit [Quit: Leaving]
zzzbra has joined #ruby
trhodes_ has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
linojon has quit [Quit: linojon]
enebo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mansi has joined #ruby
rodri_gore has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 250 seconds]
drager has quit [Quit: leaving]
jimbow has joined #ruby
freerobby1 has quit [Quit: Leaving.]
sdwrage has quit [Quit: This computer has gone to sleep]
linojon has joined #ruby
freerobby has joined #ruby
sambao21 has joined #ruby
fijimunkii has quit [Read error: Connection reset by peer]
fijimunkii has joined #ruby
cina_ has joined #ruby
nanoyak has joined #ruby
ce_afk is now known as cescalante
orolo has joined #ruby
cina has quit [Read error: No route to host]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013_ is now known as s2013
kpshek has joined #ruby
axl_ has quit [Quit: axl_]
banister has quit [Read error: Connection reset by peer]
sl33k_ has joined #ruby
afex has joined #ruby
pika_pika has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
EagleDelta has quit []
Xeago has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
drager has joined #ruby
aspires has joined #ruby
banister has joined #ruby
Aryasam has joined #ruby
mateu has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
<zzzbra> is this channel strictly for ruby questions, should I take my rails questions elsewhere?
klaut has joined #ruby
<jhass> zzzbra: rails questions go to #rubyonrails
<apeiros> zzzbra: #rubyonrails is more appropriate
<zzzbra> thanks.
<apeiros> (aka #ror, aka #rails)
zarul has joined #ruby
zarul has quit [Changing host]
zarul has joined #ruby
kenneth has joined #ruby
Iniesta8 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zzzbra> question: I tried joining #rubyonrails but was told I could not join as I need to be identified with services. how do I go about doing that?
MrWharfsnort has quit [Ping timeout: 255 seconds]
<centrx> zzzbra, /nickserv help register and /nickserv help identify
doodlehaus has joined #ruby
axl_ has joined #ruby
shiin has joined #ruby
vinse has quit [Ping timeout: 252 seconds]
Aryasam has quit [Quit: Bye]
<shevy> zzzbra just ask your rails questions here
musl has quit [Quit: WeeChat 0.4.3]
<shevy> to apeiros :-)
musl has joined #ruby
User458764 is now known as User458764_NotHe
kaspergrubbe has quit [Read error: Connection reset by peer]
eka_ has quit [Ping timeout: 252 seconds]
<jhass> no, to shevy
kaspergrubbe has joined #ruby
<shevy> lol
momigi_ has quit [Remote host closed the connection]
kenneth has quit [Ping timeout: 255 seconds]
<shevy> zzzbra say yes to shevy!
eka has joined #ruby
<shevy> we need a channel revolt now
Emmanuel_Chanel has joined #ruby
<shevy> btw I just now realize that keelzebub misspelled apeiros as aperios
User458764_NotHe has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<keelzebub> Yea, that was my bad
mercwithamouth has quit [Ping timeout: 265 seconds]
<shevy> ok beelzebub!
<shevy> today is mispelling day
<keelzebub> Ha! Points for you
<shevy> bentrx and ghass will teach you a lesson
<shevy> and then simgauthier will come along
mehlah has joined #ruby
<shevy> and Danmac the C++ guru
aspires has quit []
<shevy> and xtmosx the greek railser
<keelzebub> And chevy the instigator?
<shevy> damn
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> instigating is a lot of fun
<shevy> you let other people do the work while you lay back and enjoy the sun
<timgauthier> yup
<timgauthier> or the world burn
<shevy> yeah, like the joker in batman
bradhe has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
jimbow has quit [Quit: Lost terminal]
Lewix has quit [Remote host closed the connection]
r0bby has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
zzzbra has left #ruby [#ruby]
User458764 has joined #ruby
momigi has joined #ruby
cina has joined #ruby
Aaaal has joined #ruby
rezzack has joined #ruby
<timgauthier> Shevy, i'm going to miss being on your timezone! :P
philoserf has joined #ruby
<shevy> damn
<shevy> what are you doing in canada anyway
<shevy> what could anyone possibly do there
cina_ has quit [Ping timeout: 252 seconds]
<shevy> except gather snow and ice
timonv has quit [Remote host closed the connection]
<timgauthier> eat the snow and the ice?
<shevy> and probably fish
<shevy> timgauthier you could at least conquer alaska!
gsvolt_ has joined #ruby
<timgauthier> haha
<shevy> timgauthier some ruby guy is somewhere there... let me try to remember...
<timgauthier> i have to go because my vistor visa is up
<shevy> homer? town?
<shevy> aha
<timgauthier> and so my Fiancee is going to have to stay here for a month without me, then she will come and join me in July
<shevy> oh yeah here ... http://en.wikipedia.org/wiki/Homer,_Alaska I always wondered how someone would end up there, but I think he got into some medicine-IT tech work there
gsvolt has quit [Quit: No Ping reply in 180 seconds.]
<shevy> ONE MONTH
<shevy> what could HAPPEN IN ONE MONTH
lethjakman has quit [Ping timeout: 252 seconds]
<shevy> she might grow a beard during that time
<timgauthier> i might finish the portfolio? :P
sambao21 has quit [Quit: Computer has gone to sleep.]
<timgauthier> she can't even grow a mustache man!
<shevy> timgauthier, do you know the stupid european song contest?
<timgauthier> yea
pel_daniel has joined #ruby
michael_lee has quit [Remote host closed the connection]
<shevy> timgauthier austria sends this dude: http://en.wikipedia.org/wiki/Conchita_Wurst
philoserf has left #ruby [#ruby]
<timgauthier> wow...
<shevy> I used to joke about finnland trolling at the euro song contest
<timgauthier> do they identify as a man or a woman?
papercode has joined #ruby
<shevy> but actually, the fins are cool, the austrians suck
<shevy> timgauthier "transgender" crap
<timgauthier> eh
<timgauthier> its drag
<shevy> kk
shanlar has joined #ruby
<timgauthier> ITS ON THE WIKI! :P
<timgauthier> anyhow, yeah i hope to get my portfolio done before i get back, and then maybe get some client work going
<timgauthier> and maybe find a part time job to pay the bills, and maybe find a place to live.
<shevy> you will work in canada?
<shevy> with ruby?
kotk has joined #ruby
bradhe has joined #ruby
Fire-Dragon-DoL has joined #ruby
r0bby has quit [Remote host closed the connection]
r0bby has joined #ruby
brunops has joined #ruby
<shevy> they actually won in 2006 too with https://www.youtube.com/watch?v=gAh9NRGNhUU which really was skillful trolling
kotk__ has joined #ruby
<shevy> and that's just how they look in reallife too
kotk_ has quit [Ping timeout: 252 seconds]
lethjakman has joined #ruby
ascarter has joined #ruby
clov3r has joined #ruby
freerobby1 has joined #ruby
postmodern has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
<shevy> timgauthier I am bored... I am rewriting old crap right now...
<timgauthier> lol
<timgauthier> wait what?
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
kotk has quit [Ping timeout: 252 seconds]
JoeGaudet has quit [Quit: Computer has gone to sleep.]
vpretzel|1419 is now known as vpretzel
<shevy> I need to reach a point where I never again have to rewrite anything
<shevy> but there are just some variables or methods no longer needed after a rewrite...
BSaboia has joined #ruby
rdark has quit [Quit: leaving]
_Andres has joined #ruby
_Andres has quit [Max SendQ exceeded]
alem0lars has joined #ruby
Sirupsen has quit [Ping timeout: 252 seconds]
kotk__ has quit [Ping timeout: 240 seconds]
acrussell has quit [Quit: Leaving.]
_tpavel has joined #ruby
alem0lars has quit [Client Quit]
r0bby has quit [Read error: Connection reset by peer]
coffeina has joined #ruby
nwertman has quit [Ping timeout: 258 seconds]
kaspergrubbe has joined #ruby
coffeina has quit [Read error: Connection reset by peer]
shanlar has quit [Quit: shanlar]
cina has quit [Read error: No route to host]
timonv has joined #ruby
cina has joined #ruby
<timgauthier> I don't think you ever get to a point of doing things once, but maybe down to doing it only twice
<timgauthier> and being very efficent
<RubyPanther> shevy: one of my teenage friends moved to Homer, AK for 2+ years
johnmlocklear_ has quit [Ping timeout: 250 seconds]
mehlah has quit [Quit: Leaving...]
sepp2k1 has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
<RubyPanther> as to how somebody ends up there, my friend's family was trying to move as far away from civilization as they could and still survive, on the theory it would keep their delinquent child out of trouble. It didn't work, of course.
sunya7a has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 250 seconds]
_tpavel has quit [Quit: Leaving]
Megtastique has quit []
alem0lars has joined #ruby
alem0lars has quit [Client Quit]
shanlar has joined #ruby
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
nwertman has joined #ruby
tjsousa_ has joined #ruby
bradhe has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 252 seconds]
_Andres has joined #ruby
_Andres has quit [Max SendQ exceeded]
tjsousa has quit [Ping timeout: 240 seconds]
<shevy> hehe
_Andres has joined #ruby
Hanmac1 has joined #ruby
mansi has quit [Remote host closed the connection]
bradhe has joined #ruby
alem0lars has joined #ruby
mansi has joined #ruby
monkegjinni has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
Lewix has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
Azure has quit [Quit: My MBP went to sleep.]
pu22l3r_ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
<timgauthier> yeah, trying to get your delinquent child far away isn't going to help. Try getting actual help for your kids :|
gregf has quit [Quit: WeeChat 0.4.3]
vt102 has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
rodri_gore has joined #ruby
tjsousa_ has quit [Ping timeout: 265 seconds]
SCommette has quit [Quit: SCommette]
mansi has joined #ruby
johnmlocklear_ has joined #ruby
<shevy> a gun
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
SCommette has joined #ruby
vt102 has joined #ruby
freerobby1 has quit [Quit: Leaving.]
vt102 has quit [Max SendQ exceeded]
kpshek has quit []
codeurge has joined #ruby
vt102 has joined #ruby
ahawkins has joined #ruby
cina has quit [Read error: Connection reset by peer]
nwertman has quit [Ping timeout: 252 seconds]
cina has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
coffeina has joined #ruby
kpshek has joined #ruby
noop has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
brunops has joined #ruby
kpshek has quit [Client Quit]
nanoyak has quit [Quit: Computer has gone to sleep.]
Megtastique has joined #ruby
jespada has joined #ruby
musl has quit [Quit: WeeChat 0.4.3]
musl has joined #ruby
intuxicated has quit [Ping timeout: 250 seconds]
thumpba has quit []
ahawkins has quit [Quit: leaving]
thumpba has joined #ruby
Prawnzy has joined #ruby
atmosx has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
bdabrowski has quit [Quit: Leaving]
atmosx has joined #ruby
musl has quit [Client Quit]
<shevy> anyone of you using ruby to rename tabs? i.e. in gnome-terminal or kde konsole
musl has joined #ruby
<shevy> or mrxvt perhaps
zzzbra has joined #ruby
sambao21 has joined #ruby
monkegjinni has quit [Read error: No route to host]
monkegji_ has joined #ruby
BSaboia has quit [Ping timeout: 258 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<zzzbra> howdy
brunops has quit [Quit: leaving]
kpshek has joined #ruby
nanoyak has joined #ruby
razrunelord has quit [Remote host closed the connection]
marr has joined #ruby
coffeina has quit [Quit: Wychodzi]
afex has quit [Ping timeout: 258 seconds]
blackmesa has joined #ruby
Megtastique has quit []
tris has quit [Ping timeout: 276 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
bthesorceror has quit [Remote host closed the connection]
monkegji_ has quit [Remote host closed the connection]
aef has quit [Remote host closed the connection]
relix has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
Megtastique has joined #ruby
bthesorceror has joined #ruby
cina has quit [Read error: No route to host]
nemesit|znc has joined #ruby
monkegjinni has joined #ruby
cina has joined #ruby
SCommette has joined #ruby
m4rcu5 has left #ruby ["WeeChat 0.4.3"]
bthesorceror has quit [Client Quit]
michaeldeol has joined #ruby
northfurr has joined #ruby
chrisseaton has quit []
Lewix has quit [Remote host closed the connection]
iamcalledrob_ has joined #ruby
decoponio has quit [Quit: Leaving...]
pika_pika has quit [Ping timeout: 265 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
funktor has quit [Remote host closed the connection]
mr_snowf1ake is now known as flamingospinach
JoeGaudet has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
sambao21 has joined #ruby
Prawnzy has quit [Ping timeout: 255 seconds]
Aaaal has quit [Quit: Aaaal]
okdas has quit [Ping timeout: 255 seconds]
seaned has joined #ruby
doodlehaus has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
whomp has joined #ruby
flamingospinach is now known as mr_snowf1ake
aef has joined #ruby
andrewjanssen has joined #ruby
zcreative has joined #ruby
<whomp> so i installed the narray gem, but have_header("narray.h") turns up false, even though narray.h exists in the gem file. how should i fix it?
skaflem has quit [Quit: Leaving]
<zcreative> is there a difference between these? https://gist.github.com/zackperdue/d3953ca018e688068ed9
figgleberry has quit [Ping timeout: 276 seconds]
sailias has quit [Quit: Leaving.]
funktor has joined #ruby
Xeroa has quit [Remote host closed the connection]
<lethjakman> zcreative: does the top one work...? I've never inherited like that before.
funktor has quit [Client Quit]
<zcreative> I've seen it in code before and yeah it works.
<lethjakman> huh...interesting.
<apeiros> zcreative: they are completely different
<lethjakman> I don't know. but I want to know the answer.
<apeiros> zcreative: top one is a class nested in another class, the two classes are unrelated
<iamayam> nesting is not the same as inheritance
<apeiros> zcreative: lower one is inheritance
<lethjakman> ahhh
SHyx0rmZ has quit [Ping timeout: 252 seconds]
<apeiros> lethjakman: classes are modules
<lethjakman> OH
<apeiros> >> Class < Module
<eval-in_> apeiros => true (https://eval.in/147822)
<lethjakman> that makes sense now
blackmesa has quit [Ping timeout: 265 seconds]
<apeiros> though, they lost their ability to be included/extended
<lethjakman> apeiros: is it just an alias or is there something different about the two?
pu22l3r_ has quit [Remote host closed the connection]
<lethjakman> apeiros: classes did?
kpshek has quit []
cina has quit [Read error: No route to host]
cina has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
shvelo has joined #ruby
gigetoo has joined #ruby
subbyyy has quit [Ping timeout: 252 seconds]
jpierre03 has joined #ruby
Megtastique has quit []
toastynerd has joined #ruby
<Nowaker> i've got an object with a few attr_readers. what is the prefered way of writing a to_s for such object? I mean, I could just iterate through all attributes and build a string of that, but maybe there's some better way of doing that.
<apeiros> lethjakman: alias?
<apeiros> lethjakman: no, Class subclasses Module, as shown in the code
<apeiros> < is the test for inheritance
<apeiros> Nowaker: no silver bullets IMO. to_s is for print, it should return something useful when printing.
geggam has quit [Ping timeout: 240 seconds]
pushpak has quit [Ping timeout: 252 seconds]
gregf has joined #ruby
lxsameer has joined #ruby
<lxsameer> i'm looking for a gem to create linux daemon easily, do you know any ?
timonv has quit [Remote host closed the connection]
<shevy> lxsameer ruby daemons
<lxsameer> shevy: thanks buddy
doodlehaus has joined #ruby
<Nowaker> apeiros: well, you are right. and i came up with a better idea for a to_s than a list of attributes.
<lethjakman> apeiros: ahhh! ok. thank you that makes sense.
SCommette has quit [Quit: SCommette]
thumpba has quit []
kpshek has joined #ruby
cpruitt has joined #ruby
rudisimo has quit []
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
SCommette has joined #ruby
BSaboia has joined #ruby
flowerhack has joined #ruby
monkegjinni has quit [Remote host closed the connection]
djbkd has quit [Quit: Leaving...]
djbkd has joined #ruby
monkegjinni has joined #ruby
zcreative has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
failshel_ has joined #ruby
freerobby has joined #ruby
alvaro_o has joined #ruby
pu22l3r has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
aspires has quit []
pu22l3r has quit [Remote host closed the connection]
whomp has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
pwh has quit []
s2013 has quit [Ping timeout: 250 seconds]
failshell has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cina has quit [Read error: No route to host]
benzrf|offline is now known as benzrf
michaelchum has joined #ruby
cina has joined #ruby
Lightsword_ has joined #ruby
Lightsword_ is now known as Lightsword
Lewix has joined #ruby
<Lightsword> how would I go about using eventmachine to do a json RPC API request?
<benzrf> Lightsword: why not just do it without eventmachine
<havenwood> Lightsword: em-http-request
geggam has joined #ruby
kyb3r_ has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Synthead has joined #ruby
intuxicated has joined #ruby
intuxicated has quit [Changing host]
intuxicated has joined #ruby
wald0 has joined #ruby
<Lightsword> benzrf, would there be a performance issue for monitoring hundreds of API's at once without eventmachine?
<havenwood> Lightsword: are you in control of the apis?
<Lightsword> havenwood, yes
<Lightsword> it is on an internal LAN
monkegjinni has quit [Remote host closed the connection]
<havenwood> Lightsword: have you considered Server-Sent Events or WebSockets? or using a message queue?
simono has quit [Quit: Textual IRC Client: www.textualapp.com]
mrmargolis has quit []
<Lightsword> havenwood, would that require something to run on all the devices I want to make API requests to?
mrmargolis has joined #ruby
cescalante is now known as ce_afk
monkegjinni has joined #ruby
keelzebub has quit [Quit: Leaving]
omosoj has joined #ruby
dogweather has joined #ruby
<havenwood> Lightsword: yes
<havenwood> Lightsword: all solutions where there's an api on the device would seemingly require something running on the device, no?
<Lightsword> havenwood, hmm, probably not possible, while I have control over devices they are embedded platforms that are not easy to customize
clov3r has quit []
<Lightsword> they come with a json API though
s3ri0us has joined #ruby
northfurr has quit [Quit: northfurr]
<havenwood> Lightsword: so the device can serve up vanilla http requests but not 0MQ or DRb or run a Websocket server?
rodri_gore has quit [Quit: WeeChat 0.4.3]
datafirm has quit [Quit: datafirm]
_derangedcritter has joined #ruby
<Lightsword> havenwood, I think so, they are MIPS based with only 8MB of flash memory for everything including the OS
<havenwood> Lightsword: They might support event-stream in the json API and if so Server-Sent Events may be possible. Otherwise sounds like you are indeed stuck with classical HTTP.
Megtastique has joined #ruby
lurch_ has joined #ruby
timonv has joined #ruby
failshel_ has quit []
guinslym has quit [Ping timeout: 240 seconds]
_Andres has joined #ruby
northfurr has joined #ruby
lurch_ has quit [Client Quit]
figgleberry has joined #ruby
<benzrf> ØMQ tho
_Andres has quit [Client Quit]
combusean has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Aryasam has joined #ruby
Aryasam has quit [Client Quit]
wallerdev has joined #ruby
vlad_starkov has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
kpshek has quit []
sdwrage has joined #ruby
wjlafrance has joined #ruby
x1337807x has joined #ruby
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
testcore has quit [Ping timeout: 272 seconds]
timonv has quit [Remote host closed the connection]
n_blownapart has joined #ruby
x1337807x has quit [Client Quit]
afex has joined #ruby
yfeldblum has quit [Quit: Leaving...]
jespada has quit [Quit: Leaving]
yfeldblum has joined #ruby
m8 has quit [Quit: Sto andando via]
Es0teric has joined #ruby
x1337807x has joined #ruby
freerobby has quit [Quit: Leaving.]
intuxicated has quit [Ping timeout: 250 seconds]
fantazo has quit [Ping timeout: 252 seconds]
subbyyy has joined #ruby
lxsameer has quit [Quit: Leaving]
ktun has joined #ruby
aspires has joined #ruby
kpshek has joined #ruby
ylluminate` has quit [Quit: Bye!]
xcesariox has joined #ruby
Burgestrand has joined #ruby
xcesariox has quit [Client Quit]
saarinen has quit [Quit: saarinen]
aspires has quit []
levity_island has joined #ruby
momigi has quit [Remote host closed the connection]
chendry has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby
yekta has quit [Ping timeout: 240 seconds]
benzrf is now known as benzrf|offline
Xeago has quit [Remote host closed the connection]
mr_snowf1ake is now known as symm-
Bira_ has quit [Remote host closed the connection]
nolic has joined #ruby
testcore has joined #ruby
cina has quit [Read error: No route to host]
jackneill has quit [Remote host closed the connection]
symm- is now known as mr_snowf1ake
cina has joined #ruby
LACP has joined #ruby
ffranz has quit [Ping timeout: 252 seconds]
bricker_ has joined #ruby
bricker_ is now known as bricker`work
aspires has joined #ruby
bricker has quit [Disconnected by services]
treehug88 has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
nanoyak has joined #ruby
baweaver has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has quit []
phutchins has quit [Ping timeout: 240 seconds]
ktun_ has joined #ruby
baweaver has joined #ruby
ffranz has joined #ruby
Ardenzi has quit [Remote host closed the connection]
sepp2k1 has quit [Quit: Leaving.]
shvelo has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
ktun has quit [Read error: Connection reset by peer]
aspires has quit []
doodlehaus has quit [Remote host closed the connection]
shashank_rs has joined #ruby
momigi has joined #ruby
aspires has joined #ruby
baweaver has quit [Remote host closed the connection]
ktun_ has quit [Read error: No route to host]
ktun has joined #ruby
Xiti has quit [Quit: Leaving]
nwertman has joined #ruby
razrunelord has joined #ruby
axl_ has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
aspires has quit [Client Quit]
soheil has quit []
paulfm has quit []
[gmi] has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
axl_ has quit [Client Quit]
rm-rf-etc has joined #ruby
<rm-rf-etc> I need to get HTMLEntities installed on an old version of rails (1.2.3). With every gem command I try, I get the same response: ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 301
<rm-rf-etc> Those commands are 'gem install rubygems-update', 'gem install htmlentities', even 'gem sources --list'
baweaver has joined #ruby
aspires has joined #ruby
djbkd has joined #ruby
soheil has joined #ruby
yfeldblu_ has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
<rm-rf-etc> ruby 1.8.5
Burgestrand has quit [Quit: Burgestrand]
freerobby has joined #ruby
<havenwood> a time traveller!
keystonelemur has joined #ruby
<DouweM> rm-rf-etc: that's impressive
momigi has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
<rm-rf-etc> Any thoughts on how to fix this? THe OS is fedora
yfeldblum has quit [Ping timeout: 250 seconds]
fijimunkii has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
<DouweM> 301 indicates a redirect, so it sounds like that old version of rubygems tries to connect to a gem server that has since moved, but it doesn't know how to follow the redirect
<DouweM> but I have no idea how you'd get it working
<rm-rf-etc> DouweM: But the 301 response for gem sources --list makes no sense to me.
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
Musashi1 has joined #ruby
<DouweM> you've got a point there
<rm-rf-etc> google "gem sources --list" "ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 301"
<rm-rf-etc> 1 result
jhass is now known as jhass|off
s2013 has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
keystonelemur has quit [Remote host closed the connection]
x1337807x has joined #ruby
<rm-rf-etc> Perhaps htmlentities can be installed by manually placing the correct source code into the ruby libs?
Shidash has joined #ruby
benzrf|offline is now known as benzrf
<rm-rf-etc> Any thoughts on how and where that might be?
ce_afk is now known as cescalante
<csmrfx> it is a gem?
cina has quit [Read error: No route to host]
<csmrfx> it probably has git repo?
<Nilium> Is your rubygems outdated?
<wallerdev> yeah its a gem
<wallerdev> ive used it before
<wallerdev> rails 1.2.3 lol
<wallerdev> good luck
<csmrfx> anyway, I read up
<csmrfx> 1st update rubygems
blackmesa has joined #ruby
<Nilium> I think what you need to do is make good use of your fake cyanide-infused tooth
treehug88 has joined #ruby
vpretzel is now known as vpretzel|1484
cina has joined #ruby
Bumptious has quit [Remote host closed the connection]
<Nilium> It's time to get out while the getting's good
<csmrfx> perhaps clone the system first and do homework first and then update on the cloned, rm-rf-etc
<rm-rf-etc> csmrfx: I need to get HTMLEntities installed on an old version of rails (1.2.3). With every gem command I try, I get the same response: ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 301
<rm-rf-etc> csmrfx: Those commands are 'gem install rubygems-update', 'gem install htmlentities', even 'gem sources --list'
Bumptious has joined #ruby
<csmrfx> yeah your rubygens is old
<csmrfx> hence 301
aspires has quit []
<csmrfx> (guess)
<combusean> rails 1?
<Nilium> Maybe a manual install of it would work?
<combusean> holy cow
aspires has joined #ruby
<havenwood> rm-rf-etc: Curious what version of RubyGems you're on?: gem -v
<franzip> is there an equivalent to the Python's urllib in Ruby?
<Nilium> Though, on the other hand, if you're still using old-ass Rails, that means you're probably stuck on old-ass 1.8.7 or something in that range, and so who knows if rubygems will even work now
<rm-rf-etc> havenwood: 0.9.2
<csmrfx> hehe
weems has quit [Read error: Connection reset by peer]
<csmrfx> cool
<Nilium> Holy balls that's old
<rm-rf-etc> really can't afford to perform major upgrades at this point. Obviously it needs to be done, but that has to go through management.
<rm-rf-etc> The time involved is the concern
<csmrfx> rm-rf-etc: do realize you are going to have so much fun on so many levels it is great if you are paying off a mortgage
ldnunes has quit [Quit: Leaving]
<Nilium> Scratch what I said, nuke this entire project from orbit.
<csmrfx> (if they pay you)
<havenwood> kill it with fire
<rm-rf-etc> All that is needed currently is html entity encoding of special characters for rendering of content.
<Nilium> Tell them the technology being outdated is proving problematic and it may be time to cut their losses
aspires has quit [Client Quit]
Es0teric has quit [Quit: Computer has gone to sleep.]
<rm-rf-etc> So doing regex manually would probably be faster than upgrading everything, I'm guessing.
<wallerdev> i would just find the html encoding code in the gem and add that method to a rails helper or something
<Nilium> Management understands losses, so if you can just twist it into continued support costing more than killing it outright, they'll get the message
<combusean> how complex is this app?
<Nilium> Make sure to phrase the costs as monetary, human resources, and their jobs
<rm-rf-etc> combusean: pretty simple. Basic CMS
ffranz has quit [Quit: Leaving]
<Nilium> Could also just write your own encoding thing.
garndt has quit [Quit: Connection closed for inactivity]
<rm-rf-etc> Nilium: ya, I think that's my best option
<csmrfx> well
<combusean> rm-rf-etc, i hope this is an internal app
<Nilium> i.e., for anything outside the range of representable codes, use hex entities.
<Nilium> That should hopefully make it easier to decode as well.
<combusean> and not on a public IP
BSaboia has quit [Ping timeout: 252 seconds]
<rm-rf-etc> combusean: any list of security issues or concerns I can take to management? I'm not a ruby dev.
<csmrfx> I suggest finding the old gem version that was supposed be used
<wallerdev> hes actually working on the yahoo.com homepage ;)
<csmrfx> and add that in project, not in ruby libs
nowthatsamatt has quit [Quit: nowthatsamatt]
Bumptious has quit [Ping timeout: 264 seconds]
instantaphex has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
<wallerdev> in rails 1 youd want to vendor the gem
<csmrfx> (of htmlentities or whatever it was)
<combusean> rm-rf-etc, the fact that your version of rails is 3 major versions out of date almost guarantees security concerns.
axl_ has quit [Quit: axl_]
* Nilium has to resist the urge to say anything about Yahoo because he was trying to get a job there.
<wallerdev> lol
<rm-rf-etc> combusean: I understand that. Management might not. Specifics help. I'm not good at making up stuff and sounding convincing.
TripTastic has joined #ruby
<csmrfx> and yeah, looks like your project has outlived its lifecycle a bit
<wallerdev> are they hiring?
<wallerdev> i thought they were dying
alexju has quit []
WishBoy has quit [Remote host closed the connection]
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<combusean> rm-rf-etc, and every time they need fixes or updates to it it's going to be harder and harder to implement them AND support them.
<Nilium> They're actually doing alright, business-wise.
alexju has joined #ruby
<wallerdev> what's the main source of revenue for yahoo these days
<combusean> rm-rf-etc, basically what you're doing is you're a drywall contractor on the titanic.
<Nilium> It's just that they're neither improving drastically nor going anywhere other than left/right
<rm-rf-etc> combusean: right. But I have to wait for another major set of feature requests before anyone will care.
<Nilium> I think it might be advertising.
<Nilium> I have no idea.
<wallerdev> yeah i know they do search advertising
<wallerdev> but i dont know who uses their search at this point
<Nilium> The jobs I was looking at were all in mobile dev stuff because that's what a recruiter pinged me for
<Nilium> And I'm not about to pass up being paid for stuff
<wallerdev> haha right :)
<wallerdev> yahoo seems like a cool place
treehug88 has quit []
<wallerdev> i think i work in an old yahoo office
yfeldblu_ has quit [Remote host closed the connection]
<Nilium> Couldn't care less who my employer is because I have no sense of loyalty toward any employer, I'd just end up doing what I was paid to do
<rm-rf-etc> So can anyone give me a pointer on how to figure out which version of HTMLEntities will work for ruby 1.8.5 ?
<csmrfx> combusean: more like the maritime emergency technician on the titannic
<combusean> rm-rf-etc, tell them about the reaking issues with it, the fact that it's unsupported, will be impossible to develop more than small patch jobs moving forward, and risks becoming even more obsolete to the point where nothing will work anymore in a heartbeat.
<Nilium> The folks I know at Yahoo seem pretty happy considering they've been there a long time, but I can't really say much because I don't know much
aspires has quit [Client Quit]
<wallerdev> were they hiring for rails for mobile dev?
ikaros has joined #ruby
<rm-rf-etc> yahoo also has other ventures that I assume are doing well, like yahoo small business
<Nilium> No, I don't do rails crap.
<Nilium> The mobile stuff was Android-specific
<csmrfx> they have proper percentage in NA
<wallerdev> ohh native stuff
<wallerdev> cool cool
<Nilium> They've got a lot of stuff spread across a lot of areas. Email, the ever-present joke that is Yahoo Answers, Flickr, that undead bookmark collection site, etc.
dogweather has quit [Remote host closed the connection]
mjsmith2 has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
<wallerdev> yeah theyve got a lot of stuff, just not sure whats actually doing well these days haha
<wallerdev> like what's growing for them right now
<Nilium> Couldn't say since I don't pay attention to business stuff, but the info's probably out there
Xiti has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
<Nilium> And I just remembered I should probably continue working on my GUI gem for Ruby at some point
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
<wallerdev> gui gem?
mrmargol_ has joined #ruby
<csmrfx> like a high level window toolkit?
shvelo has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> More or less.
<Nilium> Doesn't use OS toolkits, though, at least not the majority of it
<csmrfx> on MRI?
<wallerdev> i feel like using a ui toolkit in a scripting language is just never gonna work haha
mengu has quit [Remote host closed the connection]
<Nilium> Windows are native and the rest is just rendered in GL
<Nilium> Yeah.
<csmrfx> I suppose on jruby it would be trivial to create a nice dsl for some java windowing toolkit!
<wallerdev> so much easier to use an IDE or IB or something
axl_ has joined #ruby
pu22l3r has quit [Ping timeout: 276 seconds]
shiin has quit [Quit: Textual IRC Client: www.textualapp.com]
_Andres has joined #ruby
baweaver has joined #ruby
mrmargolis has quit [Ping timeout: 258 seconds]
<Nilium> Probably, but Java UI stuff always has this weird uncanny valley feel to it
gregf has quit [Ping timeout: 250 seconds]
fenicks has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
<Nilium> I figure by avoiding the look and feel of any major UI toolkits, that won't happen
sputnik1_ has joined #ruby
Aryasam has joined #ruby
<Nilium> So you don't end up with the wxWidgets/QT issue of it-sort-of-looks-like-it-but-never-feels-right.
sputnik1_ is now known as sputnik13net
baweaver has joined #ruby
<wallerdev> every cross platform toolkit has a horrible feel to it on a mac
andrewjanssen has quit [Quit: Leaving...]
Aryasam has quit [Client Quit]
<csmrfx> well, still at the point where just having any gui any is fine!
vt102 has quit [Remote host closed the connection]
<csmrfx> -any
datafirm has joined #ruby
<Nilium> I use OS X, so making it work well there is sort of my main focus
<wallerdev> they can pretend all they want, but if you want your app to feel good you need to do OS specific UI, and use a shared codebase for the business logic
justinxreese has quit [Ping timeout: 246 seconds]
n_blownapart has quit [Remote host closed the connection]
<Nilium> I agree for the most part.
justinxreese has joined #ruby
<shevy> like hipster colours on osx
<Nilium> What I'm doing is intended less as a generic thing and I just want to do it for fun and possibly to help writing my own tools.
<csmrfx> yeah I think I'd just go jruby cause java portability just works
<shevy> csmrfx but it looks so ugly on osx!
pwh has joined #ruby
<Nilium> Though I'd probably just end up using fltk for tools
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjlafrance has quit [Quit: This computer has gone to sleep]
treehug88 has joined #ruby
<csmrfx> yeah, looks uglish on debian, too
axl_ has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
<shevy> that's ok, debian in itself is ugly
<csmrfx> then again
agrinb_ has joined #ruby
baweaver has quit [Remote host closed the connection]
<csmrfx> debian has dozens of dms and wms
<wallerdev> java is consistent in that it looks ugly on every platform lol
agrinb has quit [Read error: Connection reset by peer]
<Nilium> I like Swing when it doesn't try to look like the native OS
<shevy> Swine? Swig?
cina has quit [Read error: No route to host]
<Nilium> It's a lot easier to swallow UI inconsistency when the UI isn't pretending to be native
aspires has joined #ruby
<csmrfx> I wish I could just draw the UI in SVG (illustrator, inkscape...)
monkegjinni has quit []
vlad_starkov has joined #ruby
cina has joined #ruby
alem0lars has quit [Quit: alem0lars]
ghr has joined #ruby
freerobby has quit [Quit: Leaving.]
<Nilium> I'd like node-webkit, but my experience with browser-based apps and whatnot is that they're all slow and painful to use
* Nilium glares at Atom
<Nilium> It's probably the worst offender.
<shvelo> hi shevy :D
aspires has quit [Client Quit]
Azure has joined #ruby
<havenwood> help test out pry 0.10.0-pre!: gem install pry --pre
<shvelo> why does Fixnum have to_int if int is Fixnum?
<shevy> haha hi shvelo
Stalkr_ has joined #ruby
<wallerdev> so you can accept any type
<wallerdev> and not special case call to_i if its not already a fixnum
djbkd has quit [Remote host closed the connection]
aspires has joined #ruby
levity_island has quit [Ping timeout: 264 seconds]
<havenwood> "".to_s #=> "" #etc
<wallerdev> you can just say num = whateverwaspassedin.to_i
Stalkr_ has quit [Changing host]
Stalkr_ has joined #ruby
<banister> shvelo for duck-typing
elaptics is now known as elaptics`away
geggam has quit [Ping timeout: 240 seconds]
<banister> shvelo not duck-typing, i mean, cos you might be passed something tht is not an int, but it also might be, so to_i ensures you get an int
<shvelo> good
nateberkopec has quit [Quit: Leaving...]
ihitdisplay has joined #ruby
<shvelo> btw why is integer called Fixnum?
danshultz has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
<shvelo> and why isn't there to_fixnum :D
<LiquidInsect> it's not
<wallerdev> Fixnum < Integer
danshultz has joined #ruby
<LiquidInsect> Fixnums are Integers
geggam has joined #ruby
<Nilium> shvelo: Integer is Integer, Fixnum is Fixnum.
<Nilium> to_i converts to an integer, it's not guaranteed to be a Fixnum as far as I know.
<LiquidInsect> so are Bignums (I think...)
<wallerdev> A Fixnum holds Integer values that can be represented in a native machine word
<wallerdev> (minus 1 bit). If any operation on a Fixnum exceeds this range, the value is
<wallerdev> automatically converted to a Bignum.
<shvelo> thanks wallerdev
<Nilium> It's fairly convenient.
<Nilium> Wish more languages had automagic bignums.
<LiquidInsect> you don't have to decide "Do I need a 64-bit integer here?"
zzzbra has quit [Remote host closed the connection]
yfeldblum has joined #ruby
zzzbra has joined #ruby
relix has joined #ruby
<Nilium> Though I mostly end up using Scheme if I need to do a lot of numeric stuff.
<Nilium> e.g., my taxes.
<wallerdev> i use turbotax™
weems has joined #ruby
nateberkopec has joined #ruby
<Nilium> I do them by hand and write little scripts to be run by Gambit Scheme for adding things up
Zesty has joined #ruby
freezey has quit [Read error: Connection reset by peer]
badhatter has quit [Ping timeout: 245 seconds]
<Nilium> Gambit Scheme being the god of Schemes.
danshultz has quit [Ping timeout: 245 seconds]
freezey has joined #ruby
radic has quit [Ping timeout: 240 seconds]
<Nilium> And Racket being satan.
* Nilium shakes his fist
musl has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
Musashi1 has joined #ruby
faulkner has quit [Ping timeout: 240 seconds]
musl has joined #ruby
zzzbra has quit [Ping timeout: 240 seconds]
jobewan has quit [Quit: Leaving]
Bira has joined #ruby
endash has quit [Quit: endash]
<csmrfx> wow, I dont even have scheme installed
marahin has quit [Ping timeout: 240 seconds]
stnly has quit [Ping timeout: 240 seconds]
St_Marx has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 272 seconds]
RaptorJesus has quit [Ping timeout: 272 seconds]
radic has joined #ruby
ikawnoclast has quit [Ping timeout: 240 seconds]
aspires has quit []
dangerousdave has joined #ruby
stnly has joined #ruby
linojon has quit [Quit: linojon]
SHyx0rmZ has joined #ruby
fenicks has quit [Ping timeout: 252 seconds]
nanoyak has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
marahin has joined #ruby
marahin is now known as Guest86877
johnmlocklear_ has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
faulkner has joined #ruby
levity_island has joined #ruby
havenwood has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
levity_island has quit [Client Quit]
axl_ has joined #ruby
Guest86877 is now known as marahin
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marahin has quit [Changing host]
marahin has joined #ruby
<headius> csmrfx: you can use SWT from JRuby, which just uses native toolkit
<headius> there's even an swt gem
Bira has quit [Ping timeout: 264 seconds]
<ericwood> oooooh
<headius> (just pulls in the classes into Ruby namespaces)
blackmesa has quit [Ping timeout: 258 seconds]
mansi has quit [Remote host closed the connection]
<ericwood> I guess technically you could write swing apps in JRuby
<headius> the redcar editor is all JRuby-based and uses SWT
<ericwood> idk if that'd be very pleasant tho
dangerousdave has quit [Read error: Connection reset by peer]
mansi has joined #ruby
<headius> yeah, swing works fine too...just isn't native toolkit and has some quirk
<headius> quirks
WishBoy has joined #ruby
crelix has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> more than a few :)
<Nilium> I want the old purple-blue-y grey boxy Swing.
<Nilium> I miss it.
<Nilium> I may be the only one.
baweaver has joined #ruby
claymore has quit [Quit: Leaving]
djbkd has quit [Read error: Connection reset by peer]
chrisramon has joined #ruby
<ericwood> you are actually the only one
dangerousdave has joined #ruby
djbkd has joined #ruby
mansi has quit [Ping timeout: 258 seconds]
<Nilium> Well, at least I don't want OS X's pinstripes back.
Lewix has quit [Remote host closed the connection]
St_Marx has joined #ruby
<benzrf> wh-why does this exist https://github.com/josh/nack
anaeem1_ has quit [Remote host closed the connection]
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
<LiquidInsect> I don't know, but pow uses it
<benzrf> wait
<benzrf> seriously?!
krazh has joined #ruby
<LiquidInsect> yeah
<benzrf> wtf
<DouweM> that's probably also exactly why it exists :P
Xeago has joined #ruby
Es0teric has joined #ruby
baweaver has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
bradhe has quit [Remote host closed the connection]
<rm-rf-etc> thanks for the support everyone. BFN
<rm-rf-etc> exit
lw has joined #ruby
<rm-rf-etc> arg
<benzrf> haha
<rm-rf-etc> *close button*
rm-rf-etc has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
axl_ has quit [Quit: axl_]
momomomomo has joined #ruby
qwyeth has quit [Quit: Leaving]
momomomomo has quit [Client Quit]
nateberkopec has quit [Quit: Leaving...]
Xeago has quit [Ping timeout: 245 seconds]
<workmad3> benzrf: you may as well ask why https://github.com/tenderlove/phuby exists
alexju has quit [Remote host closed the connection]
<DouweM> :|
omosoj has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
<LiquidInsect> Why climb a mountain?
Aaaal has joined #ruby
mary5030 has quit [Remote host closed the connection]
<workmad3> LiquidInsect: to see what's on the other side?
keystonelemur has joined #ruby
<LiquidInsect> and there's the reason to do anything ridiculous
beef-wellington has quit [Ping timeout: 255 seconds]
erikruthven has joined #ruby
keystonelemur has quit [Remote host closed the connection]
endash has joined #ruby
saarinen has quit [Quit: saarinen]
_djbkd has joined #ruby
snath has quit [Ping timeout: 252 seconds]
<kaspergrubbe> workmad3: There is also things like https://github.com/kaspernj/php_process
Doppp has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
dblessing has quit [Quit: dblessing]
ascarter has joined #ruby
_djbkd has quit [Remote host closed the connection]
figgleberry has quit [Ping timeout: 252 seconds]
chrisramon has quit [Quit: chrisramon]
_djbkd has joined #ruby
anaeem1_ has joined #ruby
<shevy> I want to be a zombie
djbkd has quit [Ping timeout: 240 seconds]
Azure has quit [Quit: My MBP went to sleep.]
baweaver has quit [Remote host closed the connection]
figgleberry has joined #ruby
Megtastique has quit []
FenixFyreX has joined #ruby
anaeem1_ has quit [Ping timeout: 276 seconds]
zastern has quit [Ping timeout: 276 seconds]
saarinen has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
saarinen has quit [Client Quit]
snath has joined #ruby
ikaros has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
michaeldeol has joined #ruby
zastern has joined #ruby
saarinen has joined #ruby
Megtastique has joined #ruby
moted has joined #ruby
iamcalledrob_ has quit [Quit: Computer has gone to sleep.]
lethjakman has quit [Ping timeout: 258 seconds]
moted has left #ruby [#ruby]
mrmargol_ has quit [Remote host closed the connection]
orolo has quit [Quit: This computer has gone to sleep]
mehlah has joined #ruby
iamcalledrob_ has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 258 seconds]
GaryOak_ has joined #ruby
Megtastique has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
andrewlio has quit [Quit: Leaving.]
cescalante is now known as ce_afk
Megtastique has quit [Client Quit]
flowerhack has quit [Quit: Connection closed for inactivity]
moted has joined #ruby
iamcalledrob_ has quit [Ping timeout: 255 seconds]
treehug88 has quit []
baweaver has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 240 seconds]
Iniesta8 has joined #ruby
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nowthatsamatt has joined #ruby
ikaros has joined #ruby
<shevy> is there a way to do include only when it was not included yet?
<shevy> module Foo; end; module Bar; include Foo unless already included; end
<apeiros> include Foo unless self < Foo
<centrx> Isn't that how it works?
<apeiros> might actually
try has quit [Ping timeout: 240 seconds]
<apeiros> might not, too, though
<apeiros> since include has some quirks
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sl33k_ has quit [Ping timeout: 276 seconds]
fenicks has joined #ruby
Azure has joined #ruby
<shevy> hmm
krazh has quit [Remote host closed the connection]
ikaros has quit [Client Quit]
fenicks has quit [Remote host closed the connection]
krazh has joined #ruby
fenicks has joined #ruby
jamto11 has quit [Remote host closed the connection]
Iniesta8 has quit [Client Quit]
kirun has quit [Quit: Client exiting]
ghr has joined #ruby
zigomir has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
SevenWolf has joined #ruby
kevind has quit [Quit: kevind]
zorak8 has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
nateberkopec has joined #ruby
zorak8 has joined #ruby
SevenWolf has left #ruby [#ruby]
gregf has joined #ruby
wow-such-jjb has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
wow-such-jjb has quit [Client Quit]
moted has quit [Quit: moted]
geggam has quit [Remote host closed the connection]
mjsmith2 has joined #ruby
shashank_rs has quit [Ping timeout: 250 seconds]
moted has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
vpretzel|1484 has quit [Quit: Adios!]
andrewjanssen has joined #ruby
x1337807x has joined #ruby
dr0ff has joined #ruby
vlad_starkov has quit []
Azulinho has joined #ruby
Azulinho has quit [Client Quit]
kitak has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
kitak has joined #ruby
zorak8 has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
kitak has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
kitak has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
BSaboia has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
sputnik13net has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ihitdisplay has quit [Quit: Leaving]
marahin has quit [Ping timeout: 240 seconds]
moted has quit [Quit: moted]
Aaaal has quit [Read error: Connection reset by peer]
caiges has joined #ruby
moted has joined #ruby
Aaaal has joined #ruby
agrinb_ has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
marahin has joined #ruby
marahin is now known as Guest82029
enebo has quit [Quit: enebo]
seaned has quit [Quit: Zzzzzz....]
dfinly has quit [Quit: Farewell]
franzip has quit [Quit: ...]
Doppp has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_Andres has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
whomp has joined #ruby
yairgo has quit [Ping timeout: 252 seconds]
chendry has joined #ruby
SCommette has quit [Quit: SCommette]
kevind has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
x1337807x has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
hermanmunster has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 240 seconds]
hermanmunster has joined #ruby
Aaaal has quit [Read error: Connection reset by peer]
Aaaal has joined #ruby
RaptorJesus has joined #ruby
andrewjanssen has quit [Remote host closed the connection]
shashank_rs has joined #ruby
tjr9898 has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 255 seconds]
jxf has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
arrubin has quit []
hermanmunster has quit [Ping timeout: 255 seconds]
_Andres has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
fluve has joined #ruby
benzrf is now known as benzrf|offline
pwh has quit []
alexju has joined #ruby
ValicekB has joined #ruby
s2013 has joined #ruby
jtdowney has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
m00nlight has quit [Quit: Konversation terminated!]
agrinb has joined #ruby
mrmargolis has joined #ruby
lw has quit [Quit: s]
fijimunkii has joined #ruby
s2013 has quit [Remote host closed the connection]
Hobogrammer has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
kpshek has quit []
phutchins has joined #ruby
wald0 has quit [Quit: Lost terminal]
freezey has quit []
phoo1234567 has quit [Quit: Leaving]
afex has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
KanKava has quit [Remote host closed the connection]
chendry has quit [Quit: Leaving]
chrisja has quit [Quit: leaving]
djbkd has joined #ruby
jtdowney has quit []
lethjakman has joined #ruby
Olipro has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
ce_afk is now known as cescalante
funburn has joined #ruby
i_s has quit [Remote host closed the connection]
jallard has joined #ruby
iamcalledrob_ has joined #ruby
<jallard> hi i tried to install rails on os x mavericks
chrisramon has joined #ruby
<jallard> and i get this when i gem install it: clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
i_s has joined #ruby
terrell_t has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
i_s has quit [Read error: Connection reset by peer]
Lightsword has quit [Remote host closed the connection]
i_s has joined #ruby
i_s_ has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s_ has quit [Read error: Connection reset by peer]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
omosoj has joined #ruby
i_s has joined #ruby
terrellt has quit [Ping timeout: 276 seconds]
narcan has joined #ruby
i_s has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
i_s has joined #ruby
i_s has quit [Remote host closed the connection]
krazh has quit [Remote host closed the connection]
krazh has joined #ruby
linojon has joined #ruby
i_s has joined #ruby
Aaaal has quit [Quit: Aaaal]
Bruno_ has joined #ruby
bradhe has joined #ruby
<RubyPanther> >> module Foo; def omg; 'pony' end end ; class Bar; include Foo; end ; module Foo ; def omg; 'uniponies!' end end ; class Bar ; puts 'has Foo really been included? what does that mean? Is the whole idea a race condition?' end # shevy
<shevy> well
<shevy> problem was the self < Anything part
<shevy> it distorts my style of coding in ruby so I could not use it anyway
SCommette has joined #ruby
erikruthven has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther> Seems to go deeper to the question of if Ruby is static (it isn't)
ghr has joined #ruby
<RubyPanther> It might be one of those things where even if you code it correctly, it is still a bug
cescalante is now known as ce_afk
toastynerd has joined #ruby
onk has joined #ruby
Aaaal has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Quit: Leaving...]
BSaboia has quit [Ping timeout: 250 seconds]
tricon_ has joined #ruby
baweaver has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
hermanmunster has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
figgleberry has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 258 seconds]
meatherly has quit []
razrunelord has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 264 seconds]
meatherly has joined #ruby
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
andrewjanssen has joined #ruby
afex has joined #ruby
<shevy> hehehe
hamakn has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
figgleberry has joined #ruby
iamcalledrob_ has quit [Quit: Lingo - http://www.lingoirc.com]
n_blownapart has joined #ruby
benzrf|offline is now known as benzrf
SCommette has quit [Quit: SCommette]
<benzrf> ponies
codeurge has joined #ruby
divbell has joined #ruby
Soliah has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
predator117 has joined #ruby
jarred has joined #ruby
pwh has joined #ruby
hamakn has quit [Ping timeout: 252 seconds]
ce_afk is now known as cescalante
Es0teric_ has joined #ruby
tricon_ has quit [Ping timeout: 258 seconds]
Es0teric has quit [Ping timeout: 240 seconds]
predator217 has quit [Ping timeout: 252 seconds]
i_s has joined #ruby
george2 has joined #ruby
toastynerd has quit [Remote host closed the connection]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Es0teric_ has quit [Ping timeout: 252 seconds]
i_s has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
jallard has quit [Remote host closed the connection]
eka has joined #ruby
nfk has quit [Quit: yawn]
zorak has joined #ruby
danshultz has joined #ruby
mercwithamouth has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
bradhe has joined #ruby
kevind has quit [Quit: kevind]
anaeem1 has joined #ruby
lw has joined #ruby
cpruitt has quit [Quit: cpruitt]
Es0teric has joined #ruby