apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mjuszczak has joined #ruby
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 250 seconds]
roshanavand has quit [Ping timeout: 250 seconds]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimms has quit [Read error: Connection timed out]
tunaCanBruh has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
jimms has joined #ruby
jottr_ has joined #ruby
mjuszczak has quit []
ghr has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Troy^_ has joined #ruby
Zai00 has quit [Quit: Zai00]
starless has joined #ruby
ismaelga has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zorak8 has quit [Quit: Leaving]
mroach has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
Jetchisel has quit [Ping timeout: 252 seconds]
ismaelga has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
Musashi007 has joined #ruby
djbkd has joined #ruby
ghostpl_ has joined #ruby
longfeet has joined #ruby
Wolland has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
rubytor has quit [Ping timeout: 244 seconds]
willharrison has joined #ruby
<shevy> is there a way to get ENV variables into ruby .cgi scripts?
<crome> guess it depends on what launches the cgi scripts
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 250 seconds]
bigmac has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 246 seconds]
tomeara has quit [Quit: (null)]
djbkd has joined #ruby
<shevy> hmm ... lighttpd right now
Vile` has joined #ruby
thsig has quit [Ping timeout: 252 seconds]
<crome> I know you can specify an env with fastcgi
DEA7TH has quit [Ping timeout: 252 seconds]
sent1nel_ has joined #ruby
diablerie has quit [Quit: ZNC - http://znc.in]
Musashi007 has quit [Ping timeout: 264 seconds]
sent1nel has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
sent1nel has joined #ruby
<shevy> aha, interesting
<shevy> perhaps I should switch to fastcgi
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel_ has quit [Ping timeout: 244 seconds]
slester has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has quit [Remote host closed the connection]
mjuszczak has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 250 seconds]
<pontiki> you have the standard CGI environment
<pontiki> anything else would have to be set in lighty's env
sevvie has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
mjuszczak has quit [Client Quit]
brailangas has joined #ruby
centrx has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
Hijiri has quit [Ping timeout: 252 seconds]
Adran has joined #ruby
<shevy> hmm
agrinb has joined #ruby
cinch_ has joined #ruby
Hijiri has joined #ruby
lidaaa has joined #ruby
leafybasil has quit [Remote host closed the connection]
bklane has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
michael_mbp has quit [Excess Flood]
agrinb has quit [Ping timeout: 265 seconds]
michael_mbp has joined #ruby
greenbagels_ has quit [Read error: Connection reset by peer]
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brailangas has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
hiyosi has joined #ruby
serivich has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
claw_ has joined #ruby
cinch_ has quit [Ping timeout: 244 seconds]
lampd1 has quit [Read error: Connection reset by peer]
cinch_ has joined #ruby
yevon has joined #ruby
sent1nel has quit [Remote host closed the connection]
lampd1 has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
Cadillactica has quit [Quit: Cadillactica]
Adran has quit [Ping timeout: 240 seconds]
swgillespie has joined #ruby
RegulationD has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
swgillespie has quit [Max SendQ exceeded]
lkba has joined #ruby
swgillespie has joined #ruby
sent1nel has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
ismaelga has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Wolland has quit [Ping timeout: 246 seconds]
brailangas has joined #ruby
RegulationD has joined #ruby
nolic has quit [Ping timeout: 252 seconds]
fabrice31 has joined #ruby
denym_OFF has quit [Ping timeout: 276 seconds]
cinch_ has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
rbennacer has joined #ruby
sent1nel has quit [Ping timeout: 265 seconds]
cinch_ has joined #ruby
brailangas has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
roolo has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 265 seconds]
rbennacer has quit [Remote host closed the connection]
cinch_ has quit [Ping timeout: 244 seconds]
juanpablo__ has joined #ruby
cinch_ has joined #ruby
mikepack has joined #ruby
ferr has joined #ruby
sent1nel has joined #ruby
linoespinoza has joined #ruby
jbeeze has joined #ruby
Adran has joined #ruby
juanpablo__ has quit [Ping timeout: 240 seconds]
brailangas has joined #ruby
brailangas has quit [Read error: Connection reset by peer]
pontiki has quit [Remote host closed the connection]
cinch__ has joined #ruby
diranged1 has joined #ruby
diranged has quit [Read error: Connection reset by peer]
cinch_ has quit [Ping timeout: 244 seconds]
brailangas has joined #ruby
Nuck has joined #ruby
roolo has joined #ruby
botcito has joined #ruby
muzik has joined #ruby
cinch__ has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
brailangas has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
greenbagels has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
Megtasti_ has joined #ruby
botcito has quit [Ping timeout: 244 seconds]
Hobogrammer has joined #ruby
linoespinoza has quit [Ping timeout: 255 seconds]
kiely_elsewhere is now known as kiely
Megtastique has quit [Ping timeout: 256 seconds]
slester has quit [Ping timeout: 264 seconds]
Joufflu has quit [Quit: Peace]
Nuck has quit [Quit: Computer has gone to sleep.]
nfk has quit [Quit: yawn]
Takle has quit [Remote host closed the connection]
LLamaRider has quit [Quit: Lost terminal]
zcm has joined #ruby
zcm has quit [Read error: Connection reset by peer]
kaiZen has joined #ruby
agrinb has joined #ruby
bklane has quit [Remote host closed the connection]
zachrab has joined #ruby
banister has joined #ruby
sent1nel has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
agrinb has quit [Ping timeout: 265 seconds]
Qladstone has joined #ruby
Qladstone has quit [Read error: Connection reset by peer]
zachrab has quit [Ping timeout: 252 seconds]
Guest64 has joined #ruby
Guest123 has joined #ruby
Qladstone has joined #ruby
tunaCanBruh has joined #ruby
jenrzzz has joined #ruby
<shevy> how do I split a string into an array, with a chunk of 80 characters in each slot of the array?
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby
_blizzy_ has quit [Ping timeout: 246 seconds]
tunaCanBruh has quit [Ping timeout: 244 seconds]
<jhass> .scan /.{,80}/
zorak8 has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<shevy> ohhh I was trying without the ,
Troy^_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
robustus has joined #ruby
blizzy has joined #ruby
<stef204> hi, i noticed I have gems in my $HOME/.gem/ruby/2.1.0 directory; which are not seen by gem as am now running ruby 2.2.0 and gem path is set to HOME/.gem/ruby/2.2.0. How do I ge rid of the gems in 2.1.0?
mikepack has quit [Remote host closed the connection]
<stef204> s/ge/get
Musashi007 has joined #ruby
freerobby has joined #ruby
willharrison has joined #ruby
cjim has joined #ruby
ghr has joined #ruby
<stef204> i guess i could add the .gem/2.1.0 dir to my path before the 2.2.0 and possibly gem would uninstall them
ghostpl_ has joined #ruby
cjim has quit [Ping timeout: 252 seconds]
<weaksauce> stef204 use bundler
<weaksauce> and use some sort of ruby version manager. I like chruby
ghr has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Ping timeout: 244 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<stef204> weaksauce: I could use bundler I suppose. I'm not too keen on installing more package management packages to handle other package management (gem) but I could try
sent1nel has joined #ruby
<weaksauce> stef204 if you don't use bundler, you will be one of the only rubists that don't use it
<weaksauce> it's really that ubiquitous
<stef204> weaksauce: ok, we don't want that then!
<jhass> stef204: you can safely just rm -f that folder
<stef204> weaksauce: ok, didn't realize was ubiquitous
<stef204> jhass: ok
<jhass> weaksauce: bundler will not solve that, it'll scope install locations to the ABI version too
freerobby has quit [Quit: Leaving.]
<stef204> the path 'trick' doesn't wrk, btw
<stef204> *work
<jhass> and chruby is actually worse, as it scopes to the ruby version, not the ABI version
mikepack has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
average has joined #ruby
<stef204> jhass: so rm -f the entire $HOME//.gem/ruby/2.1.0 , cirrect?
<jhass> yeah
<stef204> ok
Spami has quit [Quit: This computer has gone to sleep]
<jhass> havenwood: maybe related, but https://github.com/postmodern/chruby/issues/235 is what I'm talking about
<havenwood> jhass: with 1.9's EoL on Monday the blocker for chruby supporting `~/.gem/$ruby/X.Y` is RubyGem's defaulting to --env-shebang ^, yeah
Takle has quit [Ping timeout: 245 seconds]
arescorpio has joined #ruby
<jhass> mmh, I've to reread the issue, I don't quite get why that's needed
tohuw has joined #ruby
<havenwood> jhass: Instead of using the current Ruby (/usr/bin/env ruby) by default, RubyGems hardcodes the path unless you opt for --env-shebang.
<jhass> yeah, just got it again, too late here ;)
<tohuw> I have a particularly long line that I’d like some help understanding how to best not make… well, unbearably long (and annoying to read). https://gist.github.com/tohuw/51aaeeff9eac070506bc
<eam> tohuw: use a temporary variable
<eam> (or, a few)
mistermocha has joined #ruby
Jinkins has joined #ruby
<tohuw> eam: so, assign e.g.: page.data['title'] to a variable, page.data['tags'].to_s to another, and so on, then concat the variables?
freerobby has joined #ruby
<jhass> tohuw: I'd go with http://paste.mrzyx.de/p4uq2sbao
<tohuw> apologies, I’m an utter neophyte
mistermocha has quit [Remote host closed the connection]
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> postmodern: yeah, havenwood linked it earlier, thanks
razieliyo has joined #ruby
<tohuw> jhass: ok, that makes sense. Thank you! Does the shebang also make it a string, like .to_s?
agrinb has joined #ruby
<jhass> string interpolation ("#{}") calls to_s, yes
bklane has joined #ruby
<jhass> a shebang is #!/some/binary in the first line of a file
kies^ has joined #ruby
<tohuw> oh right, thanks
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tmtwd has quit [Remote host closed the connection]
turtil-kun has joined #ruby
moritzs has joined #ruby
riotjones has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
scripore has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
Troy^_ has joined #ruby
zachrab has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
bklane has quit [Remote host closed the connection]
average has left #ruby [#ruby]
kaiZen has quit [Ping timeout: 255 seconds]
zachrab has quit [Ping timeout: 246 seconds]
moritzs has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Synthbread has joined #ruby
kaiZen has joined #ruby
prasselpikachu has quit [Ping timeout: 264 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel_ has joined #ruby
Qladstone has quit [Ping timeout: 252 seconds]
wldcordeiro has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sent1nel has quit [Ping timeout: 246 seconds]
Limix has joined #ruby
RegulationD has joined #ruby
havenwood has quit [Remote host closed the connection]
xploshioon has joined #ruby
apeiros_ has joined #ruby
fabrice31 has joined #ruby
Qladstone has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
lys has joined #ruby
zcm has joined #ruby
zcm has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 250 seconds]
Deithrian_ has quit [Ping timeout: 244 seconds]
sent1nel has joined #ruby
RegulationD has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
yevon has quit [Ping timeout: 264 seconds]
sent1nel_ has quit [Ping timeout: 264 seconds]
juanpablo__ has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
prasselpikachu has joined #ruby
RegulationD has joined #ruby
willharrison has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
veduardo has quit [Ping timeout: 240 seconds]
jbw__ has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
jbw_ has quit [Ping timeout: 252 seconds]
significance has joined #ruby
cjim has joined #ruby
<significance> Hello all! Writing a beginning ruby project here, what's the best way to get started? Does `bundle gem` setup a good default?
bklane has joined #ruby
magic__ has joined #ruby
Troy^_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
cjim has quit [Client Quit]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
luriv_ has quit [Ping timeout: 250 seconds]
livingstn has quit []
livingstn has joined #ruby
cjim has joined #ruby
<softinio> I have a vps for hosting my rails apps
<softinio> I am using nginx as web server
jenrzzz has quit [Ping timeout: 252 seconds]
<softinio> puma or passenger or what is your guys recommendation to use with nginx?
serivich has quit [Ping timeout: 252 seconds]
cjim has quit [Client Quit]
Vile` has quit [Remote host closed the connection]
chrishough has joined #ruby
pwnz0r has joined #ruby
agrinb has joined #ruby
Guest63491 has joined #ruby
duncannz has joined #ruby
pwnz0r has quit [Ping timeout: 245 seconds]
mitchellhenke has joined #ruby
Soda has quit [Remote host closed the connection]
rhg135 has quit [Quit: changing name]
agrinb has quit [Ping timeout: 265 seconds]
Guest71148 has quit [Ping timeout: 246 seconds]
mitchellhenke has quit [Client Quit]
rhg135 has joined #ruby
lys has quit [Quit: lys]
digifiv5e has joined #ruby
digifiv5e is now known as Guest27776
armyriad has joined #ruby
Synthbread has quit [Ping timeout: 272 seconds]
significance has quit [Quit: Page closed]
Guest27776 has quit [Ping timeout: 245 seconds]
woodyb23 has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nuck has joined #ruby
digifiv5e_ has joined #ruby
banister has joined #ruby
tunaCanBruh has joined #ruby
banister has quit [Max SendQ exceeded]
Synthbread has joined #ruby
Megtasti_ has quit []
woodyb23 has quit [Ping timeout: 250 seconds]
Qladstone has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
kaiZen has quit [Quit: Computer has gone to sleep.]
tunaCanBruh has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
<axisys> hi I am trying to generate a file using erb template.. this is what I have tried so far.. http://dpaste.com/0ETM5BM .. newbie here.. any help is appreciated
<weaksauce> axisys @users doesn't equal users
lemur has quit [Ping timeout: 265 seconds]
<axisys> updated the first line with @users .. still same error
<weaksauce> make them both users
<weaksauce> actually is that in the erb file?
Crazy_Atheist has quit [Read error: Connection reset by peer]
<weaksauce> you need to escape the code that you want to run
<weaksauce> <% @users = ['foo', 'bar'] %>
<axisys> weaksauce: yes that is a erb file
<weaksauce> note that there is no <%= it's a <%
<axisys> oh ok
<weaksauce> the <%= will output the ruby to the file and the <% will just run it
<axisys> worked! .. sweet!
sent1nel_ has joined #ruby
mitchellhenke has joined #ruby
sent1nel has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
<axisys> how to get rid of the extra newline .. seems like it does not like -%>
<weaksauce> the - should only get put on output tags
ferr has quit [Quit: WeeChat 1.1.1]
<axisys> weaksauce: moved to the output tags .. still errors
<axisys> weaksauce: http://dpaste.com/0M29TM1
Synthbread has quit [Ping timeout: 272 seconds]
ghostpl_ has joined #ruby
bklane has quit [Remote host closed the connection]
bklane has joined #ruby
bklane has quit [Remote host closed the connection]
<weaksauce> not sure. I don't really use erb much
<weaksauce> but I thought that was valid
lostcuaz_km has quit [Read error: Connection reset by peer]
lostcuaz has joined #ruby
ghostpl_ has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 240 seconds]
<dopie> -%>
<dopie> ?
braincrash has quit [Quit: bye bye]
<jhass> axisys: puma, or passenger standalone, let's you keep your packaged nginx
<jhass> er, softinio ^
MrSamuel has joined #ruby
Wolland has joined #ruby
dorei has quit [Remote host closed the connection]
tus has quit []
<softinio> jhass: thanks ! Good idea about standalone. Which one do u like more and why?
<jhass> I didn't use passenger standalone yet
braincrash has joined #ruby
ghr has joined #ruby
proxynz has joined #ruby
banister has joined #ruby
<softinio> ok
mostlybadfly has joined #ruby
jbeeze has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 265 seconds]
significance has joined #ruby
<significance> Hello all! How do you make a gem install executables into $PATH?
<significance> I used `bundle gem`, but when I install, running <gemname> <scriptname> does nothing.
turtil-kun has quit [Ping timeout: 246 seconds]
michael_mbp has quit [Excess Flood]
Synthbread has joined #ruby
<significance> Anyone there?
<weaksauce> significance relax. people will answer if they know and on their terms
<significance> Awesome - thanks!
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
agrinb has joined #ruby
triple_b has joined #ruby
michael_mbp has joined #ruby
significance has quit [Quit: Page closed]
scripore has quit [Quit: This computer has gone to sleep]
agrinb has quit [Ping timeout: 250 seconds]
Limix has quit [Quit: Limix]
proxynz has quit [Quit: WeeChat 1.1.1]
iamninja has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest123 has joined #ruby
proxynz has joined #ruby
livingstn has quit [Ping timeout: 246 seconds]
iamninja has joined #ruby
tlarevo has joined #ruby
zachrab has joined #ruby
ismaelga has quit [Remote host closed the connection]
tlarevo has quit [Client Quit]
sevvie has quit [Ping timeout: 246 seconds]
amacou_ has joined #ruby
amacou has quit [Read error: Connection reset by peer]
amacou_ has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 256 seconds]
Feyn has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
pork_clips has joined #ruby
charliesome has joined #ruby
turtil-kun has joined #ruby
pork_clips is now known as _cake
robbyoconnor has quit [Quit: Konversation terminated!]
turtil-kun has quit [Client Quit]
sevvie has joined #ruby
tohuw has quit [Quit: tohuw]
turtil-kun has joined #ruby
j_mcnally has joined #ruby
ismaelga has joined #ruby
robbyoconnor has joined #ruby
_cake has quit [Quit: Leaving]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
Synthbread has quit [Ping timeout: 272 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
tohuw has joined #ruby
arescorpio has quit [Excess Flood]
fabrice31 has quit [Ping timeout: 252 seconds]
mudtose has joined #ruby
theta88 has joined #ruby
juanpablo__ has joined #ruby
pontiki has joined #ruby
cpt_yossarian has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
<theta88> I just realized I could have an array of Procs today
RegulationD has joined #ruby
Wolland has quit []
cpt_yossarian has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
juanpablo__ has quit [Ping timeout: 264 seconds]
<pontiki> you know what's *really* weird: you can have a Proc as a hash key
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 244 seconds]
sevvie has quit [Ping timeout: 245 seconds]
lemur has joined #ruby
RegulationD has joined #ruby
starless has quit [Ping timeout: 250 seconds]
<theta88> pontiki that is *really* weird
<apeiros_> you can even have a Method as hash key!
<apeiros_> or a Class!
<theta88> can you have a method in an array?
<apeiros_> ruby - the awesome never stops!
<pontiki> or an Array of Procs!!
<apeiros_> theta88: not a method, a Method
<theta88> this is nuts
RegulationD has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
wldcordeiro has joined #ruby
<apeiros_> >> a = [1,2,3].method(:size); b = -123.method(:abs); c = "hello".method(:upcase); [a,b,c]
<eval-in> apeiros_ => [#<Method: Array#size(length)>, #<Method: Fixnum#abs>, #<Method: String#upcase>] (https://eval.in/291900)
<apeiros_> ^ array of Methods
<apeiros_> >> a = [1,2,3].method(:size); b = -123.method(:abs); c = "hello".method(:upcase); [a,b,c].map { |x| x.call }
<eval-in> apeiros_ => [3, 123, "HELLO"] (https://eval.in/291901)
RegulationD has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
cyberfab007 has joined #ruby
<theta88> how would i call the proc if it were a key in a hash?
<cyberfab007> hey yall
<apeiros_> theta88: the same way you call it when it's elsewhere
<apeiros_> you retrieve the object and invoke .call on it
RegulationD has quit [Ping timeout: 252 seconds]
decoponio has joined #ruby
<theta88> but wouldn't have to invoke it by referencing the proc itself?
<apeiros_> >> h = {proc { "weee!" } => "123"}; h.keys.first.call
<eval-in> apeiros_ => "weee!" (https://eval.in/291902)
<theta88> hash.Aproc.call
<theta88> oh
<apeiros_> I didn't say it makes much sense to use a proc as a key and wanting to invoke it by key
cpt_yossarian has quit [Remote host closed the connection]
<apeiros_> but then again, it never makes much sense wanting to retrieve *a key* from a hash
<apeiros_> the key is usually what you have to retrieve *a value*
<cyberfab007> there are so many setups for ruby , can someone give me a link to the proper setup of ruby on rails / GEMS setup for ubuntu 14.10 64
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jinkins has quit [Quit: This computer has gone to sleep]
<theta88> cyberfab007 have you looked at rvm?
agrinb has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
Pharaoh2 has joined #ruby
Jinkins has joined #ruby
adamjleonard has joined #ruby
Jinkins has quit [Client Quit]
ponga has joined #ruby
thomas has quit [Changing host]
thomas has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
<cyberfab007> theta88 yes ,
<cyberfab007> but I set up ruby on my other system I tried using that and someone I cant remember who it was over a month ago told me it was wrong and gave me instructions on how to do it
<cyberfab007> and it worked fine after that
<theta88> what is the problem you're having with it?
sivam has joined #ruby
<theta88> pontiki that is fascinating, im referencing the value of the hash proc inside the proc, it works
<apeiros_> also funny: reference the proc inside the proc
<apeiros_> >> x = proc { x.call }; x.call # funky infinite loop
<eval-in> apeiros_ => stack level too deep (SystemStackError) ... (https://eval.in/291903)
cpt_yossarian has joined #ruby
mikepack has quit [Remote host closed the connection]
sent1nel_ has quit [Read error: Connection reset by peer]
<cyberfab007> I will try the one off ubuntus site again and come back with any issues in running my scirpts
sent1nel has joined #ruby
Musashi007 has quit [Quit: Musashi007]
tunaCanBruh has joined #ruby
iamjarvo has joined #ruby
llamaintheshed has joined #ruby
mistermocha has joined #ruby
sent1nel_ has joined #ruby
chrishough has joined #ruby
ponga has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
sent1nel has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
mistermocha has quit [Ping timeout: 256 seconds]
plutonic has quit [Quit: plutonic]
ismaelga has quit [Remote host closed the connection]
greenbagels has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
Crazy_Atheist has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
cpt_yossarian has quit [Read error: Connection reset by peer]
gh has joined #ruby
cpt_yossarian has joined #ruby
cpt_yossarian has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
shellfu has joined #ruby
adamjleonard has quit [Quit: Leaving...]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
devoldmx_ has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
claptor has quit [Quit: this channel is bakas]
sent1nel_ has quit [Remote host closed the connection]
adamjleonard has joined #ruby
mudtose has quit [Ping timeout: 245 seconds]
ghostpl_ has joined #ruby
quazimodo has joined #ruby
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
serivich has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
ghostpl_ has quit [Ping timeout: 245 seconds]
cpt_yossarian has quit [Quit: And then he took off.]
cpt_yossarian has joined #ruby
michael_mbp has quit [Excess Flood]
xploshioon has quit [Quit: Leaving]
michael_mbp has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Vivex_ has joined #ruby
Xiti` has joined #ruby
theta88 has quit [Quit: leaving]
Vivex has quit [Ping timeout: 252 seconds]
Xiti` has quit [Client Quit]
rhg135 has quit [Quit: anf f*** you too blk_jack]
Xiti has quit [Ping timeout: 264 seconds]
speakingcode has quit [Ping timeout: 246 seconds]
lemur has quit [Read error: Connection reset by peer]
rhg135 has joined #ruby
claptor has joined #ruby
rhg135 is now known as rhg135|zzz
gh has quit [Quit: Leaving]
ghr has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
zachrab has joined #ruby
ponga has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
ponga has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
Joufflu has joined #ruby
rippa has joined #ruby
Joufflu_ has joined #ruby
drawingthesun has joined #ruby
michael_mbp has quit [Excess Flood]
drawingthesun has quit [Read error: Connection reset by peer]
michael_mbp has joined #ruby
Joufflu has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
vt102 has quit [Remote host closed the connection]
chipotle_ has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
<axisys> if I want ldap search for multiple uids.. is there a better way to filter that like this
<axisys> filter = Net::LDAP::Filter.eq( 'uid', 'foo' ) | Net::LDAP::Filter.eq( 'uid', 'bar' )
Synthbread has joined #ruby
<axisys> s/that like/than like/
llamaintheshed has quit [Remote host closed the connection]
<j_mcnally> did u check that
juanpablo__ has joined #ruby
razieliyo has quit [Ping timeout: 245 seconds]
<axisys> j_mcnally: I read it.. hmm.. what section are you referring to?
hvxgr has quit [Ping timeout: 245 seconds]
<j_mcnally> to_ber
<axisys> j_mcnally: wish there is an example.. hard to understand for a ruby newbie
AlexRussia has quit [Ping timeout: 244 seconds]
juanpablo__ has quit [Ping timeout: 250 seconds]
<axisys> I am trying to do something like this (|(uid='foo')(uid='bar')) (from ldapsearch syntax)
timothy has joined #ruby
timothy is now known as Guest66481
<axisys> but I have about 1000 users
<axisys> so doing a .join means lot of lines of filterX
Synthbread has quit [Ping timeout: 272 seconds]
Guest66481 has quit [Client Quit]
timothy-michael has joined #ruby
Ca1us has quit [Ping timeout: 276 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
<axisys> how to skip NoMethodError ?
Pharaoh2 has joined #ruby
<axisys> ldap.search( :base => base, :filter => filter ) do |entry|
<axisys> puts "#{entry.mail}"
<axisys> end
<axisys> for entries that has no email geta NoMethodError
<axisys> I tried unless entry.mail == nil , but that did not help
Caius has joined #ruby
AlexRussia has joined #ruby
Regulati_ has joined #ruby
bklane has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
nicolast_ has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
nicolastarzia has quit [Ping timeout: 264 seconds]
sigurding has joined #ruby
agrinb has joined #ruby
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Regulati_ has quit [Ping timeout: 245 seconds]
bklane has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
lemur has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plutonic has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
hvxgr has joined #ruby
sivam has quit [Remote host closed the connection]
ghr has joined #ruby
Musashi007 has quit [Quit: Musashi007]
timothy-michael has quit [Quit: Leaving]
ghr has quit [Ping timeout: 250 seconds]
tunaCanBruh has joined #ruby
phat4life has joined #ruby
Joufflu_ has quit [Ping timeout: 265 seconds]
tunaCanBruh has quit [Ping timeout: 246 seconds]
last_staff has joined #ruby
amacou has joined #ruby
ferr has joined #ruby
<phat4life> is does it make sense to use a priority queue for a network buffer
fantazo has joined #ruby
davedev2_ has joined #ruby
wicope has joined #ruby
davedev24_ has quit [Ping timeout: 265 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
ghostpl_ has joined #ruby
jimms has joined #ruby
phat4life has quit [Ping timeout: 252 seconds]
bMalum has quit [Quit: bMalum]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
mrgrieves has quit [Ping timeout: 256 seconds]
ferr has quit [Read error: Connection reset by peer]
AlienPickle has joined #ruby
ferr has joined #ruby
<axisys> how do I read from ~/.ldap-pass instead of /home/foo/.ldap-pass ?
<axisys> File.read('/home/foo/.ldap-pass') works but File.read('~/.ldap-pass') does not
Synthbread has joined #ruby
adamjleonard has quit [Quit: Leaving...]
<zly> Don't you need to extend the path?
davidhq has joined #ruby
pontiki has quit [Remote host closed the connection]
<axisys> zly: in python I read it like this
<axisys> zly: open(os.path.expanduser('~/.ldap-pass'))
<axisys> looking for equivalent in ruby
<zly> in Ruby you use File.expand_path('~/.ldap-pass')
<zly> I think it should work
MrSamuel has quit [Quit: Leaving]
davidhq has quit [Max SendQ exceeded]
Guest123 has joined #ruby
<axisys> zly: yep that works
davidhq has joined #ruby
<axisys> zly: File.read(File.expand_path('~/.ldap-pass')) to get the pass
<axisys> zly: thanks
Takle has joined #ruby
<zly> :)
davidhq has quit [Max SendQ exceeded]
davidhq has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 255 seconds]
fantazo has quit [Ping timeout: 256 seconds]
ferr has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
fantazo has joined #ruby
<streaxy> Anyone alive in here?
Takle has joined #ruby
sigurding has quit [Quit: sigurding]
agrinb has quit [Ping timeout: 250 seconds]
speakingcode has joined #ruby
AlienPickle has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 265 seconds]
davedev24_ has quit [Remote host closed the connection]
magic__ has quit [Ping timeout: 250 seconds]
zachrab has joined #ruby
Matadoer has quit [Ping timeout: 240 seconds]
magic__ has joined #ruby
ItSANgo has quit [Quit: Leaving...]
Matadoer has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
longfeet_ has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
longfeet has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
<zly> nope, all dead
elaptics_away is now known as elaptics
fabrice31 has joined #ruby
elaptics is now known as elaptics_away
lidaaa has quit [Ping timeout: 255 seconds]
hollywood has joined #ruby
Matadoer has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 252 seconds]
ItSANgo has joined #ruby
Matadoer has joined #ruby
juanpablo__ has joined #ruby
sigurding has joined #ruby
longfeet_ has quit [Read error: Connection reset by peer]
banister has quit [Read error: Connection reset by peer]
terlar has joined #ruby
michael_mbp has quit [Excess Flood]
serivich has joined #ruby
michael_mbp has joined #ruby
juanpablo__ has quit [Ping timeout: 246 seconds]
proxynz has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
ghostpl_ has joined #ruby
last_staff has quit [Quit: see you guys later]
yxejamir has joined #ruby
yfeldblu_ has joined #ruby
jack_rabbit_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
MasterPiece has joined #ruby
yfeldbl__ has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
monod has joined #ruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
jack_rabbit_ has quit [Ping timeout: 265 seconds]
bradleyprice has joined #ruby
mbeasley has quit [Ping timeout: 252 seconds]
monod has quit [Quit: Sto andando via]
mostlybadfly has quit [Quit: Connection closed for inactivity]
keen__________70 has joined #ruby
agrinb has joined #ruby
ferr has joined #ruby
keen__________69 has quit [Ping timeout: 264 seconds]
scripore has quit [Quit: Leaving]
RegulationD has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 265 seconds]
ptrrr has joined #ruby
<wasamasa> dead or alive!
<wasamasa> streaxy: you should just directly ask your question, chances are you'll get help
RegulationD has quit [Ping timeout: 244 seconds]
fredsir has quit [Quit: ZNC - http://znc.in]
fredsir has joined #ruby
RegulationD has joined #ruby
Takle has joined #ruby
devoldmx_ has joined #ruby
jack_rabbit_ has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
Takle has quit [Ping timeout: 252 seconds]
magic__ has quit [Quit: Leaving]
RegulationD has joined #ruby
<streaxy> Was just seeing how everyone is doing. Didn't really have a question.... Yet
tunaCanBruh has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
Musashi007 has joined #ruby
devoldmx_ has quit [Ping timeout: 264 seconds]
ninedragon has quit [Remote host closed the connection]
timonv has joined #ruby
monod has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fakam has joined #ruby
tunaCanBruh has quit [Ping timeout: 240 seconds]
<fakam> Hi how do you remove the decimals and the trailing digits ?
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has joined #ruby
jp-znc has joined #ruby
ghr has joined #ruby
no_gravity has joined #ruby
<no_gravity> Hello! What could "nr" stand for in the variable name "nr_sessions_to_process"?
Takle has joined #ruby
tohuw has quit [Quit: tohuw]
ferr has quit [Quit: WeeChat 1.1.1]
<yxejamir> number?
Takle has quit [Remote host closed the connection]
<no_gravity> thanks
no_gravity has left #ruby [#ruby]
ghr has quit [Ping timeout: 240 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
fakam has quit [Quit: Page closed]
einarj_ has joined #ruby
_Andres has joined #ruby
reinaldob has joined #ruby
einarj__ has joined #ruby
tohuw has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
mikepack has joined #ruby
einarj_ has quit [Ping timeout: 245 seconds]
Deithrian_ has joined #ruby
spider-mario has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
Diabolik has quit [Max SendQ exceeded]
Diabolik has joined #ruby
mikepack has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
reinaldob has quit [Ping timeout: 255 seconds]
jack_rabbit_ has quit [Ping timeout: 255 seconds]
kartouch has joined #ruby
oo_ has quit [Remote host closed the connection]
terlar has joined #ruby
oo_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
dh64 has joined #ruby
agrinb has joined #ruby
Musashi007 has joined #ruby
oo_ has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 250 seconds]
tens0r has joined #ruby
toretore has quit [Quit: Leaving]
Spami has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
shreknet has joined #ruby
charliesome has joined #ruby
<shreknet> Hey guys and girls, I need your help. I am a normal PHP Server Guy who runs Redmine and Gitlab on a server. We needed to update mysql on our debian wheezy host from 5.5 to 5.6 with this commands: http://www.devops.zone/debian-howtos/installing-mysql-5-6-on-debian-wheezy/ now I gem uninstalled mysql2 and gem installed mysql2 again and restarted all the processes, but both applications still complain about a version missmatch:
<shreknet> Incorrect MySQL client library version! This gem was compiled for 5.5.38 but the client library is 5.6.23.
<shreknet> now one of my thoughts was, that the apt package libmysqlclient-dev ( which is required from ruby afaik ) could be build for 5.5, but I don't know how to check this or how to get a newer version... Any hints?
riotjones has joined #ruby
zorak8 has quit [Ping timeout: 246 seconds]
oo_ has joined #ruby
jp-znc has quit [Quit: ZNC - 1.7.0-git-20-048d118 - http://znc.in]
jp-znc has joined #ruby
zachrab has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 246 seconds]
duncannz has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 255 seconds]
riotjones has quit [Ping timeout: 264 seconds]
zachrab has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 250 seconds]
<cyberfab007> are these proper setup instrutions for ruby on rails
ferr has joined #ruby
robbyoconnor has quit [Read error: No route to host]
<cyberfab007> anyone in here
robbyoconnor has joined #ruby
claptor has quit [Quit: this channel is bakas]
<zly> how about you try that and tell us about the result
<zly> ;]
tens0r has quit [Quit: tens0r]
<cyberfab007> zly, you talking to me
plutonic has quit [Quit: plutonic]
<zly> yeah, 'me talking to you'
<cyberfab007> zly, I install like this before using these instrutions, but when I went to run a ruby script using a wrapper via a shell command from my php script
<cyberfab007> someone here told me I installed wrong and then gave me instrutctions which I lost and the wrapper worked fin
<zly> well, looks like it's your problem if you're trying to wrap ruby on rails in php
<zly> there's nothing about php in the link you pasted
<cyberfab007> well no , just my php takes the output from a ruby script , works fine no issues on my one server I just cant remember how the guy had me install it
<cyberfab007> and I think I deleted the logs a few months ago where the commands were
<zly> if you're trying to install ruby/rails - your link is fine
pkrzywicki has quit [Ping timeout: 252 seconds]
<zly> if you want to pair it with php, I can't help you
<cyberfab007> do you know what I mean by a ruby wrapper ?\
<zly> in this context? not really
<zly> anyway, I'm out
<zly> good luck
fabrice31 has joined #ruby
dys has joined #ruby
<cyberfab007> thanks man
roolo has joined #ruby
ghr has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
ferr has quit [Quit: WeeChat 1.1.1]
<cyberfab007> hey whats the best way to install ruby RVM from source or using rbenv
juanpablo__ has joined #ruby
lkba has joined #ruby
bMalum has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
wldcordeiro has quit [Ping timeout: 250 seconds]
jhankins has joined #ruby
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
juanpablo__ has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
lightstalker has quit [Ping timeout: 265 seconds]
<cyberfab007> anyone lol
<cyberfab007> thats what sucks about living in ASEAN , the time difference
diranged1 has quit [Quit: Leaving.]
diranged has joined #ruby
OrbitalKitten has joined #ruby
ghostpl_ has joined #ruby
hiyosi has joined #ruby
lightstalker has joined #ruby
reinaldob has joined #ruby
AlienPickle has joined #ruby
lordkryss has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
<jhass> cyberfab007: that question is highly religious, so: whatever works for you
<cyberfab007> lol
<jhass> further options are chruby + ruby-install
<cyberfab007> thanks ,
<jhass> personally I do chruby + packages (archlinux)
serivich has joined #ruby
AlienPickle has quit [Ping timeout: 250 seconds]
<cyberfab007> im using ubuntu
quazimodo has joined #ruby
<cyberfab007> I went through this before and my script worked but when I went to use a ruby wrapper and execute it through a bash command in php it was giving me issues
<cyberfab007> and someone in here help me fix it
elfuego has left #ruby [#ruby]
jhankins has quit [Ping timeout: 250 seconds]
serivich has quit [Ping timeout: 244 seconds]
turtil-kun has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
agrinb has quit [Ping timeout: 250 seconds]
psy_ has quit [Ping timeout: 252 seconds]
psy_ has joined #ruby
mbeasley has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
workmad3 has joined #ruby
purezen_ has joined #ruby
max96at|off is now known as max96at
sameerynho has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
<crome> scriptception
<crome> we have to go deeper
pkrzywicki has joined #ruby
purezen_ has quit [Client Quit]
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
bMalum has quit [Read error: Connection reset by peer]
purezen has joined #ruby
bMalum has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
RegulationD has joined #ruby
davidhq has joined #ruby
lxsameer_ has joined #ruby
tunaCanBruh has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
naftilos76 has joined #ruby
<purezen> Hi guys, I am using grape to make an api endpoint.. I am able to display all records of a model using a get request.
DivineEntity has joined #ruby
oo_ has joined #ruby
n008f4g_ has joined #ruby
davidhq has quit [Client Quit]
<purezen> However, I am unable to retrieve a single record using the same. I am trying to do so using params but it doesn't work yet.
kerrick__ has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
<purezen> Btw, I am using mongodb if that matters.. Thanks :)
Matadoer has quit [Ping timeout: 265 seconds]
davedev24_ has joined #ruby
RegulationD has joined #ruby
arup_r has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
oo_ has quit [Ping timeout: 244 seconds]
hanmac has quit [Ping timeout: 265 seconds]
topolinux has joined #ruby
Nuck has quit [Quit: Computer has gone to sleep.]
RegulationD has quit [Ping timeout: 250 seconds]
sevvie has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
m8 has joined #ruby
sevvie has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
serivich has joined #ruby
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
ninedragon has joined #ruby
ninedragon has quit [Excess Flood]
FooMunki_ has joined #ruby
hanmac has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
serivich has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
mathie has quit [Quit: Quitting...]
ghr has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
ninedragon has joined #ruby
<jhass> apeiros_: fyi https://github.com/jhass/configurate/blob/master/.rubocop.yml I bluntly stole some of your reasoning ;)
mathie has joined #ruby
<apeiros_> ^^
Synthbread has quit [Quit: Leaving]
roshanavand has joined #ruby
topolinux has quit [Ping timeout: 252 seconds]
topolinux has joined #ruby
Pharaoh2 has quit [Quit: Byebye]
blackmesa has joined #ruby
fantazo has quit [Quit: Verlassend]
elaptics_away is now known as elaptics
art-solopov has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
FooMunki_ has quit [Quit: FooMunki_]
rupertbg has joined #ruby
purezen has quit [Quit: Page closed]
jimms_ has joined #ruby
agrinb has joined #ruby
jimms has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
oo_ has joined #ruby
oleo is now known as Guest55262
oleo__ has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
sigurding has quit [Quit: sigurding]
Guest55262 has quit [Ping timeout: 246 seconds]
banister has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
einarj__ has quit [Remote host closed the connection]
sigurding has joined #ruby
FooMunki_ has joined #ruby
zachrab has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
rupertbg has left #ruby [#ruby]
zachrab has quit [Ping timeout: 246 seconds]
topolinux has quit [Ping timeout: 245 seconds]
Ivision has joined #ruby
topolinux has joined #ruby
hmsimha has joined #ruby
sigurding has quit [Quit: sigurding]
ghostpl_ has joined #ruby
The_Phoenix has joined #ruby
fabrice31 has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Pawky|2 has quit [Ping timeout: 252 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
ghostpl_ has quit [Ping timeout: 250 seconds]
shum has joined #ruby
The_Phoenix has joined #ruby
max96at is now known as max96at|off
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
max96at|off is now known as max96at
max96at is now known as max96at|off
jimms has joined #ruby
juanpablo__ has joined #ruby
sigurding has joined #ruby
Beoran__ has joined #ruby
jimms_ has quit [Ping timeout: 240 seconds]
jp-znc has quit [Ping timeout: 264 seconds]
lkba_ has joined #ruby
juanpablo__ has quit [Ping timeout: 244 seconds]
ptrrr has quit [Quit: ptrrr]
Beoran_ has quit [Ping timeout: 244 seconds]
serivich has joined #ruby
ptrrr has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
jimms_ has joined #ruby
Ivision_ has joined #ruby
bMalum has quit [Read error: Connection reset by peer]
sameerynho has joined #ruby
bMalum has joined #ruby
ghr has joined #ruby
jimms has quit [Ping timeout: 246 seconds]
<Cork> i'm spawning child processes in a loop and giving it STROUT as :out => https://pastebin.mozilla.org/8822783
<Cork> but i need to get a "copy" of the text for later processing
Ivision has quit [Ping timeout: 265 seconds]
<Cork> what is the best way to do this, as i'm spawning a lot of processes in this loop
<Cork> (~30)
topolinux has quit [Ping timeout: 246 seconds]
lxsameer_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
topolinux has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 256 seconds]
kapil___ has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
mostlybadfly has joined #ruby
SouL_ has joined #ruby
topolinux has quit [Ping timeout: 252 seconds]
max96at|off is now known as max96at
<apeiros_> jhass: do you have a diff?
serivichi has joined #ruby
jimms_ has quit [Remote host closed the connection]
Feyn has quit [Quit: Leaving]
aswen has joined #ruby
agrinb has joined #ruby
<crome> Cork: pass in your own class that acts like an io
<crome> you can use stringio if you don't care about printing stuff to stdout
<Cork> i do
<Cork> ok, so a class
serivich has quit [Ping timeout: 250 seconds]
joonty has quit [Quit: joonty]
<Cork> crome: where should i look to see what this needs to expose?
leafybasil has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crome> the IO base class in the stdlib for starters
bMalum has quit [Quit: bMalum]
bMalum has joined #ruby
Darryl___ has joined #ruby
Jetchisel has joined #ruby
<Cork> k, thx
agrinb has quit [Ping timeout: 265 seconds]
aswen has quit [Ping timeout: 245 seconds]
ZoanthusR has joined #ruby
joonty has joined #ruby
bMalum_ has joined #ruby
Deithrian has joined #ruby
Deithrian_ has quit [Ping timeout: 250 seconds]
bMalum has quit [Ping timeout: 246 seconds]
bMalum_ is now known as bMalum
leafybasil has quit [Remote host closed the connection]
Advocation has joined #ruby
ghr has joined #ruby
Pumukel has joined #ruby
SumoBoy has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
aswen has joined #ruby
AlphaTech has joined #ruby
joonty has quit [Quit: joonty]
lxsameer has joined #ruby
RegulationD has joined #ruby
Ivision_ has quit [Ping timeout: 250 seconds]
teotwaki has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
Macaveli has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
sameerynho has joined #ruby
Deithrian has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
Deithrian has joined #ruby
RegulationD has joined #ruby
Musashi007 has quit [Quit: Musashi007]
lxsameer_ has joined #ruby
centrx has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
razieliyo has joined #ruby
sameerynho has quit [Ping timeout: 264 seconds]
sigurding has quit [Quit: sigurding]
Spooner has joined #ruby
ElderFain has quit [Ping timeout: 265 seconds]
ElderFain has joined #ruby
ElderFain has quit [Changing host]
ElderFain has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
leat has quit [Remote host closed the connection]
leat has joined #ruby
ptrrr has quit [Quit: ptrrr]
charliesome has quit [Quit: zzz]
max96at is now known as max96at|off
davidhq has joined #ruby
kobain has joined #ruby
Flowrhent has joined #ruby
Troy^ has quit [Read error: Connection reset by peer]
max96at|off is now known as max96at
yeticry has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
alex88 has joined #ruby
yeticry has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
kaiZen has joined #ruby
Ivision has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
monod has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
yfeldbl__ has quit [Ping timeout: 250 seconds]
sent1nel has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
davidhq has quit [Client Quit]
Macaveli has joined #ruby
riotjones has joined #ruby
zachrab has joined #ruby
oleo__ has quit [Quit: Verlassend]
oleo has joined #ruby
juanpablo__ has joined #ruby
codecop has joined #ruby
naftilos76_ has joined #ruby
claw__ has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
claw_ has quit [Ping timeout: 255 seconds]
tmtwd has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
<SumoBoy> folks please i need a help ---> ruby very basic assignment
juanpablo__ has quit [Ping timeout: 245 seconds]
<shevy> x = 123
<shevy> here it is
<shevy> a very basic assignment
<SumoBoy> hahaha not that basic i guess
ghostpl_ has joined #ruby
<SumoBoy> i solve it but it's about on thing is not correct and i know it exactly but i can't find way to correct it
<centrx> It doesn't look solved
<centrx> There is no code
<shevy> so where is the ruby code
bMalum has quit [Quit: bMalum]
<SumoBoy> that's it
jimms has quit [Remote host closed the connection]
<shevy> now first off, please indent consistently
<SumoBoy> the problem sure very clear in - elsif grand_son == 'BYE'-
<shevy> line 7 is not on line with 9; and why they are all one indent level to the right eludes me as well
<centrx> It is mysterious
<shevy> I tested your code
<shevy> when I type 'BYE'
<shevy> I get:
<shevy> puts 'NO, NOT SINCE ' + (rand (1950)).to_s
<shevy> so the second clause is never reached
ghostpl_ has quit [Ping timeout: 250 seconds]
<shevy> so your first clause: if grand_son == grand_son.upcase
<shevy> intercepts BYE too
mroach has quit [Quit: mroach]
fabrice31 has joined #ruby
<SumoBoy> yeah i think you've read the assignment ? the problem just in BYE it all in capitals it will print the first if term
<SumoBoy> shevy : yeah bro that's it i want to print the BYE clause also
<zly> think for a second
blackmesa has quit [Quit: WeeChat 1.1.1]
<shevy> SumoBoy then you must change the code
<zly> how the if is executed?
<shevy> the second clause could be integrated into the first one
<zly> randomly? or from top to bottom?
<shevy> or from bottom to top!!!
<centrx> from right to left
<zly> from left to right
<shevy> arabic programming
<zly> it's from middle east
<shevy> oh it starts in the middle and then proceeds both left and right in sync
art-solopov has quit [Ping timeout: 244 seconds]
Deithrian_ has joined #ruby
<zly> async way
<shevy> now that is the true brainfuck way
ninjazach has joined #ruby
<SumoBoy> should i change the whole code ?
<centrx> What does it mean
fabrice31 has quit [Ping timeout: 255 seconds]
Deithrian has quit [Ping timeout: 244 seconds]
bMalum has joined #ruby
<shevy> SumoBoy it is your code, only you can solve the dilemma :)
mroach has joined #ruby
<SumoBoy> thnx bro i'll try again
antgel has joined #ruby
michael_mbp has quit [Excess Flood]
jenrzzz has joined #ruby
mikecmpbll has joined #ruby
codeurge has joined #ruby
lxsameer_ has quit [Quit: Leaving]
michael_mbp has joined #ruby
tokik has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
Flowrhent has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirun has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
fox_mulder_cp has joined #ruby
<fox_mulder_cp> hi, can somebody give me cases, when i can use yield, proc and lambda. i'm newbie and learn ruby at codeacademy
<shmoon_> On doing a `cd` I get this error (rvm related) http://pastie.org/9971598 - any idea why ?
roolo has quit [Remote host closed the connection]
<fox_mulder_cp> i cat write at perl, bash, c#, powershell before
SouL_ has quit [Remote host closed the connection]
roolo has joined #ruby
<zly> shmoon_: there's .rvmrc or .ruby-version in this directory
Ivision_ has joined #ruby
<centrx> fox_mulder_cp, Proc and lambda are like first-class functions
<centrx> fox_mulder_cp, yield is for using the parameters of a block
<centrx> A block is also like a function
<fox_mulder_cp> centrx: hm, can i see proctice examples for using this stuff?
<shmoon_> zly: yes there is a .ruby-version containing ruby-2.0.0
tohuw has quit [Quit: tohuw]
<fox_mulder_cp> codeacademy don't give more theory
<shmoon_> is that something important ? i cloned it from github
<zly> fox_mulder_cp: google for: ruby when to use yield
<zly> ;)
<zly> shmoon_: there's your answer
<fox_mulder_cp> zly: || use proc || use labda? )
Ivision has quit [Ping timeout: 264 seconds]
<zly> fox_mulder_cp: don't search for everything at once
<zly> (even if topics are related :P)
<fox_mulder_cp> zly: ^)
oo_ has joined #ruby
<shmoon_> zly: is there some way to install 2.0.0-p481 as just 2.0.0 ? as I don't think I can change the .ruby-version file ?
<zly> shmoon_: Of course you can change it
Xiti has joined #ruby
<zly> I doubt that the app itself is using something that was in ruby 2.0.0 and is not in the newer version
<shevy> fox_mulder_cp yield is very easy, you yield into the content of a passed block
<shevy> proc and lambda are similar; so when you have a use case for a proc, you also have one for a lambda
<shmoon_> zly: how? what is the rvm install command for that?
<shmoon_> or does it have to be done in some other way
<zly> how about you use some googling?
banister has joined #ruby
<shevy> use ruby from source!
agrinb has joined #ruby
<fox_mulder_cp> wow, wow :)
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.xz
<fox_mulder_cp> && make && configure && make deb )
banister has quit [Max SendQ exceeded]
<shevy> then you don't have to read boring rvm docus
<zly> nah, ruby from source is too mainstream
<zly> use the one from aptitude
<shevy> that one is modified
<shmoon_> i did can't find on rvm.io doc
<zly> well then
<zly> copy every file from github
<shevy> shmoon_ do you really want to read so much docu
<zly> if ruby source is on github
<zly> ;)
<zly> it is
<shmoon_> shevy: i don't mind, i mean we do read docs as coders
<fox_mulder_cp> thanks, lot of reading can help me
fox_mulder_cp has left #ruby [#ruby]
<shevy> I never do! I always go by trial and error!
SumoBoy has quit [Quit: Leaving]
<shevy> I had to collect my own docu for ruby
<shevy> because the official docu stinks
<shmoon_> given that the .ruby-version has 2.0.0 and i know they're others are using 2.0.0-p481 , I have to figure out how to install 2.0.0-p481 as 2.0.0
<shmoon_> oh I see, that is interesting
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.0/
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
<shevy> wget!
<shmoon_> but then i have to compile it
<shmoon_> which is a complicated process
<shevy> rvm installs a binary for you?
<shmoon_> make makfile source and what not
SouL_ has joined #ruby
<shmoon_> ya it does install a ruby binary
RegulationD has joined #ruby
<zly> did you actually read the docs on rvm.io?
<shmoon_> wait is it a good idea to use rvm ? i thought yes
<shmoon_> i did
<zly> doesn't look like...
<shmoon_> i found this https://rvm.io/rubies/named
agrinb has quit [Ping timeout: 265 seconds]
<zly> I think you should search for something like: 'rvm install specific version'
<shmoon_> i know how to install a specific version that is simple
<shmoon_> rvm install 2.0.0-p481
<zly> soooooooo what exactly is the problem?
<shevy> I think he wants to fake this as 2.0.0
<shmoon_> how to install that as 2.0.0 as the .ruby-version file has just ruby-2.0.0
<shmoon_> yes shevy
<zly> install what?
<shevy> 2.0.0-p481
<shmoon_> and i dont want to (cannot) change ruby-version
<shmoon_> yes shevy
<zly> you can use ruby version only for specific project
Megtastique has joined #ruby
Sirupsen has joined #ruby
oo_ has quit [Remote host closed the connection]
gigetoo has quit [Remote host closed the connection]
<zly> if you want to have only one ruby version installed you can always remove the .ruby-version file and it should work fine
<shmoon_> i want to install ruby 2.0.0-p481 as 2.0.0 via rvm
<shmoon_> without the "-p481" since my .ruby-version has ruby-2.0.0 , and i know the team is using 2.0.0-p481
RegulationD has quit [Ping timeout: 255 seconds]
<shmoon_> so basically then doing a cd won't give that error
<shmoon_> is that possible?
<zly> then install ruby 2.0.0 as it's not specified which patch you have to use
<shmoon_> not specified as in the .ruby-version file?
lordkryss has quit [Quit: Connection closed for inactivity]
<zly> try to guess
<shmoon_> i wish you could just tell me that installing 2.0.0-p481 as 2.0.0 is not possible, would have been simpler to resolve this.
doodlehaus has joined #ruby
<zly> 2.0.0-p481 is 2.0.0
<zly> patch number doesn't actually matter that much
<zly> but if you insist: it's not possible, stick with 1.8.6
<Fluent> RVM?
devoldmx_ has joined #ruby
<shmoon_> that's fine, but i really thought there would be some way to solve http://pastie.org/9971643 without changing the current .ruby-version file then
<zly> install the ruby 2.0.0 then
Macaveli has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
<zly> if you don't want to 'change the .ruby-version' file
<zly> ffs
<daed> why not install ruby-2.0.0-p598 then?
einarj has joined #ruby
<shevy> hehe
<zly> :D
<Fluent> lulz
<Fluent> seks, sec I mean, sec
<zly> you gave him another idea
<shevy> shmoon_ has so many difficulties
<shmoon_> team has instructed to use p481 and its there in the readme file too, sorry anyway
<zly> then install 2.0.0-p481
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
<shevy> btw shmoon_ I can not believe that rvm uses binaries
<shmoon_> but then that error comes, but anyway nvm
<shevy> does it have binaries for every version?
<daed> why would the ruby-version file point to another patch levle then
<daed> if they want you to use 481, and why do they want 481
<zly> ruby-version is not pointing to different patch
<zly> it just has '2.0.0' in it
<zly> I think that PEBKAC
<shmoon_> shevy: ya, i hope it is recommedned to use rvm, i am new to ruby
<shevy> I recommend the source
<Fluent> It is recommended
<Fluent> Usually
<shevy> you get nothing from rvm that you can't do on your own either
<shevy> all the versions are in versioned app-dirs
<Fluent> RVM just makes things easy
<shevy> you had that on distributions like GoboLinux for all programs anyway; so ruby would be in /Programs/Ruby/VERSION_HERE
Jinkins has joined #ruby
Macaveli has joined #ruby
<Fluent> But you would still need to configure some things to let Ruby point to some specific version
devoldm__ has joined #ruby
devoldmx_ has quit [Ping timeout: 250 seconds]
art-solopov has joined #ruby
crdpink2 has joined #ruby
<shevy> why?
tunaCanBruh has quit [Ping timeout: 250 seconds]
crdpink has quit [Ping timeout: 250 seconds]
<Fluent> If you have three versions of Ruby installed, it wouldn't know which one you want to use. It will use what it's configured to use.
<shevy> the actual version of a program will be available through a symlink at /Programs/NAME/Current
Macaveli has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
<shevy> I am sure rvm either uses a symlink, or a file with the information, too, to find out which version to use
einarj has quit [Ping timeout: 264 seconds]
Advocation has quit [Quit: Advocation]
MasterPiece has quit [Quit: Leaving]
<Fluent> I was saying if you don't use RVM
<shevy> rvm does the same!
art-solopov is now known as art-solopov|away
<Fluent> I think you are misunderstanding me, but yes.
<shevy> :)
<shevy> it just has the commands inbuilt like rvm --default use 1.9.3
<Fluent> Right, which is configuring some things so Ruby knows what to use
<Fluent> That's all I meant
nick____ has joined #ruby
oo_ has joined #ruby
devoldm__ has quit [Ping timeout: 252 seconds]
<nick____> #reddit_abq
<nick____> oops
sevenseacat has quit [Remote host closed the connection]
monod has joined #ruby
reinaldob has quit [Remote host closed the connection]
serivichi has quit [Ping timeout: 244 seconds]
shellfu has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
davedev24_ has quit [Remote host closed the connection]
gmunk has joined #ruby
tokik has quit [Ping timeout: 264 seconds]
Jinkins has quit [Quit: This computer has gone to sleep]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
gmunk has quit [Read error: Connection reset by peer]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
serivichi has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
cyberfab007 has quit [Quit: Leaving]
ptrrr has joined #ruby
despai has joined #ruby
RegulationD has joined #ruby
starless has joined #ruby
nolic has joined #ruby
globalx has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
tobacco_joe has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
jonr22 has joined #ruby
agrinb has joined #ruby
globalx has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
motto has joined #ruby
oo_ has quit [Remote host closed the connection]
Spooner has quit [Ping timeout: 244 seconds]
m8 has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
Fusl has quit [*.net *.split]
Synthead has quit [*.net *.split]
Nanuq has quit [*.net *.split]
ddv has quit [*.net *.split]
tacotaco_ has quit [*.net *.split]
mburns has quit [*.net *.split]
lady3bean has quit [*.net *.split]
zonetti_ has quit [*.net *.split]
jamo__ has quit [*.net *.split]
ReinH has quit [*.net *.split]
p8952 has quit [*.net *.split]
clamstar has quit [*.net *.split]
oddmunds has quit [*.net *.split]
kenichi has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
dazeddev has quit [*.net *.split]
zerolith_zzz has quit [*.net *.split]
mjmac has quit [*.net *.split]
danshultz has quit [*.net *.split]
Shidash has quit [*.net *.split]
BuGo has quit [*.net *.split]
marens has quit [*.net *.split]
jimeh has quit [*.net *.split]
ndrst_ has quit [*.net *.split]
rom1504 has quit [*.net *.split]
tris has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
anekos has quit [*.net *.split]
teotwaki has quit [*.net *.split]
Dwarf has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
papercode has quit [*.net *.split]
Morrolan has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
Ikri has quit [*.net *.split]
DrForr has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
callumacrae has quit [*.net *.split]
finges has quit [*.net *.split]
skyjumper has quit [*.net *.split]
shaman42 has quit [*.net *.split]
fold has quit [*.net *.split]
Bish has quit [*.net *.split]
destructure has quit [*.net *.split]
maxmanders has quit [*.net *.split]
fumduq has quit [*.net *.split]
headius has quit [*.net *.split]
Schmidt has quit [*.net *.split]
BombStrike has quit [*.net *.split]
RealMarc has quit [*.net *.split]
sfr^ has quit [*.net *.split]
sparr has quit [*.net *.split]
zz_Haiiro has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
ujjain has quit [*.net *.split]
zly has quit [*.net *.split]
lpaste has quit [*.net *.split]
swills has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Nightmare has quit [*.net *.split]
hoelzro has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
dazeddev has joined #ruby
cHarNe2 has joined #ruby
mjmac_ has joined #ruby
BuGo has joined #ruby
skyjumper has joined #ruby
shaman42 has joined #ruby
zly has joined #ruby
DrForr has joined #ruby
Nightmare has joined #ruby
hoelzro_ has joined #ruby
zachrab has joined #ruby
Shidash has joined #ruby
mburns has joined #ruby
jamo_ has joined #ruby
sfr^ has joined #ruby
zz_Haiiro has joined #ruby
yxhuvud has joined #ruby
teotwaki has joined #ruby
jaxxstorm_ has joined #ruby
papercode has joined #ruby
tris has joined #ruby
mr_rich102 has joined #ruby
headius has joined #ruby
finges has joined #ruby
Schmidt has joined #ruby
anekos has joined #ruby
maxmanders has joined #ruby
ReinH has joined #ruby
danshultz has joined #ruby
Fusl has joined #ruby
sparr has joined #ruby
p8952 has joined #ruby
zerolith_zzz has joined #ruby
fumduq has joined #ruby
kenichi has joined #ruby
RoryHughes has joined #ruby
Morrolan has joined #ruby
twohlix has joined #ruby
ndrst_ has joined #ruby
twistedpixels has joined #ruby
RealMarc has joined #ruby
rom1504 has joined #ruby
ujjain has joined #ruby
destructure has joined #ruby
lady3bean has joined #ruby
phrozen77 has joined #ruby
oddmunds has joined #ruby
jaxxstorm_ is now known as jaxxstorm
BombStrike has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
zonetti has joined #ruby
Ikri has joined #ruby
Aswebb_ has joined #ruby
fold has joined #ruby
m4rCsi has joined #ruby
jimeh has joined #ruby
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
heyimwill has joined #ruby
centrx has joined #ruby
lpaste has joined #ruby
Bish has joined #ruby
juanpablo__ has joined #ruby
callumacrae has joined #ruby
kaiZen has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
zachrab has quit [Ping timeout: 245 seconds]
Sp4rKy has joined #ruby
clamstar has joined #ruby
juanpablo__ has quit [Ping timeout: 252 seconds]
ghostpl_ has joined #ruby
zorak8 has joined #ruby
art-solopov|away is now known as art-solopov
davedev24_ has joined #ruby
einarj has joined #ruby
veduardo has joined #ruby
Soda has joined #ruby
Dwarf has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
einarj has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Ping timeout: 265 seconds]
AlexRussia has quit [Quit: WeeChat 1.2-dev]
fabrice31 has joined #ruby
zly has quit [Changing host]
zly has joined #ruby
AlexRussia has joined #ruby
iamninja has joined #ruby
terlar has quit [Ping timeout: 265 seconds]
davedev24_ has joined #ruby
reinaldob has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
paolochiodi has joined #ruby
<paolochiodi> do you now of any method to convert a “natural language number string” to an integer? (e.g.: “one” => 1)
reinaldob has quit [Ping timeout: 265 seconds]
<art-solopov> centrx: Wow, TIL. ^_^
naftilos76 has quit [Remote host closed the connection]
<paolochiodi> centrx: thank you
naftilos76_ has quit [Read error: Connection reset by peer]
Ivision has joined #ruby
Ivision_ has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Xiti]
tacotaco_ has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150125222008]]
Mon_Ouie has quit [Ping timeout: 256 seconds]
ponga has quit [Remote host closed the connection]
nick____ has quit [Remote host closed the connection]
ponga has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.2-dev]
AlexRussia has joined #ruby
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
willharrison has joined #ruby
oo_ has quit [Remote host closed the connection]
pontiki has joined #ruby
paolochiodi has quit [Quit: paolochiodi]
jonr2219 has joined #ruby
sent1nel_ has joined #ruby
roolo has quit [Quit: Leaving...]
ponga has quit [Ping timeout: 265 seconds]
jp-znc has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
fantazo has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
crdpink has joined #ruby
agrinb has joined #ruby
crdpink2 has quit [Ping timeout: 250 seconds]
rdark has joined #ruby
rbennacer has joined #ruby
doobi-sham has quit [Ping timeout: 245 seconds]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jonr2219 has quit [Remote host closed the connection]
Xiti has joined #ruby
vdamewood has joined #ruby
jonr22 has joined #ruby
rbennacer has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 250 seconds]
Spooner_ has joined #ruby
jp-znc has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
jimbauds has joined #ruby
Guest63491 has quit [Quit: .]
ddv has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
despai has quit [Quit: Leaving]
jottr_ has joined #ruby
SouL_ has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
dorei has joined #ruby
jenrzzz has joined #ruby
rbennacer has joined #ruby
tunaCanBruh has joined #ruby
bMalum has quit [Quit: bMalum]
nettoweb has joined #ruby
claptor has joined #ruby
SouL_ has joined #ruby
despai has joined #ruby
bMalum has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
tunaCanBruh has quit [Ping timeout: 252 seconds]
zachrab has joined #ruby
jp-znc has joined #ruby
oo_ has joined #ruby
<shevy> is this pretty or is it eam
<centrx> nice one julia
zachrab has quit [Ping timeout: 244 seconds]
soulcake has quit [Quit: Quack.]
oo_ has quit [Ping timeout: 250 seconds]
soulcake has joined #ruby
Troy^ has joined #ruby
<shevy> hehe
deol has joined #ruby
mroach has quit [Quit: mroach]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deol has quit [Client Quit]
ponga has joined #ruby
claw__ has quit [Quit: Konversation terminated!]
claw__ has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 265 seconds]
<willharrison> so, I am just wondering. is rails polluted by noobs? I am just getting into ruby and it seems like a lot of these rails devs are cocky but just started developing maybe half a year ago
Spami has quit [Quit: This computer has gone to sleep]
Darryl___ has quit [Quit: Connection closed for inactivity]
<kaleido> i hate rails. pretty much everything about it.
<willharrison> I looked at the app structure and it didn't seem anything spectacular but everyone talks like it's a godsend
<kaleido> i like sinatra, personally
<willharrison> sinatra is smaller, right?
<centrx> willharrison, There is a lot of good stuff in Rails, even if it is the go-to thing to learn for noobs
<kaleido> smaller and it just makes more sense to me
<centrx> Also many of those over-excitable people have moved on to the next fad (node.js)
serivichi has quit [Ping timeout: 255 seconds]
<willharrison> centrx yeah, I don't doubt it. I am just scared of being lumped in with the noobs :/
<willharrison> kaleido ah ok, I see
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
vozcelik has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
codeurge has joined #ruby
<pontiki> it is easy to get into rails, but there is a ton of depth and learning one has to do in rails to really grok it, and not make a hash of things
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki> i think a lot of noobs pick it up as a first thing, and i *don't* think it lends itself well for a brand new to development arena
<pontiki> but i'm no gatekeeper, either
<pontiki> in fact, i help people new to development a lot
sent1nel has joined #ruby
<willharrison> I see, guess I just have started having a stigma toward it
ariestiyansyah has joined #ruby
<pontiki> willharrison: it's easy to acquire, i think, given a lot of noobish behaviour
RegulationD has joined #ruby
AlphaTech has quit [Quit: Connection closed for inactivity]
sent1nel_ has quit [Ping timeout: 245 seconds]
<willharrison> yeah, it doesn't seem too difficult to pick up. it seems very similar to laravel 4. I still have to learn ruby much better before I try any frameworks, tho
<pontiki> symfony2 (and I think 1) was based on rails, and laravel is a departure from symfony, and then you have the basic sort of MVC framework thing going on anyway
doodlehaus has quit [Remote host closed the connection]
<pontiki> willharrison: i highly recommend the black book for getting into ruby
<pontiki> i don't have the link off the tip of me fingers...
<willharrison> hm, I don't know the black book. I ordered "Eloquent Ruby" on the recommendation of somewhere here the other day. should arrive tomorrow
<ariestiyansyah> Hey everyone out there using ruby and jekyll, I am release new jekyll hacker style theme, please check out now : https://github.com/ariestiyansyah/naringu
<ariestiyansyah> Thanks :D
<pontiki> olsen's books are *all* great, too
<willharrison> Ah, I actually looked at that one because I always like the books with those medieval pictures lol (have c# in depth)
speakingcode has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
AlexRussia_ has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
<willharrison> do you think I should read the black book after eloquent ruby?
<pontiki> yes
<willharrison> I also want to read metaprogramming ruby before starting any frameworks
agrinb has joined #ruby
<pontiki> oh, definitely!! that is an excellent one
AlexRussia_ has quit [Client Quit]
<pontiki> there are several really great reads
<willharrison> yeah, I have read from several places that it is good
<pontiki> sandi metz's POODR is a must as well
RegulationD has joined #ruby
AlexRussia has joined #ruby
<willharrison> ah yeah, I wanted to read that too
<pontiki> i'll recommend a rails book right now before you even start learning rails: practicing rails. the first chapter is a manifest on How To Learn
tus has joined #ruby
<pontiki> i'm pretty sure the first chapter is a free download
<willharrison> nice, I will check it out
<pontiki> the book isn't fully published yet, still in beta
<pontiki> but wow, that first chapter
<willharrison> ah, ok
<pontiki> i cried, i did
<willharrison> haha, sounds like an intense book
<pontiki> it's something *i've* wanted to be able to tell people for *ages*
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
<pontiki> THAT'S IT!
<pontiki> he is *so* good
<willharrison> cool, I will get it after I finish these other ones
tejas-manohar has joined #ruby
<tejas-manohar> what was the latest stable version of ruby 1.x.x
<willharrison> so, in your opinion, what order should I read these books we talked about?
<pontiki> 1.9.3
<tejas-manohar> ah
<pontiki> read the first chapter of weiss's book FIRST. NOW. BEFORE YOU DO ANYTHING ELSE!!!!!!! :)
SouL_ has quit [Ping timeout: 246 seconds]
<pontiki> lol
<pontiki> after that, hmm..
<willharrison> haha, will do
<pontiki> not sure it matters *all* that much
<pontiki> you already have a background in programming
RegulationD has quit [Ping timeout: 252 seconds]
<willharrison> k cool
<pontiki> you probably already have a preferred learning style for new languages, syntax, idioms, etc
agrinb has quit [Ping timeout: 265 seconds]
veduardo has quit [Ping timeout: 245 seconds]
<willharrison> no preferred style really, I just like to read a lot of books before I really start using it
oddover_ has joined #ruby
<tmtwd> there is just one chapter in weiss book?
RegulationD has joined #ruby
oddover_ has left #ruby [#ruby]
<willharrison> tmtwd first chapter is free
<pontiki> yeah, i think the books we've mentioned, a few others, it's kind of like a big pile of yarn, you pick up thread and start pulling, and it will soon unravel
<tmtwd> willharrison: is the full book available to buy?
diranged has left #ruby [#ruby]
<pontiki> it is, but it's still beta
<pontiki> willharrison: another author i highly recommend is avdi grimm
doodlehaus has joined #ruby
<tmtwd> why is the book so good?
<pontiki> willharrison: i also highly recomment avdi's podcasts, RubyTapas
<willharrison> pontiki cool, I will have to add those to my phone
<pontiki> tmtwd: he's a great writer. the first chapter is an essential manifest on how to learn
Channel6 has joined #ruby
<willharrison> I'll also probably end up with a railscasts sub at some point
<pontiki> railscasts is great at $9 forever
<tmtwd> ok how do I get the first chapter?
Guest64 has joined #ruby
rbennacer has quit [Remote host closed the connection]
<pontiki> rubytapas is $9/month and so *well* worth it
<centrx> is it edible
<pontiki> avdi's put out almost 300 eps
<willharrison> crazy that's a lot of content
<pontiki> so edible
<pontiki> delicious
jimms has joined #ruby
<tmtwd> if you pay for ruby tapas, you get the back catalog?
RegulationD has quit [Ping timeout: 240 seconds]
<pontiki> yes
djbkd_ has joined #ruby
Ivision_ has joined #ruby
<pontiki> i built a scraper, if you have the creds
jimms has quit [Remote host closed the connection]
<pontiki> that really deserves an update one of these days
<willharrison> pontiki I like your use of underscores for a username lol, I also do that
Ivision has quit [Ping timeout: 255 seconds]
riotjones has joined #ruby
nahtnam has joined #ruby
<tejas-manohar> do you know what this could be caused by?
juanpablo__ has joined #ruby
rbennacer has joined #ruby
rubytor has quit [Ping timeout: 246 seconds]
Troy^ has joined #ruby
ismaelga has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
<pontiki> you say what caused it on the last line of that gist
SouL_ has joined #ruby
yxejamir has quit [Ping timeout: 250 seconds]
<tejas-manohar> pontiki: so i have to point $PATH to /home/tejas/.rvm/gems/ruby-2.2.0/bin ?
<tejas-manohar> specific ruby version
<jhass> apeiros_: sorry, was away for a few hours. diff of what?
<pontiki> no
<tejas-manohar> pontiki: then?
amacou has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 240 seconds]
tmtwd has quit [Ping timeout: 255 seconds]
juanpablo__ has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
tunaCanBruh has joined #ruby
thebastl has joined #ruby
ghostpl_ has joined #ruby
davidhq has joined #ruby
Troy^ has quit [Client Quit]
einarj has joined #ruby
<pontiki> you should export your path in .bashrc as `export PATH=$HOME/.rvm/bin:$PATH`, *then* source the rvm script
kiely is now known as kiely_elsewhere
jonr22 has joined #ruby
Matadoer has joined #ruby
speakingcode has joined #ruby
<pontiki> tejas-manohar: what is your current $PATH?
pontiki has quit [Quit: brb]
rbennacer has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
ghostpl_ has quit [Ping timeout: 255 seconds]
pontiki has joined #ruby
einarj has quit [Ping timeout: 246 seconds]
lolmaus has quit [Quit: Konversation terminated!]
fabrice31 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
j_mcnally has joined #ruby
MasterPiece has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
djbkd_ has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RandyT has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
rubytor has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
tmtwd has joined #ruby
turtil-kun has joined #ruby
jenrzzz has joined #ruby
Crazy_Atheist has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jenrzzz has quit [Ping timeout: 256 seconds]
<tejas-manohar> pontiki: /home/tejas/.rvm/gems/ruby-2.2.0/bin:/home/tejas/.rvm/gems/ruby-2.2.0@global/bin:/home/tejas/.rvm/rubies/ruby-2.2.0/bin:/home/tejas/.rvm/bin:/home/tejas/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
<tejas-manohar> pontiki: via echo $PATH
michael_mbp has quit [Excess Flood]
naftilos76 has joined #ruby
michael_mbp has joined #ruby
veduardo has joined #ruby
checkit has joined #ruby
davidhq has joined #ruby
fuhgeddaboudit has joined #ruby
rbennacer has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
gigetoo has joined #ruby
mjuszczak has joined #ruby
havenwood has joined #ruby
rbennacer has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
jelera has joined #ruby
phale has joined #ruby
<phale> is codecademy good for learning ruby
<shevy> the only real way to learn ruby is by writing ruby code
<phale> yeah but you dont expect me to just start with no syntax knowledge
agrinb has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nuck has joined #ruby
<art-solopov> phale: Is CodeAcademy the free one or not? I keep mistaking it for CodeSchool.
leafybasil has joined #ruby
<phale> art-solopov: yes its free
<art-solopov> phale: Ah, thanks. =) I think it's quite good for a beginner, albeit a little short.
<phale> alright, thanks
<phale> i know some C
<phale> so i should be able to grasp ruby quickly
chinmay_dd has joined #ruby
claw__ has quit [Ping timeout: 244 seconds]
claw___ has joined #ruby
<phale> "Learn to program in Ruby, a flexible language used to create sites like Codecademy."
<dorei> phale: object oriented paradigm is totally different from the C paradigm
<phale> dorei: i know
<phale> but who said im going to do OOP
<dorei> then why do you need ruby? :p
agrinb has quit [Ping timeout: 265 seconds]
<phale> because i can't learn c
<art-solopov> phale: Umm... Ruby is quite a lot OOP, I think.
<phale> okay then i'll use oop
<phale> keep in mind that i'm unable to learn C
<wasamasa> lol
<wasamasa> why are you unable to learn C?
<shevy> phale in ruby there is no way to avoid OOP. if you do "def foo", this becomes a private method on class Object if I recall correctly
<phale> to be honest, i don't know. I know how to use the language but there are things that I just can't do
<phale> WTF
phale has left #ruby [#ruby]
<wasamasa> ._.
<wasamasa> is that what they call a /WTFpart?
<shevy> :)
<shevy> he must have been spoiled by java OOP
<art-solopov> shevy: Show him JavaScript them, it'll refresh him. =P
Vivex_ has quit [Read error: Connection reset by peer]
despai has quit [Quit: This computer has gone to sleep]
ariestiyansyah has quit [Quit: Leaving]
ghr has quit [Ping timeout: 252 seconds]
monod has quit [Quit: Sto andando via]
Vivex has joined #ruby
RegulationD has joined #ruby
greenbagels has joined #ruby
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
<ponga> hi
<ponga> hi shevy
allcentury has joined #ruby
<centrx> HI
bklane has joined #ruby
<shevy> yo ponga
jlast has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
cocotton has joined #ruby
turtil-kun has quit [Ping timeout: 245 seconds]
Yzguy has joined #ruby
Takle has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
zachrab has joined #ruby
naftilos76 has quit [Remote host closed the connection]
DivineEntity has quit [Quit: leaving]
despai has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
Guest64 has joined #ruby
sent1nel_ has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
doodlehaus has joined #ruby
ghostpl_ has joined #ruby
nfk has joined #ruby
sent1nel has quit [Ping timeout: 246 seconds]
<apeiros> jhass: the rubocop conf
reinaldob has joined #ruby
CorySimmons has joined #ruby
<jhass> apeiros: you mean opposed to yours?
Rapier- has joined #ruby
<apeiros> yes, a diff comparing yours & mine
triple_b has joined #ruby
<jhass> mmh, not really, I went through all cops and made my own opinion about them, just stole some reasoning from you where we end up with the same settings sometimes ;)
sent1nel_ has quit [Ping timeout: 265 seconds]
<jhass> well, not all cops but most of them
ghostpl_ has quit [Ping timeout: 252 seconds]
<jhass> and then running it on some of my smaller code bases to find the remaining defaults I disagree with
CorySimmons has quit [Client Quit]
bklane has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phat4life has joined #ruby
sent1nel has joined #ruby
sent1nel has quit [Read error: Connection reset by peer]
Guest64 has joined #ruby
sent1nel has joined #ruby
juanpablo__ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lemur has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r> I never understood what you guys always discuss..
<arup_r> :(
cjim has joined #ruby
nfk has quit [Remote host closed the connection]
bklane has joined #ruby
nfk has joined #ruby
tobacco_joe has quit []
tunaCanBruh has joined #ruby
juanpablo__ has quit [Ping timeout: 264 seconds]
<arup_r> ohh
<arup_r> to hifi!!!!
nfk has quit [Client Quit]
jhwhite has joined #ruby
thebastl has quit [Quit: Leaving...]
bklane has quit [Ping timeout: 246 seconds]
<jhwhite> I'm working on Project Euler problem #80 and it wants to add the sum of some numbers 100 decimal places long. But Ruy keeps truncating. I tried BigDecimal but that puts it in scientific notation. Is there a way to get that number of places in Ruby?
nfk has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
alex88 has quit [Remote host closed the connection]
<jhass> that scientific notation is just another representation, it's still the very same number
<centrx> scientific notation is NOT science
<centrx> spread the word
<wasamasa> lol
<jhass> but I wanted to proclaim that programming is science :(
<art-solopov> jhass: It's not science, it's engineering. Which is damn close to science, but not quite.
<ponga> i dnt say its science
<apeiros> jhwhite: integers? or are you using floats?
<apeiros> is you use floats: wrong. use integers. and ruby doesn't truncate integers.
Nanuq has joined #ruby
<jhass> but my math prof always made fun of the engineers :(
<centrx> Putting theory into practice is low-class
<apeiros> oh, wait, decimal places… behind the decimal sign. ignore me :D
<ponga> well mathmaticians are true geniuses.. we gotta admit that
<oddmunds> jhwhite: i assume what you are after is a string representation that does not use scientific notation?
<centrx> ponga, Thank you, that's very kind
jheg has joined #ruby
<ponga> lol centrx are you one of the kind?
<jhwhite> oddmunds: sure. I have to do addition on the strings, but I can convert that to integers
<ponga> that was random
jonr22 has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<oddmunds> jhwhite: i think bigdecimal does what you want, though. apart from it using scientific notation. it will do proper arithmetic.
cocotton_ has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
Guest64 has joined #ruby
agrinb has joined #ruby
<jhwhite> oddmunds: thanks
cocotton has quit [Ping timeout: 250 seconds]
rdark has quit [Quit: leaving]
ddd has quit [Quit: leaving]
Mon_Ouie has joined #ruby
kerrick__ has joined #ruby
nfk has quit [Ping timeout: 264 seconds]
Jackneill has quit [Read error: Connection reset by peer]
rubytor has joined #ruby
jimbauds has quit [Quit: Connection closed for inactivity]
agrinb has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
mikecmpbll has joined #ruby
jp-znc has quit [Quit: ZNC - 1.7.0-git-20-048d118 - http://znc.in]
veduardo has quit [Ping timeout: 265 seconds]
reinaldob has quit [Remote host closed the connection]
gilmour has joined #ruby
RegulationD has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
cocotton_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
wookiehangover has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
red_horned_rihno has joined #ruby
jhwhite has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
m8tt8 has joined #ruby
red_horned_rihno has quit [Client Quit]
einarj has joined #ruby
motto has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 246 seconds]
fantazo has quit [Quit: Verlassend]
jenrzzz has quit [Ping timeout: 250 seconds]
systemd0wn has joined #ruby
wookiehangover has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
<shreknet> Hey ho, I need to rebuild the gem mysql2 because I updated the mysql from 5.5 to 5.6. How to do this with rvm?
einarj has quit [Ping timeout: 264 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
davidhq has quit [Client Quit]
davidhq has joined #ruby
davidhq has quit [Client Quit]
Advocation has joined #ruby
<jhass> shreknet: gem install mysql2 -v $version
alex88 has joined #ruby
<jhass> or maybe gem pristine actually rebuilds or has a flag for that
vozcelik has quit [Quit: Textual IRC Client: www.textualapp.com]
rhg135|zzz is now known as rhg135
fabrice31 has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
<shreknet> jhass: it is trying to install it to /usr/local/lib/ruby/gems/2.1.0 and not to ~/.rvm/gems/ruby-2.1.0/gems/
<jhass> then you didn't activate your rvm ruby
Soda has quit [Remote host closed the connection]
amundj has joined #ruby
Advocation has quit [Ping timeout: 265 seconds]
comma8 has quit [Max SendQ exceeded]
<shreknet> hmm. I changed the source, gimme a moment =) thanks so far!
comma8 has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
ninedragon is now known as BaDumTss
amundj has quit [Client Quit]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest15 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
despai has quit [Quit: This computer has gone to sleep]
cjim has quit [Quit: (null)]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olivier_bK has joined #ruby
hmsimha has joined #ruby
Ivision has joined #ruby
<shevy> dumdedum
ponga has quit [Quit: Leaving...]
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
jelera has quit [Quit: Leaving]
Ivision_ has quit [Ping timeout: 240 seconds]
livingstn has joined #ruby
zachrab has joined #ruby
SolarSailor has joined #ruby
dopie has quit [Remote host closed the connection]
Guest64 has joined #ruby
Takle has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
zachrab has quit [Ping timeout: 252 seconds]
mjuszczak has quit []
Musashi007 has joined #ruby
sigurding has joined #ruby
shum has joined #ruby
cocotton has joined #ruby
longfeet has joined #ruby
veduardo has joined #ruby
DogHackit has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
maknz has joined #ruby
BigRonnieRon has joined #ruby
Dopagod has quit [Quit: WeeChat 0.4.2]
swgillespie has joined #ruby
sevvie has joined #ruby
marr has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
Dopagod has joined #ruby
gr33n7007h has joined #ruby
m8tt8 has quit [Changing host]
m8tt8 has joined #ruby
m8tt8 is now known as m8
juanpablo__ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
sigurding has quit [Quit: sigurding]
jack_rabbit_ has joined #ruby
cjim has joined #ruby
lidaaa has joined #ruby
rupertbg1 has joined #ruby
kiely_elsewhere has quit [Read error: Connection reset by peer]
cocotton has quit [Remote host closed the connection]
rupertbg1 has left #ruby [#ruby]
Dwarf has quit [Ping timeout: 265 seconds]
teotwaki has quit [Ping timeout: 265 seconds]
skmp has quit [Ping timeout: 265 seconds]
djbender has quit [Ping timeout: 265 seconds]
bcavileer_ has quit [Ping timeout: 265 seconds]
charles81 has quit [Ping timeout: 265 seconds]
maZtah has quit [Ping timeout: 265 seconds]
pizzaops has quit [Ping timeout: 265 seconds]
hellschreiber has quit [Ping timeout: 265 seconds]
bjeanes_ has quit [Ping timeout: 265 seconds]
bluehavana has quit [Ping timeout: 265 seconds]
psmolen has quit [Ping timeout: 265 seconds]
amitchellbullard has quit [Ping timeout: 265 seconds]
troter___ has quit [Ping timeout: 265 seconds]
mroth has quit [Ping timeout: 265 seconds]
neektza has quit [Ping timeout: 265 seconds]
shelling__ has quit [Ping timeout: 265 seconds]
softinio has quit [Ping timeout: 265 seconds]
Guest85414______ has quit [Ping timeout: 265 seconds]
Miron has quit [Ping timeout: 265 seconds]
rupertbg1 has joined #ruby
tmoore has quit [Read error: Connection reset by peer]
electrical has quit [Read error: Connection reset by peer]
PhilK has quit [Read error: Connection reset by peer]
jxf has quit [Read error: Connection reset by peer]
holsee_ has quit [Read error: Connection reset by peer]
olleromo___ has quit [Read error: Connection reset by peer]
pusewicz has quit [Read error: Connection reset by peer]
ramblinpeck_ has quit [Write error: Connection reset by peer]
kiely has joined #ruby
rfv has quit [Read error: Connection reset by peer]
ELLIOTTCABLE has quit [Write error: Connection reset by peer]
mjc_ has quit [Read error: Connection reset by peer]
nahtnam has quit [Write error: Connection reset by peer]
ballPointPenguin has quit [Read error: Connection reset by peer]
KnownSyntax has quit [Read error: Connection reset by peer]
jeregrine has quit [Read error: Connection reset by peer]
zrl has quit [Read error: Connection reset by peer]
machty has quit [Read error: Connection reset by peer]
ggherdov has quit [Read error: Connection reset by peer]
Nightmare has quit [Ping timeout: 265 seconds]
EasyCo has quit [Ping timeout: 265 seconds]
tessi_zz has quit [Ping timeout: 265 seconds]
Ikri has quit [Quit: No Ping reply in 180 seconds.]
wookiehangover has quit [Ping timeout: 265 seconds]
Shidash has quit [Ping timeout: 265 seconds]
TDJACR has quit [Ping timeout: 265 seconds]
johnhamelink has quit [Ping timeout: 265 seconds]
Guest51795 has quit [Ping timeout: 265 seconds]
rupertbg has joined #ruby
BLuEGoD has quit [Quit: oh cruel destiny]
rupertbg1 has quit [Client Quit]
juanpablo__ has quit [Ping timeout: 245 seconds]
razieliyo has quit [Ping timeout: 264 seconds]
ghostpl_ has joined #ruby
crdpink2 has quit [Ping timeout: 265 seconds]
twohlix has quit [Ping timeout: 265 seconds]
mjmac_ has quit [Ping timeout: 265 seconds]
SegFaultAX has quit [Ping timeout: 265 seconds]
blackjid has quit [Ping timeout: 265 seconds]
LBRapid has quit [Ping timeout: 265 seconds]
Ridley5 has quit [Ping timeout: 265 seconds]
crdpink2 has joined #ruby
sfr^ has quit [Ping timeout: 265 seconds]
hoelzro_ has quit [Ping timeout: 265 seconds]
Inv1s1ble has quit [Ping timeout: 265 seconds]
vjt has quit [Ping timeout: 265 seconds]
epochwolf has quit [Ping timeout: 265 seconds]
kalz has quit [Ping timeout: 265 seconds]
unclouded has quit [Ping timeout: 265 seconds]
Hien_ has quit [Ping timeout: 265 seconds]
hoelzro has joined #ruby
ndrst_ has quit [Ping timeout: 265 seconds]
jaxxstorm has quit [Ping timeout: 265 seconds]
G has quit [Ping timeout: 265 seconds]
GGMethos has quit [Ping timeout: 265 seconds]
keksike has quit [Ping timeout: 265 seconds]
marcoamorales has quit [Ping timeout: 265 seconds]
Hien has joined #ruby
RoryHughes has quit [Ping timeout: 250 seconds]
G has joined #ruby
holsee_ has joined #ruby
charles81 has joined #ruby
Ikri has joined #ruby
djbender has joined #ruby
olleromo___ has joined #ruby
lordkryss has joined #ruby
crack has quit [Quit: Leaving]
rfv has joined #ruby
crack has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
tmoore has joined #ruby
zero7 has quit [Ping timeout: 250 seconds]
iamninja has quit [Read error: Connection reset by peer]
bluehavana has joined #ruby
skmp has joined #ruby
twohlix has joined #ruby
mattjbarlow has joined #ruby
sfr^ has joined #ruby
jaxxstorm has joined #ruby
keksike has joined #ruby
shum has quit [Client Quit]
oo_ has joined #ruby
epochwolf has joined #ruby
RoryHughes has joined #ruby
Nightmare has joined #ruby
BLuEGoD has joined #ruby
psmolen has joined #ruby
jeregrine has joined #ruby
shum has joined #ruby
unclouded has joined #ruby
johnhamelink has joined #ruby
maZtah has joined #ruby
jxf has joined #ruby
GGMethos has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
teotwaki has joined #ruby
bcavileer_ has joined #ruby
softinio has joined #ruby
ghr has joined #ruby
EasyCo has joined #ruby
marcoamorales has joined #ruby
neektza has joined #ruby
LBRapid has joined #ruby
zzz_Ridley has joined #ruby
ELLIOTTCABLE has joined #ruby
tessi_zz has joined #ruby
Shidash has joined #ruby
bklane has joined #ruby
Miron has joined #ruby
wookiehangover has joined #ruby
mjc_ has joined #ruby
ndrst_ has joined #ruby
SegFaultAX has joined #ruby
zzz_Ridley is now known as Ridley5
ghostpl_ has quit [Ping timeout: 264 seconds]
pusewicz has joined #ruby
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
pizzaops has joined #ruby
mjmac has joined #ruby
amitchellbullard has joined #ruby
bjeanes_ has joined #ruby
hellschreiber has joined #ruby
ramblinpeck_ has joined #ruby
troter___ has joined #ruby
ballPointPenguin has joined #ruby
Inv1s1ble has joined #ruby
KnownSyntax has joined #ruby
AdamMeghji_ has quit [Read error: Connection reset by peer]
CMAXW_ has quit [Ping timeout: 249 seconds]
zrl has joined #ruby
OrbitalKitten has joined #ruby
Dwarf has joined #ruby
JBreit has joined #ruby
kalz has joined #ruby
reinaldob has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
blackjid has joined #ruby
incomprehensibly has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
mroth has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
PhilK has joined #ruby
Ivision has quit [Ping timeout: 265 seconds]
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AdamMeghji_ has joined #ruby
incomprehensibly has joined #ruby
jack_rabbit_ has quit [Remote host closed the connection]
machty has joined #ruby
thesheff17 has joined #ruby
R1chK has quit [Ping timeout: 250 seconds]
alol__ has quit [Ping timeout: 250 seconds]
bestie has quit [Ping timeout: 250 seconds]
nolic has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 252 seconds]
TDJACR has joined #ruby
ggherdov has joined #ruby
bestie has joined #ruby
shelling__ has joined #ruby
electrical has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
zero7 has joined #ruby
R1chK has joined #ruby
alol__ has joined #ruby
reinaldob has quit [Ping timeout: 245 seconds]
CMAXW_ has joined #ruby
JBreit has left #ruby ["Leaving"]
hollywood has quit [Quit: Leaving]
Troy^ has joined #ruby
digifiv5e_ has quit [Changing host]
digifiv5e_ has joined #ruby
DadoCe has joined #ruby
digifiv5e_ is now known as digifiv5e
adambeynon has quit [Ping timeout: 250 seconds]
OliverTynes has quit [Ping timeout: 250 seconds]
whoojemaflip has quit [Ping timeout: 250 seconds]
zipkid has quit [Ping timeout: 250 seconds]
dmoe has quit [Ping timeout: 250 seconds]
olivier_bK has quit [Ping timeout: 252 seconds]
cbetta has quit [Ping timeout: 250 seconds]
Guest85414______ has joined #ruby
ckrailo__ has quit [Ping timeout: 250 seconds]
benlakey has quit [Ping timeout: 250 seconds]
OliverTynes has joined #ruby
adambeynon has joined #ruby
whoojemaflip has joined #ruby
zipkid has joined #ruby
cbetta has joined #ruby
djbender has quit [Ping timeout: 250 seconds]
benlakey has joined #ruby
djbender has joined #ruby
systemd0wn has quit [Read error: Connection reset by peer]
systemd0wn has joined #ruby
ckrailo__ has joined #ruby
dmoe has joined #ruby
DadoCe has quit [Ping timeout: 255 seconds]
Musashi007 has quit [Read error: Network is unreachable]
kaiZen has joined #ruby
Musashi007 has joined #ruby
bricker has joined #ruby
sigurding has joined #ruby
Guest15 has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
hanmac has quit [Ping timeout: 250 seconds]
hanmac has joined #ruby
crazydiamond has joined #ruby
sent1nel has quit [Ping timeout: 265 seconds]
sent1nel has joined #ruby
vjt has joined #ruby
einarj has joined #ruby
Deckon has joined #ruby
Guest15 has quit [Ping timeout: 250 seconds]
olivier_bK has joined #ruby
amacou has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
doodlehaus has quit [Remote host closed the connection]
The_Phoenix has quit [Read error: Connection reset by peer]
dh64 has quit [Quit: Konversation terminated!]
amacou has quit [Ping timeout: 252 seconds]
scripore has joined #ruby
cbetta has quit [Ping timeout: 250 seconds]
callenb___ has quit [Ping timeout: 250 seconds]
tunaCanBruh has joined #ruby
bestie has quit [Ping timeout: 250 seconds]
bestie has joined #ruby
doodlehaus has joined #ruby
luriv has joined #ruby
callenb___ has joined #ruby
Zai00 has joined #ruby
cbetta has joined #ruby
agrinb has joined #ruby
aapole has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kt2 has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
roolo has joined #ruby
jonr22 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
roolo has quit [Remote host closed the connection]
SumoBoy has joined #ruby
roolo has joined #ruby
scripore has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
willharrison has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
abyss has joined #ruby
iamninja has joined #ruby
rbennacer has joined #ruby
Channel6 has quit [Quit: Leaving]
pl1ght has quit [Ping timeout: 256 seconds]
Lewix has joined #ruby
Lewix has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
pl1ght has joined #ruby
sigurding has quit [Quit: sigurding]
monod has joined #ruby
michael_mbp has quit [Excess Flood]
SumoBoy has quit [Quit: Leaving]
michael_mbp has joined #ruby
RegulationD has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
amundj has joined #ruby
Joufflu has joined #ruby
amundj has quit [Client Quit]
tvw has joined #ruby
dh64 has joined #ruby
drkush has quit [Remote host closed the connection]
oo_ has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
drkush has joined #ruby
Troy^ has joined #ruby
cjim has quit [Quit: (null)]
ghr has joined #ruby
claw___ has quit [Ping timeout: 245 seconds]
QualityAddict has quit []
last_staff has quit [Quit: last_staff]
tvw has quit []
RegulationD has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
zachrab has joined #ruby
tejas-manohar has quit [Quit: Page closed]
ghr has quit [Ping timeout: 265 seconds]
mostlybadfly has joined #ruby
snath has left #ruby ["Leaving"]
fabrice31 has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
RegulationD has joined #ruby
zachrab has quit [Ping timeout: 245 seconds]
Synthead has joined #ruby
einarj_ has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
allcentury has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
Guest64 has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 246 seconds]
RandyT has joined #ruby
jottr_ has joined #ruby
blizzy is now known as _blizzy_
einarj has joined #ruby
Pumukel has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
einarj_ has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
rbennacer has quit [Remote host closed the connection]
Jinkins has joined #ruby
cjim has joined #ruby
Jinkins has quit [Read error: Connection reset by peer]
zorak8 has quit [Quit: Leaving]
loechel has joined #ruby
olivier_bK has joined #ruby
rbennacer has joined #ruby
einarj_ has joined #ruby
loechel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
rbennacer has quit [Remote host closed the connection]
loechel has joined #ruby
einarj has quit [Read error: Connection reset by peer]
mr_rich102 is now known as mr_rich101
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
loechel is now known as Pumukel
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel has quit [Remote host closed the connection]
despai has joined #ruby
Deckon has quit [Quit: Leaving]
despai has quit [Remote host closed the connection]
BaDumTss is now known as ninedragon
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
toretore has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
Pumukel has quit [Read error: Connection reset by peer]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
multi_io has joined #ruby
Pumukel has joined #ruby
max96at is now known as max96at|off
ismaelga has quit [Remote host closed the connection]
<multi_io> rbenv install downloads rubies from strange urls
<multi_io> that's ruby-2.2.0, supposedly
<multi_io> no https? really?
claw___ has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
einarj has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo__ has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
<aef> multi_io: i think rvm has done a lot in regards to download verification lately. maybe give it a try. can't say though if it uses https everywhere.
einarj_ has quit [Ping timeout: 250 seconds]
maknz has quit [Ping timeout: 264 seconds]
<havenwood> multi_io: Either ruby-install/chruby or RVM.
Channel6 has joined #ruby
mitchellhenke has joined #ruby
gr33n7007h has quit [Quit: WeeChat 0.3.8]
ghostpl_ has joined #ruby
Pumukel has quit [Ping timeout: 256 seconds]
aapole has quit [Ping timeout: 250 seconds]
gr33n7007h has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
MasterPiece has quit [Quit: Bye!]
olivier_bK has quit [Ping timeout: 252 seconds]
<havenwood> multi_io: ^ Those options have gpg-signed install scripts, use https and validate checksums.
febuiles has joined #ruby
michael_mbp has quit [Excess Flood]
<havenwood> multi_io: Just an aside, but ruby-install actually validates MD5, SHA1, SHA256 and SHA512 checksums--all four.
ghostpl_ has quit [Ping timeout: 252 seconds]
michael_mbp has joined #ruby
workmad3 has joined #ruby
<havenwood> So even if you manage to create a collision for one...
Hijiri has quit [Ping timeout: 252 seconds]
leat has quit [Ping timeout: 240 seconds]
despai has joined #ruby
jbeeze has joined #ruby
swgillespie has quit [Quit: Textual IRC Client: www.textualapp.com]
despai has quit [Client Quit]
sent1nel has joined #ruby
Hijiri has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
apeiros__ has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
nfk has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
sevvie has quit [Ping timeout: 250 seconds]
longfeet has quit [Ping timeout: 255 seconds]
Majost has joined #ruby
sevvie has joined #ruby
Synthead has quit [Ping timeout: 252 seconds]
<Majost> Is it acceptable to make an empty class for namespacing subclasses?
scripore has joined #ruby
yfeldblum has joined #ruby
<art-solopov> Majost: What do you mean by "Namespacing subclasses"?
cjim has quit [Quit: (null)]
ghr has joined #ruby
<Majost> What I mean is, I want to have a main class which for now does nothing, and create classes which extend the main class
<havenwood> Majost: Use a module when you're not instanciating. For example: https://github.com/lotus/lotus/blob/master/lib/lotus.rb#L11-L12
<havenwood> Majost: Oh, I may have misunderstood your question.
<havenwood> Majost: `extend` is a term of art :P
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Pumukel has joined #ruby
decoponyo has joined #ruby
<havenwood> Majost: If your question is just how to namespace then a Module.
plashchynski has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
decoponio has quit [Ping timeout: 255 seconds]
plutonic has joined #ruby
einarj_ has joined #ruby
aswen has joined #ruby
serivichi has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 252 seconds]
Musashi007 has quit [Quit: Musashi007]
Takle has joined #ruby
<havenwood> Majost: Or tell us more about what you're wanting to do if there's more to it.
Guest64 has joined #ruby
einarj has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
einarj_ has quit [Read error: Connection reset by peer]
<havenwood> Majost: Some examples if it's the simple namespacing you're wanting: http://rubymonk.com/learning/books/1-ruby-primer/chapters/35-modules/lessons/80-modules-as-namespaces
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
kaiZen has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kaiZen has joined #ruby
Takle has quit [Ping timeout: 250 seconds]
<Majost> havenwood, sure -- So I am working on a "heavy-weight" resouce for Chef.
<Majost> This is what I have right now
SouL_ has quit [Ping timeout: 264 seconds]
bMalum has quit [Quit: bMalum]
<Majost> So there are some additional things I want to add to the resouces/providers -- but I want to have it something like Resource::Ros::Catkin::Workspace and Resource::Ros::Catkin::Package
Takle has joined #ruby
<Majost> The issue is, for the moment -- I don't know what Catkin will do
Blaze_Boy has joined #ruby
<Majost> but I do know what the other resources will do
Synthead has joined #ruby
<Majost> So maybe a module is in order here -- but I have just enough ruby knowledge to confuse myself and others. hehe
tunaCanBruh has joined #ruby
<havenwood> Majost: Catkin, hmm. Maybe it has something to do with a cat's family?
<Majost> heh
<havenwood> Majost: Yeah, sounds like a module. :)
<Majost> for the application I am using, its actually a depsolver of sorts -- so you are pretty much correct
bricker_ has joined #ruby
bricker_ has quit [Client Quit]
<havenwood> Majost: A class is a module plus extra class stuff, so when you don't need the class stuff always use a module.
sent1nel_ has joined #ruby
CorySimmons has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
alex88 has quit []
icharlie has joined #ruby
sent1nel has quit [Ping timeout: 252 seconds]
Takle has quit [Read error: Connection reset by peer]
<Blaze_Boy> sup guys
<havenwood> Blaze_Boy: hi
Takle has joined #ruby
tunaCanBruh has quit [Ping timeout: 256 seconds]
scripore has quit [Read error: Connection reset by peer]
febuiles has quit [Quit: febuiles]
rbennacer has joined #ruby
bMalum has joined #ruby
<multi_io> havenwood: alright, thanks
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> multi_io: no prob, there're #rvm and #chruby channels if you opt to switch to one of those and have any questions :)
Rodya_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
einarj has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
plashchynski has quit [Ping timeout: 244 seconds]
<havenwood> multi_io: you can also use ruby-install with rbenv if you want to
rbennacer has quit [Ping timeout: 252 seconds]
plashchynski has joined #ruby
despai has joined #ruby
sent1nel has joined #ruby
nolic has joined #ruby
aapole has joined #ruby
Joufflu has quit [Read error: Network is unreachable]
pontiki has quit [Read error: Network is unreachable]
pontiki has joined #ruby
Joufflu has joined #ruby
sent1nel_ has quit [Ping timeout: 252 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
fuhgeddaboudit has joined #ruby
gr33n7007h has quit [Ping timeout: 245 seconds]
doodlehaus has quit [Remote host closed the connection]
ismaelga has joined #ruby
kalusn has joined #ruby
Troy^ has joined #ruby
ismaelga has quit [Ping timeout: 246 seconds]
sent1nel_ has joined #ruby
Troy^ has quit [Client Quit]
m8 has quit [Quit: Sto andando via]
sent1nel has quit [Ping timeout: 264 seconds]
jottr_ has joined #ruby
kirun has quit [Quit: Client exiting]
jenrzzz has joined #ruby
riotjones has joined #ruby
Rodya_ has joined #ruby
olivier_bK has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
agrinb has quit [Read error: Connection reset by peer]
Troy^ has joined #ruby
agrinb has joined #ruby
zachrab has joined #ruby
Musashi007 has joined #ruby
Troy^ has quit [Client Quit]
Musashi007 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 244 seconds]
serivichi has quit [Ping timeout: 255 seconds]
riotjones has quit [Ping timeout: 264 seconds]
lidaaa has quit [Ping timeout: 252 seconds]
serivich has joined #ruby
gr33n7007h has joined #ruby
FiveAcres has joined #ruby
Musashi007 has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
esgl has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
rbennacer has joined #ruby
nfk has quit [Quit: yawn]
iamjarvo has joined #ruby
RegulationD has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
Guest64 has joined #ruby
<phat4life> why is there no peak method for queus
<phat4life> i really need a peak method on the Thread::Queue class
sent1nel has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
<phat4life> is there a thread safe way to implement a peek function for ruby queues?
lkba has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
jonr22 has joined #ruby
willharrison has joined #ruby
ghr has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
sent1nel_ has quit [Ping timeout: 240 seconds]
Guest123 has joined #ruby
lkba_ has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
Lewix has quit [Remote host closed the connection]
DadoCe has joined #ruby
FooMunki has joined #ruby
rbennacer has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 246 seconds]
<phat4life> god damn there is so many people in here, why no one answer
mroach has joined #ruby
<jhass> phat4life: mmh, implementing a queue on your own is not too hard
Zai00 has quit [Quit: Zai00]
<jhass> you need a mutex and a condition variable
devoldmx has joined #ruby
<jhass> so the Monitor mixin comes in handy
aapole has quit [Ping timeout: 255 seconds]
<phat4life> it just seems a bit odd there is no peak method on the core ruby queue class
<jhass> mh, yeah
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
bklane has quit [Remote host closed the connection]
nfk has joined #ruby
Guest64 has joined #ruby
RegulationD has joined #ruby
Rhainur has joined #ruby
Coding_D_ has joined #ruby
sent1nel has quit [Remote host closed the connection]
bklane has joined #ruby
Rhainur1 has quit [Ping timeout: 252 seconds]
kalusn has quit [Remote host closed the connection]
<apeiros__> phat4life: just make sure you name it peek, not peak ;-p
OrbitalKitten has quit [Read error: Connection reset by peer]
<apeiros__> you can copy active record's queue class, and add a peek method
RegulationD has quit [Ping timeout: 252 seconds]
OrbitalKitten has joined #ruby
<havenwood> >> class Queue; def peak; puts "/^\\" end end; Queue.new.peak
<eval-in> havenwood => /^\ ... (https://eval.in/292024)
checkit has quit [Quit: (null)]
Coding_D_ has quit [Client Quit]
bklane has quit [Remote host closed the connection]
Coding_Deva has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
<Radar> "why no one answer" <- It's better to let people think you're an idiot than to open your mouth and remove all doubt.
bklane has joined #ruby
codecop has quit [Remote host closed the connection]
esgl has quit [Quit: ZZZzzz…]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rubytor has quit [Ping timeout: 244 seconds]
willharrison has quit [Remote host closed the connection]
lemur has joined #ruby
sent-hil has joined #ruby
doodlehaus has joined #ruby
mikecmpbll has quit [Quit: ciao.]
wicope has quit [Read error: Connection reset by peer]
longfeet has joined #ruby
elaptics is now known as elaptics_away
Takle has quit [Remote host closed the connection]
Axy has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
Mia has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
Coding_Deva has quit [Ping timeout: 252 seconds]
Rapier- has quit [Quit: (null)]
Channel6 has quit [Quit: Leaving]
Takle has joined #ruby
ghostpl_ has joined #ruby
Deithrian_ has quit [Read error: Connection reset by peer]
juanpablo__ has quit [Ping timeout: 246 seconds]
Coding_Deva has joined #ruby
Aswebb_ has joined #ruby
v0n has quit [Ping timeout: 265 seconds]
Aswebb_ has quit [Remote host closed the connection]
ismaelga has joined #ruby
ghostpl_ has quit [Ping timeout: 245 seconds]
art-solopov has quit [Quit: Konversation terminated!]
weems|mac has joined #ruby
mikepack has joined #ruby
bw_ has joined #ruby
freerobby has joined #ruby
ismaelga has quit [Ping timeout: 240 seconds]
rubytor has joined #ruby
arescorpio has joined #ruby
oleo is now known as Guest58568
oleo__ has joined #ruby
bklane has quit [Remote host closed the connection]
monod has quit [Quit: byeeeee]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
bklane has joined #ruby
michael_mbp has quit [Excess Flood]
Guest58568 has quit [Ping timeout: 264 seconds]
Synthead has quit [Read error: Connection reset by peer]
olivier_bK has quit [Ping timeout: 252 seconds]
michael_mbp has joined #ruby
hiyosi has joined #ruby
charliesome has joined #ruby
Coding_Deva has quit [Quit: Textual IRC Client: www.textualapp.com]
tier has joined #ruby
x1337807x has joined #ruby
zachrab has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
Coding_Deva has joined #ruby
Lingo___ has joined #ruby
nfk has quit [Quit: yawn]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Coding_Deva is now known as ruthearle
Rollabunna has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 244 seconds]
Rollabunna has joined #ruby
doodlehaus has quit [Remote host closed the connection]
vasilakisfil has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
Lingo___ has quit [Quit: (null)]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
Blaze_Boy has quit [Quit: Leaving.]
v0n has joined #ruby
plashchynski has joined #ruby
Majost has quit [Read error: Connection reset by peer]