fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
<swarley> I am a computer
<harushimo> nice
lggr has quit [Ping timeout: 245 seconds]
JonnieCache has quit [Ping timeout: 260 seconds]
vitoravelino is now known as vitoravelino`afk
<Spooner> swarley : I thought you were a sleazy guy who used to be a boy doctor, but I live and learn.
<swarley> I'm actually 16, hoping to be a computer science major.
nari has quit [Ping timeout: 246 seconds]
blinkerror has joined #ruby
`brendan has joined #ruby
<Spooner> I thought you had to be over 30 to be allowed into IRC? Damn!
Goles has quit [Ping timeout: 245 seconds]
<swarley> Nope, most places just require 13
lggr has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
<blazes816> swarley: make sure the CS program is good, and not just a piece of money sucking crap
<Spooner> Most places are wrong.
<swarley> blazes816; i plan on going to MIT or VT
<swarley> GT maybe
<blazes816> eh, those are decent
<blazes816> :p
<swarley> MIT, decent?
<swarley> lol
stephenjudkins has quit [Quit: stephenjudkins]
<pmros> Standford?
<blazes816> good luck man. I wish I could've gone to mit. but i D'ed my way through highschool
<harushimo> Illinois
<blazes816> l
<harushimo> really good CS program
stephenjudkins has joined #ruby
<harushimo> engineering school in general is good
stephenjudkins has quit [Client Quit]
<swarley> I'm working on my 7th AP class in my junior year, i've got a pretty good track record of A-B average and advanced science and math credits
<pmros> but do you like ruby?
<swarley> Of course
<pmros> this is the question
<swarley> What? Lol
<pmros> I'm glad to read this answer
fyolnish has quit [Remote host closed the connection]
<pmros> I'm developing a ruby repl
Jamone has quit [Ping timeout: 244 seconds]
<harushimo> ruby is awesome
hsbt_away is now known as hsbt
roadt has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
<pmros> yes, it ts
<pmros> it's a gui repl
<harushimo> its a good programming. I put as equal to python(I learned that too)
<pmros> it's called troshka
erichmenge has joined #ruby
<harushimo> nice
zeromodu_ has joined #ruby
zeromodulus has quit [Ping timeout: 265 seconds]
bricker_ has quit [Ping timeout: 245 seconds]
<pmros> I think you could like it
AwesomeGarethMan has quit [Read error: Operation timed out]
AwesomeGarethMan has joined #ruby
_nitti has joined #ruby
<pmros> well... I need some feedback
<pmros> I guess
<pmros> sorry
kalleth has quit [Read error: Operation timed out]
kalleth has joined #ruby
rburton- has joined #ruby
lggr has joined #ruby
elico has joined #ruby
freakazoid0223 has joined #ruby
<Spooner> harushimo : You've barely scratched the surface of Ruby though, to be fair.
<swarley> Yeah
<swarley> Until you've hit metaprogramming classes that do metaprogramming... You havn't gone all the way in
zeromodu_ has quit [Ping timeout: 252 seconds]
_nitti has quit [Ping timeout: 240 seconds]
<blazes816> if you're not monkey patching your entire rack app onto a symbol called :rack_app, you're not really a programmer
<swarley> lol
<swarley> 'd
<ElderFain> I did python before doing ruby..
<swarley> or that moment when you realize you can one line an entire class
<ElderFain> I find ruby fits me mentally a bit more, although only in some ways. I really don't like people that call ruby methods without () (and use spaces instead)
<blazes816> and you do it because you can
<blazes816> yeah, ruby has some warty areas but python blows chunks
<harushimo> I wrote this subclass
<harushimo> python is pretty good alright
<harushimo> that hurts
<ElderFain> heh python doesn't blow. its a great language and I certainly did some fun stuff with it
patronus has quit [Ping timeout: 268 seconds]
<blazes816> I can't stand python. the day I got a ruby job and quite my python job i cried tears of joy
<ElderFain> I just find ruby fits into my mental model better ;)
lggr has quit [Ping timeout: 265 seconds]
<harushimo> the jelly bean flavor is setting and getting. I can't return if the flavor = black licorice to be false
gmci has quit [Ping timeout: 240 seconds]
<blazes816> harushimo: what?
<blazes816> also you probably meant ==, not =
<blazes816> if @flavor == "black licorice"
<harushimo> I just noticed that
CodeVision has quit [Ping timeout: 260 seconds]
<harushimo> I just fixed that error
<harushimo> thank you
<blazes816> np
gmci has joined #ruby
<harushimo> it is returning true for black licorice and when we are trying to add strawberry as flavor, it returns nil
<harushimo> hmmm
<harushimo> sorry I'm just thinking out loud here too
lggr has joined #ruby
<harushimo> here is my question
zeromodu_ has joined #ruby
<harushimo> delicious method in the main class. Is that different from one in the sub class
<harushimo> I'm thinking yes
theRoUS has quit [Ping timeout: 276 seconds]
Banistergalaxy has quit [Ping timeout: 255 seconds]
niklasb has quit [Read error: Operation timed out]
advorak has joined #ruby
advorak_ has joined #ruby
<blazes816> not entirely sure what you're asking but I think the answer is yes
jhunter has joined #ruby
Takehiro has quit [Remote host closed the connection]
<blazes816> JellyBean.new.delicious? will call the method in the JellyBean class
<harushimo> Jellybean is subclass for Dessert
<blazes816> if that method didn't exist, it would try calling the delicious? method in Dessert
<blazes816> if that method didn't exist, it'd call delicious? on Dessert's parent class
<blazes816> which, unless you have set it explicitly, will be Class
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<jhunter> q: i'm only able to load a gem when in my GEM PATH (as reported by gem env). any ideas?
<jhunter> def some path issue here, but it's not presenting itself
<harushimo> class Dessert has initialize, healthy, delicious methods
<harushimo> explicitly to the class
CodeVision has joined #ruby
rakunHo has joined #ruby
<Spooner> jhunter require 'rubygems' (for 1.8.*)?
<harushimo> I have a subclass Jelly bean which has delicious method too
zeromodu_ has quit [Ping timeout: 252 seconds]
<jhunter> Spooner: done that
<jhunter> it's odd
<blazes816> harushimo: so it will be called instead of the one on Dessert
<harushimo> right
<blazes816> harushimo: if you call "super" from within it, it will call the parent method
<jhunter> irb bombs out after the rubygems require returns true
Guest46294 has joined #ruby
<jhunter> (the gem is installed)
chin-tastic has joined #ruby
<harushimo> I'm doing a check in my subclass for a specific flavor
<blazes816> yes
<Spooner> harushimo : You've gone back to not setting the variables in the initialize
lggr has quit [Ping timeout: 245 seconds]
<blazes816> lol, just noticed that
<pmros> mmmm I was away...
<harushimo> I did that
<harushimo> shoot
<harushimo> your right
<harushimo> I know what you are talking about
<harushimo> I just noticed that too
<harushimo> darn it
<harushimo> I should have it
<harushimo> I should have seen it
<swarley> i think
<swarley> that my lolcat gem should be in the stdlib
yshh has joined #ruby
<blazes816> I always want to put stuff in stdlib
<blazes816> Array#bifurcate would be sweet
lggr has joined #ruby
<Spooner> My support is all for the FizzBuzz gem (by matti) getting into std.
bigBlimpo has joined #ruby
<swarley> bifurcate?
<blazes816> shit, just make a fizzbuzz keyword
<swarley> fizzbuzz?!?!
<blazes816> ruby -e "fizzbuzz"
STyler has quit [Quit: STyler]
<blazes816> swarley: https://gist.github.com/3855764
<bigBlimpo> newb question: how do i know how many comparisons a certain method makes
kiyoura has quit [Quit: Leaving]
<Spooner> bigBlimpo : What is a "comparison" ?
<pmros> what ruby repl do you use? irb? ripl? pru?
<blazes816> ripper?
<blazes816> pmros: irb or pry
<Spooner> Everyone uses pry if they have any sense, pmros
<swarley> yeah
<bigBlimpo> Spooner: haha i was hoping someone here would know
<Spooner> No-one uses ripl/pru or whatever else.
<pmros> I use ripl
<swarley> blazes816; what is this i dont even
<swarley> @bifurcate
<Spooner> pmros Yes, but as someone who is planning to create a ripl, that makes you odd ;)
<blazes816> swarley: it splits an array into two based on the value of the passed block
<Spooner> *repl
<swarley> ohhh
<swarley> yeah that would be useful
<Spooner> blazes816 : You mean like we already have (Array#partition)
<blazes816> :(
samphippen has quit [Quit: Computer has gone to sleep.]
<harushimo> i have a question for the group
bapa has joined #ruby
<harushimo> I'm in the process of learning RAILS
<blazes816> i'll scratch that one of that list and start on splat support for is_a?
<pmros> top level binding is enough many times
<harushimo> Is it easy transition into Rails from ruby
<harushimo> I know rails is developed in ruby
<harushimo> right?
<harushimo> yeah it is
<blazes816> it's easier than going from rails -> ruby for sure
<blazes816> but there's still quite a bit to learn
banisterfiend has joined #ruby
<harushimo> ok
<harushimo> I figured
tjbiddle_ has joined #ruby
<swarley> i dont like rails to be honest
<harushimo> I didn't get the last two jobs because I didn't have rails experience
DrShoggoth has quit [Quit: Leaving]
<harushimo> they are ton of ruby/rails jobs out there
<Spooner> You wouldn't have if they were PHP jobs, rather than Rails ones.
lggr has quit [Ping timeout: 265 seconds]
<swarley> I really want a ruby job without rails
<swarley> i dont know how to do that though
<swarley> lo
<swarley> lol*
<Spooner> I don't think those exist, swarley, and if they do, you have to get up early to even be aware of them ;)
<swarley> Because as someone who likes ruby
<swarley> i hate rails
seoaqua has joined #ruby
<pmros> me too
<harushimo> I heard so many good things about rails
<swarley> i'd sooner write a full framework in sinatra
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<swarley> because sinatra is just..
tjbiddle has quit [Ping timeout: 245 seconds]
<swarley> it feels more like ruby
<Spooner> Rails is massively better than using PHP crap, but that doesn't mean we Ruby purists like it.
sakh has quit [Remote host closed the connection]
<pmros> do you known padrino?
<igabreu> why so mutch hate?
<swarley> Oh yeah of course Rails if better than PHP
<swarley> but i'd prefer sinatra over rails for anything any day
<swarley> and i get that they do different things
snorkdude has quit [Remote host closed the connection]
chin-tastic has quit [Ping timeout: 245 seconds]
zeromodulus has joined #ruby
<swarley> but i'd rather put in the extra work with sinatra to get the functionality i'd need with rails and get rid of the tons of extras i dont need
<pmros> padrino?
lggr has joined #ruby
<swarley> no idea
<pmros> padrino is a superset of sinatra
tjbiddle_ has quit [Ping timeout: 248 seconds]
<harushimo> you are not only people who has told about php problems
<harushimo> yet a lot of websites still use it
<swarley> i mean, i'm not going to go all ruby supremest and write a whole rack server everytime i want to make a webapp
<harushimo> I'll leave at that
<pmros> php is not a language, it's a...
<swarley> but sinatra is generally enough
<swarley> preprocessor
mmitchell has joined #ruby
<harushimo> I thought php is a language
sent-hil has joined #ruby
<swarley> a pre hypertext preprocessor
<harushimo> like ruby, python
<harushimo> I know that
<pmros> it's a piece of shit
<harushimo> how come more than 20 million web sites still use it
<harushimo> sorry
Tearan has quit [Quit: Sleepy Badger....]
<harushimo> I just read an article on it
<harushimo> its on the decline too
<swarley> because its sort of a standard
<harushimo> I read that in the same article
<swarley> but its old fashioned
<Spooner> harushimo : Because it was standard before things like Rails existed.
<Spaceghostc2c> swarley: How about you just never use anything outside the ruby core?
<swarley> now we have attractive dynamic links
<Spaceghostc2c> NIH is awesome.
apok has quit [Ping timeout: 255 seconds]
<swarley> spacebug_; NIH?
<pmros> old old times: c -> cgi -> php
<harushimo> oh
<swarley> lolol
blinkerror has quit [Ping timeout: 260 seconds]
<harushimo> that is also because if you type in LAMP on any *nix distro
<harushimo> you have a webserver setup
zeromodulus has quit [Ping timeout: 248 seconds]
<Spaceghostc2c> swarley: Ooglegay it.
<swarley> swarley@OctaviasViolin ~ $ lamp
<swarley> No command 'lamp' found
<harushimo> what are using
<swarley> Linux Mint 13 Maya \n \l
<swarley> that's my /etc/issue
<Spaceghostc2c> harushimo: Do wat.
<harushimo> sudo apt-get install tasksel
<swarley> never
<Spaceghostc2c> Never.
<harushimo> then you can LAMP server
<swarley> no reason to
<swarley> i dont want it
<swarley> lol
<harushimo> that is how to do it
<Spaceghostc2c> harushimo: No good human ever uses it.
<harushimo> I'm just saying
<swarley> I know how to use lamp
<Spaceghostc2c> No it isn't.
<swarley> and generally you get the tar from their website
<Spaceghostc2c> install apache, php5 or whatever and whatever apache module.
<swarley> and put it in your /opt
<Spaceghostc2c> ^
<harushimo> you can do it from the source. I'm too lazy to do that
<harushimo> hehe
<swarley> its only like
yshh has quit [Remote host closed the connection]
<pmros> I've to go... I hope one day you install troshka and you like it
<swarley> 3 steps
<Spaceghostc2c> Then use the packages like a boss.
lukaszk_afk has joined #ruby
<pmros> cu!
Bosma has joined #ruby
pmros has quit [Quit: Konversation terminated!]
<Spaceghostc2c> pmros: Can I get at it on github?
<swarley> Spaceghostc2c; i googled NIH and i got nothing
<Spooner> pmros : A GUI at least makes sense.
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lggr has quit [Ping timeout: 244 seconds]
<Spooner> Spaceghostc2c https://github.com/pmros/troshka
aces1up has quit [Remote host closed the connection]
mrsolo_ has left #ruby ["Leaving"]
aces1up has joined #ruby
Pip has joined #ruby
bigBlimpo has left #ruby [#ruby]
<Pip> So what do you guys use Ruby to do?
<Spaceghostc2c> I don't know why you'd use a gui for that, but hm.
<swarley> General programming
<blazes816> swarley: Not In House / Not Invented Here
<Tarential> CRM software
<harushimo> likewise and trying to find my next gig
<swarley> ah
<Spaceghostc2c> Pip: Lots of things, really.
<Pip> swarley, Is it sufficient and powerful?
<Spaceghostc2c> Yes and yes.
<Spooner> Spaceghostc2c : IT is more that there are plenty of good console-based REPLs. At least a GUI one has the option to add something.
<swarley> Of course
<Spaceghostc2c> Especially jruby. :D
ryanlecompte has quit [Ping timeout: 260 seconds]
<swarley> I like rubinius
<Spaceghostc2c> Spooner: For sure!
<swarley> if it were up to 1.9 i would use it for sure
<Spaceghostc2c> swarley: JRuby is faster, but if rbx would be more win, sure!
vitor-br has joined #ruby
<swarley> Yeah i know JRuby is faster
<Spooner> swarley : Jruby does support 1.9.
<swarley> does JRuby limit you to the java libraries?
<Spaceghostc2c> It wouldn't be too bad to have rbx on jruby. There's a branch on rbx for that.
<Spaceghostc2c> swarley: Nope.
<Spaceghostc2c> It's a fully implemented ruby.
<Spaceghostc2c> Ruby, and any jvm libs. It even has support (somewhat) for C-extensions.
lukaszk_afk has quit [Ping timeout: 245 seconds]
<swarley> sweet
h4mz1d has joined #ruby
<swarley> maybe i'll start using it more
<Spaceghostc2c> swarley: It has bidirectional interop between jvm and ruby objects.
lggr has joined #ruby
williamcotton has quit [Quit: williamcotton]
<swarley> onaic
zeromodu_ has joined #ruby
<blazes816> jruby is the best ruby
<Spaceghostc2c> ^
<Pip> Is there a builtin function which is equivalent to eval() in Python or Javascript?
<Spaceghostc2c> The only place it fails, imo, is in startup time.
<Spaceghostc2c> Pip: In ruby?
<blazes816> theres like 3\
<Spooner> pip eval ;) Though don't use it.
<Pip> blazes816, Why?
chin-tastic has joined #ruby
<Spaceghostc2c> We avoid eval like we avoid the sun.
<Spaceghostc2c> Pip: Because eval is dangerous.
<Pip> Spooner, Why not?
<Spaceghostc2c> SOCs are bad for health.
<Pip> As dangerous as that in Python?
Banistergalaxy has joined #ruby
<Spaceghostc2c> Just as.
<blazes816> they do different types of evaling
<Spaceghostc2c> Banistergalaxy: Androidfag. <3
<Spooner> pip Because we generally don't need to unless we have bad design.
<Spaceghostc2c> Or are using some very dark black magic.
<Pip> Right
<Pip> lol
<Spooner> pip Better you ask "I want to do this, which I'd use eval() for in Python - how would I do it in Ruby?".
<Pip> Whooa
<Spaceghostc2c> Pip: Generally, you want to use the lesser of two evals.
<swarley> i wonder how eval() works in jruby
AndChat- has joined #ruby
<swarley> lol'd
<Spooner> : /me laughs at Spaceghostc2c.
* Spooner fails to emote, like a noob.
mando has joined #ruby
<Spaceghostc2c> swarley: It works well.
<Spaceghostc2c> Probably just runs another jruby runtime.
<Spaceghostc2c> Although, I don't know.
<swarley> neat
<swarley> i mean
<swarley> wait
<swarley> does it compile to JVM bytecode?
<swarley> how do i get jruby that supports 1.9?
<Spaceghostc2c> Jruby has modes for that.
Banistergalaxy has quit [Ping timeout: 240 seconds]
livejamie has joined #ruby
<Spaceghostc2c> THe latest uses 1.9 mode by default.
<Spooner> It just does.
lggr has quit [Ping timeout: 245 seconds]
mmitchell has quit [Remote host closed the connection]
<Spaceghostc2c> jruby --1.8 or jruby --1.9
<Spaceghostc2c> You can use environment variables as well.
livejamie has left #ruby [#ruby]
OODavo has joined #ruby
mando has quit [Ping timeout: 245 seconds]
<banisterfiend> Pip: we have something even cooler than eval() we have Binding#eval
<Pip> Can I convert a jruby file into a .java file?
<Pip> literally with java source code into
fyolnish has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
advorak_ has quit [Quit: This computer has gone to sleep]
<Spooner> swarley : I have jruby 1.7.0.RC2 (1.9.3p203) installed, so it is a tiny bit behind the main 1.9.3 patch level, but barely worth mentioning.
<Spaceghostc2c> Pip: Yeah.
<swarley> kk
vitoravelino`afk is now known as vitoravelino
<Pip> great
lggr has joined #ruby
yshh has joined #ruby
<Spaceghostc2c> jrubyc
<Pip> btw, jruby can use all Java libraries?
OODavo has left #ruby [#ruby]
<Spooner> pip aye.
<Spaceghostc2c> Pip: Yes.
<Spaceghostc2c> Also, it doesn't convert to .java, it converts to .class
<Pip> So I can program with swing ?
<blazes816> yep
<Spaceghostc2c> Pip: Yes.
<Spaceghostc2c> You can do any jvm stuff.
S1kx has quit [Ping timeout: 245 seconds]
Forevernade has quit [Ping timeout: 240 seconds]
hadees has quit [Quit: hadees]
<heftig> Spaceghostc2c: how would you run the created class? "jrubyc foobar.rb; java -cp .:jruby.jar foobar" doesn't work
<heftig> as in, i get Exception in thread "main" java.lang.ClassCastException: java.lang.Object cannot be cast to java.lang.invoke.SwitchPoint
lggr has quit [Ping timeout: 255 seconds]
PragCypher has quit [Quit: Leaving]
blinkerror has joined #ruby
chessguy has joined #ruby
bapa has quit [Read error: Connection reset by peer]
syamajala has quit [Remote host closed the connection]
brianpWins has joined #ruby
bapa has joined #ruby
fboudreau has joined #ruby
lggr has joined #ruby
swarley has quit [Ping timeout: 245 seconds]
_nitti has joined #ruby
advorak has joined #ruby
iamjarvo has joined #ruby
advorak_ has joined #ruby
loco_pepe has joined #ruby
g-ram has joined #ruby
advorak has quit [Client Quit]
advorak_ has quit [Client Quit]
<heftig> Spaceghostc2c: Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.invoke.SwitchPoint
<heftig> tried with a main method this time
<Spaceghostc2c> heftig: I don't know considering I haven't seen what you're doing.
bricker has joined #ruby
<heftig> just trying "jrubyc PascalJ.rb; java -cp .:/opt/jruby/lib/jruby.jar PascalJ"
<Spaceghostc2c> heftig: Is there a way you could use a not shitty pastie tool?
synackpwn has joined #ruby
_nitti has quit [Ping timeout: 246 seconds]
zmisc has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
ryanlecompte has joined #ruby
<heftig> Spaceghostc2c: remove the ?rb and it's raw
loco_pepe has left #ruby [#ruby]
<Spaceghostc2c> Thanks.
greenarrow has quit [Quit: IRC is just multiplayer notepad]
<heftig> jruby -e 'load "./PascalJ.rb"; PascalJ.main([])' works
thedeadghost has quit [Read error: Connection reset by peer]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Banistergalaxy has joined #ruby
lggr has joined #ruby
thedeadghost has joined #ruby
AndChat- has quit [Ping timeout: 240 seconds]
AndChat- has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
Synthead has quit [Remote host closed the connection]
swarley has joined #ruby
<Spaceghostc2c> heftig: Hm, works here.
<heftig> guess it's my vm then
<Spaceghostc2c> Which are you on?
<Spaceghostc2c> What should I pass as arguments?
<heftig> openjdk 1.7.0_07, jruby 1.7.0.RC2
<heftig> Spaceghostc2c: nothing, they're just ignored. the script reads lines containing integers from stdin (gets.to_i)
Dreamer3 has joined #ruby
<Spaceghostc2c> heftig: Yeah, it works well here.
jenrzzz has quit [Ping timeout: 252 seconds]
zmisc has quit [Ping timeout: 240 seconds]
<heftig> okay, thanks
<Spaceghostc2c> I don't think this is anything, but can you switch the order of the loadpath?
lggr has quit [Ping timeout: 244 seconds]
iori has joined #ruby
zmisc has joined #ruby
<Spaceghostc2c> heftig: java -cp ~/.rvm/rubies/jruby-1.7.0.RC2/lib/jruby.jar:. PascalJ
<Spaceghostc2c> That works alright with me.
zmisc is now known as Guest28185
Guest28185 has left #ruby [#ruby]
tjbiddle has joined #ruby
<Spaceghostc2c> heftig: What jvm are you using?
lggr has joined #ruby
Banistergalaxy has joined #ruby
<heftig> Spaceghostc2c: openjdk 1.7.0_07
uris has joined #ruby
<Spaceghostc2c> heftig: Hm, I wonder. One sec.
seoaqua has quit [Ping timeout: 245 seconds]
<Spaceghostc2c> heftig: Yeah, I don't know.
AndChat- has quit [Ping timeout: 246 seconds]
GoGoGarrett has quit [Remote host closed the connection]
<swarley> i cant compile it
<swarley> but i got the apt binary installed
jenrzzz has joined #ruby
<swarley> in reference to jruby
<Spaceghostc2c> swarley: Hm...
<Spaceghostc2c> swarley: What ruby version management tool do you use?
<swarley> because its missing the apt
<swarley> I dont
<swarley> rvm on ubuntu based distros are awful
<swarley> is awful
<swarley> *
Banistergalaxy has quit [Ping timeout: 244 seconds]
nari has joined #ruby
<heftig> Spaceghostc2c: oh hey, using jrubyc --javac works
<heftig> Spaceghostc2c: without the flag, it doesn;t
<heftig> without it, creates a .class containing public class PascalJ extends org.jruby.ast.executable.AbstractScript
<heftig> with it, creates a .class containing public class PascalJ extends org.jruby.RubyObject
jeffreybaird has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
<Spaceghostc2c> heftig: Hurrah!
<heftig> seems the former contains precompiled code, while the latter doesn't
williamcotton has joined #ruby
manizzle has quit [Ping timeout: 276 seconds]
fboudreau has quit [Changing host]
fboudreau has joined #ruby
igabreu has quit [Remote host closed the connection]
duracrisis is now known as Guest83793
Guest83793 has quit [Killed (brooks.freenode.net (Nickname regained by services))]
fboudreau is now known as duracrisis
lggr has joined #ruby
daniel_- has quit [Quit: WeeChat 0.3.9]
Guest83793 has joined #ruby
rabidpraxis has quit [Remote host closed the connection]
sn0wb1rd has quit [Quit: sn0wb1rd]
chin-tastic has quit [Ping timeout: 245 seconds]
bricker has quit [Quit: Lost terminal]
banisterfiend has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 255 seconds]
adeponte has quit [Remote host closed the connection]
glyytchy has quit [Quit: Leaving...]
uris has quit [Quit: Lost terminal]
horofox has joined #ruby
asdfasdfasdfasdf has joined #ruby
lggr has joined #ruby
asdfasdfasdfasdf is now known as Guest45049
Banistergalaxy has joined #ruby
seoaqua has joined #ruby
Guest45049 is now known as ffffaaaa
IrishGringo has joined #ruby
ffffaaaa has quit [Client Quit]
horofox has quit [Client Quit]
ZubKonst_ has joined #ruby
rakl has joined #ruby
Banistergalaxy has quit [Ping timeout: 244 seconds]
freezey has joined #ruby
ZubKonst has quit [Ping timeout: 276 seconds]
Vert has quit [Remote host closed the connection]
Spooner has quit [Ping timeout: 245 seconds]
justinmcp has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
h4mz1d has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
bapa has quit [Ping timeout: 252 seconds]
alvaro_o has quit [Quit: Ex-Chat]
ttt has joined #ruby
zeromodu_ has quit [Ping timeout: 244 seconds]
rakl has quit [Quit: gone]
xyzodiac has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 265 seconds]
zeromodulus has joined #ruby
pipopopo has quit [Ping timeout: 246 seconds]
Ruler_Of_Heaven_ has joined #ruby
lggr has joined #ruby
[Neurotic] has quit [Read error: Connection reset by peer]
bassclef has quit [Quit: leaving]
Banistergalaxy has joined #ruby
jerius has joined #ruby
bapa has joined #ruby
_nitti has joined #ruby
xyzodiac has joined #ruby
nwertman has quit [Quit: nwertman]
chessguy has quit [Remote host closed the connection]
chessguy has joined #ruby
r1ddl3r has quit [Quit: Leaving.]
justsee has quit [Quit: Leaving...]
Trioke has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 245 seconds]
_nitti has quit [Ping timeout: 260 seconds]
siekoku has joined #ruby
jerius has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
netrealm has joined #ruby
CaptainJet has quit []
chessguy has quit [Ping timeout: 260 seconds]
siekoku has quit [Quit: siekoku]
sent-hil has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
phantasm66 has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
sent-hil has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
ttt_ has joined #ruby
nwertman has joined #ruby
icole has joined #ruby
lggr has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
kzrl_ has joined #ruby
xyzodiac has quit [Ping timeout: 255 seconds]
williamcotton has quit [Quit: williamcotton]
ttt has quit [Read error: Connection reset by peer]
kzrl has quit [Ping timeout: 240 seconds]
kzrl_ is now known as kzrl
xyzodiac has joined #ruby
Bosma has quit [Quit: leaving]
mxweas has quit [Quit: Computer has gone to sleep.]
lggr has quit [Ping timeout: 244 seconds]
sn0wb1rd has joined #ruby
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
roadt has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
quest88 has joined #ruby
carboncito has joined #ruby
horofox has joined #ruby
F1skr has quit [Quit: WeeChat 0.3.9]
sent-hil_ has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
<scx> how to correct write rdoc task in RakeFile?
lggr has quit [Ping timeout: 246 seconds]
<scx> i want to process all files in lib/*
<scx> but i am still getting error: incopatibile encoding regexp match
JonnieCache has joined #ruby
carboncito has quit []
lggr has joined #ruby
roadt has joined #ruby
slainer68 has joined #ruby
bbttxu_ has quit [Quit: bbttxu_]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
elico has quit [Quit: Elico]
swarley has quit [Ping timeout: 260 seconds]
JonnieCache has quit [Ping timeout: 245 seconds]
glyytchy has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
slainer68 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
xpen has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
swarley has joined #ruby
snorkdude has joined #ruby
zmisc has joined #ruby
zmisc has left #ruby [#ruby]
<t0rc> j/quit
t0rc has quit [Quit: WeeChat 0.3.9]
swarley has quit [Client Quit]
lggr has joined #ruby
joeycarmello has joined #ruby
icole has quit [Remote host closed the connection]
freezey has quit [Quit: freezey]
icole has joined #ruby
dagnachewa has quit [Quit: Leaving]
asv has joined #ruby
cardoni has joined #ruby
joeycarmello has quit [Ping timeout: 246 seconds]
bradleyprice has joined #ruby
sent-hil has quit [Remote host closed the connection]
sent-hil_ is now known as sent-hil
lobak has quit [Disconnected by services]
sent-hil is now known as Guest93059
lggr has quit [Ping timeout: 255 seconds]
lobak_ has joined #ruby
scx has quit [Ping timeout: 265 seconds]
lggr has joined #ruby
kaawee has quit [Ping timeout: 246 seconds]
justinmcp has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 246 seconds]
a_a_g has joined #ruby
scx has joined #ruby
freezey has joined #ruby
h4mz1d has joined #ruby
irleif has joined #ruby
<harushimo> i'm out everyone. I will talk to you tomorrow
<harushimo> time to take a break from ruby
<harushimo> hehe
[Neurotic] has joined #ruby
<harushimo> thank you
IrishGringo has quit [Read error: Operation timed out]
harushimo has left #ruby ["Leaving"]
r1ddl3r has joined #ruby
synackpwn has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 260 seconds]
nwertman has quit [Quit: nwertman]
_nitti has joined #ruby
seoaqua has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 255 seconds]
justinmcp has joined #ruby
mercwithamouth has joined #ruby
lggr has joined #ruby
_nitti has quit [Ping timeout: 260 seconds]
adeponte has joined #ruby
SCommette has joined #ruby
scx has quit [Read error: Connection reset by peer]
jeffreybaird has quit [Quit: jeffreybaird]
SCommette has quit [Client Quit]
lggr has quit [Ping timeout: 246 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
skaczor has quit [Ping timeout: 246 seconds]
horofox has quit [Quit: horofox]
h4mz1d has quit [Ping timeout: 245 seconds]
prtksxna has joined #ruby
erichmenge has quit [Quit: Be back later]
FifthWall has joined #ruby
scx has joined #ruby
_numbers has joined #ruby
lggr has joined #ruby
erichmenge has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
erichmenge has quit [Client Quit]
ryanf has joined #ruby
scx has quit [Remote host closed the connection]
scx has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
Pip has quit [Ping timeout: 246 seconds]
sakh has joined #ruby
lggr has joined #ruby
justinmcp has quit [Remote host closed the connection]
mxweas has joined #ruby
ryanlecompte has joined #ruby
snorkdude has quit [Remote host closed the connection]
r1ddl3r has quit [Quit: Leaving.]
IrishGringo has joined #ruby
nazty has joined #ruby
mparodi_ has joined #ruby
nazty has quit [Client Quit]
<mparodi_> Hello guys
<mparodi_> is there any video tutorial to learn RoR?
horofox has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
_numbers has left #ruby [#ruby]
reset_ has joined #ruby
nazty has joined #ruby
<sakh> anyone know what to do wit hthis?
lggr has joined #ruby
reset has quit [Ping timeout: 240 seconds]
reset_ has quit [Ping timeout: 245 seconds]
MacBoxRocks has joined #ruby
nazty has quit [Client Quit]
MacBoxRocks has left #ruby [#ruby]
blinkerror has quit [Ping timeout: 246 seconds]
slainer68 has joined #ruby
ffranz has quit [Quit: Leaving]
lggr has quit [Ping timeout: 252 seconds]
slainer68 has quit [Ping timeout: 240 seconds]
friskd has quit [Read error: Operation timed out]
lggr has joined #ruby
<kyletcarey> I'm new to Ruby and am writing a usd/euro converter for practice. Ran into an issue where I can't get it to print the value before the program quits. Any asssistance would be appreiciated. http://pastebin.com/NdyL8jWm
ryanlecompte has quit [Remote host closed the connection]
mparodi has joined #ruby
mparodi_ has quit [Quit: Leaving]
joofsh has quit [Remote host closed the connection]
cardoni has quit [Quit: cardoni]
prtksxna_ has joined #ruby
prtksxna has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
dmiller has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
duracrisis has quit [Ping timeout: 246 seconds]
DrShoggoth has quit [Read error: Connection reset by peer]
lggr has joined #ruby
<waxjar> kyletcarey, when you call gets it includes a newline (e.g. "euro/n"), so type == "euro" fails
<waxjar> you can fix that by calling strip on type (gets.downcase.strip)
tjwallace has joined #ruby
justinmcp has joined #ruby
Tearan has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
justinmcp has quit [Ping timeout: 252 seconds]
irleif has joined #ruby
bperry has quit [Quit: oh shit's going down]
lggr has joined #ruby
<kyletcarey> waxjar, that makes sense. Thanks!
_nitti has joined #ruby
Nisstyre has quit [Ping timeout: 260 seconds]
xpen has quit [Remote host closed the connection]
<kyletcarey> waxjar, is that basically the same thing as gets.chomp.downcase?
xpen has joined #ruby
justinmcp has joined #ruby
krz has joined #ruby
<waxjar> kyletcarey, in this case it is, but strip deletes any prefixed and trailing whitespace, including spaces, tabs, etc
_nitti has quit [Ping timeout: 246 seconds]
seoaqua has joined #ruby
icole has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
dblandin has joined #ruby
jord has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 260 seconds]
_jesse_ has quit [Ping timeout: 246 seconds]
xpen_ has joined #ruby
dblandin has quit [Client Quit]
<kyletcarey> waxjar, So strip would be the better choice because I'm just looking for an integer as apposed to if I were trying to get a string? Just for newbie clariafication... ;P
rburton- has joined #ruby
jord has joined #ruby
glyytchy has quit [Quit: Leaving...]
Norrin has quit [Ping timeout: 246 seconds]
tjwallace has left #ruby [#ruby]
<kyletcarey> waxjar, wait a second, I understand. Haha.
blazes816 has quit [Quit: blazes816]
<waxjar> it won't matter much i think, strip is a bit more fault tolerant in this case. if you accidentally put a space after euro for example, it would still match
xpen has quit [Ping timeout: 245 seconds]
joeycarmello has quit [Remote host closed the connection]
<waxjar> with chomp it wouldn't, because type would be "euro "
lggr has joined #ruby
phantasm66 has quit [Quit: *poof*]
<waxjar> the integer thing is fine btw. ruby figures that out on its own " 1 ".to_i # => 1
jeffreybaird has joined #ruby
<kyletcarey> Gotcha! Thanks a lot!
<waxjar> yw :)
jord has quit [Ping timeout: 240 seconds]
Nisstyre has joined #ruby
puts_h3ll0 has joined #ruby
ryanlecompte has joined #ruby
icole has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
_jesse_ has joined #ruby
kyletcarey has quit [Quit: Lost terminal]
lggr has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
ananthakumaran has joined #ruby
mikepack has joined #ruby
k_89 has joined #ruby
jord has joined #ruby
puts_h3ll0 has left #ruby [#ruby]
sagax has quit [Quit: Ухожу я от вас]
Norrin has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
horofox has quit [Read error: Connection reset by peer]
horofox has joined #ruby
seoaqua has quit [Ping timeout: 255 seconds]
haxrbyte has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
k_89 has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
adeponte has joined #ruby
xyzodiac has quit [Quit: Computer has gone to sleep.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
justinmcp has quit [Remote host closed the connection]
tjbiddle has joined #ruby
haxrbyte has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 255 seconds]
irleif has joined #ruby
nemesit has joined #ruby
cakehero has quit [Quit: Leaving...]
tommyvyo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lggr has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
justinmcp has joined #ruby
mahmoudimus has joined #ruby
m_3 has quit [Ping timeout: 260 seconds]
seoaqua has joined #ruby
m_3 has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
rakl has joined #ruby
lggr has joined #ruby
_nitti has joined #ruby
kosspad has joined #ruby
reset has joined #ruby
horofox has quit [Ping timeout: 240 seconds]
gcristan has joined #ruby
crazymykl has quit [Quit: Konversation terminated!]
<gcristan> hi guys !
<gcristan> need help on, thin install...
<gcristan> has permission troubles with /etc/init.d/ ...
_nitti has quit [Ping timeout: 245 seconds]
manizzle has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
Goles has joined #ruby
horofox has joined #ruby
hsbt has quit [Ping timeout: 255 seconds]
tjbiddle has quit [Quit: tjbiddle]
yxhuvud has joined #ruby
vitor-br has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
advorak has joined #ruby
freezway has quit [Ping timeout: 245 seconds]
wedtm is now known as wedtm|away
adamkittelson has quit [Remote host closed the connection]
tjbiddle has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
nwertman has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 265 seconds]
hsbt has joined #ruby
lggr has joined #ruby
Norrin has quit [Ping timeout: 245 seconds]
jord has quit [Ping timeout: 252 seconds]
joeycarmello has joined #ruby
a_a_g has quit [Quit: Leaving.]
nwertman has quit [Quit: nwertman]
JonnieCache has joined #ruby
Neurotiquette has quit [Quit: Neurotiquette]
ananthakumaran has joined #ruby
sagax has joined #ruby
joeycarmello has quit [Ping timeout: 255 seconds]
beefsupreme has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 246 seconds]
advorak has quit [Quit: This computer has gone to sleep]
Norrin has joined #ruby
jord has joined #ruby
Norrin has quit [Excess Flood]
Norrin has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
k_89 has joined #ruby
lggr has joined #ruby
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
answer_42 has joined #ruby
roadt has quit [Ping timeout: 245 seconds]
irleif has joined #ruby
JonnieCache has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
newcoder has joined #ruby
blinkerror has joined #ruby
pwightman has joined #ruby
Norrin has quit [Ping timeout: 246 seconds]
kisoku has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 252 seconds]
jord has quit [Ping timeout: 246 seconds]
blinkerror has quit [Ping timeout: 244 seconds]
lggr has joined #ruby
icole has quit [Remote host closed the connection]
jord has joined #ruby
pwightman has quit [Quit: Leaving.]
eldar has joined #ruby
Norrin has joined #ruby
g-ram has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
xpen_ is now known as xpen
awestroke has joined #ruby
lggr has quit [Ping timeout: 265 seconds]
a_a_g has joined #ruby
kyktommy has joined #ruby
lggr has joined #ruby
jenrzzz has joined #ruby
mahmoudimus has quit [Ping timeout: 276 seconds]
advorak has joined #ruby
advorak_ has joined #ruby
Liothen_ has joined #ruby
Liothen_ has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 272 seconds]
gcristan has quit [Remote host closed the connection]
kisoku has joined #ruby
Liothen has quit [Ping timeout: 245 seconds]
quest88 has quit [Quit: quest88]
saschagehlich has joined #ruby
lggr has joined #ruby
advorak_ has quit [Client Quit]
burgestrand has quit [Quit: Leaving.]
hoelzro|away is now known as hoelzro
hoelzro is now known as hoelzro|away
_nitti has joined #ruby
AlbireoX has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
AlbireoX has joined #ruby
_jesse_ has quit [Ping timeout: 272 seconds]
monkegjinni has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
Takehiro_ has joined #ruby
Takehiro_ has quit [Remote host closed the connection]
_jesse_ has joined #ruby
maesbn has joined #ruby
_nitti has quit [Ping timeout: 276 seconds]
AlbireoX has quit [Ping timeout: 272 seconds]
lggr has joined #ruby
prtksxna_ has quit [Ping timeout: 245 seconds]
c0rn_ has joined #ruby
freezey has quit [Quit: freezey]
irleif has quit [Quit: Computer has gone to sleep.]
aganov has joined #ruby
Goles has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
FifthWall has quit [Quit: Zzzzzzzzzzzzz]
lggr has quit [Ping timeout: 276 seconds]
mahmoudimus has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
xpen has quit [Remote host closed the connection]
lggr has joined #ruby
senny has joined #ruby
xpen has joined #ruby
SCommette has joined #ruby
roadt has joined #ruby
vjt has quit [Ping timeout: 272 seconds]
vjt has joined #ruby
advorak has quit [Quit: This computer has gone to sleep]
ChampS666 has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
answer_42 has quit [Remote host closed the connection]
xea_ is now known as xea
answer_42 has joined #ruby
williamcotton has joined #ruby
stillEPIK has joined #ruby
lggr has joined #ruby
EPIK has quit [Ping timeout: 260 seconds]
cakehero has joined #ruby
jenrzzz has joined #ruby
_mak has joined #ruby
Morkel has joined #ruby
elsifaka has joined #ruby
dr_bob has joined #ruby
KevinSjoberg has joined #ruby
JohnBat26 has joined #ruby
margle has joined #ruby
bradleyprice has quit [Ping timeout: 255 seconds]
_mak has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
_mak has joined #ruby
lggr has joined #ruby
nemesit has quit [Ping timeout: 260 seconds]
eldar has quit []
mikepack has quit [Remote host closed the connection]
kyktommy has quit [Quit: kyktommy]
SCommette has quit [Quit: SCommette]
mohits has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
sspiff has joined #ruby
hotovson_ has joined #ruby
zommi has joined #ruby
lggr has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
dv_ has joined #ruby
margle has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
icole has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
und3f has joined #ruby
arkiver has joined #ruby
lggr has joined #ruby
cakehero has joined #ruby
workmad3 has joined #ruby
icole has quit [Ping timeout: 248 seconds]
thone has joined #ruby
tagrudev has joined #ruby
Takehiro_ has joined #ruby
freezey has joined #ruby
thone_ has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 240 seconds]
cmouse has left #ruby [#ruby]
horofox has quit [Quit: horofox]
_nitti has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
Takehiro_ has quit [Remote host closed the connection]
ChampS666 has quit [Ping timeout: 265 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
vjt has quit [Ping timeout: 272 seconds]
vjt has joined #ruby
_nitti has quit [Ping timeout: 260 seconds]
eldariof has quit [Ping timeout: 246 seconds]
eldariof-office has joined #ruby
baphled has joined #ruby
_md has joined #ruby
Virunga has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
lggr has joined #ruby
Bosox20051 has joined #ruby
ephemerian has joined #ruby
arkiver has quit [Quit: Leaving]
freezey has quit [Quit: freezey]
arkiver has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
bradleyprice has joined #ruby
lolmaus has joined #ruby
Pip has joined #ruby
dhruvasagar has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
Elhu has joined #ruby
arkiver has quit [Quit: Leaving]
Shipow has joined #ruby
lggr has joined #ruby
Pip has quit [Ping timeout: 252 seconds]
hoelzro|away is now known as hoelzro
jord has quit [Ping timeout: 246 seconds]
jord has joined #ruby
ABK has joined #ruby
J0KeR has joined #ruby
J0KeR has left #ruby [#ruby]
xpen has quit [Remote host closed the connection]
tweedledumber has joined #ruby
lggr has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
xbayrockx has joined #ruby
lggr has joined #ruby
ryanf has quit [Ping timeout: 246 seconds]
etehtsea has joined #ruby
kosspad has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
otters has quit [Ping timeout: 245 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
chichou has joined #ruby
Axsuul has joined #ruby
c0rn_ has quit [Quit: Computer has gone to sleep.]
hsbt is now known as hsbt_away
lggr has quit [Ping timeout: 240 seconds]
manizzle has quit [Remote host closed the connection]
gmci has quit [Quit: Computer has gone to sleep.]
saschagehlich has joined #ruby
bradleyprice has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
prtksxna has joined #ruby
baphled has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
nilg has joined #ruby
hsbt_away is now known as hsbt
lggr has joined #ruby
bapa has quit [Ping timeout: 246 seconds]
omry has joined #ruby
Shipow has quit [Quit: Leaving...]
cezar has joined #ruby
cezar has quit [Client Quit]
Markvilla has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
Markvilla has quit [Client Quit]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
lggr has joined #ruby
lukaszk_afk has joined #ruby
lukaszk_afk has left #ruby [#ruby]
fphilipe has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
monkegji_ has joined #ruby
lukaszk has joined #ruby
Iszak has joined #ruby
justinmcp has quit [Remote host closed the connection]
etehtsea has quit []
monkegji_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
scx has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
apeiros_ has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
JonnieCache has joined #ruby
lggr has joined #ruby
jimeh has joined #ruby
_nitti has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
Forevernade has joined #ruby
Shipow has joined #ruby
maasha has joined #ruby
_nitti has quit [Ping timeout: 245 seconds]
naquad has joined #ruby
tonini has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
JonnieCache has quit [Ping timeout: 276 seconds]
lggr has joined #ruby
elaptics`away is now known as elaptics
red_ has joined #ruby
<maasha> iterating over one hash and inserting keys in another hash gives me this: `[]=': can't add a new key into hash during iteration (RuntimeError) ???
<apeiros_> sounds like you were inserting into the wrong hash…
mohits has quit [Read error: Connection reset by peer]
<maasha> apeiros_: http://pastie.org/5040263
robotmay has joined #ruby
<maasha> argh
<maasha> me bad
reset has quit [Quit: Leaving...]
<maasha> got it.
lggr has quit [Ping timeout: 245 seconds]
<maasha> Sometimes you only spot your own stupid mistakes when they are hilighted on pastie.
pskosinski has joined #ruby
<apeiros_> or when you show them to others
<apeiros_> so… line 7?
dhruvasagar has quit [Ping timeout: 272 seconds]
newcoder has quit [Ping timeout: 245 seconds]
cakehero has joined #ruby
lggr has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
monkegjinni has joined #ruby
xpen has joined #ruby
workmad3 has joined #ruby
dju has joined #ruby
ABK has quit [Ping timeout: 256 seconds]
<maasha> apeiros_: yeah, should be = child
<maasha> :o)
Hanmac has joined #ruby
jgrevich has quit [Quit: jgrevich]
malcolmva has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 246 seconds]
philips_ has quit [Excess Flood]
lggr has joined #ruby
justsee has quit [Quit: Leaving...]
S1kx has joined #ruby
S1kx has quit [Changing host]
S1kx has joined #ruby
dju has quit [Quit: ZNC - http://znc.in]
philips_ has joined #ruby
mohits has joined #ruby
eldariof-office has quit []
NoNMaDDeN has joined #ruby
NoNMaDDeN has left #ruby [#ruby]
slainer68 has joined #ruby
eldariof has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
baphled has joined #ruby
red_ has quit [Ping timeout: 245 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
mohits has quit [Ping timeout: 255 seconds]
lggr has joined #ruby
dju has joined #ruby
dju has quit [Changing host]
dju has joined #ruby
ABK has joined #ruby
dju has quit [Client Quit]
<matti> WTF
<matti> gem install rdoc causes 2 cores to go 100%.
chussenot has joined #ruby
timmow has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
<awestroke> matti: you can setup bundler to never install rdoc and ri
<awestroke> I want to do that... but somehow I think I will ever use the system rdoc/ri pages instead of googling
eikko has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby
lggr has joined #ruby
mneorr_ has joined #ruby
Vainoharhainen has joined #ruby
mneorr has quit [Ping timeout: 276 seconds]
ZenGuy has quit [Ping timeout: 260 seconds]
brianpWins has quit [Quit: brianpWins]
nenadalm__ has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<nenadalm__> hi all
<nenadalm__> I am trying run redmine 2 and passenger puts error: Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
<nenadalm__> Does anyone know what to do with it?
<nenadalm__> I am using debian, apache
<nenadalm__> and I installed bundles under redmine directory
<nenadalm__> $ rake -V: rake, version 0.9.2.2
love_color_text has quit [Remote host closed the connection]
banseljaj has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 265 seconds]
<Xeago> run bundle install maybe
<Xeago> check gemfile for inclusion of rake
<regedarek> Hi, anybody could help me? I cant install ruby 1.8.7 using rvm because of that issue https://github.com/Homebrew/homebrew-dupes/issues
seoaqua has quit [Ping timeout: 252 seconds]
<Xeago> does bundle exec rake -V output the same nenadalm__?
<regedarek> Is any other alternative way to install this package apple-gcc-42 ??
<nenadalm__> bundle install: Your bundle is complete! It was installed into ./vendor/bundle - whithout changes (rake-0.9.2.2 included)
<Xeago> regedarek: you're running osx?
lggr has joined #ruby
bigkevmcd has quit [Ping timeout: 276 seconds]
<Xeago> if so, you already have ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
<regedarek> i installed comand line
<awestroke> regedarek: get xcode app, download command line tools, compile ruby
<Xeago> he should have xcode if he followed homebrew advice
<awestroke> yes
Averna has quit [Quit: Leaving.]
<nenadalm__> Xeago: bundle exec rake -V: ...database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)... - but I specified adapter in redmine/config/database.yml...
<awestroke> nenadalm__: RAILS_ENV=development bundle exec rake -V
rippa has joined #ruby
_md has quit [Quit: Leaving...]
<regedarek> problem is because for older ruby versions I need this package apple-gcc-42 to complie rubies older that 1.9.3
thecreators has joined #ruby
<Xeago> regedarek: you don't have to recompile ruby on osx
<Xeago> rvm can use system ruby
bigkevmcd has joined #ruby
<nenadalm__> Xeago: with RAILS_ENV=production it write the same (I have no specified development)
<regedarek> Xeago: And can i create gemset for system ruby version?
<Xeago> regedarek: most likely, I don't use rvm
_nitti has joined #ruby
<Xeago> I use rbenv which I pointed to system ruby
<Xeago> and instlaled 1.9.3 on that so I can switch between rubies
<awestroke> Xeago: I wish I had known that before getting some gigantic compiler suite to be able to compile 1.8.7 on osx
<awestroke> Xeago: how did you point it to system ruby?
lggr has quit [Ping timeout: 260 seconds]
<Xeago> rbenv? By default
<awestroke> rbenv global default ?
<Xeago> no idea, been a few months
saschagehlich has quit [Quit: saschagehlich]
<awestroke> it was rbenv global system
<awestroke> thanks
<Xeago> even tho, you can always use /usr/bin/ruby
love_color_text has joined #ruby
<Xeago> which is the system ruby
lggr has joined #ruby
thecreators has quit [Ping timeout: 248 seconds]
lukaszk has quit [Read error: Connection reset by peer]
<Xeago> /usr/bin/ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
<Xeago> which is a symlink
<awestroke> Xeago: I use both versions so I need rbenv
_nitti has quit [Ping timeout: 245 seconds]
jdripper has joined #ruby
beiter has joined #ruby
lukaszk has joined #ruby
<nenadalm__> any ideas?
samphippen has joined #ruby
chussenot has quit [Quit: chussenot]
banseljaj has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
mohits has quit [Ping timeout: 252 seconds]
rakl has quit [Quit: sleeping]
mosheee has joined #ruby
mosheee has quit [Changing host]
mosheee has joined #ruby
lggr has joined #ruby
moshee has quit [Ping timeout: 256 seconds]
<Hanmac> nenadalm__ have you looked at #redmine ?
<nenadalm__> yes, and #passenger also
* maasha favors using /usr/bin/env ruby
<nenadalm__> but on #passenger no one responds...
_mak has left #ruby ["Ex-Chat"]
greenarrow has joined #ruby
Virunga has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
mahmoudimus has quit [Quit: Computer has gone to sleep.]
SmoothSage__ has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
SmoothSage_ has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
lukaszk has quit [Read error: Connection reset by peer]
lggr has joined #ruby
knirhs has quit [Ping timeout: 248 seconds]
tonini has quit [Remote host closed the connection]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
chussenot has joined #ruby
dju has joined #ruby
dju has quit [Changing host]
dju has joined #ruby
wallerdev has quit [Quit: wallerdev]
rippa has quit [Ping timeout: 240 seconds]
AndChat| has joined #ruby
AndChat- has joined #ruby
xpen has quit [Remote host closed the connection]
sterNiX has joined #ruby
sterNiX has quit [Read error: Connection reset by peer]
Banistergalaxy has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 272 seconds]
nenadalm__ has quit [Ping timeout: 245 seconds]
dju has quit [Quit: ZNC - http://znc.in]
AndChat| has quit [Ping timeout: 276 seconds]
himsin has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
mohits has quit [Ping timeout: 240 seconds]
ShiintoRyuu has joined #ruby
mneorr_ has left #ruby [#ruby]
mneorr has joined #ruby
<Xeago> I'd like a mmfs for my dotfiles
hemanth has quit [Read error: Connection reset by peer]
<Xeago> how to achieve :O
waxjar has quit [Ping timeout: 245 seconds]
DarkStar1 has joined #ruby
<hoelzro> mmfs?
ltsstar has joined #ruby
<Xeago> memory mapped file system
<hoelzro> ah =)
<hoelzro> what for?
chussenot has quit [Quit: chussenot]
<Xeago> to not have diskio when opening a new shell
<ShiintoRyuu> for programs to load faster?
dhruvasagar has quit [Ping timeout: 246 seconds]
<Xeago> for shells to load faster
<Xeago> it's only about 4mb total
<ShiintoRyuu> symlinks
<hoelzro> Xeago: the OS should have your dotfiles in memory caches, then!
<Xeago> hoelzro: it does not
waxjar has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.9]
<hoelzro> why TF not?
<hoelzro> if they're accessed enough, they should be in FS buffers
<Xeago> hoelzro: I might not access em enough
<hoelzro> so create a cronjob that reads them in once a minute ;)
<hoelzro> </joke>
<Xeago> don't have cron on osx..
<Xeago> I considered that tho
<Xeago> but than I would have 2 locations for loading my shell
reset has joined #ruby
<apeiros_> Xeago: errr… yes, of course osx has cron
<Xeago> ramfs, and disk
<Xeago> hmm
<apeiros_> that said, launchd is the way to go on osx
<Xeago> thought it didn't
lggr has quit [Ping timeout: 240 seconds]
<Xeago> a new shell takes 28 io's when started every 30seconds
<apeiros_> Xeago: a simple which cron/crontab would've told you
frogprince_mac has joined #ruby
samuel02 has joined #ruby
knirhs has joined #ruby
<ShiintoRyuu> Xeago: how do you count io's per launch?
tsunamie has joined #ruby
<tsunamie> save me
* hoelzro guesses dtrace
<Xeago> dmesg
lggr has joined #ruby
<tsunamie> hi there, anyone know about erd?
<hoelzro> just because 28 IO system calls are occurring doesn't mean each one is going to disk
<hoelzro> 28 IO system calls will occur everytime, memory FS or no
<tsunamie> ERB
<tsunamie> sorry
dhruvasagar has joined #ruby
<apeiros_> tsunamie: don't ask meta-questions.
<Xeago> I configured dmesg to drop io calls that do not hit the disk
<Xeago> if I start within a second
<Xeago> let's say 100/second
<Xeago> I get 0 to 2 io
fphilipe has joined #ruby
<tsunamie> I am trying to create a template for puppet using the ERB standards and I ahve so far cobbeled togeather the following template http://pastebin.com/8JjU7ZYE
hemanth has joined #ruby
<tsunamie> the problem I have is that for searcha nd ns I want to assign default values like I have with domain
Hanmac has quit [Ping timeout: 255 seconds]
mohits has joined #ruby
<tsunamie> however I do not know how to do this for the array values in searchpath and ns
<tsunamie> can someone help me with this?
elico has joined #ruby
Rydefalk_ has quit []
<apeiros_> tsunamie: you mean if e.g. nameservers is empty, you still want at least a default one listed?
Rydefalk has joined #ruby
<tsunamie> no
<tsunamie> sorry I did'nt make myself clear
<tsunamie> just the name server
saschagehlich has joined #ruby
<apeiros_> tsunamie: has_variable? is neither ruby nor erb, sounds more like a puppet thing
lggr has quit [Ping timeout: 256 seconds]
<tsunamie> sorry ment to say if no value is detected for nameserver that one is provided by default
<tsunamie> don't need to worry about searchpath
rippa has joined #ruby
mohits has quit [Read error: Connection reset by peer]
<apeiros_> I can't make sense of "no value is detected for nameserver"
<apeiros_> still sounds to me like "the nameservers array is empty"
<tsunamie> humm... If no value is detected for nameservers I provide one
<tsunamie> as a default value other wise use the array provided
haxrbyte has joined #ruby
rb2k has joined #ruby
<rb2k> Hey, I recall having read a blogpost at some point that talked about the design decision of making active record a class vs a mixin
<rb2k> and that it might have been a mistake
<rb2k> but I can't seem to find that post anywhere
lggr has joined #ruby
<rb2k> anybody got an idea what I could have read?
<DarkStar1> what is capistrano
<apeiros_> what is google
subosito has joined #ruby
<tsunamie> basicly apeiros - trying to make this smarter http://projects.puppetlabs.com/projects/1/wiki/resolv_conf_patterns
JonnieCache has joined #ruby
eikko is now known as akemEikko
slainer68 has quit [Remote host closed the connection]
margle has quit [Quit: Computer has gone to sleep.]
justinmcp has joined #ruby
fermion has joined #ruby
akemEikko has quit [Quit: Forget progress by proxy. Land on your own moon.]
sspiff has quit [Ping timeout: 245 seconds]
akem has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
<JonnieCache> is fastercsv still the thing to be using?
<apeiros_> fastercsv became csv in 1.9
<JonnieCache> is it
<JonnieCache> cool
justinmcp has quit [Ping timeout: 260 seconds]
<JonnieCache> to be honest i only need to output csv so .join(',') is probably a better idea
<apeiros_> only if you're certain about your values not containing any ',' or newlines
<JonnieCache> ahh good point
_nitti has joined #ruby
<JonnieCache> either its all there in stdlib so i may as well use it
lggr has joined #ruby
rippa has quit [Ping timeout: 255 seconds]
hsbt is now known as hsbt_away
jamesaxl has quit [Ping timeout: 272 seconds]
elico has quit [Quit: Elico]
jamesaxl has joined #ruby
_nitti has quit [Ping timeout: 245 seconds]
x0F has quit [Disconnected by services]
omry has quit [Ping timeout: 272 seconds]
x0F_ has joined #ruby
x0F_ is now known as x0F
Virunga has joined #ruby
<tsunamie> okay really simple question, how do I perform a check on an array and if it's empty fill it with a set of values?
lggr has quit [Ping timeout: 248 seconds]
iori has quit [Remote host closed the connection]
`brendan has quit [Remote host closed the connection]
<Virunga> tsunamie: look the documentation, you're gonna find the methods you're looking for.
samphippen has quit [Quit: Computer has gone to sleep.]
<Virunga> In the Array class.
<JonnieCache> actually more likely in the Enumerable module
<JonnieCache> unless Virunga has something specific from Array in mind
<tsunamie> ?? Enumerable module
<Virunga> JonnieCache: you know ruby better than me for sure. :)
<tsunamie> Virunga - empty? is not good enought
fyolnish has quit [Remote host closed the connection]
<tsunamie> it won't let me fill it with an action
`brendan has joined #ruby
<apeiros_> -.-
lggr has joined #ruby
<tsunamie> if it returns true how do I get it to fill it with preset values
prtksxna has quit [Remote host closed the connection]
<apeiros_> is that a serious question?
WanderingGlitch has quit [Ping timeout: 252 seconds]
<apeiros_> if condition then ary = values end
WanderingGlitch has joined #ruby
nricciar__ has quit [Ping timeout: 256 seconds]
<apeiros_> you know assignments, you know if/then/else, yes?
<apeiros_> combining those ain't difficult…
malcolmva has joined #ruby
<apeiros_> also see Array#replace, Array#[]= and a couple of others if it needs to be in-place (which I doubt, but what do I know…)
<tsunamie> <% if nameservers.empty? nameservers = Array.new("10.200.2.51", "10.200.2.52") %> <% end -%>
<apeiros_> *sob*
<tsunamie> <% if nameservers.empty? then nameservers = Array.new("10.200.2.51", "10.200.2.52") %> <% end -%>
kaawee has joined #ruby
* apeiros_ hopes somebody else takes up this hopeless case
a_a_g1 has joined #ruby
<apeiros_> tsunamie: Array.new("10.200.2.51", "10.200.2.52") does not what you think it does
<apeiros_> I strongly suggest you start with getting the basics of ruby first
nricciar_ has joined #ruby
nari has quit [Ping timeout: 268 seconds]
<tsunamie> right
`brendan has quit [Client Quit]
lggr has quit [Ping timeout: 245 seconds]
x0F_ has joined #ruby
x0F has quit [Ping timeout: 246 seconds]
adamblackwell has quit [Ping timeout: 256 seconds]
adeponte has quit [Remote host closed the connection]
zigomir has joined #ruby
a_a_g has quit [Ping timeout: 272 seconds]
<tsunamie> which this was written in bash or perl sighs
<ccooke> tsunamie: to create a new array containing "10.200.2.51" and "10.200.2.52" you do much the same as in perl:
<ccooke> tsunamie: [ "10.200.2.51", "10.200.2.52" ]
georgi has joined #ruby
<apeiros_> aka "I'm too lazy to learn this language correctly and prefer to ask uninformed questions in irc"
ABK has quit [*.net *.split]
tweedledumber has quit [*.net *.split]
Elhu has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
senny has quit [*.net *.split]
sebastorama has quit [*.net *.split]
chrishunt has quit [*.net *.split]
heftig has quit [*.net *.split]
alek_b has quit [*.net *.split]
werdnativ has quit [*.net *.split]
ablew has quit [*.net *.split]
jcoglan has quit [*.net *.split]
SeySayux has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
Beoran has quit [*.net *.split]
gregorg_taf has quit [*.net *.split]
bigmcq77 has quit [*.net *.split]
swistak35 has quit [*.net *.split]
aquaranto has quit [*.net *.split]
krion has quit [*.net *.split]
dominikh has quit [*.net *.split]
klip has quit [*.net *.split]
JoeTheGuest_ has quit [*.net *.split]
c0rn has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
Guest41156 has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
moeSeth has quit [*.net *.split]
rcsheets has quit [*.net *.split]
booyakah has quit [*.net *.split]
nopper has quit [*.net *.split]
hakunin has quit [*.net *.split]
kstephens has quit [*.net *.split]
zodiak has quit [*.net *.split]
_marvin has quit [*.net *.split]
willb has quit [*.net *.split]
devdazed has quit [*.net *.split]
pavelz has quit [*.net *.split]
joni has quit [*.net *.split]
al-ol has quit [*.net *.split]
PhilK has quit [*.net *.split]
kaleido has quit [*.net *.split]
_axx has quit [*.net *.split]
Muz has quit [*.net *.split]
Cork has quit [*.net *.split]
wang has quit [*.net *.split]
flori has quit [*.net *.split]
Nowaker has quit [*.net *.split]
lurksia has quit [*.net *.split]
RailWolf has quit [*.net *.split]
chiel has quit [*.net *.split]
danheberden has quit [*.net *.split]
drizz has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
elaptics has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
maasha has quit [*.net *.split]
joshhh has quit [*.net *.split]
nricciar_ has quit [*.net *.split]
saschagehlich has quit [*.net *.split]
hemanth has quit [*.net *.split]
sepp2k has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
m_3 has quit [*.net *.split]
mxweas has quit [*.net *.split]
dmiller has quit [*.net *.split]
freakazoid0223 has quit [*.net *.split]
AwesomeGarethMan has quit [*.net *.split]
yshh has quit [*.net *.split]
Fraeon has quit [*.net *.split]
rostisla_ has quit [*.net *.split]
asobrasil has quit [*.net *.split]
grubles has quit [*.net *.split]
xclite has quit [*.net *.split]
_cheney has quit [*.net *.split]
fbernier has quit [*.net *.split]
Companion has quit [*.net *.split]
busybox42 has quit [*.net *.split]
johnduhart has quit [*.net *.split]
quazimodo has quit [*.net *.split]
schronicles47 has quit [*.net *.split]
pradeepto has quit [*.net *.split]
dagobah has quit [*.net *.split]
gazler has quit [*.net *.split]
BombStrike has quit [*.net *.split]
Drewch has quit [*.net *.split]
Virunga has quit [*.net *.split]
naquad has quit [*.net *.split]
Bosox20051 has quit [*.net *.split]
_jesse_ has quit [*.net *.split]
ananthakumaran has quit [*.net *.split]
awestroke has quit [*.net *.split]
joast has quit [*.net *.split]
gogiel has quit [*.net *.split]
dakine has quit [*.net *.split]
lepht has quit [*.net *.split]
happosad1 has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
xavii has quit [*.net *.split]
koshii has quit [*.net *.split]
tomku has quit [*.net *.split]
SeanTAllen has quit [*.net *.split]
dotemacs has quit [*.net *.split]
felipe has quit [*.net *.split]
matled has quit [*.net *.split]
crankycoder has quit [*.net *.split]
EddieS_ has quit [*.net *.split]
xsdg has quit [*.net *.split]
fuleo has quit [*.net *.split]
Vinz_ has quit [*.net *.split]
JStoker has quit [*.net *.split]
ltsstar has quit [*.net *.split]
und3f has quit [*.net *.split]
k_89 has quit [*.net *.split]
maxmmurphy has quit [*.net *.split]
locriani has quit [*.net *.split]
_7894 has quit [*.net *.split]
frogprince has quit [*.net *.split]
arielpts- has quit [*.net *.split]
Drager has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
lusory has quit [*.net *.split]
froy has quit [*.net *.split]
_br_ has quit [*.net *.split]
Liquid_X has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
passbe has quit [*.net *.split]
apmacwrk has quit [*.net *.split]
sphera has quit [*.net *.split]
virtuose has quit [*.net *.split]
ged has quit [*.net *.split]
idoru has quit [*.net *.split]
mahlon has quit [*.net *.split]
subosito has quit [*.net *.split]
kaawee has quit [*.net *.split]
love_color_text has quit [*.net *.split]
samuel02 has quit [*.net *.split]
SmoothSage__ has quit [*.net *.split]
waxjar has quit [*.net *.split]
jdripper has quit [*.net *.split]
robotmay has quit [*.net *.split]
jimeh has quit [*.net *.split]
chichou has quit [*.net *.split]
dr_bob has quit [*.net *.split]
stillEPIK has quit [*.net *.split]
roadt has quit [*.net *.split]
lobak_ has quit [*.net *.split]
Guest93059 has quit [*.net *.split]
ZubKonst_ has quit [*.net *.split]
digerati_ has quit [*.net *.split]
josh^ has quit [*.net *.split]
Azure has quit [*.net *.split]
rakunHo has quit [*.net *.split]
love_color_text_ has quit [*.net *.split]
Jellyg00se has quit [*.net *.split]
Chryson has quit [*.net *.split]
RJ3000_ has quit [*.net *.split]
zenformatics1 has quit [*.net *.split]
Guedes has quit [*.net *.split]
zii has quit [*.net *.split]
arturaz has quit [*.net *.split]
xorgnak has quit [*.net *.split]
bjeanes has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
ddd has quit [*.net *.split]
Nanuq has quit [*.net *.split]
sirecote has quit [*.net *.split]
mr-rich has quit [*.net *.split]
gyre007 has quit [*.net *.split]
msch has quit [*.net *.split]
spo12 has quit [*.net *.split]
kapowaz has quit [*.net *.split]
dnyy has quit [*.net *.split]
randym has quit [*.net *.split]
lectrick has quit [*.net *.split]
Bish has quit [*.net *.split]
benwoody has quit [*.net *.split]
ttt_ has quit [*.net *.split]
cibs has quit [*.net *.split]
baphled has quit [*.net *.split]
banseljaj has quit [*.net *.split]
JonnieCache has quit [*.net *.split]
Forevernade has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
thone has quit [*.net *.split]
aces1up has quit [*.net *.split]
freeayu has quit [*.net *.split]
axl_ has quit [*.net *.split]
gmurphey has quit [*.net *.split]
shevy has quit [*.net *.split]
artnez has quit [*.net *.split]
acrocity- has quit [*.net *.split]
undert_ has quit [*.net *.split]
framling has quit [*.net *.split]
mwilson` has quit [*.net *.split]
jeekl has quit [*.net *.split]
epitron has quit [*.net *.split]
karstensrage has quit [*.net *.split]
caveat- has quit [*.net *.split]
lorn has quit [*.net *.split]
brian- has quit [*.net *.split]
nw has quit [*.net *.split]
eldariof has quit [*.net *.split]
malcolmva has quit [*.net *.split]
AndChat- has quit [*.net *.split]
beiter has quit [*.net *.split]
reset has quit [*.net *.split]
Axsuul has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
asv has quit [*.net *.split]
Ruler_Of_Heaven_ has quit [*.net *.split]
netrealm has quit [*.net *.split]
jhchabran has quit [*.net *.split]
babinho has quit [*.net *.split]
manouche has quit [*.net *.split]
tchebb1 has quit [*.net *.split]
frogstarr78 has quit [*.net *.split]
combatai` has quit [*.net *.split]
SirRamonGabriel has quit [*.net *.split]
armenb_ has quit [*.net *.split]
jrist-afk has quit [*.net *.split]
icooba has quit [*.net *.split]
TheNumb has quit [*.net *.split]
spathi_ has quit [*.net *.split]
gurps has quit [*.net *.split]
jayne has quit [*.net *.split]
David_Miller has quit [*.net *.split]
anekos has quit [*.net *.split]
lahwran has quit [*.net *.split]
theoros has quit [*.net *.split]
juha_ has quit [*.net *.split]
Hunner has quit [*.net *.split]
epochwolf has quit [*.net *.split]
tessi has quit [*.net *.split]
drags has quit [*.net *.split]
_root_ has quit [*.net *.split]
elektronaut has quit [*.net *.split]
mneorr has quit [*.net *.split]
a_a_g1 has quit [*.net *.split]
knirhs has quit [*.net *.split]
tsunamie has quit [*.net *.split]
Vainoharhainen has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
Morkel has quit [*.net *.split]
elsifaka has quit [*.net *.split]
sagax has quit [*.net *.split]
hsbt_away has quit [*.net *.split]
zeromodulus has quit [*.net *.split]
ryanlecompte has quit [*.net *.split]
A124 has quit [*.net *.split]
punkrawkR has quit [*.net *.split]
methoddk has quit [*.net *.split]
weeb1e has quit [*.net *.split]
mfridh has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
torarne has quit [*.net *.split]
bigmeow has quit [*.net *.split]
profx_ has quit [*.net *.split]
rodasc has quit [*.net *.split]
__class__ has quit [*.net *.split]
Sargun has quit [*.net *.split]
bnagy has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
alienven1m has quit [*.net *.split]
wting has quit [*.net *.split]
deadSnowman has quit [*.net *.split]
wedtm|away has quit [*.net *.split]
shikamaru has quit [*.net *.split]
rtl has quit [*.net *.split]
Eiam has quit [*.net *.split]
namidark has quit [*.net *.split]
d-snp has quit [*.net *.split]
ben_alman has quit [*.net *.split]
iaj_ has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
axiak has quit [*.net *.split]
ojongerius has quit [*.net *.split]
mmercer has quit [*.net *.split]
lggr has joined #ruby
miso1337 has joined #ruby
caveat- has joined #ruby
mparodi has quit [Ping timeout: 260 seconds]
Shipow has quit [Quit: Leaving...]
MissionCritical has quit [Ping timeout: 248 seconds]
mneorr has joined #ruby
schronicles47 has joined #ruby
JonnieCache has joined #ruby
love_color_text has joined #ruby
subosito has joined #ruby
thone has joined #ruby
Elhu has joined #ruby
samphippen has joined #ruby
Axsuul has joined #ruby
saschagehlich has joined #ruby
adamblac1well has joined #ruby
jdripper has joined #ruby
banseljaj has joined #ruby
grubles has joined #ruby
Vainoharhainen has joined #ruby
45PAA9VQ8 has joined #ruby
jimeh has joined #ruby
elsifaka has joined #ruby
Jork1 has joined #ruby
samuel02 has joined #ruby
reset has joined #ruby
_jesse_ has joined #ruby
SmoothSage__ has joined #ruby
robotmay has joined #ruby
Forevernade has joined #ruby
tweedledumber has joined #ruby
chichou has joined #ruby
a_a_g1 has joined #ruby
k_89 has joined #ruby
ananthakumaran has joined #ruby
stillEPIK has joined #ruby
Virunga has joined #ruby
senny has joined #ruby
sepp2k has joined #ruby
Morkel has joined #ruby
baphled has joined #ruby
ltsstar has joined #ruby
ABK has joined #ruby
dr_bob has joined #ruby
Bosox20051 has joined #ruby
bluOxigen has joined #ruby
yxhuvud has joined #ruby
sagax has joined #ruby
ttt_ has joined #ruby
hsbt_away has joined #ruby
Guest93059 has joined #ruby
waxjar has joined #ruby
nricciar_ has joined #ruby
maasha has joined #ruby
malcolmva has joined #ruby
awestroke has joined #ruby
hemanth has joined #ruby
AndChat- has joined #ruby
kaawee has joined #ruby
netrealm has joined #ruby
robustus has joined #ruby
Ruler_Of_Heaven_ has joined #ruby
JohnBat26 has joined #ruby
tsunamie has joined #ruby
ryanlecompte has joined #ruby
roadt has joined #ruby
apeiros_ has joined #ruby
naquad has joined #ruby
dmiller has joined #ruby
m_3 has joined #ruby
asv has joined #ruby
mohits_ has joined #ruby
[Neurotic] has joined #ruby
mxweas has joined #ruby
lobak_ has joined #ruby
und3f has joined #ruby
zeromodulus has joined #ruby
yshh has joined #ruby
rakunHo has joined #ruby
ZubKonst_ has joined #ruby
methoddk has joined #ruby
digerati_ has joined #ruby
Guedes has joined #ruby
Villadelfia has joined #ruby
joshhh has joined #ruby
zenformatics1 has joined #ruby
xorgnak has joined #ruby
shevy has joined #ruby
swistak35 has joined #ruby
gmurphey has joined #ruby
aces1up has joined #ruby
Chryson has joined #ruby
AwesomeGarethMan has joined #ruby
Azure has joined #ruby
artnez has joined #ruby
cibs has joined #ruby
arielpts- has joined #ruby
bjeanes has joined #ruby
punkrawkR has joined #ruby
SeySayux has joined #ruby
chrishunt has joined #ruby
werdnativ has joined #ruby
jaredrhine has joined #ruby
rtl has joined #ruby
arturaz has joined #ruby
crazedpsyc has joined #ruby
axl_ has joined #ruby
Jellyg00se has joined #ruby
zii has joined #ruby
fbernier has joined #ruby
love_color_text_ has joined #ruby
frogstarr78 has joined #ruby
ablew has joined #ruby
rostisla_ has joined #ruby
jcoglan has joined #ruby
babinho has joined #ruby
gregorg_taf has joined #ruby
ddd has joined #ruby
joast has joined #ruby
dakine has joined #ruby
frogprince has joined #ruby
asobrasil has joined #ruby
manouche has joined #ruby
heftig has joined #ruby
maxmmurphy has joined #ruby
_7894 has joined #ruby
alek_b has joined #ruby
xclite has joined #ruby
lepht has joined #ruby
freeayu has joined #ruby
aquaranto has joined #ruby
flagg0204 has joined #ruby
tchebb1 has joined #ruby
josh^ has joined #ruby
happosad1 has joined #ruby
mfridh has joined #ruby
jhchabran has joined #ruby
weeb1e has joined #ruby
A124 has joined #ruby
_cheney has joined #ruby
Beoran has joined #ruby
freakazoid0223 has joined #ruby
locriani has joined #ruby
Drager has joined #ruby
sebastorama has joined #ruby
combatai` has joined #ruby
bigmcq77 has joined #ruby
armenb_ has joined #ruby
Fraeon has joined #ruby
jrist-afk has joined #ruby
GeekOnCoffee has joined #ruby
benwoody has joined #ruby
TheNumb has joined #ruby
torarne has joined #ruby
SirRamonGabriel has joined #ruby
xavii has joined #ruby
acrocity- has joined #ruby
icooba has joined #ruby
busybox42 has joined #ruby
undert_ has joined #ruby
profx_ has joined #ruby
johnduhart has joined #ruby
koshii has joined #ruby
krion has joined #ruby
lusory has joined #ruby
froy has joined #ruby
moeSeth has joined #ruby
mwilson` has joined #ruby
dominikh has joined #ruby
nopper has joined #ruby
Companion has joined #ruby
booyakah has joined #ruby
zodiak has joined #ruby
Liquid_X has joined #ruby
kstephens has joined #ruby
klip has joined #ruby
rodasc has joined #ruby
quazimodo has joined #ruby
SeanTAllen has joined #ruby
Nanuq has joined #ruby
hakunin has joined #ruby
dotemacs has joined #ruby
rcsheets has joined #ruby
bigmeow has joined #ruby
framling has joined #ruby
RubyPanther has joined #ruby
sirecote has joined #ruby
__class__ has joined #ruby
tomku has joined #ruby
felipe has joined #ruby
_marvin has joined #ruby
jeekl has joined #ruby
JoeTheGuest_ has joined #ruby
bnagy has joined #ruby
matled has joined #ruby
epitron has joined #ruby
willb has joined #ruby
Sargun has joined #ruby
pradeepto has joined #ruby
c0rn has joined #ruby
mr-rich has joined #ruby
xiphiasx_ has joined #ruby
Guest41156 has joined #ruby
DarkFoxDK has joined #ruby
devdazed has joined #ruby
LiquidInsect has joined #ruby
Nowaker has joined #ruby
SecretAgent has joined #ruby
danheberden has joined #ruby
drizz has joined #ruby
elaptics has joined #ruby
lurksia has joined #ruby
chiel has joined #ruby
flori has joined #ruby
yugui_zzz has joined #ruby
zz_chrismcg has joined #ruby
karstensrage has joined #ruby
wting has joined #ruby
RailWolf has joined #ruby
wang has joined #ruby
Cork has joined #ruby
Muz has joined #ruby
alienven1m has joined #ruby
_axx has joined #ruby
pavelz has joined #ruby
al-ol has joined #ruby
joni has joined #ruby
kaleido has joined #ruby
spathi_ has joined #ruby
PhilK has joined #ruby
deadSnowman has joined #ruby
gazler has joined #ruby
EddieS_ has joined #ruby
crankycoder has joined #ruby
_br_ has joined #ruby
lorn has joined #ruby
dagobah has joined #ruby
brian- has joined #ruby
shikamaru has joined #ruby
wedtm|away has joined #ruby
BombStrike has joined #ruby
fuleo has joined #ruby
Drewch has joined #ruby
nw has joined #ruby
xsdg has joined #ruby
ojongerius has joined #ruby
apmacwrk has joined #ruby
Eiam has joined #ruby
dnyy has joined #ruby
passbe has joined #ruby
sphera has joined #ruby
namidark has joined #ruby
d-snp has joined #ruby
gyre007 has joined #ruby
lectrick has joined #ruby
spo12 has joined #ruby
ben_alman has joined #ruby
randym has joined #ruby
msch has joined #ruby
Vinz_ has joined #ruby
iaj_ has joined #ruby
Bish has joined #ruby
kapowaz has joined #ruby
axiak has joined #ruby
thomasfedb has joined #ruby
JStoker has joined #ruby
mmercer has joined #ruby
virtuose has joined #ruby
idoru has joined #ruby
ged has joined #ruby
epochwolf has joined #ruby
_root_ has joined #ruby
elektronaut has joined #ruby
theoros has joined #ruby
juha_ has joined #ruby
drags has joined #ruby
tessi has joined #ruby
mahlon has joined #ruby
lahwran has joined #ruby
Hunner has joined #ruby
jayne has joined #ruby
anekos has joined #ruby
David_Miller has joined #ruby
gurps has joined #ruby
NimeshNeema has quit [Excess Flood]
Takehiro has joined #ruby
caveat- has quit [Changing host]
caveat- has joined #ruby
ltsstar has quit [Remote host closed the connection]
bigmeow has quit [Max SendQ exceeded]
ltsstar1 has joined #ruby
Takehiro has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 248 seconds]
mfridh_ has joined #ruby
[Neurotic] has quit [Excess Flood]
felipe has quit [Max SendQ exceeded]
josh^ has quit [Excess Flood]
mfridh_ has quit [Changing host]
mfridh_ has joined #ruby
mparodi has joined #ruby
mparodi has quit [Changing host]
mparodi has joined #ruby
bigmeow has joined #ruby
45PAA9VQ8 has quit [Ping timeout: 240 seconds]
mfridh has quit [Ping timeout: 240 seconds]
shikamaru has quit [Ping timeout: 240 seconds]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
<DarkStar1> does it normally take a long time if I do a "rvm rubygems current" ?
lggr has joined #ruby
[Neurotic] has joined #ruby
<JonnieCache> just tried it, it took like 3 seconds
josh^ has joined #ruby
<JonnieCache> but i do have a savage new laptop with an ssd and stuff
shikamaru has joined #ruby
<DarkStar1> JonnieCache: newbie here so following an install guide. So far it's been at it for 4 mins
<DarkStar1> aahh finally! almost killed the process
robotmay has quit [Read error: Connection reset by peer]
robotmay has joined #ruby
GeekOnCoffee has joined #ruby
<JonnieCache> maybe it was fast for me because i already have everything installed
zeromodulus has quit [Ping timeout: 244 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
sspiff has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
NimeshNeema has joined #ruby
Markvilla has joined #ruby
knirhs has joined #ruby
lggr has joined #ruby
zeromodulus has joined #ruby
<mikekelly> are there any OOP languages that have an implicit "self shunt" in one object sending a message to the other ?
ksk has joined #ruby
<ksk> hey guys, im working with erb. is there a way to create a dynamic template(as in template = %q{ [...] } - i need it to differ on specific cases
awestroke has quit [Remote host closed the connection]
ltsstar1 has quit [Quit: ltsstar1]
MissionCritical has joined #ruby
frederic has joined #ruby
Takehiro has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
dju has joined #ruby
baphled has quit [Ping timeout: 240 seconds]
parzorep has joined #ruby
miso1337 has quit [Ping timeout: 252 seconds]
miso1337 has joined #ruby
dju has quit [Quit: ZNC - http://znc.in]
lggr has joined #ruby
eldariof has joined #ruby
felipe has joined #ruby
dju has joined #ruby
dju has joined #ruby
anderse has joined #ruby
dju has quit [Client Quit]
emergion has joined #ruby
Freijo has joined #ruby
cascalheira has joined #ruby
nilg has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
Fraeon has quit [Ping timeout: 246 seconds]
beiter has joined #ruby
nilg` has joined #ruby
Freijo has quit [Ping timeout: 276 seconds]
Fraeon has joined #ruby
lggr has joined #ruby
a_a_g has joined #ruby
_nitti has quit [Ping timeout: 260 seconds]
hsbt_away is now known as hsbt
a_a_g1 has quit [Ping timeout: 244 seconds]
samphippen has joined #ruby
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
lggr has quit [Ping timeout: 252 seconds]
Servidorv has joined #ruby
lggr has joined #ruby
elico has joined #ruby
werdnativ has quit [Quit: werdnativ]
samphippen has quit [Quit: Computer has gone to sleep.]
ShiintoRyuu has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: Computer has gone to sleep.]
gogiel has joined #ruby
reset has quit [Quit: Linkinus - http://linkinus.com]
elico has quit [Client Quit]
reset has joined #ruby
reset has quit [Client Quit]
lggr has quit [Ping timeout: 252 seconds]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lledet has joined #ruby
lggr has joined #ruby
Spooner has joined #ruby
Mon_Ouie has joined #ruby
<Servidorv> is anyone there??
<Servidorv> Im new to ruby
<k_89> servidorv, and?
<DarkStar1> servidorv: Me too :)
<Servidorv> and im trying to understand what my friend did
<k_89> what did he do ?
<Servidorv> if hash[day]
<Servidorv> what is he comparing here
<Servidorv> what is the if??
<Servidorv> day = DateTime.parse(ins['end_time']).strftime('%A')
<k_89> are you new to programming
<Servidorv> nop
<Servidorv> i now php
<k_89> ok
<Servidorv> and now im learning ruby
fbernier has quit [Read error: Connection reset by peer]
<Servidorv> know sorry
<DarkStar1> now is correct :)
<DarkStar1> know : Is to 'know' something
<apeiros_> he probably refered to "I now php"
<apeiros_> and there "know" would indeed have been correct
<Servidorv> yeah
<Servidorv> is for the i know php
<Servidorv> :)
tsunamie has quit [Ping timeout: 244 seconds]
<Xeago> servidorv: if hash[day] executes the following code block if hash[day] returns a value other than nil/false
<k_89> servidorv, he probably is checking the hash for the key day
<apeiros_> servidorv: what part of the expression you pasted don't you understand?
<k_89> or whatever string day stores
lggr has quit [Ping timeout: 272 seconds]
MikeyV27 has joined #ruby
<Servidorv> what was the actuall if
<apeiros_> DateTime.parse is similar to what $DateTime->parse() would do in php. DateTime is a class (representing datetime, obviously)
Mon_Ouie has quit [Ping timeout: 245 seconds]
<Servidorv> but now is clear
AndChat- has quit [Ping timeout: 276 seconds]
<Servidorv> if nil or false
<Servidorv> thanks guys
<Servidorv> thanks for the help
lggr has joined #ruby
mparodi has quit [Quit: Leaving]
Takehiro has quit [Remote host closed the connection]
<Servidorv> by the way my friend is sent-hil from this chat but he is not logedin right now
akem has quit [Read error: Connection reset by peer]
akemEikko has joined #ruby
Banistergalaxy has joined #ruby
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
Takehiro has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
fyolnish has joined #ruby
fyolnish has quit [Remote host closed the connection]
lggr has joined #ruby
georgi has quit [Ping timeout: 260 seconds]
ksinkar has joined #ruby
Foxandxss has joined #ruby
samphippen has joined #ruby
erichmenge has joined #ruby
samphippen has quit [Client Quit]
lggr has quit [Ping timeout: 276 seconds]
bigmcq77 has quit [Quit: Computer has gone to sleep.]
rb2k has left #ruby [#ruby]
lggr has joined #ruby
emergion has joined #ruby
jeffreybaird has joined #ruby
emergion has quit [Client Quit]
Vert has joined #ruby
morozovm has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
arietis has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
alecchen has quit [Read error: Connection reset by peer]
alecchen has joined #ruby
_nitti has joined #ruby
Uranio has joined #ruby
v0n has joined #ruby
lggr has joined #ruby
AlbireoX has joined #ruby
parzorep has quit [Quit: parzorep]
rakunHo has quit [Remote host closed the connection]
kaawee has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
parzorep has joined #ruby
lledet has quit [Quit: lledet]
tsunamie has joined #ruby
_nitti has quit [Ping timeout: 246 seconds]
Virunga has quit [Remote host closed the connection]
morozovm has quit [Read error: Connection reset by peer]
Virunga has joined #ruby
morozovm has joined #ruby
dpk has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
margle has joined #ruby
zxiest has joined #ruby
lggr has joined #ruby
haxrbyte_ has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
jeffreybaird has joined #ruby
alek_b has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
jeffreybaird has quit [Client Quit]
AxonetBE has joined #ruby
<AxonetBE> I will reformulate my question: What is better to use to assign config data to a module, constants or mattr_accessors?
erichmenge has quit [Quit: Be back later]
haxrbyte has quit [Ping timeout: 272 seconds]
alecchen has quit [Ping timeout: 245 seconds]
fbernier has joined #ruby
prtksxna has joined #ruby
alecchen has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
morozovm has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
Ankhers has joined #ruby
hotovson_ has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
Pip has joined #ruby
gmci has joined #ruby
subosito has quit [Ping timeout: 245 seconds]
[Neurotic] has quit [Remote host closed the connection]
erichmenge has joined #ruby
lggr has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
_kW has joined #ruby
_kW is now known as Guest62801
Virunga has joined #ruby
erichmenge has quit [Client Quit]
vitoravelino is now known as vitoravelino`afk
kil0byte has joined #ruby
ttt_ has quit [Remote host closed the connection]
maasha has quit [Quit: Page closed]
vlad_starkov has quit [Remote host closed the connection]
joshhh has quit [Quit: Page closed]
vitoravelino`afk is now known as vitoravelino
nanderoo has joined #ruby
lggr has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
tommyvyo has joined #ruby
k_89 has quit [Ping timeout: 260 seconds]
lggr has joined #ruby
hotovson_ has joined #ruby
tsunamie has left #ruby ["Leaving"]
yshh has quit [Remote host closed the connection]
subosito has joined #ruby
lolmaus has quit []
subosito is now known as Guest89985
gmurphey has quit [Ping timeout: 240 seconds]
Guest62801 has quit [Ping timeout: 245 seconds]
mneorr_ has joined #ruby
DarkStar1 has quit [Quit: DarkStar1]
nateberkopec has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
lggr has quit [Ping timeout: 244 seconds]
mneorr has quit [Ping timeout: 260 seconds]
beiter has quit [Quit: beiter]
v0n has quit [Ping timeout: 276 seconds]
lggr has joined #ruby
ABK has quit [Read error: Operation timed out]
<matti> rdoc is seriously pissing me off.
<matti> ;/
rippa has joined #ruby
<waxjar> how so?
answer_42 has joined #ruby
sagax has quit [Quit: Ухожу я от вас]
mucker has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
slainer68 has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lggr has quit [Ping timeout: 244 seconds]
Guest62801 has joined #ruby
ksinkar has quit [Quit: Konversation terminated!]
kaawee has joined #ruby
vlad_starkov has joined #ruby
lggr has joined #ruby
krawchyk has joined #ruby
Guest62801 has quit [Ping timeout: 245 seconds]
hsbt is now known as hsbt_away
sailias has joined #ruby
rippa has quit [Ping timeout: 252 seconds]
hsbt_away is now known as hsbt
elico has joined #ruby
elico has quit [Client Quit]
beiter has joined #ruby
<matti> waxjar: Haha
<matti> +t set ;/
<matti> Buuhuuu.
parzorep has quit [Quit: parzorep]
netrealm has quit [Ping timeout: 276 seconds]
Tarential has quit [Ping timeout: 252 seconds]
a_a_g has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 276 seconds]
lggr has joined #ruby
maesbn has quit [Remote host closed the connection]
jasond has joined #ruby
linoj has joined #ruby
_nitti has joined #ruby
Jork1 has quit [Quit: Jork1]
cdzombak has joined #ruby
igabreu has joined #ruby
igabreu has quit [Remote host closed the connection]
apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste > 3 lines of text on http://gist.github.com
<apeiros_> thanks waxjar
jpfuentes2 has joined #ruby
apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p286: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
lggr has quit [Ping timeout: 272 seconds]
haxrbyte has joined #ruby
_nitti has quit [Ping timeout: 246 seconds]
seanwash has joined #ruby
DarkStar1 has joined #ruby
kyktommy has joined #ruby
JohnBat26 has quit [Remote host closed the connection]
margle has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
haxrbyte_ has quit [Ping timeout: 245 seconds]
otters has joined #ruby
krz has quit [Quit: krz]
tk__ has joined #ruby
seanwash has quit [Client Quit]
margle has joined #ruby
GoGoGarrett has joined #ruby
elsifaka has quit [Quit: Veloma e!]
Jork1 has joined #ruby
<shevy> guys in a normal english sentence
<shevy> the ? ! and . character
<shevy> how do you call that? punctuation mark?
<_7894> Punctuation
nari has joined #ruby
mmitchell has joined #ruby
<zii> Can you curry the _2nd_ argument in a proc?
lggr has quit [Ping timeout: 252 seconds]
<_7894> shevy: question mark, exclamation mark, period
RJ3000_ has joined #ruby
gmurphey has joined #ruby
<_7894> /full stop
<A124> zii: curry? Where's the chicken?
<shevy> ok
<ddd> i can stand curry only in small doses. Don't eat out at many Indian restaurants because they always *drown* most of the food in curry. A light curry sauce though is mmmm mmmm good
lggr has joined #ruby
nwertman has joined #ruby
vjt has quit [Ping timeout: 272 seconds]
TheNumb has quit [Excess Flood]
TheNumb has joined #ruby
lledet has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
thisirs has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
nwertman has quit [Ping timeout: 276 seconds]
lggr has quit [Ping timeout: 260 seconds]
yshh has joined #ruby
jeffreybaird has joined #ruby
jgarvey has joined #ruby
monkegjinni has quit [Read error: No route to host]
lggr has joined #ruby
monkegjinni has joined #ruby
samphippen has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
Servidorv has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
<zii> ddd, A124: I'm talking about Proc#curry.
robotmay has quit [Read error: Connection reset by peer]
morozovm has joined #ruby
<ddd> hahaha, my bad :)
robotmay has joined #ruby
<Axsuul> Is there any way for a method to handle.. a, b = some_method, and a = some_method ?
<Axsuul> Oops, is there any way for a method to return results like that*
<A124> zii: Anyway, I don't get your question. Can you rephrase?
<Mon_Ouie> Ruby doesn't have multiple return values, just some syntax to deconstruct arrays
<A124> Axsuul: Exacly, return into an array than work with that
jrist-afk is now known as jrist
<Axsuul> I recall there might be a way with splatting?
<Mon_Ouie> Therefor if some_method returns an array, in your first example, a and b will respectively be the first and second item, while in the second one, a will be the whole array
<Mon_Ouie> If you want a to be only the first item, use some_method.first, or, perhaps more confusingly, "a, = some_method"
blitzrage has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
<A124> What about "a, _ = some_method"
peneconleche has joined #ruby
mercwithamouth has joined #ruby
<Mon_Ouie> well, that's the same thing, with a useless variable (that the compiler will let you ignore without warnings, though)
<apeiros_> a,b = foo # invokes to_a on the return value of foo if it isn't already an array
<apeiros_> a,b = *foo # invokes to_ary on the return value of foo, if it isn't already an array
vlad_starkov has quit [Remote host closed the connection]
Servidorv has joined #ruby
ryannielson has joined #ruby
<blitzrage> hey all, silly question. I want to access a nested hash using .each. Am I right in that something like: ohai = { "foo" => { "bar" => "baz" } } is valid, and would be accessed with something like: ohai.each do |f, b, z|
<apeiros_> but the method foo itself does not and can not know whether its return value is being assigned to a single variable or a list.
Takehiro has quit [Remote host closed the connection]
<apeiros_> blitzrage: no, you're mistaken
<apeiros_> blitzrage: also: irb
<apeiros_> or rather: pry
theRoUS has joined #ruby
lggr has joined #ruby
SmoothSage_ has joined #ruby
erichmenge has joined #ruby
<Mon_Ouie> Are you using it now? ;)
SmoothSage__ has quit [Ping timeout: 245 seconds]
morozovm has quit [Read error: Connection reset by peer]
morozovm has joined #ruby
peneconleche has quit [Quit: Leaving...]
d-snp has quit [Ping timeout: 244 seconds]
d-snp has joined #ruby
ryannielson has quit [Quit: ryannielson]
ryannielson has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
Ruler_Of_Heaven_ has quit [Quit: ZNC - http://znc.sourceforge.net]
morozovm has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
asv has quit [Read error: Connection reset by peer]
originerd has joined #ruby
stopbit has joined #ruby
lggr has joined #ruby
freeayu has quit [Remote host closed the connection]
peregrine81 has joined #ruby
<originerd> puts "Hello"
verto is now known as verto|off
arietis has quit [Quit: Computer has gone to sleep.]
SmoothSage__ has joined #ruby
vjt has joined #ruby
SmoothSage_ has quit [Ping timeout: 245 seconds]
gyre008 has joined #ruby
cakehero has joined #ruby
prtksxna has quit [Remote host closed the connection]
morozovm has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 248 seconds]
morozovm has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
lggr has joined #ruby
morozovm has joined #ruby
peneconleche has joined #ruby
etherdev has joined #ruby
thmzlt has joined #ruby
bbttxu_ has joined #ruby
joofsh has joined #ruby
_nitti has joined #ruby
<apeiros_> Mon_Ouie: theoretically yes, but practically I'm most often in rails console and I haven't gotten around to switch that to pry
<reactormonk> apeiros_, http://rubygems.org/gems/pry-rails
ananthakumaran has quit [Quit: Leaving.]
josh^ has quit [Remote host closed the connection]
answer_42 has quit [Ping timeout: 260 seconds]
lggr has quit [Ping timeout: 256 seconds]
Tarential has joined #ruby
<Spooner> blitzrage : ohai.each {|k, v| } where the block would be called once with k == "foo" and v == { "bar" => "baz" }
ryannielson has left #ruby [#ruby]
billyoc has joined #ruby
chin-tastic has joined #ruby
<Spooner> blitzrage : Ruby doesn't magically unnest Array/Hash for you (well, unless you beg it to).
_nitti has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
<blitzrage> Spooner: ya I noticed that? so now the hash has an array, and I'm just doing v[0] and v[1]
skaczor has joined #ruby
zigomir has quit [Quit: Leaving]
jrist is now known as jrist-afk
<Spooner> blitzrage : You could still use a nested Hash, but you'd nest the each yourself.
lggr has joined #ruby
v0n has joined #ruby
jerius has joined #ruby
glupo has joined #ruby
zigomir has joined #ruby
<blitzrage> Spooner: fair enough -- thanks much
Vainoharhainen has quit [Read error: Connection reset by peer]
skum has joined #ruby
Goles has joined #ruby
uris has joined #ruby
binaryplease has joined #ruby
nari has quit [Ping timeout: 260 seconds]
beiter has quit [Quit: beiter]
lggr has quit [Ping timeout: 246 seconds]
Takehiro has quit [Ping timeout: 276 seconds]
Jork1 has quit [Quit: Jork1]
Servidorv has quit [Quit: Man who run behind car get exhausted]
zmisc has joined #ruby
Servidorv has joined #ruby
<shevy> I. Hate. Rewrites ...
havenn has joined #ruby
monkegjinni has quit [Read error: No route to host]
lggr has joined #ruby
<A124> I. Hate. Rewrites...
Guest83793 is now known as starship
<shevy> the cost in terms of time spent is so barely worth it...
<A124> (pun intended)
philcrissman has joined #ruby
<shevy> what good effects does a rewrite give you? sometimes you can get rid of things that are no longer used or needed
alek_b has joined #ruby
nwertman has joined #ruby
<shevy> usually the rewrite has less lines of code too
<A124> Yes. And the second pun was that I actually rewrote what you have written.
<apeiros_> reactormonk: hey tass
<apeiros_> how's USA?
<reactormonk> apeiros_, hey apeiros_ :-)
<reactormonk> apeiros_, warm
bigmcq77 has joined #ruby
no_worries has joined #ruby
<reactormonk> and pandora.com works again \o/
<reactormonk> stupid RIAA
blitzrage has left #ruby ["Leaving"]
kyktommy has quit [Quit: kyktommy]
<waxjar> Spooner, ruby does nested Arrays though: [[1,2,3], [4,5,6], [7,8,9]].each { |(a,b,c)| puts "#{a} #{b} #{c}" } # => "1 2 3", etc
<Mon_Ouie> Oh, reactormonk == Tasser?
<shevy> A124 if it would be english language yeah, but code contains some logic parts, and decisions that one made before, and when it breaks you are left with something that is no longer working, whereas in literature you have more freedom to rearrange content into sentences
<shevy> yeah Mon_Ouie
<Mon_Ouie> That explains why I see you everwhere :p
<waxjar> doesn't work for Hashes unfortunately
chimay has joined #ruby
<A124> shevy: Test suite, testcase
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<Spooner> waxjar : Well, yes, but that is "begging it to" a bit ;)
SCommette has joined #ruby
originerd has quit [Quit: Originerd]
mohits_ has quit [Ping timeout: 244 seconds]
Neomex has joined #ruby
<shevy> A124 that is even more code to handle
<waxjar> ah, ok. do you know a way for Hashes?
nwertman has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
<Spooner> I was really meaning that it ignores nesting, since a nested array/hash is just a value, not something special. But still, your correction is useful.
<Mon_Ouie> Actually, for arrays, you don't need to "beg it to" (at least not here): [[1,2,3], [4,5,6], [7,8,9]].each { |a,b,c| puts "#{a} #{b} #{c}" } is equivalent to what you wrote.
DrShoggoth has joined #ruby
<Mon_Ouie> (I somehow think that feature is evil)
flagg0204 has quit [Read error: Connection reset by peer]
<waxjar> i didn't know that
starship is now known as duracrisis
<Spooner> Yeah, that is terrible, Mon_Ouie. Wish it didnt' magically do that.
<shevy> hehe
x82_nicole has joined #ruby
<waxjar> that could lead to some nasty bugs i reckon, in case you forget to take one of the block arguments off or something
<Spooner> It does.
Pip__ has joined #ruby
lggr has joined #ruby
Pip has quit [Ping timeout: 255 seconds]
ZubKonst has joined #ruby
quest88 has joined #ruby
ZenGuy311 has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
morozovm has quit [Read error: Connection reset by peer]
morozovm has joined #ruby
jenrzzz has joined #ruby
ZubKonst_ has quit [Ping timeout: 245 seconds]
Tarential has quit [Ping timeout: 260 seconds]
philips_ has quit [Excess Flood]
<Servidorv> what does "it 'gets post insights' do" means??
philips_ has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
<Servidorv> is get post insights just a name??
<Mon_Ouie> It calls the method called "it" on self with a string argument and a block (the block being the do … end part)
<Mon_Ouie> RSpec uses this syntax to create a test
<Servidorv> oh ok
<Servidorv> thanks guys
monkegjinni has joined #ruby
flagg0204 has joined #ruby
lggr has joined #ruby
_bart has joined #ruby
greg-_ has joined #ruby
chussenot has joined #ruby
My_Hearing has joined #ruby
SmoothSage__ has quit [Ping timeout: 245 seconds]
d2dchat has joined #ruby
My_Hearing has quit [Read error: Connection reset by peer]
A124 has quit [Read error: Connection reset by peer]
_7894 has quit [Read error: Connection reset by peer]
jerius has quit [Quit: Computer has gone to sleep.]
erichmenge has quit [Quit: Be back later]
My_Hearing has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
My_Hearing is now known as Mon_Ouie
samphippen has joined #ruby
quest88 has quit [Quit: quest88]
asteve has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
izepstan has joined #ruby
x82_nicole has quit [Read error: Connection reset by peer]
Pip__ is now known as Pip
<izepstan> hi, hello there, very beginner question, what is meant by "Edit your application Gemfile" where is this located and what should it contain, i'm trying to install locomotiveCMS
irleif has joined #ruby
x82_nicole has joined #ruby
<waxjar> Gemfile is a part of Bundler, it's called Gemfile and it's located in your project root
zmisc has left #ruby [#ruby]
A124 has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
slainer6_ has joined #ruby
Tarential has joined #ruby
monkegjinni has quit [Read error: No route to host]
monkegjinni has joined #ruby
lggr has joined #ruby
hotovson_ has quit [Remote host closed the connection]
AxonetBE has quit [Quit: Leaving.]
mohits has quit [Ping timeout: 245 seconds]
slainer68 has quit [Ping timeout: 272 seconds]
mmitchell has quit [Remote host closed the connection]
Uranio has quit [Ping timeout: 252 seconds]
kil0byte has quit [Remote host closed the connection]
Aristata has quit [Quit: Leaving.]
kil0byte has joined #ruby
rabidpraxis has joined #ruby
Aristata has joined #ruby
philcrissman has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 245 seconds]
richardjortega has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
philcrissman has joined #ruby
mohits has joined #ruby
mando has joined #ruby
mmitchell has joined #ruby
Beoran_ has joined #ruby
und3f has quit [Quit: Leaving.]
bradleyprice has joined #ruby
Uranio has joined #ruby
Beoran has quit [Read error: Operation timed out]
<reactormonk> Mon_Ouie, indeed
lggr has joined #ruby
kpshek has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.bz2
<shevy> TADA
<shevy> ALL UPGRADE
lkba has joined #ruby
<shevy> show me your RUBY_VERSION
kjg has joined #ruby
<Servidorv> sorry in "it 'gets users pages' do" "it" can be defined in any of my files right??
jerius has joined #ruby
justsee has joined #ruby
adeponte has joined #ruby
<shevy> dunno, never used rspec. i hope that "it()" was defined in whatever you require to make that work though
ananthakumaran has joined #ruby
_nitti has joined #ruby
<Servidorv> it is rspec??
ltsstar has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Or one of the other testing frameworks that use the same syntax
justsee has quit [Client Quit]
<workmad3> shevy: installed that over an hour ago :P
irleif has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
<shevy> workmad3 well I am coming at a solid second then
<workmad3> servidorv: if it is rspec, then 'it' is only available inside a describe or context block
_nitti has quit [Ping timeout: 246 seconds]
xyzodiac has joined #ruby
lggr has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
d2dchat has quit [Remote host closed the connection]
irleif has quit [Client Quit]
<shevy> is matz adding any code to 1.9.3 himself?
Takehiro has joined #ruby
<Servidorv> thanks mon_ouie and shevy
Neomex has quit [Quit: Neomex]
jrist-afk is now known as jrist
nai has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
philcrissman has quit [Remote host closed the connection]
nai has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 276 seconds]
<JonnieCache> OH MY DAYS NEW INTERPRETER TIME
<matti> ;d
<matti> JonnieCache: Calm down
<JonnieCache> any surprises?
<matti> No idea.
lggr has quit [Ping timeout: 260 seconds]
theRoUS has joined #ruby
Tarential has quit [Ping timeout: 255 seconds]
<JonnieCache> looks like a lot of boring bugfixes
daniel_- has joined #ruby
daniel_- has joined #ruby
_md has joined #ruby
<shevy> hey
one8zero has joined #ruby
<shevy> that is ok
<shevy> porting all my 1.8.x ready projects to 1.9.x was painful
monkegjinni has quit [Read error: No route to host]
<shevy> ESPECIALLY the encoding
tagrudev has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<JonnieCache> i suppose if it was anything except bugfixen then theyd have actually bumped the version number
<JonnieCache> rvm hasnt even been updated yet :(
bigmcq77 has joined #ruby
lggr has joined #ruby
_md has quit [Client Quit]
bluenemo has quit [Remote host closed the connection]
hoelzro is now known as hoelzro|away
nwertman has joined #ruby
seoaqua has joined #ruby
thedeadghost has quit [Ping timeout: 252 seconds]
adeponte has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
thisirs has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
<shevy> man I use so many custom projects already
nwertman has quit [Ping timeout: 260 seconds]
d2dchat has joined #ruby
daniel_- has quit [Quit: WeeChat 0.3.9]
tjbiddle has joined #ruby
lggr has joined #ruby
philcrissman has joined #ruby
irleif has joined #ruby
kjg has left #ruby [#ruby]
mohits has quit [Ping timeout: 272 seconds]
mohits has joined #ruby
<shevy> and it is still not a finished Ruby OS
<matti> shevy: ;/
<matti> shevy: I am disappointed.
<matti> ;]
x82_nicole has quit [Ping timeout: 265 seconds]
pmros has joined #ruby
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
chin-tastic has quit [Ping timeout: 272 seconds]
lggr has quit [Ping timeout: 245 seconds]
aldodelgado has joined #ruby
chichou has quit [Ping timeout: 245 seconds]
morozovm has quit [Read error: Connection reset by peer]
morozovm has joined #ruby
lggr has joined #ruby
chrishunt has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
baroquebobcat has joined #ruby
Aristata has quit [Quit: Leaving.]
wallerdev has joined #ruby
mkillebrew has joined #ruby
d2dchat has quit [Remote host closed the connection]
mwilson` has quit [Excess Flood]
_JamieD_ has joined #ruby
mwilson` has joined #ruby
sspiff has quit [Remote host closed the connection]
zommi has quit [Quit: Leaving.]
peneconleche has quit [Quit: Leaving...]
_md has joined #ruby
chichou has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
Taranis has joined #ruby
<Servidorv> hey guys can i ask you a really newby question, how can i move a ruby app from one server to another for testing purposes?
lggr has quit [Ping timeout: 245 seconds]
<shevy> :(
Elhu has joined #ruby
<shevy> things just take so long...
_md has quit [Client Quit]
<shevy> servidorv, can't you just copy it? it's just files anyway
monkegji_ has joined #ruby
chussenot has quit [Quit: chussenot]
<Servidorv> yeah that was my thought, I know php and i was thinking it is the same, but i know there is gems involved
mikepack has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
<shevy> well just get a list of the dependencies, and copy those .gem files
<shevy> "gem install foobar-1.0.gem"
lggr has joined #ruby
<Servidorv> ok
<Servidorv> thanks
<shevy> the cheapest way to do so is to just copy the app, then try to start it and look at what is missing
<shevy> then install that gem
<shevy> repeat, until it works
<shevy> :)
Trioke has joined #ruby
blazes816 has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
<Servidorv> thanks man
<Servidorv> i will :)
Uranio has quit [Ping timeout: 245 seconds]
irleif has joined #ruby
<Xeago> servidorv: if you tell us how the app is started/run we might be able to help more
chichou has quit [Ping timeout: 246 seconds]
Chryson has quit [Ping timeout: 245 seconds]
Uranio has joined #ruby
<Servidorv> is started with goliath server, mongodb, and god
saschagehlich has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
advorak has joined #ruby
advorak_ has joined #ruby
advorak has quit [Client Quit]
chichou has joined #ruby
advorak_ is now known as advorak
advorak has quit [Client Quit]
advorak has joined #ruby
margle has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
freezey has joined #ruby
pmros has quit [Quit: Konversation terminated!]
chussenot has joined #ruby
stkowski has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
tjbiddle has joined #ruby
sebastorama has quit [Quit: Computer has gone to sleep.]
dr_bob has quit [Quit: Leaving.]
_nitti has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
rostisla_ has quit [Ping timeout: 246 seconds]
erichmenge has joined #ruby
mikalv has quit [Ping timeout: 245 seconds]
_nitti has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
bigmcq77 has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Quit: tjbiddle]
Takehiro has joined #ruby
jenrzzz has joined #ruby
answer_42 has joined #ruby
seoaqua has quit [Ping timeout: 260 seconds]
Amfy has quit [Quit: ZNC - http://znc.in]
pmros has joined #ruby
jerius has quit [Quit: Computer has gone to sleep.]
cwang has joined #ruby
pmros_ has joined #ruby
sagax has joined #ruby
lggr has quit [Ping timeout: 246 seconds]
rabidpraxis has quit [Remote host closed the connection]
mikalv has joined #ruby
shadoi has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
jgrevich has joined #ruby
adeponte has joined #ruby
Iszak has quit [Quit: User has gone to sleep.]
Tarential has joined #ruby
mneorr_ has left #ruby [#ruby]
Xeago has quit [Ping timeout: 260 seconds]
pmros has quit [Ping timeout: 248 seconds]
advorak has quit [Quit: This computer has gone to sleep]
binaryplease has quit [Quit: WeeChat 0.3.9]
joshman_ has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
thedeadghost has joined #ruby
Synthead has joined #ruby
alvaro_o has joined #ruby
erichmenge has quit [Quit: Be back later]
dinamicex1 has joined #ruby
samphippen has joined #ruby
KevinSjoberg has joined #ruby
aganov has quit [Remote host closed the connection]
netzapper has joined #ruby
<ddd> hrmm, if there is a gem loaded, is there a programmatic way I can unload it? say, for instance, I have dtf loaded, and I want to remove it completely if Gem.loaded_specs['dtf-skeleton']dependencies shows its loaded?
chichou_ has joined #ruby
<netzapper> I have a block that's defined inside an object, and which is then instance_exec'd inside another object. Is there some way that I can refer to the instance variables of the *enclosing scope* instead of the executing instance scope? (Right now, I do 'some_local_var = @some_instance_var' so that I can refer to the variable by local name in the block.)
chussenot has quit [Quit: chussenot]
lggr has quit [Ping timeout: 255 seconds]
<dinamicex1> Hi, I have an multidimensional array meals = [ ["peanuts", "P"], ["salad", "S"] ] and want to extract the second column["P", "S"]. I tried something in the console but it wouldn't work.
<yxhuvud> netzapper: please don't do stuff like that. there are some libraries that does it and it make finding errors a nightmare since you have no idea what scope something is evaluated in
<netzapper> yxhuvud: Eh, it makes my DSL much, much easier to use if you can define action blocks in controller scope from inside of an FX script. So, don't hack on my game, and you won't have to see it. :)
Monie has joined #ruby
<workmad3> netzapper: in addition - no, you can't do that. If you want to be able to do that don't change the object context
reuf has joined #ruby
<netzapper> workmad3: okay, cool.
<netzapper> thanks!
chichou has quit [Ping timeout: 260 seconds]
<workmad3> netzapper: the nicer way to do that would be to pass in an object to the block that you can work on
lggr has joined #ruby
Guest89985 has quit [Quit: WeeChat 0.3.9]
<workmad3> netzapper: if you want to support both, you can ask the block how many arguments it takes... it it takes an argument, you pass in the object and don't change context, if it doesn't take an argument then you don't pass in a block and do change context
chrishunt has joined #ruby
pmros__ has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
friskd has joined #ruby
roadt has quit [Ping timeout: 245 seconds]
<netzapper> workmad3: eh, the problem is that there is no clear object that would be passed in. It's a DSL for special effects scripting in a game... so, I may have on controller block updating six different objects in the scene graph, not one of which is the actual enclosing object context. Furthermore, then I lose access to all the convenience functions inside the controller class itself.
monkegji_ has quit [Ping timeout: 252 seconds]
<workmad3> netzapper: sure there is
cantonic_ has joined #ruby
<workmad3> netzapper: whatever object you're calling instance_eval on
timmow has quit [Quit: has left the building]
pmros_ has quit [Read error: Operation timed out]
monkegjinni has joined #ruby
chussenot has joined #ruby
<workmad3> netzapper: and if things are really that complex then I'd humbly suggest that you're DSL-ifying things too soon
<workmad3> netzapper: your DSL should really be a thin, simple layer on top of well-engineered easy-to-use code, so that the DSL is simply some nice syntax sugar
<workmad3> netzapper: if the DSL is the only thing making your code usable, you have an issue
cakehero has quit [Quit: Computer has gone to sleep.]
icooba has quit [Quit: Computer has gone to sleep.]
originerd has joined #ruby
cantonic has quit [Ping timeout: 248 seconds]
cantonic_ is now known as cantonic
originerd has quit [Client Quit]
zz_chrismcg is now known as chrismcg
<netzapper> nah, the DSL is a wrapper on top of a reasonably well-engineered cueing/chaining system. And the Java library all of this sits on top of is pretty decent too. I just preferred to use a block and dynamic controllers instead of requiring the user to subclass controllers every time. ::shrug::
hiroyuki has quit [Remote host closed the connection]
lggr has quit [Ping timeout: 260 seconds]
<netzapper> especially since most of the controllers action code often winds up just moving around parameters from various interpolators.
monkegjinni has quit [Remote host closed the connection]
no_worries has quit [Remote host closed the connection]
<workmad3> sounds weirdly magical and prone to headaches...
dhruvasagar has quit [Ping timeout: 245 seconds]
roadt has joined #ruby
<netzapper> ehhh... it is annoyingly magical. And definitely not useful beyond this project. But, it's surprisingly headache free... and I almost never *need* to move things from instance to local context. Usually, the actionable objects are local scope when the controller block is created. It's really just for preloaded assets that this becomes an issue, since they preload in a separate method from building the FX.
mercwithamouth has joined #ruby
no_worries has joined #ruby
lggr has joined #ruby
nwertman has joined #ruby
nwertman has quit [Client Quit]
<netzapper> I was really just hoping there was some sort of explicit scope resolution possibility I was missing (like C++'s ParentClass::overriddenMethod scope resolution). But, if there isn't, I'll just endeavor to minimize how much hokeypokey I've gotta do.
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
_md has joined #ruby
sn0wb1rd has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
thedeadghost has quit [Ping timeout: 252 seconds]
greg-_ has quit [Quit: greg-_]
bluOxigen has joined #ruby
senny has quit [Remote host closed the connection]
<JonnieCache> will you still understand it if you dont look at it for a year though?
aldodelgado has quit [Quit: aldodelgado]
syamajala has joined #ruby
Xeago has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 276 seconds]
havenn has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
<Xeago> edge so slow
slainer6_ has quit [Remote host closed the connection]
_md has quit [Quit: Leaving...]
tjbiddle has joined #ruby
erichmenge has joined #ruby
sneakyness_wk has joined #ruby
lggr has joined #ruby
jenrzzz has joined #ruby
tjbiddle has quit [Remote host closed the connection]
tjbiddle has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
jrist is now known as jrist-phn
DarkStar1 has left #ruby [#ruby]
rabidpraxis has joined #ruby
Tearan has joined #ruby
slainer68 has joined #ruby
chrismcg is now known as zz_chrismcg
apok has joined #ruby
sn0wb1rd has joined #ruby
<shevy> complexity is the root cause of all evil in software
skum has quit [Ping timeout: 260 seconds]
linoj has quit [Quit: linoj]
<shevy> I wonder if we could have a simpler yet better ruby
dorei has joined #ruby
lggr has quit [Ping timeout: 272 seconds]
cakehero has joined #ruby
slainer68 has quit [Ping timeout: 272 seconds]
MikeyV27 has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
awestroke has joined #ruby
lggr has joined #ruby
chussenot has quit [Quit: chussenot]
tweedledumber has left #ruby ["Textual IRC Client: www.textualapp.com"]
erichmenge has quit [Quit: Be back later]
Z0idberg has joined #ruby
Yomero has joined #ruby
wedtm|away is now known as wedtm
jcoglan has quit [Quit: Leaving]
chichou_ has quit [Remote host closed the connection]
horofox has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
morozovm has quit [Quit: morozovm]
<Spooner> netzapper Another Ruby game library? Tell me more. How does it compare with the existing ones (Gosu/Chingu, Gosu/Gamebox, Ray & Rubygame)?
sneakyness_wk has quit [Read error: Connection reset by peer]
sneakyness_wk has joined #ruby
ryanlecompte has joined #ruby
mahmoudimus has joined #ruby
mahmoudimus has quit [Remote host closed the connection]
advorak has joined #ruby
_cheney2 has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
lggr has quit [Ping timeout: 265 seconds]
_cheney has quit [Ping timeout: 246 seconds]
_cheney2 is now known as _cheney
cviebrock has joined #ruby
<cviebrock> total ruby n00b here … how can I solve this error: /Users/cmv/bin/github_issues_to_csv_v3.rb:1:in `require': no such file to load -- octokit (LoadError)
advorak has quit [Client Quit]
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
<cviebrock> I did sudo gem install octokit already
xyzodiac has quit [Quit: Computer has gone to sleep.]
<Spooner> cviebrock : Probably missed: require 'rubygems' (for Ruby 1.8)
Amfy has joined #ruby
<cviebrock> add that as a line before the offending one?
<Spooner> Yes.
apok_ has joined #ruby
Amfy has left #ruby [#ruby]
apok has quit [Ping timeout: 244 seconds]
apok_ is now known as apok
<cviebrock> cool .. thx
<cviebrock> that worked … now on to the next error :)
bluenemo has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
lggr has joined #ruby
jrist-phn is now known as jrist
<Spooner> cviebrock : If you are new and don't have a critical need for 1.8.7, then I'll point out that 1.9.3 is the current stable version of Ruby.
havenn has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
<cviebrock> yeah, i noticed i'm on an older version … just using the stock version in OS X 10.7.5
<Spooner> OK.
workmad3 has quit [Ping timeout: 260 seconds]
adamkittelson has joined #ruby
NimeshNeema has quit [Read error: Connection reset by peer]
dotemacs has quit [Remote host closed the connection]
notbrent has quit [Remote host closed the connection]
davidboy has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
kaichanvong has quit [Remote host closed the connection]
im0b has quit [Remote host closed the connection]
dekz has quit [Remote host closed the connection]
fcoury has quit [Remote host closed the connection]
patricksroberts has quit [Read error: Connection reset by peer]
strax has quit [Remote host closed the connection]
_marvin has quit [Remote host closed the connection]
SeanTAllen has quit [Remote host closed the connection]
moeSeth has quit [Remote host closed the connection]
dnyy has quit [Remote host closed the connection]
lectrick has quit [Remote host closed the connection]
rcsheets has quit [Remote host closed the connection]
anildigital_work has quit [Remote host closed the connection]
ctevie has quit [Remote host closed the connection]
dkannan has quit [Remote host closed the connection]
octarine has quit [Remote host closed the connection]
Guest93059 has quit [Remote host closed the connection]
randym has quit [Remote host closed the connection]
chichou has joined #ruby
kapowaz has quit [Remote host closed the connection]
mohits has quit [Remote host closed the connection]
joshman_ has joined #ruby
izepstan has quit [Ping timeout: 245 seconds]
emmanuelux has joined #ruby
<cviebrock> Can I bug you with another error?
<cviebrock> lemme paste bin the script first
groovemonkey has joined #ruby
Guest93059 has joined #ruby
mrsolo has joined #ruby
Guest93059 has quit [Remote host closed the connection]
<Spooner> cviebrock : pasting it is a good idea and helps us be keener to be bugged ;)
erichmenge has joined #ruby
<groovemonkey> question about iterating over arrays, if someone has a second
Takehiro has joined #ruby
<Spooner> groovemonkey: Just ask. Don't ask if you can ask.
<cviebrock> Spooner: hehe … okay it's here https://gist.github.com/3880335
<groovemonkey> t = ["blah", ["schnaa", 23, 25], "excellent"]
<groovemonkey> t.each do |item| puts item end
<cviebrock> the error is github_issues_to_csv_v3.rb:36:in `initialize': wrong number of arguments (2 for 0) (ArgumentError)
robotmay_ has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
<groovemonkey> why am I not getting the nested array printed as a single item?
<Spooner> groovemonkey : Arrays sent to puts are written with newlines. You want to use p instead.
<groovemonkey> ahhh, thank you!
erichmenge has quit [Client Quit]
jdripper has quit [Quit: Leaving.]
lggr has quit [Ping timeout: 246 seconds]
JonnieCache has quit [Ping timeout: 240 seconds]
oldB has joined #ruby
groovemonkey has quit [Read error: Connection reset by peer]
wedtm is now known as wedtm|away
erichmenge has joined #ruby
AlecTaylor has joined #ruby
<AlecTaylor> hi
AlecTaylor is now known as AlecTaylor
<Spooner> cviebrock : As it says, it expects CSV.new to not have any parameters, but you sent 2 to it.
robotmay has quit [Ping timeout: 248 seconds]
<AlecTaylor> What does the `@` symbol signify in Ruby?
<apeiros_> @ivars are instance variables
x82_nicole has joined #ruby
<cviebrock> Spooner: hrm … maybe a difference in the CSV gem between my version of ruby and 1.9.x ?
shevy has joined #ruby
<apeiros_> and @@cvars are class variables. they're part of the variable name.
no_worries has quit [Remote host closed the connection]
<Spooner> AlecTaylor : @ivar is an instance variable. Like this.ivar or self.ivar in another language.
<AlecTaylor> Ahh, I see
<AlecTaylor> Damn syntactic sugar :P
cdzombak has quit [Ping timeout: 245 seconds]
havenn has quit [Remote host closed the connection]
<apeiros_> whereas this.foo and self.foo are always methods in ruby
Amen_Killer_C has joined #ruby
Amen_Killer_C has quit [Client Quit]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
<Spooner> Yes, as apeiros_ says, it isn't entirely the same though.
lggr has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
<Spooner> cviebrock : You want CSV.open, not new, I think.
Xeago has quit [Remote host closed the connection]
<Spooner> cviebrock : CSV.open("path/to/file.csv", "wb") do |csv|
symb0l has joined #ruby
Serial_Killer_C has joined #ruby
<symb0l> hey all, what is the current solid solution for dealing with excel files in ruby?
<AlecTaylor> And the `=~` operator is "about equals", i.e. fuzzy equals?
<Spooner> AlecTaylor : Nope, it is the regexp opererator.
<AlecTaylor> Spooner: Ah, kk, thx
<symb0l> AlecTaylor, last I checked that gem had serious performance problems and was unmaintained
zigomir has quit [Ping timeout: 260 seconds]
werdnativ has joined #ruby
<AlecTaylor> ^Symb0l
<reactormonk> symb0l, I'd export it to CSV and be done with it
<symb0l> AlecTaylor, I'm legitemately curious, do you have recent experience with these gems? or just aware of them?
<Serial_Killer_C> symb)1: I've used writeexcel in the pass
rippa has joined #ruby
apeiros_ has quit [Remote host closed the connection]
<AlecTaylor> Alright, it's almost 5AM here; I'd best grab some sleep
axl_ has quit [Read error: Connection reset by peer]
ohdae has joined #ruby
<cviebrock> Spooner: thx .. switched to the FasterCSV gem, which supports the same syntax as CSV 1.9.x
axl_ has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
apok has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
voodoofish430 has joined #ruby
apok has joined #ruby
zigomir has joined #ruby
oldB has quit [Quit: oldB]
<symb0l> thanks for the tips guys
<symb0l> I'll check out all these suggestions
arturaz has quit [Read error: Connection reset by peer]
<Spooner> cviebrock : Ah yes, was just about to suggest using a CSV gem rather than the standard one.
lggr has joined #ruby
<netzapper> Spooner: it's not a ruby game library. It's an FX scripting language I built for our game (www.justtactics.com). It essentially just exposes a bunch of our Java systems to JRuby in a more ruby-esque manner.
Xeago has joined #ruby
<Spooner> netzapper Ah right, I see.
<cviebrock> cool, a few other fixes and it works now
<cviebrock> thanks Spooner
JohnBat26 has joined #ruby
<Spooner> Use Ruby 1.9.3 would have worked too ;)
<Spooner> netzapper : How do you find JRuby as a game scripting language? I mean since Python/Lua/etc are much more common (and obviously CRuby would be a joke if used for in-game scripting)?
wedtm|away is now known as wedtm
Virunga has quit [Remote host closed the connection]
peneconleche has joined #ruby
AlecTaylor has quit [Quit: Leaving.]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 255 seconds]
anderse has quit [Quit: anderse]
pmros__ is now known as pmros
<pmros> Spooner: ruby is nicer
miphe has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
chimay has quit [Quit: WeeChat 0.4.0-dev]
<netzapper> Spooner: I'm actually really digging JRuby for game scripting. My one complaint is that its Java object proxies make it hard for me to debug memory leaks. But, aside from that, I have no issues with it whatsoever. And the Java/Ruby integration is seamless.
Xtreme has joined #ruby
<Xtreme> update-alternatives: error: alternative /usr/bin/gem1.8 for gem not registered; not setting << how to fix this?
chussenot has joined #ruby
fphilipe has quit [Ping timeout: 246 seconds]
lggr has joined #ruby
<netzapper> Xtreme: that's a problem in the OS. 'alternatives' is the debian/ubuntu system for having multiple versions of a infrastructure program on the system. Did you install ruby with apt-get, or are you using RVM or similar?
cdzombak has joined #ruby
harryheintz has joined #ruby
<Xtreme> netzapper, yes i have ruby 1.9 and 1.8 installed
<netzapper> Xtreme: using apt, or using rvm?
irleif has joined #ruby
<Xtreme> synaptics
peneconleche has quit [Ping timeout: 240 seconds]
harryheintz has quit [Client Quit]
<netzapper> Xtreme: okay. 'rubygems' is a separate package in ubuntu from the base ruby install. Search for it in synaptic and install the one you want.
zigomir has quit [Quit: Leaving]
havenn has joined #ruby
xyzodiac has joined #ruby
cviebrock has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
invisime has joined #ruby
saschagehlich_ has joined #ruby
KindTwo has joined #ruby
sent-hil has joined #ruby
miso1337 has quit [Quit: afk]
hotovson_ has joined #ruby
<Xtreme> netzapper, okay one sec
chussenot has quit [Ping timeout: 245 seconds]
nwertman has joined #ruby
saschagehlich has quit [Ping timeout: 244 seconds]
saschagehlich_ is now known as saschagehlich
frogprince_mac has quit [Quit: Leaving...]
`Mew has quit [Read error: Connection reset by peer]
irleif has quit [Client Quit]
whackatre has joined #ruby
whackatre has quit [Changing host]
whackatre has joined #ruby
kaawee has joined #ruby
hiroyuki has joined #ruby
lggr has quit [Ping timeout: 255 seconds]
KevinSjoberg has joined #ruby
darkc0met has joined #ruby
seanyo has joined #ruby
Emmanuel_Chanel has joined #ruby
icole has joined #ruby
lggr has joined #ruby
elaptics is now known as elaptics`away
jenrzzz has quit [Ping timeout: 260 seconds]
rubious has joined #ruby
dmerrick has joined #ruby
mohits has joined #ruby
whackatre has quit [Read error: Connection reset by peer]
kaawee has quit [Ping timeout: 245 seconds]
whackatre has joined #ruby
whackatre has quit [Changing host]
whackatre has joined #ruby
Serial_Killer_C has quit [Remote host closed the connection]
linoj has joined #ruby
lggr has quit [Ping timeout: 265 seconds]
frederic has quit [Remote host closed the connection]
thmzlt has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
jenrzzz has joined #ruby
lggr has joined #ruby
Serial_Killer_C has joined #ruby
syamajala has quit [Remote host closed the connection]
joshman_ has quit [Quit: Computer has gone to sleep.]
leprkhn has joined #ruby
rabidpraxis has quit [Remote host closed the connection]
rabidpraxis has joined #ruby
freezway has joined #ruby
anildigital_work has joined #ruby
thmzlt has joined #ruby
dkannan has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
SJr has quit [Excess Flood]
musl has quit [Remote host closed the connection]
mohits has quit [Read error: Connection reset by peer]
SJr has joined #ruby
erichmenge has quit [Quit: Be back later]
dotemacs has joined #ruby
gyre008 has left #ruby ["Leaving"]
musl has joined #ruby
kaawee has joined #ruby
werdnativ has quit [Quit: werdnativ]
chin-tastic has joined #ruby
lggr has joined #ruby
dekz has joined #ruby
rabidpraxis has quit [Ping timeout: 246 seconds]
jbw has quit [Ping timeout: 240 seconds]
kaawee has quit [Read error: Connection reset by peer]
mohits_ has joined #ruby
kaawee has joined #ruby
mucker has quit [Quit: leaving]
kapowaz has joined #ruby
seanyo has quit [Ping timeout: 245 seconds]
mmitchell has quit [Remote host closed the connection]
fcoury has joined #ruby
mmitchell has joined #ruby
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
nilg` has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
Takehiro has joined #ruby
lggr has quit [Ping timeout: 252 seconds]
Coolhand has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
rcsheets has joined #ruby
robotmay_ has quit [Ping timeout: 245 seconds]
erikwr has joined #ruby
davidboy has joined #ruby
octarine has joined #ruby
dnyy has joined #ruby
My_Hearing has joined #ruby
stephenjudkins has joined #ruby
BadLarry has quit [Quit: quitting]
ctevie has joined #ruby
ctevie has quit [Changing host]
ctevie has joined #ruby
lggr has joined #ruby
BadLarry has joined #ruby
lectrick has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
anderse has joined #ruby
kaichanvong has joined #ruby
NimeshNeema has joined #ruby
mikeg has joined #ruby
BadLarry has quit [Client Quit]
Goles has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Z0idberg has left #ruby ["Leaving"]
BadLarry has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
notbrent has joined #ruby
fermion has quit [Quit: P]
Z0idberg has joined #ruby
mxweas has quit [Quit: Leaving...]
pmros has quit [Quit: Konversation terminated!]
My_Hearing has quit [Quit: WeeChat 0.3.9]
tk__ has quit [Quit: ばいばい]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
jpfuentes2 has quit [Quit: jpfuentes2]
lkba has quit [Remote host closed the connection]
lggr has joined #ruby
acrocity_ has joined #ruby
acrocity_ is now known as acrocity
bricker has joined #ruby
SeanTAllen has joined #ruby
patricksroberts has joined #ruby
DarkStar1 has joined #ruby
Spaceghost|cloud has joined #ruby
<DarkStar1> hey guys where can I see the iptions of my application generator
<DarkStar1> ?
peneconleche has joined #ruby
evilsushi has joined #ruby
evilsushi has joined #ruby
evilsushi has quit [Changing host]
acrocity- has quit [Ping timeout: 240 seconds]
jbw has joined #ruby
evilsushi has left #ruby [#ruby]
chichou has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
lusory has quit [Ping timeout: 260 seconds]
Chryson has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
fantazo_ has quit [Ping timeout: 252 seconds]
Servidorv has quit [Quit: Say What?]
dnstbr has joined #ruby
moeSeth has joined #ruby
Servidorv has joined #ruby
lggr has joined #ruby
im0b has joined #ruby
Jellyg00se has quit [Read error: Connection reset by peer]
daniel_- has quit [Ping timeout: 245 seconds]
anildigital_work has quit [Remote host closed the connection]
SeanTAllen has quit [Remote host closed the connection]
im0b has quit [Remote host closed the connection]
dnyy has quit [Remote host closed the connection]
joshman_ has joined #ruby
reset has joined #ruby
reset has quit [Remote host closed the connection]
SeanTAllen has joined #ruby
Guest93059 has joined #ruby
reset has joined #ruby
fantazo_ has joined #ruby
mmitchel_ has joined #ruby
<havenn> Oooh, a new 1.9.3!
<yxhuvud> about time
kaawee has joined #ruby
ananthakumaran has quit [Ping timeout: 260 seconds]
BadLarry has quit [Quit: quitting]
ohdae has quit [Quit: leaving]
cascalheira has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
mmitchell has quit [Ping timeout: 260 seconds]
slainer68 has joined #ruby
williamcotton has quit [Quit: williamcotton]
BadLarry has joined #ruby
randym has joined #ruby
_md has joined #ruby
NimeshNeema has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
SeanTAllen has quit [Remote host closed the connection]
dekz has quit [Remote host closed the connection]
dotemacs has quit [Remote host closed the connection]
randym has quit [Remote host closed the connection]
kapowaz has quit [Remote host closed the connection]
lggr has joined #ruby
NimeshNeema has joined #ruby
richardjortega has quit [Quit: richardjortega]
<oz> mostly fixing security bugs, don't hold your breath :)
cascalheira has quit [Quit: Leaving...]
moeSeth has quit [Remote host closed the connection]
rcsheets has quit [Remote host closed the connection]
notbrent has quit [Remote host closed the connection]
patricksroberts has quit [Remote host closed the connection]
davidboy has quit [Write error: Broken pipe]
octarine has quit [Remote host closed the connection]
kaichanvong has quit [Remote host closed the connection]
Guest93059 has quit [Remote host closed the connection]
ctevie has quit [Remote host closed the connection]
im0b has joined #ruby
anildigital_work has joined #ruby
daniel_- has joined #ruby
GoGoGarrett has joined #ruby
werdnativ has joined #ruby
dkannan has quit [Remote host closed the connection]
fcoury has quit [Remote host closed the connection]
jrist is now known as jrist-gym
Spaceghost|cloud has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
kapowaz has joined #ruby
kapowaz has quit [Read error: Connection reset by peer]
NimeshNeema has quit [Read error: Connection reset by peer]
im0b has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
anildigital_work has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
lectrick has quit [Remote host closed the connection]
kapowaz has joined #ruby
lledet has quit [Read error: Connection reset by peer]
jimeh has quit [Ping timeout: 245 seconds]
octarine has joined #ruby
axl_ has quit [Quit: axl_]
lledet has joined #ruby
yshh has quit [Remote host closed the connection]
Servidorv has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
margle has joined #ruby
sneakyness__wk has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
sneakyness_wk has quit [Read error: Connection reset by peer]
sneakyness__wk is now known as sneakyness_wk
dnyy has joined #ruby
glyytchy has joined #ruby
Iszak has joined #ruby
Spaceghost|cloud has joined #ruby
Spaceghost|cloud has quit [Remote host closed the connection]
kapowaz has quit [Remote host closed the connection]
octarine has quit [Remote host closed the connection]
dnyy has quit [Remote host closed the connection]
DarkStar1 has quit [Quit: Later coppenstoppers]
Z0idberg has quit [Ping timeout: 260 seconds]
mohits_ is now known as mohits
mohits has quit [Changing host]
mohits has joined #ruby
reset has quit [Quit: Leaving...]
NimeshNeema has joined #ruby
sn0wb1rd has joined #ruby
Spaceghost|cloud has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Spaceghost|cloud has quit [Remote host closed the connection]
rcsheets has joined #ruby
im0b has joined #ruby
yaymukund has joined #ruby
lggr has quit [Ping timeout: 240 seconds]
margle has quit [Quit: Computer has gone to sleep.]
Servidorv has joined #ruby
NimeshNeema has quit [Remote host closed the connection]
rcsheets has quit [Remote host closed the connection]
im0b has quit [Remote host closed the connection]
wedtm is now known as wedtm|away
SeanTAllen has joined #ruby
chessguy has joined #ruby
Hanmac has joined #ruby
erichmenge has joined #ruby
JohnBat26 has quit [Ping timeout: 244 seconds]
_marvin has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
lggr has joined #ruby
sagax has quit [Read error: Operation timed out]
octarine has joined #ruby
randym has joined #ruby
Quintus_q has joined #ruby
im0b has joined #ruby
TheFuzzball has joined #ruby
wedtm|away is now known as wedtm
chessguy has quit [Read error: Connection reset by peer]
rcsheets has joined #ruby
pothibo has quit [Quit: pothibo]
chin-tastic has quit [Ping timeout: 240 seconds]
freezey has quit [Quit: freezey]
pothibo has joined #ruby
lggr has quit [Ping timeout: 260 seconds]
ctevie has joined #ruby
ctevie has quit [Changing host]
ryanf has joined #ruby
ctevie has joined #ruby
eldarik has joined #ruby
erichmenge has quit [Quit: Be back later]
Guest93059 has joined #ruby
moeSeth has joined #ruby
vlad_starkov has joined #ruby
aquaranto has quit [Remote host closed the connection]
arielpts- has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
Servidorv has quit [Quit: Friends help you move. Real friends help you move bodies.]
mneorr has joined #ruby
Virunga has joined #ruby
one8zero has quit [Quit: one8zero]
lggr has joined #ruby
arielpts has joined #ruby
bigkevmcd has quit [Remote host closed the connection]
smw_ has joined #ruby
BeLucid_ has quit [Read error: Connection reset by peer]
BeLucid has joined #ruby
patricksroberts has joined #ruby
lectrick has joined #ruby
ltsstar has quit [Quit: ltsstar]
davidboy has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
dotemacs has joined #ruby
philcrissman has joined #ruby
anildigital_work has joined #ruby
fcoury has joined #ruby
Iszak has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lggr has quit [Ping timeout: 252 seconds]
sneakyness_wk has quit [Quit: tato]
<reactormonk> I've got elements with a set of features each - how would you find which features distinguish one set from another?
NimeshNeema has joined #ruby
bluenemo has quit [Remote host closed the connection]
RubyRails has joined #ruby
<RubyRails> Does anyone know of a good tutorial for MacRuby? The one on the website seems too old to work with Xcode 4.5.1
lggr has joined #ruby
kirun has joined #ruby
notbrent has joined #ruby
jonasac has joined #ruby
anderse has quit [Quit: anderse]
arietis has joined #ruby
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
bradleyprice has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 248 seconds]
adamkittelson has quit [Ping timeout: 245 seconds]
iaj_ has quit [Ping timeout: 244 seconds]
lggr has quit [Ping timeout: 256 seconds]
iaj has joined #ruby
dkannan has joined #ruby
cwang has quit [Remote host closed the connection]
kaichanvong has joined #ruby
pothibo has quit [Quit: pothibo]
one8zero has joined #ruby
jasond has quit [Ping timeout: 245 seconds]
ryanf has quit [Quit: leaving]
lggr has joined #ruby
gazler has quit [Read error: No route to host]
ryanf has joined #ruby
freerobby has joined #ruby
workmad3 has joined #ruby
kapowaz has joined #ruby
dnyy has joined #ruby
Kudos has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
peneconleche is now known as peneconleche|awa
Kudos has joined #ruby
lggr has quit [Ping timeout: 244 seconds]
SirRamonGabriel has quit [Remote host closed the connection]
Tarential has quit [Ping timeout: 255 seconds]
axl_ has joined #ruby
nwertman has quit [Quit: nwertman]
Jork1 has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
hotovson_ has quit [Remote host closed the connection]
lggr has joined #ruby
Kudos has quit [Ping timeout: 248 seconds]
sailias has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Kudos has joined #ruby
FifthWall has joined #ruby
symb0l has quit [Read error: Operation timed out]
lggr has quit [Ping timeout: 245 seconds]
Uranio has joined #ruby
hoelzro|away is now known as hoelzro
margle has joined #ruby
margle has quit [Client Quit]
carlyle has joined #ruby
Xeago has joined #ruby
lggr has joined #ruby
nanderoo has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 240 seconds]
elaptics`away is now known as elaptics
rabidpraxis has joined #ruby
eldarik has quit []
lggr has quit [Ping timeout: 245 seconds]
Banistergalaxy has quit [Ping timeout: 272 seconds]
<_bart> so I have this [#<Tag id: 1, name: "athlete", created_at: "2012-10-12 20:06:57", updated_at: "2012-10-12 20:06:57">] , how do I get the 'name'? I tried .name, but that gets 'Tag'.
saschagehlich has quit [Quit: saschagehlich]
Banistergalaxy has joined #ruby
Kudos has quit [Ping timeout: 248 seconds]
adamkittelson has joined #ruby
<RubyRails> object[0][:name]
<_bart> ah yeah, thanks
<RubyRails> :)
<waxjar> the [] indicate your tag is in an Array
<_bart> I was missing the [0], I see it's an array
<_bart> thanks
lggr has joined #ruby
<_bart> rails is so easy, but I'm really hitting walls now and then
<waxjar> alternatively you could use object.first.name
<_bart> yes I prefer .first
Kudos has joined #ruby
<invisime> _bart: if you are getting 'Tag' when you call the 'name' method, you're calling it on the Tag class instead of on your tag instance. hope that helps. :-)
adamkittelson has quit [Remote host closed the connection]
ForevernadeAFK has joined #ruby
saac has joined #ruby
<_bart> invisime: yes I was seeing it like XML, calling name gives you the root node name.
CaptainKnots has quit [Quit: bazinga!]
nilg has joined #ruby
Forevernade has quit [Ping timeout: 240 seconds]
ABK has joined #ruby
horofox has quit [Quit: horofox]
lggr has quit [Ping timeout: 272 seconds]
_md has quit [Quit: Linkinus - http://linkinus.com]
hvq has joined #ruby
ziffa has joined #ruby
<ziffa> HI
<ziffa> when I am doing rvm install 1.9.3 I am getting this error: Extracting rubygems-latest-1.8 ...
<ziffa> ERROR: Error running 'gunzip < /usr/share/ruby-rvm/archives/rubygems-latest-1.8.tgz | tar xf - -C /usr/share/ruby-rvm/src', please read /usr/share/ruby-rvm/log/ruby-1.9.3-p286/rubygems.extract.log
<ziffa> can someone help me please?
<blazes816> did you check the log?
Takehiro has joined #ruby
dnstbr has quit [Quit: Computer has gone to sleep.]
ABK has quit [Ping timeout: 240 seconds]
carlyle has quit [Remote host closed the connection]
JonnieCache has joined #ruby
<hvq> hi, after I create a resource with DataMapper, how can I convert it to JSON text?
lggr has joined #ruby
yxhuvud has quit [Ping timeout: 246 seconds]
<invisime> hvq: call to_json?
billyoc has quit [Ping timeout: 260 seconds]
krz has joined #ruby
<hvq> invisime: any library needed for that method to work?
<blazes816> require 'json'
Xtreme has quit [Quit: Leaving]
Takehiro has quit [Ping timeout: 276 seconds]
<hvq> invisime: I have an article resource of the Article model, and it returns something like this --- "#<Article:0x8685634>" ----
<yaymukund> hvq: also see the difference between as_json and to_json
<yaymukund> hvq: as_json might be more appropriate in thsi case, not sure
<invisime> hvq: you'll need the json gem.
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
lggr has quit [Ping timeout: 245 seconds]
CaptainKnots has quit [Client Quit]
irleif has joined #ruby
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
<hvq> invisime: I installed the json gem and I think the to_json function returns something: "#<Article:0x872bf5c>". Look like it's the address of @article resource. I think there maybe something wrong with my function usage
<hvq> invisime: get '/article' do
<hvq> @article = Article.create(
<hvq> )
<hvq> :title => "a test article",
<hvq> :originalURL => "http://google.com"
<hvq> content_type :json
<hvq> @article.to_json
<hvq> end
<hvq> invisime: Can you help me check it?
rippa has quit [Ping timeout: 246 seconds]
krawchyk has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
<invisime> hvq: try irb?
<hvq> invisime: can you elaborate it? I am new to ruby :P
<invisime> hvq: on the command line of your development machine, type 'irb'.
<invisime> this will let you enter an interactive terminal where you can test out things like this.
lggr has joined #ruby
<hvq> invisime: oh yeah, totally forget that command :-|. But I think the to_json function works well with a simple data stucture like an array. Can you confirm if I called to_json correctly in the piece of code above?
symb0l has joined #ruby
<invisime> hvq: it seems like you called it correctly. but like yaymukund said, you might want to use as_json instead. I'm not well-read on the differences between the two.
<hvq> invisime: hmm, ok, thank you.
hoelzro is now known as hoelzro|away
_kW has joined #ruby
JonnieCache has quit [Ping timeout: 252 seconds]
_kW is now known as Guest47540
ABK has joined #ruby
Elise24 has joined #ruby
Elise24 has quit [Client Quit]
swarley has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
saac has quit [Ping timeout: 248 seconds]
jrist-gym is now known as jrist
CaptainJet has joined #ruby
kaawee has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 246 seconds]
reset has joined #ruby
kpshek has quit []
LineByLine has joined #ruby
cardoni has quit [Quit: cardoni]
gmurphey has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
lggr has joined #ruby
cardoni has joined #ruby
Servidorv has joined #ruby
ABK has quit [Read error: Connection reset by peer]
dmerrick has quit [Quit: dmerrick]
ABK has joined #ruby
Quintus_q has quit [Ping timeout: 245 seconds]
dmerrick has joined #ruby
dmerrick has quit [Client Quit]
thmzlt has quit [Remote host closed the connection]
dmerrick has joined #ruby
dmerrick has quit [Client Quit]
Servidorv has quit [Read error: Connection reset by peer]
ABK has quit [Read error: Connection reset by peer]
glupo has quit [Remote host closed the connection]
ABK has joined #ruby
ckrailo has joined #ruby
peneconleche|awa has quit [Ping timeout: 255 seconds]
thmzlt has joined #ruby
lggr has quit [Ping timeout: 276 seconds]
banseljaj is now known as imami|afk
jeffreybaird has joined #ruby
netzapper has quit [Quit: Leaving]
kpshek has joined #ruby
Servidorv has joined #ruby
DrShoggoth has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Client Quit]
<hvq> invisime: found the answer, we have to use the json provided by dm-serializer
nyrb has joined #ruby
lggr has joined #ruby
jenrzzz has joined #ruby
futilegames has joined #ruby
<invisime> hvq: ah. ok. :-)
futilegames has quit [Client Quit]
sent-hil has quit [Remote host closed the connection]
Virunga has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
Morkel has quit [Quit: Morkel]
Virunga has quit [Remote host closed the connection]
ziffa has quit [Quit: Leaving.]
wedtm is now known as wedtm|away
ForevernadeAFK is now known as Forevernade
pothibo has joined #ruby
wedtm|away is now known as wedtm
pothibo has quit [Client Quit]
lggr has quit [Ping timeout: 252 seconds]
smp has joined #ruby
krz has quit [Quit: krz]
irleif has quit [Quit: Computer has gone to sleep.]
pothibo has joined #ruby
awestroke has quit [Remote host closed the connection]
ZubKonst_ has joined #ruby
hoelzro|away is now known as hoelzro
Guest47540 is now known as kaawee
lggr has joined #ruby
ZubKonst has quit [Ping timeout: 245 seconds]
<smp> Can someone suggest me a good book/site for learning Ruby
ABK has quit [Read error: Connection reset by peer]
roadt has quit [Ping timeout: 252 seconds]
ABK has joined #ruby
zmo_ has joined #ruby
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
horofox has joined #ruby
anderse has joined #ruby
vlad_starkov has joined #ruby
ZubKonst_ has quit [Remote host closed the connection]
<philcrissman> wmoxam: I'd almost forgotten about those. I should do those again, they were fun.
LineByLine has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
jenrzzz has quit [Ping timeout: 260 seconds]
<smp> thanks wmoxam
<wmoxam> philcrissman: :D
<philcrissman> wmoxam: I should try David Brady's approach; monkey-patch Ruby so that the tests all pass, without fixing the tests.
<wmoxam> haha
<wmoxam> yeah, I saw that
Servidorv has quit [Ping timeout: 260 seconds]
<philcrissman> smp: If it's a book you want, David A. Black's "Well Grounded Rubyist" is a good book that would take you from zero to knowing Ruby very well. The Pickaxe book is a good reference, you'll probably want it around at some point.
marcux has joined #ruby
lggr has quit [Ping timeout: 256 seconds]
bbttxu_ has quit [Quit: bbttxu_]
vlad_starkov has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Remote host closed the connection]
Coolhand_ has joined #ruby
Coolhand_ has quit [Read error: Connection reset by peer]
irleif has joined #ruby
swarley has quit [Ping timeout: 240 seconds]
ZubKonst has joined #ruby
<smp> Thanks philcrissman. I would love a book. I was intending to buy learn ruby the hard way by Zed Shaw.
<philcrissman> smp: That's probably good as well, I haven't read it.
zmo_ has quit [Quit: Leaving]
<werdnativ> Is there a way to access a file's DATA (stuff after __END__) within a Rakefile?
ziffa has joined #ruby
zmo_ has joined #ruby
<smp> @philcrissman : Well, It gives a real hands on session. Type, refactor learn. Thats the procedure followed in the book
lggr has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
<ziffa> hi all
Servidorv has joined #ruby
Ankhers has quit [Remote host closed the connection]
Dawne has quit [Read error: Connection reset by peer]
<philcrissman> smp: like I said, it's probably good. Whatever you think will help you learn. :)
Dawne has joined #ruby
<werdnativ> or in a Capfile? These files are actually evaluated in another context so I'm wondering if there's a way to read the DATA section from them.
<smp> :)
chin-tastic has joined #ruby
ABK has quit [Read error: Connection reset by peer]
lggr has quit [Ping timeout: 265 seconds]
ABK has joined #ruby
lazyPower has quit [Remote host closed the connection]
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
ABK has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
lggr has joined #ruby
SJr has quit [Excess Flood]
SJr has joined #ruby
SJr has quit [Excess Flood]
heftig has quit [Quit: leaving]
heftig has joined #ruby
<pskosinski> Is there any one-liner which will split "a b c d e" into ["a b c d", "e"]? ^^
SJr has joined #ruby
tchebb1 has quit [Quit: Leaving.]
sent-hil has joined #ruby
invisime has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 272 seconds]
h4mz1d has joined #ruby
philcrissman has quit [Remote host closed the connection]
nwertman has joined #ruby
<asteve> pskosinski: one_liner = "a b c d e".split(" ")[4] will give you the last element
lggr has quit [Ping timeout: 245 seconds]
jhubert has joined #ruby
Araxia has joined #ruby
<jhubert> Hello. Does anyone know how to use guard and minitest to test a single ruby file?
<pskosinski> asteve: Thank you
tchebb has joined #ruby
<blazes816> a, b = my_ary[0..-2], my_ary[-1]
<blazes816> will split it into two like you had
xyzodiac has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
williamcotton has joined #ruby
anderse has quit [Quit: anderse]
lggr has joined #ruby
horofox has quit [Quit: horofox]
<asteve> "a b c d e" is a string, unless pskosinski meant to use an array that won't work
cardoni has quit [Quit: cardoni]
<blazes816> lol, good call my friend
<blazes816> I forgot the split
kpshek has quit []
GoGoGarrett has quit [Remote host closed the connection]
jenrzzz has joined #ruby
anderse has joined #ruby
kpshek has joined #ruby
asteve has quit []
erichmenge has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
bbttxu_ has joined #ruby
jgarvey has quit [Quit: Leaving]
lggr has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
Serial_Killer_C has quit [Remote host closed the connection]
xyzodiac has joined #ruby
jimeh has joined #ruby
<pskosinski> Well, there is variable number of spaces ^^ So I don't see simple way...
mmitchel_ has quit [Remote host closed the connection]
cdzombak has quit []
servidorv_ has joined #ruby
irleif has quit [Quit: Computer has gone to sleep.]
symb0l has quit [Remote host closed the connection]
gmurphey has joined #ruby
daniel_- has quit [Read error: Connection reset by peer]
Servidorv has quit [Ping timeout: 265 seconds]
daniel_- has joined #ruby
<pskosinski> I have to do something more anyway, so maybe better I will just do it in long but simple way, thank you 8)
mohits has quit [Ping timeout: 248 seconds]
lggr has quit [Ping timeout: 245 seconds]
<pskosinski> I just have lines like "abc (1.2.3.4)" and want to sort list using IPs. ^^
cardoni has joined #ruby
Serial_Killer_C has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
lggr has joined #ruby
tchebb has quit [Quit: Leaving.]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
xyzodiac has quit [Read error: Connection reset by peer]
Serial_Killer_C has quit [Remote host closed the connection]
tchebb has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
Virunga has joined #ruby
parzorep has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
ForevernadeAFK has joined #ruby
lggr has quit [Ping timeout: 272 seconds]
verto|off is now known as verto
peregrine81 has quit [Quit: Computer sleeping.]
Forevernade has quit [Ping timeout: 246 seconds]
swaits has joined #ruby
lggr has joined #ruby
havenn has joined #ruby
mercwithamouth has joined #ruby
alanp has quit [Read error: Connection reset by peer]
<Spooner> pskosinski : Not entirely what you asked for. Maybe: lines.sort_by {|line| line[/(?:\d+\.){3}\d+/] } - really depends if string sorting is fine for the IPs.
alanp_ has joined #ruby
<swaits> i wonder why Range#include? doesn't work with range parameters? i.e. > (1..10).include?(2..3)
tommyvyo has joined #ruby
devdazed has quit [Quit: Bye]
fantazo_ has quit [Ping timeout: 246 seconds]
lggr has quit [Ping timeout: 256 seconds]
<pskosinski> Spooner: Ah, yes, works well and is short, thank you. :)
thmzlt has quit [Remote host closed the connection]
colinbm has joined #ruby
bradleyprice has quit [Remote host closed the connection]
chendo_ has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
bbttxu_ has quit [Read error: Connection reset by peer]
bbttxu_ has joined #ruby
erichmenge has quit [Quit: Be back later]
lggr has joined #ruby
joshman_ has quit [Quit: Computer has gone to sleep.]
hoelzro is now known as hoelzro|away
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
colinbm has quit [Quit: colinbm]
timonv has quit [Remote host closed the connection]
freerobby1 has left #ruby [#ruby]
TheFuzzball has quit [Read error: Operation timed out]
chendo_ has quit [Quit: Computer has gone to sleep.]
glyytchy has quit [Quit: Leaving...]
jeffreybaird has quit [Quit: jeffreybaird]
lggr has quit [Ping timeout: 260 seconds]
thmzlt has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
cardoni has quit [Quit: cardoni]
postmodern has joined #ruby
cardoni has joined #ruby
bbttxu_ has quit [Quit: bbttxu_]
TheFuzzball has joined #ruby
elaptics is now known as elaptics`away
servidorv_ has quit [Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak]
kpshek has quit []
Servidorv has joined #ruby
lggr has joined #ruby
<Servidorv> hey anyone there ??
<Servidorv> i have a problem trying to start my goliath app aserver
<Servidorv> can anyone help??
<waxjar> ask your question servidorv
Takehiro has joined #ruby
<Servidorv> im doing this
<Servidorv> ruby ~/lib/config/server.rb -sv -p 9000
Uranio has quit [Quit: WeeChat 0.3.8]
<Servidorv> but i get an error
<waxjar> what error?
<Servidorv> server.rb:10: undefined method `environment' for main:Object (NoMethodError)
Pip has quit [Ping timeout: 245 seconds]
theRoUS has quit [Ping timeout: 260 seconds]
JetAway has joined #ruby
CaptainJet has quit [Disconnected by services]
<Servidorv> do you know what can be the problem
JetAway is now known as CaptainJet
<waxjar> that means you're calling a method called environment somewhere in your file that's not defined
Sahnefrosch has joined #ruby
ruby_noob has joined #ruby
<Servidorv> ok
Sahnefrosch has quit [Client Quit]
lggr has quit [Ping timeout: 272 seconds]
tchebb has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 272 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
sn0wb1rd has joined #ruby
Synthead has quit [Quit: p33 ba115]
dimensiOn has joined #ruby
Tarential has joined #ruby
tchebb has joined #ruby
dimensiOn has quit [Client Quit]
ruby_noob has quit [Client Quit]
lggr has joined #ruby
asobrasil has left #ruby [#ruby]
ebobby has joined #ruby
Virunga has quit [Remote host closed the connection]
mando has quit [Remote host closed the connection]
<Servidorv> i cant start my app
<Servidorv> this sucks
lggr has quit [Ping timeout: 260 seconds]
Pip has joined #ruby
Jork1 has quit [Quit: Jork1]
irleif has joined #ruby
sent-hil has quit [Remote host closed the connection]
lggr has joined #ruby
Pip has quit [Client Quit]
lledet has quit [Quit: lledet]
jgrevich_ has joined #ruby
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
oldB has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
jrist is now known as jrist-afk
nateberkopec has quit [Quit: Leaving...]
lggr has quit [Ping timeout: 245 seconds]
<knite> I'm trying to install cocoapods. gem install hangs when I try. OS X 10.7.4, ruby 1.8.7. I've installed other gems successfully.
cardoni has quit [Ping timeout: 246 seconds]
<Servidorv> Question is god the way to start the servers instead of doing direct ruby??
axl_ has quit [Quit: axl_]
iamjarvo has joined #ruby
stopbit has quit [Quit: Leaving]
lggr has joined #ruby
ruby_noob has joined #ruby
ruby_noob has quit [Client Quit]
tchebb has quit [Remote host closed the connection]
Araxia has quit [Quit: Araxia]
_lae has joined #ruby
tchebb has joined #ruby
Raydiation has joined #ruby
<Raydiation> im doing a feedread. i have a page with javascript tests, a page which is shown on first run and a page which shows all feeds
<Raydiation> how many controllers do i create?
JonnieCache has joined #ruby
<Raydiation> feedreader*
ebobby has quit [Ping timeout: 240 seconds]
<Raydiation> oh sry :) need to ask in #rails
_lae has left #ruby [#ruby]
Raydiation has left #ruby [#ruby]
rabidpraxis has quit [Read error: Connection reset by peer]
h4mz1d has quit [Ping timeout: 246 seconds]
rabidpraxis has joined #ruby
havenn has quit [Remote host closed the connection]
ForevernadeAFK is now known as Forevernade
lggr has quit [Ping timeout: 260 seconds]
freeayu has joined #ruby
samuel02 has quit [Remote host closed the connection]
emergion has joined #ruby
<Servidorv> can i use god to start all my goliath endpoints??
lggr has joined #ruby
JonnieCache has quit [Ping timeout: 276 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
irleif has joined #ruby
swaits has left #ruby [#ruby]
jvdz has joined #ruby
kiyoura has joined #ruby
<jvdz> Anyone familiar with Nanoc (ruby static website generator)? Trying to figure out how to do layout template inheritence....
<jvdz> (e.g. specific_template extends section_template extends basehtml_template)
smp has quit [Ping timeout: 245 seconds]
lledet has joined #ruby
bairui has joined #ruby
Bosox20051 has quit [Quit: Leaving]
lggr has quit [Ping timeout: 244 seconds]
<bairui> hi there. been afr for a while and now i need to write a little command-line app. when i last played in this area, there were quite a few libs contending for the job of command-line args processing. did one of them win? what do you recommend for this task?
answer_42 has quit [Ping timeout: 252 seconds]
x82_nicole has quit [Quit: Computer has gone to sleep.]
apok_ has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
bier has quit [Read error: Operation timed out]
anderse has quit [Quit: anderse]
apok has quit [Ping timeout: 245 seconds]
apok_ is now known as apok
lggr has joined #ruby
SCommette has quit [Quit: SCommette]
Foxandxss has joined #ruby
dblandin has joined #ruby
pskosinski has quit [Quit: A few unofficial Red Eclipse 1.3.1 (r4131) servers: http://altred.tk/toggle.rb]
axl_ has joined #ruby
kirun has quit [Quit: Client exiting]
<Spooner> jvdz : There is a #nanoc channel - tried there?
lggr has quit [Ping timeout: 256 seconds]
<jvdz> Spooner: Yeah, pretty quiet there. I may have found something. This http://clarkdave.net/2012/02/building-a-static-blog-with-nanoc/ has a section on extending base templates
<Spooner> bairui : Slop is most commonly recommended. Plenty of others out there though - depends on which API you prefer and how much you need subcommands.
<bairui> was just thinking about whether i wanted subcommands... thanks, Spooner. hadn't heard of slop. i'll check it out.
<Spooner> jvdz : I have used nanoc, but I don't think I did what you need to do. Not sure.
stkowski has quit [Quit: stkowski]
pskosinski has joined #ruby
love_color_text has quit [Remote host closed the connection]
<Spooner> bairui : https://www.ruby-toolbox.com/categories/CLI_Option_Parsers shows how popular they are, though statistics are, at best, flakey ;)
chussenot has joined #ruby
love_color_text has joined #ruby
<bairui> heh
<jvdz> Spooner: I'm checking it out now. I don't know Ruby, so its a couple learning curves :)
friskd has quit [Ping timeout: 252 seconds]
<Spooner> jvdz : It isn't that bad. Not like learning Rails :D
waxjar has left #ruby ["Textual IRC Client: www.textualapp.com"]
lledet has quit [Quit: lledet]
lggr has joined #ruby
jenrzzz has joined #ruby
<jvdz> Spooner: I am more familiar with Python; it's a bit challenging to wrap my head around the syntax style
<jvdz> Just like any language, once you start playing with it, there comes a point where it clicks… will get ther.
<Spooner> jvdz : Usually you have a main layout file and use different page layouts, rather than inheritance.
bradyl0ve has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
<Spooner> Not entirely sure what you are trying to do that isn't gelling.
voodoofish430 has joined #ruby
<jvdz> Spooner: Right - I saw an example with layout/default.html (main meat of the HTML) and then e.g. blog.html which does <% render 'default' do %>[blog specific HTML]<%= yield %>
<jvdz> Trying that out now...
Takehiro has joined #ruby
<Spooner> Yeah, you usually use #render to insert another partial layout file and yield to allow insertion into it from outside. Hmm, not sure that is a good explanation.
bier has joined #ruby
<jvdz> I *think* it's making sense
icole has quit [Remote host closed the connection]
zxiest has quit []
lggr has quit [Ping timeout: 248 seconds]
<Spooner> I'd expect to see a yield in the default (outermost HTML) file and render being used to insert partials, like table rows or whatever.
icole has joined #ruby
<Spooner> But anyway, no inheritance, per se.
havenn has joined #ruby
musl has quit [Remote host closed the connection]
musl has joined #ruby
<jvdz> Check out: http://clarkdave.net/2012/02/building-a-static-blog-with-nanoc/ "Creating a layout for blog posts"
lggr has joined #ruby
Takehiro has quit [Ping timeout: 272 seconds]
<jvdz> I am trying to do that, but getting an error (NoMethodError: undefined method `render')
<Spooner> Odd.
glyytchy has joined #ruby
ziffa has left #ruby [#ruby]
apok has quit [Remote host closed the connection]
apok has joined #ruby
jeffreybaird has joined #ruby
<Spooner> Ah yes, you need to put stuff in the default.rb - you need Nanoc3::Helpers::Rendering to get access to #render
<Spooner> It tells you in that blog post. Must have skipped it ;)
justinmcp has joined #ruby
<jvdz> Good eye!
<Spooner> Those modules are pretty fundamental, but nice that they are module.
<Spooner> *that they are modular.
<jvdz> Spooner: That was it, thanks
justinmcp has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 240 seconds]
lggr has quit [Ping timeout: 252 seconds]
dinamicex1 has quit [Remote host closed the connection]
samphippen has quit [Quit: Computer has gone to sleep.]
lggr has joined #ruby
jtcoon has joined #ruby
marcux has quit [Ping timeout: 272 seconds]
chin-tastic has quit [Ping timeout: 272 seconds]
mikepack has quit [Remote host closed the connection]
pmros has joined #ruby
ckrailo has quit [Quit: Leaving...]
<pmros> hi!
chendo_ has joined #ruby
pmros_ has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
lggr has quit [Ping timeout: 260 seconds]
dblandin has quit [Quit: dblandin]
nwertman has quit [Quit: nwertman]
thmzlt has quit [Ping timeout: 252 seconds]
pmros has quit [Ping timeout: 245 seconds]
Araxia has joined #ruby
lggr has joined #ruby
thmzlt has joined #ruby
mrsolo has quit [Quit: Leaving]
justinmcp has joined #ruby
<bairui> does anyone know of a tool for quickly locating a trouble-causing file within a set of files. Assume that there is a consistent test that will identify when the 'faulty' file is 'disabled / removed'
waxjar has joined #ruby
<bairui> what i'm looking for is a Fault Localisation tool aimed at files/dirs within a (software) tree
mikeg has quit [Quit: Leaving]
icole has quit [Remote host closed the connection]
pdtpatr1ck has joined #ruby
lggr has quit [Ping timeout: 272 seconds]
gogiel has quit [Ping timeout: 246 seconds]
hvq has quit [Quit: Instantbird 1.2 -- http://www.instantbird.com]
stillEPIK has quit []
lggr has joined #ruby
<bairui> i'm looking for a good name. a tool is designed to analyse a system it is given as a command-line arg, for example: my-tool --system=git I want a better name than 'system' domain? software? target? in?
jso has quit []
Xeago has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
<blazes816> bin? binary? command?
<blazes816> target is pretty good