ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<EasyCo>
heftig, I see
fgo has joined #ruby
Mars__ has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
RustyShackleford has joined #ruby
<RustyShackleford>
is there a way to populate a list with all the same values
<shevy>
RustyShackleford what is a list
<RustyShackleford>
er, they're called arrays in ruby, right?
<shevy>
yeah
<RustyShackleford>
my bad
<heftig>
RustyShackleford: Array.new(length) { value }
<RustyShackleford>
anyway, lets say I an array with 1000 trues
manzo has quit [Ping timeout: 255 seconds]
Mars__ has quit [Remote host closed the connection]
<heftig>
RustyShackleford: or Array.new(length, value) for immediates like true or 3
<shevy>
Array.new(1000, true)
thumpba has joined #ruby
Mars__ has joined #ruby
<heftig>
[true] * 1000 works too
<RustyShackleford>
do arrays behave like lists in python? You can keep appending new values without having to create a new, bigger array?
<heftig>
yes
ptrrr has quit [Quit: ptrrr]
sepp2k1 has joined #ruby
nanoyak has joined #ruby
wallerdev has quit [Quit: wallerdev]
fabrice31 has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
gattie has quit [Quit: Leaving...]
britneywright has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sparrovv has joined #ruby
ckrailo has joined #ruby
<ckrailo>
can anybody think of why you *wouldnt* want to run strip on every value in the params hash that responds to it?
rockdon|away is now known as rockdon_
sfix has quit [Ping timeout: 246 seconds]
<ckrailo>
(rails q)
<benzrf>
ckrailo: if youre not a hack
<benzrf>
^brain vomit pls ignore
thumpba has quit [Ping timeout: 245 seconds]
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has quit [Ping timeout: 276 seconds]
Mars__ has quit [Ping timeout: 272 seconds]
<ckrailo>
it's either that or explicitly add stripping to like a third of the rails app's params :\
<shevy>
perhaps when you have significant ' 's
<eam>
I feel like the answer is too obvious: don't do it if you have significant leading or trailing whitespace
fabrice31 has quit [Ping timeout: 252 seconds]
lemur has joined #ruby
<shevy>
RustyShackleford the simplest way is to invoke the << method on the array object, to append. it works on strings too, you can happily do << ... just like in C++ as well
tylerkern has quit [Quit: Connection closed for inactivity]
mikepack has joined #ruby
charliesome has quit [Quit: zzz]
bthesorceror has joined #ruby
<eam>
ckrailo: might I suggest stripped_params = %w{all your params which want stripping}
<eam>
and simply loop over the limited set?
<pipework>
I loooove stripping!
<EasyCo>
What a coincidence, so do I!
<eam>
with parameters I hope
sparrovv has quit [Ping timeout: 240 seconds]
blackoperat has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackoperat has quit [Client Quit]
saarinen has quit [Quit: saarinen]
<ckrailo>
eam: that's the other option, yeah. the app doesnt have any user inputs yet that need significant whitespace before/after that i know of. just wanted to see if there were other cases i wasn't thinking of.
<eam>
that are used by your app today, or potentially in the future?
slester has quit [Remote host closed the connection]
Waheedi has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
<Phrogz_>
Someone recently posted an idiom that was far more elegant than File.join( File.dirname(__FILE__), foo ); anyone have any idea what it might have been?
wallerdev has joined #ruby
Soda has quit [Remote host closed the connection]
<soahccc>
Phrogz_, it wasn't this, was it? File.expand_path("../..", __FILE__)
echevemaster has quit [Remote host closed the connection]
<Phrogz_>
No, but it definitely did use expand_path, thanks :)
<soahccc>
I'm currently using `tar` but would like to try to make it windows compatible (I know). I tried to use the archive gem but I get an error which also makes me believe that it won't work on windows... any ideas? archive-0.0.6/lib/archive/compress.rb:96:in `block in compress_files': Error while calling stat(): No such file or directory (RuntimeError)
sevvie has quit [Ping timeout: 255 seconds]
gondalier has quit []
orolo has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Andriamanitra has quit [Ping timeout: 268 seconds]
mikeric has quit []
fold has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
Andriamanitra has joined #ruby
fgo has joined #ruby
atomi has joined #ruby
jottr has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
Soliah has quit [Quit: Soliah]
<atomi>
in an erb ruby is failing on the underscore "<%= myvar %>_access.log"
arup_r has quit [Quit: Leaving.]
<atomi>
how would I rewrite that?
__main__ has joined #ruby
Lewix has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<Phrogz_>
atomi: That is fine Erb syntax.
<Phrogz_>
You have another mistake somewhere.
Phrogz_ is now known as Phrogz
bricker`LA has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 268 seconds]
sdegutis has joined #ruby
<sdegutis>
What do you think of when you hear about an app called "Minion"?
rezzack has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 260 seconds]
<AlexRussia>
atomi: man, where did you define 'mywar'?
diegoviola has quit [Quit: WeeChat 1.0]
britneywright has joined #ruby
<AlexRussia>
atomi: just as i know all variables which you use into erb and which defined outside of that, should be object variable(@mywar), else them just nil
<sevenseacat>
sdegutis: sounds like an elder scrolls online add-on manager. >_>
<sdegutis>
:(
<atomi>
AlexRussia: it's not nil
brandonshowers has joined #ruby
brandonshowers has quit [Max SendQ exceeded]
bruno- has joined #ruby
<AlexRussia>
atomi: so, whats you do and what you get?
<atomi>
AlexRussia: yeah it is nil haha
<AlexRussia>
lol
<AlexRussia>
atomi: 'mywar' are defined in method where you call erb, yeah?
<sdegutis>
is the name Delegate.app a horrible, horrible idea?
<atomi>
AlexRussia: yeah, myvar is from a .each call but it was outside of the block
chipotle has joined #ruby
<AlexRussia>
sdegutis: idk OS X standards about names :D
<AlexRussia>
atomi: so, just make it variable of object
<AlexRussia>
atomi: @mywar
zettam has quit [Read error: Connection reset by peer]
<Phrogz>
sdegutis: If you care about people finding and understanding it…yeah, prolly.
<AlexRussia>
atomi: because local variable too much local.Its not seen even in erb :D
<Phrogz>
AlexRussia: You can supply a binding to Erb where it gets local variables from.
gr33n7007h has quit [Remote host closed the connection]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
anarang has joined #ruby
oo_ has quit [Remote host closed the connection]
Waheedi has quit [Quit: Waheedi]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
_cake has quit [Read error: Connection reset by peer]
Waheedi has joined #ruby
stef_204 has joined #ruby
charliesome has joined #ruby
Waheedi has quit [Client Quit]
Waheedi has joined #ruby
<lxsameer>
is it ok to use 'require_relative' ? is there any pitfall ?
charliesome has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby
ndrei has joined #ruby
<tobiasvl>
lxsameer: the only pitfall I can think of is that it's not supported in 1.8
Waheedi has quit [Client Quit]
<lxsameer>
tobiasvl: that's ok , thanks
sparrovv has quit [Remote host closed the connection]
Px12 has joined #ruby
bmoyles0117 has quit [Ping timeout: 240 seconds]
BlkDynmt has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
reset has quit [Quit: Leaving...]
Takle has quit [Remote host closed the connection]
luckyrub_ has joined #ruby
luckyruby has quit [Ping timeout: 264 seconds]
Px12 has quit [Remote host closed the connection]
bmoyles0117 has joined #ruby
<shevy>
lxsameer it is not needed
AxonetBE has joined #ruby
<AxonetBE>
somebody has good cms for 1 page websites with contact form?
Ghis_ has joined #ruby
<lxsameer>
shevy: why ?
<sevenseacat>
you need a cms for that?
<AxonetBE>
sevenseacat: not really it can also be a static html page but we need the contact form
<AxonetBE>
what should I use?
<shevy>
lxsameer reason is that for a standard ruby project layout, with lib/name_of_project/ and lib/name_of_project.rb, ruby will already look in the SITE_DIR path when loading the projects, so you only have to do: require 'name_of_project' and that .rb file gets loaded and can load subsequently the other files of the project with plain require() alone
<tobiasvl>
AxonetBE: html maybe?
<sevenseacat>
html is good.
GriffinHeart has quit [Remote host closed the connection]
<wasamasa>
html is the best cms
dc__ has quit [Remote host closed the connection]
saarinen has joined #ruby
<AxonetBE>
tobiasvl: sevenseacat: ok but we are web company and static html looks weird then no? :)
<AxonetBE>
so you would go just for html?
<wasamasa>
AxonetBE: just insert an e-mail link
<tobiasvl>
AxonetBE: if you are a web company, shouldn't you be able to make a decision on what to use?
<lxsameer>
shevy: ah, I'm using it inside a gem which my paths gets really long
saarinen has quit [Client Quit]
<sevenseacat>
what tobiasvl said
<wasamasa>
AxonetBE: problem solved
<tobiasvl>
who are we to tell a web company what to do about your website? we're ruby programmers
<wasamasa>
s/ruby programmers/hipsters/
W0rmDr1nk has joined #ruby
Takle has joined #ruby
<tobiasvl>
I'm not a hipster, I don't do web stuff
W0rmDr1nk has quit [Changing host]
W0rmDr1nk has joined #ruby
<AxonetBE>
always nice to have 2nd opinions :)
* sevenseacat
does lots of web stuff
<Mon_Ouie>
tobiasvl: That's what makes you a hipster!
* wasamasa
does stuff involving the web
<wasamasa>
I'm still sad there's no one http gem to rule them all
blackmesa has joined #ruby
<tobiasvl>
Mon_Ouie: oh! okay! but I don't do app development either, isn't that what's hip nowadays?
<tobiasvl>
I dunno, man.
<sevenseacat>
swift dev is where the hipsters are at, isnt it
rezzack has joined #ruby
<tobiasvl>
yeah
<tobiasvl>
writing swift in atom
<sevenseacat>
hah
LangeOortjes has quit [Remote host closed the connection]
<tobiasvl>
on their macbooks
einarj has joined #ruby
<wasamasa>
typhoeus might be it
* sevenseacat
knows several people who do just that
<Sp4rKy>
2014-09-12 08:37:22.384+0000: 2794: error : virNetSocketReadWire:999 : End of file while reading data: Input/output error
<Sp4rKy>
2014-09-12 08:37:22.384+0000: 2794: error : virNetSocketReadWire:999 : End of file while reading data: Input/output error
<Sp4rKy>
sry
clocKwize has quit [Disconnected by services]
<Sp4rKy>
oups ...
BlkDynmt has quit [Quit: BlkDynmt]
clocKwize has joined #ruby
clocKwize has quit [Disconnected by services]
clocKwize_ has joined #ruby
oponder has joined #ruby
ff_ has quit [Ping timeout: 276 seconds]
mikeric has quit []
<oponder>
Hey guys, i'm trying to package up a project into a One Click Ruby Application (OCRA). Basically a self extracting zip file that includes your script, a ruby runtime, and any gems/libraries youre using. And its working awesome.
wpp has quit []
<oponder>
except for the mysql2 gem which has a C Extension (mysql2.so)
<sevenseacat>
that sound like a ngithmare
<sevenseacat>
nightmare even
<oponder>
yeah...
<oponder>
anyone ever played around with this stuff... or like.. compiling extensions at runtime?
<sevenseacat>
seriously, how big are the zips it generates?
<oponder>
6mb
<sevenseacat>
no way
<oponder>
wayway
<oponder>
its doable, and it even has an installer, if you wanna avoid unpacking it each time
sigurding has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 260 seconds]
orolo has quit [Quit: This computer has gone to sleep]
paolooo has joined #ruby
Beoran has quit [Ping timeout: 240 seconds]
mskaesz has joined #ruby
mkaesz has quit [Read error: No route to host]
abuzze has quit [Ping timeout: 268 seconds]
sevenseacat has quit [Remote host closed the connection]
sigurding has joined #ruby
emocakes has joined #ruby
charliesome has joined #ruby
bruno- has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
orolo has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jimmyhoughjr has joined #ruby
axsuul_ has quit [Ping timeout: 255 seconds]
emocakes has quit [Client Quit]
AlexRussia has joined #ruby
oo_ has joined #ruby
workmad3 has joined #ruby
timgauthier has joined #ruby
timgauthier has quit [Max SendQ exceeded]
Guest73511 has joined #ruby
lkba has joined #ruby
charliesome has quit [Quit: zzz]
<pontiki>
one does have to wonder why one would ship mysql in a stand-alone application
<Guest73511>
some body know any good web crawler/scraper library in ruby
<pontiki>
mechanize
qualiabyte has quit [Quit: Leaving]
<Guest73511>
mechanize crashes when there are too many http request
Beoran has joined #ruby
<Guest73511>
in short period of time
<Guest73511>
i had to mankey patch it to make it work
<workmad3>
Guest73511: what is 'too many' in this case?
<Guest73511>
10000 in 1 hour
<Guest73511>
it has something to do with mechanize not being able to close connections properly
<workmad3>
ah, so it's really a resource leak... cos that's under 3 connections a second
<workmad3>
and if it's a resource leak, it wouldn't really matter how long it took, I suspect
oo_ has quit [Ping timeout: 276 seconds]
<Guest73511>
workmad3: yup, i found a monkey patch that works but i am looking for something better
Takle has joined #ruby
mskaesz has quit [Ping timeout: 255 seconds]
<shevy>
I found a monkey
<shevy>
I will patch him soon
<rdark>
Guest73511: there's cobweb, but it's a bit big to be considered a library
<rdark>
in that it needs resque and other things
<shevy>
oponder in principle a .gem is just an archive like a zip. all you have to do is put up the binaries into that archive. you do know how to create a .gem file right?
axsuul has joined #ruby
<atmosx>
where is tenderlove when you need it?
<Guest73511>
rdark: i will check out cobweb thanks
<atmosx>
shevy: WHERE? haha
<workmad3>
shevy: it has some metadata requirements too :)
<shevy>
and if you put that class into a module, it will still work fine
AlexRussia has joined #ruby
blueOxigen has joined #ruby
JBreit has joined #ruby
bluOxigen has quit [Ping timeout: 268 seconds]
<_lazarevsky_>
shevy: a small detail I overlookedf
<_lazarevsky_>
the class extends another class
<_lazarevsky_>
which defines that method
<_lazarevsky_>
whew.. that makes more sense.. wtf
<_lazarevsky_>
:)
<soahccc>
Are question about ruby on windows via ruby installer allowed? SSL does not work and I can't find a way to work around it :/
<_lazarevsky_>
thanks and sorry for getting on your nerve
JBreit has left #ruby [#ruby]
<_lazarevsky_>
the class it extends is THro
<_lazarevsky_>
Thor rather
<pontiki>
soahccc: they're allowed, but sadly hardly anyone uses it, so it might not garner an answer
otherj has joined #ruby
AlexRussia has quit [Ping timeout: 260 seconds]
<shevy>
problem is many people here don't use windows
timgauthier is now known as timgauthier_isaw
<shevy>
I abandoned it for linux years ago
otherj has quit [Client Quit]
<soahccc>
pontiki, I'm usually not using ruby on windows as well and it's really a pain to work with the CMD :D But I guess the SSL thing is implementation based. Maybe I could somehow hack out the SSL verification for my process but I couldn't figure it out yet
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wasamasa>
just reimplement ssl in pure ruby
<wasamasa>
what could possibly go wrong
* wasamasa
glances at shevy
karupa is now known as zz_karupa
<pontiki>
when i've been forced into the windows world, i've always installed cygwin, so i'm not even able to draw on that experience to help out
<soahccc>
"fileutils.rb:349:in `symlink': symlink() function is unimplemented" okay, fuck it... I thought NTFS can do symlink it's just not in the GUI :/
BlkDynmt has joined #ruby
avita1 has quit [Quit: Leaving.]
<AlexRussia>
soahccc: probability is it
<AlexRussia>
soahccc: but you could found implementation in C and realize this function into ruby
Rollabunna has quit [Remote host closed the connection]
<crome>
uh
<crome>
beurtiful
<wasamasa>
purtiful
<crome>
soahccc: you might as well use shellescape for the filenames if you go this way
<crome>
(which is also not bulletproof)
<soahccc>
yeah I don't care about escaping here
noop has quit [Ping timeout: 255 seconds]
noop has joined #ruby
<crome>
just an idea, I would write a wrapper for CreateSymbolicLink in kernel32.dll
krisquigley has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
<crome>
calling cmd is just, uh
orolo has quit [Quit: This computer has gone to sleep]
bricker`LA has quit [Ping timeout: 240 seconds]
siwica has quit [Remote host closed the connection]
ceigel has quit [Quit: Connection closed for inactivity]
mikeric has quit []
timgauthier has joined #ruby
dANO has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
dANO is now known as dano-e-
orolo has joined #ruby
timonv_ has joined #ruby
<shevy>
wasamasa hey why would I want to implement ssl in ruby
<wasamasa>
shevy: you talked about implementing an operating system and everything involved in it in ruby
kaspertidemann has joined #ruby
<shevy>
oh that
<pontiki>
arup_r: you could have summing_values check if res is empty
<shevy>
I wouldn't implement ssl
<shevy>
it's a pile of utter crap
<wasamasa>
why not?
<shevy>
look at it man
GinoMan has joined #ruby
<wasamasa>
no, the implementations are
<shevy>
did you know that there even is a ssl3.so ?
<shevy>
ftp://ftp.openssl.org/source/openssl-1.0.1i.tar.gz is a collection of shit
<arup_r>
pontiki: didn't get you..
<wasamasa>
^ a shitty implementation
<shevy>
they don't even use GNU autoconfigure but have their own configure script that must be invoked via ./config and has both some -- options and some - or no - options
<pontiki>
arup_r: i'd extract the months calculation into a separate method
<hendricius>
the problem is that the http library freezes and gets stuck
siwica has joined #ruby
<arup_r>
pontiki: could you please add in the updated Gist ?
<siwica>
When making the call "abc = FooModule::FooClass(parameters)". Is that equivalent to calling "FooModule::FooClass.new(parameters)"?
<pontiki>
no
<pontiki>
jesus
<pontiki>
do your own work
otherj has quit []
<siwica>
*calling "abc = ..."
<arup_r>
pontiki: months = (start_date.to_date..end_date.to_date).map{ |m| m.strftime('%Y%m') }.uniq.map{ |m| "#{Date::MONTHNAMES[ Date.strptime(m, '%Y%m').month ]}, #{Date.strptime(m, '%Y%m').year}" }.uniq I did too many repetation.. I feel too
<siwica>
pontiki: you mean me?
<pontiki>
no, i meant arup_r
<arup_r>
siwica: no it was to me...
<arup_r>
:-(
w1xz has joined #ruby
<Hanmac>
siwica: "FooClass()" is not even near equal to "FooClass.new()" ... and "FooClass.()" is even more different too
<pontiki>
arup_r: if your start and end dates are billions of years apart, i doubt you'd even notice a change in performance
<arup_r>
humm
<pontiki>
arup_r: extracting that calculation into it's own method means you can memoize it if needs be
dideler_ has joined #ruby
claw_ has quit [Ping timeout: 246 seconds]
claw_ has joined #ruby
<siwica>
Hanmac: that's what I thought. But which method does "FooClass()" call?
bluenemo has joined #ruby
<Hanmac>
no one ... it does missing to it calls "method_missing"
sparrovv has joined #ruby
<Hanmac>
but if you are interested "FooClass.()" is a special short form for "FooClass.call()"
<siwica>
Hanmac: In my case I am trying to figure out what "doc = Nokogiri::XML(file)" is doing
<Hanmac>
XML() is a method defined as singleton method at the module Nokogiri
toretore has joined #ruby
<pontiki>
isn't it neat when you use real names?
<pontiki>
you get useful answers
<siwica>
Hanmac: ah ok. So you can define module methods?
timonv_ has quit [Remote host closed the connection]
<Hanmac>
yeah, why not?
shevy has joined #ruby
<siwica>
Hanmac: I thought a module is just something to give a bunch of classes a shared namespace
AlexRussia has quit [Ping timeout: 245 seconds]
ixti has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ruby
sparrovv has quit [Ping timeout: 264 seconds]
GinoMan has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
narph has joined #ruby
Advocation has quit [Quit: Advocation]
<siwica>
Hanmac: So how do I know XML() is a singleton method?
<Hanmac>
its eigher in that case a singleton method or a method defined with module function ... in both cases ... it does to care because the result is the same
ixti has joined #ruby
<pontiki>
to learn how something is implemented, you could just read the code
bonhoeffer has joined #ruby
<shevy>
siwica you can use a class for a shared namespace as well
terlar has joined #ruby
<shevy>
>> class Foo; class Bar; end; end; Foo::Bar.new
<siwica>
tobiasvl: I don't know?! I want an object in my project that stores data for me. And there should only be one of that object.
sk87 has joined #ruby
<siwica>
Hanmac: Is that something that just got added to ruby recently?
<Hanmac>
hm no that should be very old
<canton7>
that's been around for yonks
<tobiasvl>
siwica: okay, your questions sounded like you had it on the tip of your tongue. if you're specifically looking to do it syntactically, class << self. if not, use the module Hanmac linked to
zettam has quit [Ping timeout: 252 seconds]
<siwica>
Ok, I will take a look at it
threesixes has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
patrick99e99 has joined #ruby
freerobby has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
tobago has quit [Quit: Verlassend]
iiylll has quit [Ping timeout: 276 seconds]
tobago has joined #ruby
mkaesz has quit [Ping timeout: 245 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
si|verf0x has joined #ruby
p0sixpscl has joined #ruby
endash has quit [Quit: endash]
orolo has quit [Quit: This computer has gone to sleep]
patrick99e99 has quit [Ping timeout: 252 seconds]
tlarevo has quit [Ping timeout: 252 seconds]
luckyruby has quit [Quit: Leaving...]
thomasxie has quit [Remote host closed the connection]
orolo has joined #ruby
krisquigley has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<jhass>
what I said is still true
<arup_r>
And see how many intermediate class is responsivble
krisquigley has joined #ruby
chipotle has quit [Quit: cya]
<arup_r>
Why blank check is not needed..
<arup_r>
?
<siwica>
I am having very strange behavious in my code:
<siwica>
I have a class "fooA.rb" that contains a class "fooA" and requires certain files. Within a file "fooB" I am trying to instantiate an object of "fooA" (fooA.rb is required). However, I am getting an error that the requirements that fooA.rb make fail. Why is that?
<dumdedum>
I wouldn't use [].all blank for only two params, harder to read
<arup_r>
Ok got it..
<arup_r>
:-)
<flughafen>
? I have a capybara/cucumber test suite, and when I run rake, it fails to find net-ssh, but it's installed, and when I use irb and require 'net/ssh' it works
<flughafen>
jhass: no. but everything is managed with rps.
<arup_r>
jhass: before modell.. there is one more intermediate class for other stuffs.. So I need to handle correct object from the controller to the interactor classes
<flughafen>
rpms*
<jhass>
arup_r: whatever current_user is, I'd let it handle role checking
<arup_r>
Humm.. Our businees is different..
<arup_r>
:-)
<jhass>
arup_r: that is the verification logic, currently it's a == but who knows where it goes from there
<siwica>
jhass: I guess a gist wont help in my case
<jhass>
flughafen: are you sure bundler isn't loaded? no Gemfile in the current or parent directory?
<siwica>
jhass: I just did some research and it seems that two different ruby versions I have installed may cause the problem
<jhass>
siwica: that sounds unlikely but then you never shared your actual error message so we can only guess
<siwica>
jhass: I have one installed via rvm and kept "/usr/bin/ruby"
<jhass>
yes, that's quite normal
jusmyth has quit [Quit: Leaving.]
ringarin has joined #ruby
Takle has quit [Remote host closed the connection]
<siwica>
jhass: when I create an object of "fooA" inside the "fooA.rb" file (outside the class "fooA"), everything works fine. When -in a different file "fooB.rb"- I require "fooA.rb" and then call "fooA.new" I get the Error: "rescue in require_all': no such file to load -- features (LoadError)" with features being a directory required in "fooA.rb".
Macaveli has quit [Read error: Connection reset by peer]
<siwica>
jhass: When appending "storage = SessionStorage.new()" at the end of "session_storage.rb" everything works
windblown has joined #ruby
arup_r has quit [Remote host closed the connection]
<tobiasvl>
siwica: no, you posted your error after I said that, and I see now that your error isn't related to that require
himsin has quit [Quit: himsin]
<windblown>
greetings
oponder has quit [Remote host closed the connection]
aclearman037 has joined #ruby
<siwica>
tobiasvl: ok, sorry
aclearman037 has quit [Client Quit]
Advocation has joined #ruby
Advocation has quit [Client Quit]
<jhass>
siwica: ah, so you do cd tryout; ruby storage.rb ?
aclearman037 has joined #ruby
Rollabunna has joined #ruby
<windblown>
I have a ruby gem I want to use it. Does the 'require' for the gem go in the controller for the model I wish to use the gem?
<shevy>
sounds like rails
<jhass>
siwica: require_all seems to be relative to the current pwd, what you're experiencing is the reason why ruby 1.9 and later removed . from the load path
<jhass>
siwica: how many files do you have in features?
<shevy>
there is no require for a gem windblown. require 'foobar' is almost always require 'foobar.rb'. as for when to use require, obviously you need to use it if your own code wants to make use of that code
<siwica>
jhass: 11
freerobby has joined #ruby
<jhass>
how often do you (plan to) add or remove one?
<windblown>
thanks, I will try the #ruby_on_rails irc
windblown has left #ruby [#ruby]
<tobiasvl>
it's #rubyonrails
<shevy>
hehe
timgauthier is now known as timgauthier_isaw
<dideler_>
which do you prefer? JSON.parse(foo) or JSON[foo]
InhalingPixels has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
dunno
<shevy>
.parse is more explicit
<siwica>
jhass: not so often I guess
dideler_ is now known as dideler
<shevy>
but if you don't care about it and just need the return value, [] is always nicer
timgauthier has joined #ruby
<shevy>
I wrote stuff like RemoveHtml[]
<shevy>
because I can not be bothered to want to remember how to remove the html exactly
<shevy>
after 4 weeks of not using it I forgot how to use it anyway
<siwica>
jhass: you mean require_relative requires the files relative to storage.rb although it sits in session_storage.rb?
Rollabunna has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 246 seconds]
tvw has quit []
phoo1234567 has joined #ruby
spastorino has joined #ruby
rahul has joined #ruby
rahul is now known as Guest72132
<jhass>
siwica: I would consider explicitly listing them, also maybe make a nicer project structure.like, think of a name for your project and put everything in a module with that name, then place all files in a lib/ directory, lib/my_project.rb, lib/my_project/session_storage.rb, lib/my_project/features/a.rb and so on.
Sgeo has quit [Read error: Connection reset by peer]
phoo1234567 has quit [Max SendQ exceeded]
doev has quit [Ping timeout: 276 seconds]
phoo1234567 has joined #ruby
yeticry has quit [Ping timeout: 268 seconds]
<jhass>
siwica: then you can easily setup the load path, for example with a simple ruby -Ipath/to/lib or in code with $LOAD_PATH.unshift File.expand_path('path/to/lib', __dir__)
britneywright has joined #ruby
fold has quit [Ping timeout: 276 seconds]
orolo has quit [Quit: This computer has gone to sleep]
narcan has joined #ruby
<jhass>
siwica: and use require's relative to the load path: require 'my_project/session_storage', require 'my_project/features/a' and so on
<siwica>
jhass: It seems I am wasting so much time with requirement issues, can't I just require every file within every file of my project?
cougarten_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<jhass>
understanding rubys load system is worth the effort ;)
narcan has quit [Client Quit]
<siwica>
jhass: do you have a good reading on that?
yeticry has joined #ruby
<jhass>
not really, beyond that's how gems are usually structured
<Hanmac>
jhass i prefer not to touch the load path itself ... require_relative is much more nicer ...
Guest72132 has quit [Client Quit]
<shevy>
require_relative isn't required for gem-layouts into SITE_DIR installs
pierombaabu has joined #ruby
<shevy>
siwica one of the simplest rule that works most of the time is to require stuff only where it is needed in the specific .rb file
CorySimmons has joined #ruby
oponder has joined #ruby
pierombaabu has quit [Remote host closed the connection]
<shevy>
things only get annoying when there are circular requires
cougarten has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
<siwica>
jhass: so far have have put everything in src/, all files in features/ are in a Features module
<siwica>
shevy: yes, but I wanted to avoid having to include 5 files individually
<Hanmac>
workmad3: i think you know what that image means, ne?
<shevy>
siwica you mean require not include right? :)
narcan has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
gungs has joined #ruby
bonhoeffer has joined #ruby
narcan has quit [Client Quit]
Soda has quit [Remote host closed the connection]
oo_ has joined #ruby
AlexRussia has joined #ruby
<Hanmac>
the problem for a possible require_all would be that you cant trust the file order of Dir[], thats why my files does have require_relative between each other in that case
Envek has joined #ruby
Advocation has joined #ruby
<siwica>
shevy: yes
LangeOortjes has joined #ruby
iiylll has joined #ruby
<gungs>
Hi all
<shevy>
Hanmac it's just an array, you can .sort on it
<shevy>
perhaps you make wrong directory layouts :>
<Hanmac>
shevy yes i wanted to say that is it is not sorted by default so you can trust that it returns in a order you want
<siwica>
When requiring each file individually I am worried to forget one and experiencing problems at runtime
timonv_ has joined #ruby
starkhallo has joined #ruby
<shevy>
how can you forget one
yfeldblu_ has joined #ruby
<shevy>
in bash:
<shevy>
ls -1 *.rb
<shevy>
copy paste that into your editor
<gungs>
I am new to ruby on rails,is it possible to list all files along with their respective size which get updated...which function to use?
tkuchiki has quit [Remote host closed the connection]
<wasamasa>
#RubyOnRails
<balance>
what happens I do define_method("self.foo")?
chipotle has quit [Read error: Connection reset by peer]
ringarin has quit [Read error: Connection reset by peer]
<shevy>
actually, I don't think I have seen a symbol with a . before
<shevy>
you never stop learning!
<balance>
shevy, thanks
<j416>
shevy: interesting
* Hanmac
makes a "That more you know!" sound
<crome>
let's write a book about all the things you can do but you should never do in ruby
<shevy>
I also never found a guy who wants to call a method 'self.foo'
<j416>
symbol can be anything as long as you quote/escape properly
<j416>
afaik
<j416>
shevy: w
<Hanmac>
crome: let me quess, you want me as cover image? ;P
<shevy>
this balance guy is suspicious :)
<j416>
bah
yfeldblu_ has quit [Ping timeout: 268 seconds]
<j416>
s/w/lol/
<shevy>
w?
<shevy>
hmm
<shevy>
...
<shevy>
w is right next to lol on my keyboard
sigurding has quit [Quit: sigurding]
<shevy>
I have a cat approved keyboard
PapaSierra has joined #ruby
Lewix has joined #ruby
timgauthier has joined #ruby
<balance>
shevy I though maybe ruby inteprets self.foo as a instance method whereas define_method itself creates an instance method, so I wondered what happens if my assumption was right. (Which actually was stupid :P) anyway thanks
<shevy>
I think technically def and define_method should work the same
diegoviola has joined #ruby
<shevy>
though obviously you can define more methods via define_method than via def
charliesome has joined #ruby
<shevy>
hmm
<shevy>
is there any way you can use def to define a method that has a ' ' as part of its name?
<shevy>
(method name)
windblown has joined #ruby
yalue has joined #ruby
<shevy>
where are the eval gurus
<crome>
I would hurt people who iterate over some list and call defined_method with each
<PapaSierra>
hi there, i don't regularly use ruby, however many tools that i use require it. right now i'm trying to run compass. i'm on mac osx. my ruby version is 2.1.2p95, gem version is 2.4.1. i installed compass like this: "gem install compass". it installed fine. then i run it and it says "Could not find i18n-0.6.9 in any of the sources (Bundler::GemNotFound)"
<crome>
I have even read articles that say it's a good and "maintainable" solution
fsapo has joined #ruby
<shevy>
crome haha
<shevy>
yeah... the meta wizards
<shevy>
they are my enemies
<shevy>
PapaSierra what is i18n?
<balance>
shevy yeah but still, self is see as part of the method name wheras I though define_method might actually intepret the self as just self :P anyway, wasn't a good question.
lucianosousa has joined #ruby
Hobogrammer has joined #ruby
<shevy>
balance I don't think self is part of the method name, it just defines where the method itself resides right? either on the instance level of the object or of the class itself
<PapaSierra>
shevy: no idea. i'm just trying to run "compass compile" but it that's the error message.
<balance>
shevy yeah
<shevy>
PapaSierra ok but you get an error from bundler here, not compass, right?
sparrovv has joined #ruby
<shevy>
so probably compass tries to invoke bundler
<shevy>
and bundler then can not find the gem i18n
<PapaSierra>
shevy: that looks like a reasonable assessment. i'm too novice to make that conclusion myself though
<shevy>
I don't use bundler btw, you can install i18n via gem install i18n
ndrei has quit [Ping timeout: 276 seconds]
<shevy>
I wouldn't be surprised if it still fails given bundlers quality :D
<shevy>
(after gem installation that is)
benzrf|offline is now known as benzrf
MCDev has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
<PapaSierra>
shevy: successfully installed "i18n-0.6.11.gem" but still the exact same error message
sk87 has joined #ruby
Hobogrammer has quit [Client Quit]
<shevy>
yeah
windblown has left #ruby [#ruby]
<PapaSierra>
shevy: (notice slightly different version numbers, is that an issue?)
<shevy>
it's why I happily avoid bundler \o/
bonhoeffer has quit [Quit: bonhoeffer]
<shevy>
that could be
<shevy>
probably he specified the 0.6.9 version in the gemfile
<shevy>
you should be able to provide a version to i18n
nhjk has joined #ruby
<shevy>
let's see
<shevy>
gem install i18 --version=0.6.9
blackmesa has quit [Ping timeout: 240 seconds]
<PapaSierra>
shevy: sure, i'm not deliberately using bundler. i'm just on a plain old mac trying to install and run plain old compass. if it's using bundler, well then that's nothing really to do with my decision.
<shevy>
ohhh
<shevy>
that version does not exist
<shevy>
ERROR: Could not find a valid gem 'i18' (= 0.6.9) in any repository
<shevy>
oops
<shevy>
I forgot a n
sparrovv has quit [Ping timeout: 255 seconds]
<shevy>
gem install i18n --version=0.6.9
<PapaSierra>
trying that now...
<shevy>
PapaSierra let me look up compass dependencies
<siwica>
jhass: Hanmac: shevy: Just wanted to thank you for your help. I got rid of "require_all" and replaced it with the acccording "require_relatives". It does work now but I guess I will have some reading to do on how ruby requirements work.
<shevy>
PapaSierra so the compass file itself queries whether you have Bundler available
<shevy>
Rakefile: require 'bundler/setup'
sepp2k has joined #ruby
<shevy>
gem install multi_json
<shevy>
Fetching: multi_json-1.10.1.gem (100%)
<shevy>
you are using some rather outdated stuff there man
ndrei has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
<nhjk>
I'm trying to monkeypatch a gem, but only within my project's namespace. How can I do this? I thought requiring the gem inside my project's module would do the trick but it didn't http://pastebin.com/qq0tad8w
sandelius has joined #ruby
CorySimmons has quit [Quit: Bye!]
Takle has quit [Remote host closed the connection]
siwica has quit [Quit: siwica]
<shevy>
nhjk the namespace is absolute
<shevy>
I think you can not move it into another namespace
ndrei has joined #ruby
<gungs>
I am new to ruby on rails,is it possible to list all files along with their respective size which get updated...which function to use?
<PapaSierra>
shevy: i don't know what you mean by "you are using some rather outdated stuff". again, i just followed the installation instructions on the compass website. sorry for being a ruby noob, but i didn't choose to use outdated stuff. i'm not sure what's the right way to install this stuff
<shevy>
but your code there wants version i18n-0.6.9
<shevy>
"Could not find multi_json-1.9.2" but when I install multi_json it fetches multi_json-1.10.1.gem
abuzze has quit [Ping timeout: 272 seconds]
<shevy>
that's what I meant with outdated stuff
<shevy>
the idea behind bundler was to allow installation of specific versions
<PapaSierra>
ok, it's not *my* code, it's the alpha pre release version of compass. i.e. "gem install compass --pre". i understand what you mean though. i.e. compass is requiring some old stuff.
<shevy>
and ensure that they work
yfeldblum has quit [Ping timeout: 260 seconds]
<shevy>
the compass guys should really provide instructions that work for people
<PapaSierra>
ok, so i figure i'm not actually using bunder, since i don't have a gemfile and i'm just installing gems manually
<shevy>
but compass has bundler!
<shevy>
<shevy> bin/compass:if defined?(Bundler)
<shevy>
or at least it checks for it
<shevy>
you could probably remove that line though hahaha :D
kyb3r_ has quit [Read error: Connection reset by peer]
<shevy>
actually the only command that you would have required was: "gem install compass --pre"
<Tomasso>
im using mechanize, that gtem for browser automation, and I get "error handling content-encoding gzip: buffer error" is there any http header or something that should be set on that?
<shevy>
PapaSierra it might be that that check for bundler triggered problems for you
<PapaSierra>
right, that's what i did. (well, first i tried steps 1 and 2) when that didn't work i tried the --pre thing
<shevy>
let me try via "gem install compass --pre" myself. I dont have bundler installed
<PapaSierra>
again, i'm not *trying to use bundler*. i'm a noob who dared to turn on his mac and follow instructions lol
<shevy>
well, I guess you must have actually run "compass" somewhere
<shevy>
in a project
<shevy>
right?
<shevy>
so then it must be the fault of that project actually
paulfm has joined #ruby
<shevy>
I don't understand why bundler wants to fetch dependencies when you say you don't have a Gemfile
pontiki has quit [Quit: Lost terminal]
sigurding has joined #ruby
sarink has joined #ruby
<shevy>
compass itself has no direct dependency on bundler, only bin/compass has that check on whether Bundler is available (dunno why it has that check though)
marcules has quit [Ping timeout: 246 seconds]
<PapaSierra>
no my production code is entirely php, no ruby whatsoever. however, surrounding the project there is plenty of ruby tooling such as chef/vagrant/compass/capistrano/etc. therefore, while i know zero about ruby, i just need to have a basic working environment in which these tools can be run successfully. to that end i've had to fiddle with things like rvm in the past.
<shevy>
aha
skullz has joined #ruby
Guest38228 has joined #ruby
<PapaSierra>
however, that gave me a lot of issues and so i'm back to using the system's ruby. but i think i upgrade it somehow. maybe i broke something?
<skullz>
How can I convert an array/hash to xml in ruby?
<shevy>
PapaSierra dunno if you broke something, but it is usually best to rely on just one ruby
<sarink>
a || b && c == a || (b && c) right?
<shevy>
PapaSierra the best would be if you could avoid Bundler and just use gem itself
<PapaSierra>
i've had compass working fine before, but since telling rvm to go back to the system ruby compass is now "uninstalled" so i followed those steps, but now the error messages.
oponder has quit []
<PapaSierra>
shevy: great, how do i "avoid bundler"?
<shevy>
gem install itself manages dependencies too
<tobiasvl>
sarink: right. but feel free to just use the parentheses for clarity
<shevy>
you can also specify which versions to use too
dbugger has quit [Quit: Leaving]
meinside has quit [Quit: Connection closed for inactivity]
Phrogz_ has joined #ruby
tvw has joined #ruby
<shevy>
I don't know what your real requirements are. you listed (1) chef (2) vagrant (3) compass (4) capistrano so far, there are probably lots more gems in there too
northfurr has joined #ruby
<Guest38228>
skullz : you can use to_xml method
davispuh has joined #ruby
<shevy>
PapaSierra is your base system based on debian?
<Guest38228>
skullz: however underscores will be converted to dashes
BlkDynmt has joined #ruby
<sarink>
tobiasvl: i'm trying to rewrite this with parens if (a || b && c == false) bc it's sort of a mindfuck for me but i don't wanna mess it up
tkuchiki has joined #ruby
<tobiasvl>
sarink: the order of precedence is == && ||
<skullz>
Guest38228: I tried using it, but it says "NoMethodError - undefined method `to_xml' for #<Hash:0x000000013fef98>:"
workmad3 has joined #ruby
workmad3 has quit [Client Quit]
<PapaSierra>
shevy: well, those requirements are pretty much all. i may have forgotten to mention one or two. however, they appear to be working fine. i just don't know how to get compass to run is all. i'm not directly invoking bundler. if compass is doing that, then i'm not sure how to make it stop, or why.
<sarink>
so is that ... if (a || (b && (c == false) ) )
<shevy>
PapaSierra I showed you my output above, compass is running fine for me
nightlingo has joined #ruby
<shevy>
PapaSierra well you could uninstall bundler
<tobiasvl>
sarink: yes
<Guest38228>
skullz: it is in active support gem you have to install and require that gem, are you using plain ruby or rails
<shevy>
gem uninstall bundler
mary5030 has joined #ruby
<shevy>
and gem install bundler to reinstall again
freerobby has quit [Quit: Leaving.]
<sarink>
tobiasvl: thanks
<skullz>
Guest38228: I see, just using ruby + sinatra
<shevy>
so in your home dir .rvm bundler is available
Lewix has quit [Remote host closed the connection]
<shevy>
as I said above, you should really decide on what ruby to use and get rid of all others
swaggus has left #ruby [#ruby]
Lewix has joined #ruby
himsin has joined #ruby
timgauthier is now known as timgauthier_isaw
<balance>
how is using instance_eval(&block) if block_given? within the init method better than using yield block?
krz has quit [Quit: WeeChat 1.0]
mary5030 has quit [Remote host closed the connection]
w1xz has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
Guest38228 has quit [Quit: leaving]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
I wouldn't know
<shevy>
though I think you can do something with instance_eval
<shevy>
you pass the block towards somewhere else right?
<PapaSierra>
shevy: awesome, i got rid of bundler and compass now works just fine
<shevy>
PapaSierra hahaha
<shevy>
\o/
Phrogz_ has quit [Remote host closed the connection]
Azulinho has joined #ruby
<PapaSierra>
i'm trying to understand though how i'm going to figure out "which ruby" i want and how to set that up properly so that chef/vagrant/etc still work
Fire-Dragon-DoL has joined #ruby
nickjj has quit [Quit: WeeChat 1.0]
<workmad3>
PapaSierra: as long as you use the omnibus package to install chef-client, that's not really a problem with chef
<workmad3>
PapaSierra: the omnibus package comes with an embedded version of everything chef needs to run, and hard-codes the #! paths and other stuff in the relevant libraries so it works
bmurt has joined #ruby
<PapaSierra>
workmad3: ok, yes i am doing that
patrick99e99 has joined #ruby
himsin has quit [Ping timeout: 245 seconds]
Lewix has quit [Ping timeout: 264 seconds]
<workmad3>
PapaSierra: it's kinda the point of using omnibus ;)
Linell has joined #ruby
<PapaSierra>
workmad3: yup, so that's ok then. i guess it's the other tools that i don't want to break. (in the scroll back i did mention that i actually know very little about ruby and how's its environment is laid out, i use it because i have to. i'd like to understand it but i'm not there yet)
<workmad3>
PapaSierra: ah, I don't have the scrollback... I only just rejoined after lunch ;)
Phrogz_ has joined #ruby
freerobby has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
gungs has left #ruby [#ruby]
mr-foobar has quit [Quit: Leaving...]
nickjj has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<Nilium>
<<= is << with an =. It assigns the result of << to the thing you applied it to.
<tangorri>
hi
<Nilium>
str << integer returns the receiver.
<centrx>
<< is bitshift operator
<centrx>
hijacked by evil Array for append
<Nilium>
And string.
<workmad3>
Nilium: not quite
Andriamanitra has joined #ruby
<tangorri>
I'm getting trouble with eventmachine, I'd like to install it on windows but I git trying to compile 'old' version with win32 bug ... how can I force gem to get the last commited version please ?
<workmad3>
oh wait sorry... I forget what << returns :)
<Nilium>
workmad3: I posted a screenshot of the docs ಠ_ಠ
<Nilium>
You don't get to argue with me about it.
<workmad3>
Nilium: I forgot that << tends to return 'self' to make it chainable
<centrx>
tangorri, with bundler you can do: gem 'rails', github: 'rails/rails'
<workmad3>
Nilium: so I was looking at 'a = ""; a <<= 123' and thinking 'but a still ends up pointing to the manipulated string... so it's not assigning'
<Nilium>
It tends to be evil because people can't resist using a bit-shift operator for concatenation
ppinto has joined #ruby
<workmad3>
Nilium: blame C++ :P
chipotle has quit [Quit: cya]
<tangorri>
centrx : same using bundler
<Nilium>
You can't blame C++ it's a different language.
<tangorri>
hmm maybe I forgot something ...
mary5030 has quit [Remote host closed the connection]
<Nilium>
*when it's
ndrei has quit [Ping timeout: 268 seconds]
<centrx>
tangorri, try git: url_to.git
mary5030 has joined #ruby
lsone has joined #ruby
<workmad3>
Nilium: the behaviour of << is overridden for streams in C++ to push data onto them... afaik, ruby 'borrowed' that idea from C++
<tangorri>
or there are fully native from the beginning ?
snath has quit [Ping timeout: 272 seconds]
arya_ has quit [Ping timeout: 245 seconds]
Advocation has joined #ruby
Channel6 has joined #ruby
<centrx>
tangorri, The idea of native extensions is they are written in a fast medium-level language like C
<centrx>
tangorri, so alternative Ruby runtime would be nice, but it would require the author writing these components twice, in both languages
<tangorri>
I see, I tought it was ruby JIT or something
himsin has joined #ruby
<tangorri>
hanks centrx
Rollabunna has joined #ruby
<centrx>
tangorri, You can use Java extensions in JRuby
<centrx>
tangorri, which are presumably more cross-platform
<tangorri>
so eventmachine need to update their gem at the end right ?
<headius>
tangorri: many folks find jruby more reliable on Windows
ndrei has joined #ruby
<headius>
we have exts but they don't have to compile anywhere
<headius>
what are you using EM for?
mark_locklear has joined #ruby
<tangorri>
headius: , centrx I'm just looking for some code to adapt it for python (not my fault) & angularjs
Takle has joined #ruby
<headius>
ahhh I see
<headius>
EM used to work on JRuby, but I'm not sure if it still does
<Nilium>
Folks, judgment question: you've just thrown up your breakfast, do go to work or stay home because you're pretty sure there's more where that came from?
<Nilium>
*do you
<tangorri>
headius : I allready installed EM on windows many times, for rails i.e.
linojon_ has joined #ruby
mark_locklear has quit [Client Quit]
<centrx>
tangorri, Basically, Ruby and Windows are not great together
<headius>
Nilium: gut it out until you get sick again
<headius>
once is a bad meal...twice is a sickness
<tangorri>
centrx : I knew that yes
<centrx>
tangorri, I would add that Windows is not great for any kind development except C#/.NET
mr-foobar has joined #ruby
cocotton has quit [Remote host closed the connection]
<headius>
I would add that Windows is not great
linojon has quit [Ping timeout: 268 seconds]
linojon_ is now known as linojon
<centrx>
yes
<tangorri>
centrx : add adobe cs etc :)
mark_locklear has joined #ruby
<centrx>
I would add that subtract Windows
<Nilium>
In that case, it's a sickness.
<headius>
Nilium: go home
JohnFord has joined #ruby
<headius>
or just put a puke bucket next to your desk and wait for your coworkers to ask you to go home
<Nilium>
I haven't left for work yet. All I know is my head hurts and food isn't working.
<centrx>
tangorri, Get a Mac for graphics development, and Mac OS X is good for Ruby and other Unix dev too
<oddmunds>
Nilium: i'd stay home
himsin has quit [Ping timeout: 245 seconds]
<tangorri>
no mac in this compagny
<headius>
stay home and watch Trailer Park Boys season 8
<tangorri>
I use mac for freelance
sevenseacat has joined #ruby
<Nilium>
The worst part is I've only had this happen once before and if it happens again, my throat is going to be lined with ulcers and I'm going to be nearly dead for about a week
<centrx>
Nilium, If you do not like your boss, go to work and throw up on him
Rollabunna has quit [Ping timeout: 264 seconds]
<Nilium>
'Cause it turns out having your esophagus covered in ulcers makes eating difficult
<headius>
eesh
Kricir has joined #ruby
parduse has quit []
<headius>
well...at least a lot more interesting :-)
parduse has joined #ruby
<Nilium>
Interesting if you like the idea of living off mostly water
<headius>
wow, almost 1000 people in here
<Nilium>
It's a good way to lose weight though
dbugger has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<tangorri>
just to be sure : eventmachine having solve the issue for win32, commit is on repo etc, they need to update gem file or somehting ?
<headius>
Lose weight fast with this one weird trick
hamakn has joined #ruby
<Nilium>
This one weird trick humans hate him for
<tangorri>
maybe I could remove tottally EM for possible cache ... dunno
<dbugger>
Hello guys. Can someone tell me why I am having errors installing Berkshelf? http://pastebin.com/h3GTg2bd
<headius>
tangorri: if they have a fix you could always package the gem yourself
<headius>
until they get a release out
<tangorri>
I see
startupality has joined #ruby
<Nilium>
Right, I'm going to write an email to my boss and then either a) climb in bed with a bucket or b) make a bed next to the toilet.
<centrx>
dbugger, directory permissions or something: configure: error: C++ compiler cannot create executables
ndrei has quit [Ping timeout: 272 seconds]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx>
dbugger, See `config.log' for more details
<dbugger>
centrx: as you see, I was using "sudo", so it cant be a permission thing
mercwithamouth has joined #ruby
<centrx>
dbugger, Some kind of write error
startupality has quit [Client Quit]
<dbugger>
Yeah, im just wondering what to do now to install it :(
<centrx>
dbugger, or broken C++ compiler
sandelius has joined #ruby
<centrx>
dbugger, checking whether the C++ compiler works... no
<centrx>
checking for g++... no
<dbugger>
what? sorry? Im not even sure how to do that
<sonOfRa>
that sounds morelike there isn't even a c++ compiler
<centrx>
apt-get install ruby-dev build-essential
<dbugger>
Im working on a fresh vagrant box with Ubuntu
<centrx>
throw in an apt-get install g++ for good measure
<centrx>
then install one of those games
<centrx>
to play while you wait
<dbugger>
:D
dumdedum has quit [Ping timeout: 264 seconds]
<shevy>
so annoying that they think you don't want to compile code
<dbugger>
mmmm, apparently build-essentials was it
qmfnp has joined #ruby
<dbugger>
thank you guys
Takle has quit [Remote host closed the connection]
MaciejCzyzewski has joined #ruby
chipotle has joined #ruby
freerobby has joined #ruby
Inhaling_ has joined #ruby
sigurding has joined #ruby
arya_ has joined #ruby
emocakes has quit []
shredding has joined #ruby
lucianosousa has quit [Quit: lucianosousa]
kobain has joined #ruby
Ankhers has joined #ruby
dumdedum has joined #ruby
InhalingPixels has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
mary5030 has joined #ruby
milkohol has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
freerobby has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
ndrei has joined #ruby
Morkel has quit [Quit: Morkel]
cocotton has joined #ruby
Takle has joined #ruby
AlexRussia has quit []
yfeldblum has joined #ruby
Lewix has quit [Remote host closed the connection]
AlexRussia has joined #ruby
hamakn has quit [Remote host closed the connection]
klmlfl has joined #ruby
hamakn has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
Lewix_ has joined #ruby
nucatus has joined #ruby
baroquebobcat_ has joined #ruby
endash has quit [Quit: endash]
nettoweb has joined #ruby
spider-mario has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 276 seconds]
ptierno has quit [Quit: leaving]
Channel6 has quit [Quit: Leaving]
sdegutis has left #ruby ["Leaving..."]
gtrak has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
InhalingPixels has joined #ruby
ndrei has joined #ruby
Scripore has quit []
Inhaling_ has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tagrudev has quit [Remote host closed the connection]
spider-mario has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
gsd has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
gsd has quit [Client Quit]
v0n has quit [Ping timeout: 240 seconds]
banister is now known as banisterfiend
chipotle has quit [Quit: cya]
sinkensabe has quit [Remote host closed the connection]
claymore has joined #ruby
sigurding has quit [Quit: sigurding]
lucianosousa has joined #ruby
Envek has quit [Quit: Good bye, see you soon!/]
arya_ has joined #ruby
Squarepy has joined #ruby
Jarboe has joined #ruby
wallerdev has joined #ruby
davedev2_ has joined #ruby
treehug88 has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
treehug88 has quit [Client Quit]
treehug88 has joined #ruby
arya_ has quit [Read error: No route to host]
maletor has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
davedev24_ has joined #ruby
speakingcode has joined #ruby
oo_ has joined #ruby
mikepack has joined #ruby
icebourg has joined #ruby
lemur has quit [Remote host closed the connection]
Lewix_ has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 272 seconds]
fsapo has quit [Remote host closed the connection]
Lewix has joined #ruby
chipotle has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
alex88 has quit [Quit: Leaving...]
\13k has joined #ruby
danijoo has joined #ruby
hamakn has quit [Remote host closed the connection]
garbanotas has joined #ruby
zorak8 has joined #ruby
sparrovv has joined #ruby
<hfp_work>
Hey, did anybody get a Ruby environment setup in Docker? I installed ruby-2.1.2 on a Debian Wheezy with ruby-install and I'm very surprised the image size is 800MB. I'd like to compare notes :)
sinkensabe has joined #ruby
Lewix has quit [Ping timeout: 255 seconds]
Wayneoween has left #ruby ["Verlassend"]
hamakn has joined #ruby
failshell has joined #ruby
Tricon has joined #ruby
rafacv has joined #ruby
garbanotas has quit [Quit: Leaving]
ndrei has joined #ruby
garbanotas has joined #ruby
oo_ has quit [Remote host closed the connection]
tangorri has quit [Read error: Connection reset by peer]
<lsone>
hfp_work: I am working on a CoreOS + Docker + Rails 4 setup today, crossing my fingers that it is a solid/efficient setup.
fabrice31 has quit [Remote host closed the connection]
noop has quit [Quit: Leaving]
ffranz has joined #ruby
jobewan has joined #ruby
danijoo has quit [Quit: Leaving...]
sinkensabe has quit [Remote host closed the connection]
drjfreez1 has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
sparrovv has quit [Remote host closed the connection]
<ericwood>
throw in JRuby and you'll have the trifecta
<lsone>
ericwood: Ah yes, of course :)
bal has quit [Quit: bal]
drjfreeze has quit [Ping timeout: 264 seconds]
amargherio has joined #ruby
AlexRussia_ has joined #ruby
maletor has joined #ruby
manzo has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
AlexRussia_ is now known as AlexRussia
grenierm has quit [Quit: grenierm]
avita1 has joined #ruby
yfeldblum has joined #ruby
charliesome has quit [Quit: zzz]
Advocation has quit [Quit: Advocation]
momomomomo has joined #ruby
sparrovv has quit [Ping timeout: 264 seconds]
the_f0ster has joined #ruby
toordog has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bal has joined #ruby
gsd has joined #ruby
mkaesz has joined #ruby
grenierm has joined #ruby
aspires has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
renderful has joined #ruby
nszceta has joined #ruby
Tomasso has quit [Ping timeout: 246 seconds]
shredding has quit [Quit: shredding]
jottr has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
AxonetBE has quit [Quit: AxonetBE]
Ankhers has quit [Ping timeout: 264 seconds]
gauke has quit [Quit: gauke]
sk87 has joined #ruby
mferrier has joined #ruby
g0bl1n has joined #ruby
oleo__ has joined #ruby
oleo is now known as Guest16902
g0bl1n has quit [Remote host closed the connection]
cougarten_ has joined #ruby
baroquebobcat_ has joined #ruby
abuzze has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
paulfm_ has joined #ruby
sk87 has quit [Client Quit]
Takle has joined #ruby
Guest16902 has quit [Ping timeout: 272 seconds]
paulfm has quit [Ping timeout: 245 seconds]
mityaz has quit [Quit: Leaving]
sambao21 has joined #ruby
explodes has joined #ruby
<explodes>
Hey. Is this the room for rails?
<Sou|cutter>
#ror
<jhass>
explodes: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
saarinen has joined #ruby
dbugger has joined #ruby
skullz has quit [Ping timeout: 260 seconds]
jusmyth has joined #ruby
<dbugger>
Hey guys. I have "verbose: true" in .gemrc, I have confirmed it works with "gem env", and yet, when I do something like "sudo gem install knife-solo" I get a different input than when I do "sudo gem install knife-solo --verbose". Why is that??
<orolo>
i need to test if the db is returning a specific string for a value that is not allowed to be accessed. so, instead of home phone number, the db will return 'xxx'. i'd like to do an 'after' filter for methods and "scrub" their instance variables prior to calling the view (in rails). how best to access those instance variables for the method?
momomomomo has quit [Quit: momomomomo]
saarinen has quit [Client Quit]
txdv has quit [Ping timeout: 252 seconds]
txdv has joined #ruby
sevenseacat has quit [Quit: Leaving.]
b00stfr3ak has joined #ruby
amargherio has quit [Ping timeout: 252 seconds]
hamakn has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby
Urocyon has quit [Ping timeout: 252 seconds]
<jhass>
orolo: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
Lewix has joined #ruby
renderfu_ has joined #ruby
<orolo>
jhass, thanks. i thought this was a ruby question; my apologies
kenneth has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 252 seconds]
xiphias has quit [Remote host closed the connection]
amargherio has joined #ruby
xiphias has joined #ruby
AlexRussia_ has joined #ruby
lukeholder has joined #ruby
carraroj has joined #ruby
lukeholder has quit [Max SendQ exceeded]
bal has quit [Quit: bal]
tobyo2 has joined #ruby
lukeholder has joined #ruby
Fire-Dragon-DoL has joined #ruby
<hfp_work>
lsone: Why is Jruby better than the MRI?
renderful has quit [Ping timeout: 276 seconds]
kenneth has joined #ruby
azul1 has joined #ruby
Azulinho has quit [Ping timeout: 252 seconds]
Urocyon has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
<lsone>
hfp_work: I can't give you an answer that I am comfortable standing behind, to be honest. I have been using it for a really long time, as well as some Java packages that require it on servers, so it is just what I use.
<lsone>
I have seen tests that go both ways on which is faster, so I can't really vouch for that angle either.
jay has joined #ruby
wallerdev has joined #ruby
saarinen has joined #ruby
W0rmDr1nk has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
jay is now known as rubyonrailed
jottr has joined #ruby
<headius>
hfp_work: (jruby guy here) JRuby *should* be faster than MRI in almost every way...I consider it a bug if it is not
iiylll has joined #ruby
HelperW_ has joined #ruby
baroquebobcat_ is now known as baroquebobcat
<headius>
plus parallel threads, way better GC, whole JVM library ecosystem to pick from
snath has joined #ruby
<hfp_work>
headius: So JRuby vs MRI changes what glues is used between Ruby and the kernel, is hat right?
<hfp_work>
glue*
<headius>
yeah pretty much...we don't implement GC, native JIT, etc, and defer to the JVM for that
baroquebobcat has quit [Quit: baroquebobcat]
manzo has quit [Quit: Leaving]
pu22l3r_ has quit [Remote host closed the connection]
<headius>
other than the fact that we co-opt the JVM, JRuby's just a Ruby impl
troulouliou_dev has joined #ruby
baroquebobcat has joined #ruby
abuzze has quit [Remote host closed the connection]
pu22l3r has joined #ruby
terlar has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
HelperW has quit [Ping timeout: 245 seconds]
<hfp_work>
headius: Yeah it's a bit of a foreign concept for me until now, I feel I should get more familiar
anshin1 has quit [Quit: anshin1]
anshin has joined #ruby
emmesswhy has joined #ruby
benzrf is now known as benzrf|offline
anshin is now known as anshin1
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostmoth has joined #ruby
cirn0 has joined #ruby
anshin1 is now known as anshin2
anshin2 is now known as anshin
workmad3 has joined #ruby
devdazed has quit [Remote host closed the connection]
avita1 has quit [Quit: Leaving.]
olivier_bK has quit [Ping timeout: 268 seconds]
kedare has quit [Quit: WeeChat 0.4.1]
voodoofish1 has joined #ruby
michaeldeol has joined #ruby
j_mcnall_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cirn0 has quit [Ping timeout: 260 seconds]
voodoofish has quit [Ping timeout: 260 seconds]
ctp has joined #ruby
dano-e- has quit []
sailias has quit [Quit: Leaving.]
hamakn has joined #ruby
LangeOortjes has quit [Ping timeout: 246 seconds]
sailias1 has joined #ruby
balance has quit [Read error: Connection reset by peer]
michaeldeol has quit [Client Quit]
alexherbo2 has quit [Quit: WeeChat 1.0]
balance has joined #ruby
m_3_ has quit [Remote host closed the connection]
dexter__ has joined #ruby
mikecmpbll has quit [Ping timeout: 272 seconds]
sambao21 has joined #ruby
douglasssssss has joined #ruby
renderfu_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
m_3 has joined #ruby
txdv has quit [Read error: Connection reset by peer]
nszceta has quit [Ping timeout: 272 seconds]
troyready has joined #ruby
txdv has joined #ruby
nettoweb has joined #ruby
sparrovv has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<jwitko>
ERROR: Failed to build gem native extension.
<jwitko>
it fails looking for OSAtomic.h
<jwitko>
checking for libkern/OSAtomic.h... *** extconf.rb failed ***
ghostmoth has quit [Quit: ghostmoth]
<eam>
jwitko: uh, OSAtomic.h is an OSX thing
<jwitko>
lol wtf
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jwitko>
so why is it looking for it on my CentOS 6.5 box?
chrishough has joined #ruby
OffTheRails has quit [Ping timeout: 240 seconds]
niklasb has joined #ruby
<apeiros>
because you're building it from your cache and might have an os specific version there.
hahaguys has joined #ruby
<hahaguys>
hey guys. im trying to quickly learn the ruby language features and syntax. Can you recommend a book similar to K&R Ansi C or like Javascript the good parts, for ruby?
<eam>
it appears that it requires the header regardless of platform, appears to be a bug to me
<eam>
extconf.rb has an unconditional have_header "libkern/OSAtomic.h"
<eam>
in the actual C code it's appropriately ifdef'd
<eam>
jwitko: build from source, delete the have_header, I bet it'll work
<atmosx>
anyones runs on FreeBSD here? (asked again earlier no replies)
klmlfl has quit [Remote host closed the connection]
<epitron>
that uses binding.of_caller and eval to make it work :)
<epitron>
retry_n_times(2)
soheil has joined #ruby
Advocation has joined #ruby
<soheil>
how do you rescue a method not found exception?
<jhass>
soheil: rescue NoMethodError
g0bl1n has joined #ruby
<soheil>
nice
silkfox has quit [Ping timeout: 272 seconds]
tvw has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j_mcnally has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
hsps_ has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
<epitron>
soheil: if you want to do duck typing tests, a shortcut is "object.respond_to? :method"
Butcho has joined #ruby
<soheil>
ok thanks
soheil has quit []
HelperW_ has joined #ruby
<jhass>
epitron: I don't think you can. Can't you pass self instead and instance_eval or do you want to access locals?
hsps_ has quit [Ping timeout: 240 seconds]
<epitron>
oh, i just wanted to write a method that lets you do this:
<epitron>
def method
<epitron>
...
<epitron>
end.alias(:other_name)
britneywright has quit [Read error: Connection reset by peer]
<epitron>
Symbol#alias
mikepack has joined #ruby
britneywright has joined #ruby
jhc76 has quit [Remote host closed the connection]
<epitron>
so i need to grab the binding of the caller, then eval some code in that scope
<epitron>
(alias_method)
cougarten__ has joined #ruby
fabrice31 has quit [Ping timeout: 268 seconds]
lazyguru has joined #ruby
sigurding has joined #ruby
lidaaa has quit [Ping timeout: 252 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
aspires has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
<jhass>
you could already do alias_method :other_name, def foo ... end :P
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cougarten_ has quit [Ping timeout: 276 seconds]
aspires has quit [Client Quit]
<pipework>
lololol :(
silkfox has joined #ruby
<jhass>
I suppose you could do binding.eval("self").define_method
paulfm_ has joined #ruby
yfeldblum has joined #ruby
<pipework>
ugh.
robustus has quit [Ping timeout: 250 seconds]
codecop has quit [Ping timeout: 268 seconds]
dbugger has quit [Quit: Leaving]
mikepack has quit [Ping timeout: 272 seconds]
paulfm_ has quit [Read error: Connection reset by peer]
paulfm has quit [Ping timeout: 245 seconds]
paulfm_ has joined #ruby
paulfm_ has quit [Read error: Connection reset by peer]
bonhoeffer_ has joined #ruby
paulfm has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
sepp2k has quit [Quit: Leaving.]
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<graft_>
yo, is there an easier way to alter inspect's behavior?
robustus has joined #ruby
sepp2k has joined #ruby
<Mon_Ouie>
easier than what? alter it how?
<graft_>
i get sick of copy/pasting some def inspect; "#<{self.class.name}:#{self.object_id} ... >"; end type nonsense
nanoyak has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie>
No, unfortunately there are no builtin helpers to generate those parts
<pipework>
I wish they'd use as_inspect.
<pipework>
Kind of like how you can use as_json with serializers and such.
<graft_>
dangit
aspires has joined #ruby
<apeiros>
graft_: nothing stopping you from building such building blocks.
MaciejCzyzewski has joined #ruby
patrick99e99 has joined #ruby
<waxjar>
put the method in a mixin, include SlimInspect or something and you're done
benzrf is now known as benzrf|offline
<pipework>
apeiros: Well, a hatred for monkeypatching all of ruby might stop you.
<pipework>
Probably not, but it might.
<apeiros>
pipework: monkey patching not necessary.
nightlingo has quit [Ping timeout: 246 seconds]
<pipework>
apeiros: How so?
<apeiros>
def inspect; Awesomo.inspect(self); end
<pipework>
Oh just for his objects? I guess.
Ankhers has joined #ruby
<apeiros>
that's what his question was about, yes.
MCDev has quit [Ping timeout: 250 seconds]
<apeiros>
at least I understood it that way
codecop has joined #ruby
<pipework>
Yeah, I was just being rood and assuming you were also addressing my request as whale.
<apeiros>
not following what you're saying
Bira has quit []
<waxjar>
i think it'd be nice if the default #inspect only printed the instance variables if $DEBUG is true. or $VERBOSE
<waxjar>
or is that a dumb idea
mocfive has joined #ruby
patrick99e99 has quit [Ping timeout: 272 seconds]
renderful has joined #ruby
klmlfl has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
vesuvious has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ has joined #ruby
olivier_bK has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
<epitron>
jhass: hmmm! binding.self is a good idea
pandaant has quit [Remote host closed the connection]
<Phrogz_>
`gem install foo.gem` is very slow when network is enabled, quite fast when I turn off my WiFi. Any thoughts on what it's trying to do, and how to work around it (without turning off WiFi)?
kireevco1 has joined #ruby
deric_skibotn has quit [Ping timeout: 272 seconds]
<pipework>
Phrogz_: Try ./foo.gem
<epitron>
graft_: i've thought that should be a google summer of code project -- come up with a better way of pretty-printing objects and fix all the libraries in the ruby ecosystem :)
<dorei>
Phrogz_: i'd run wireshark to see what's happening network-wise
<Phrogz_>
pipework: Nice guess, no glory.
<pipework>
Phrogz_: damn
<epitron>
graft_: this is the kind of thing where someone just needs to come up with some kind of standard way of doing it
codecop has quit [Ping timeout: 240 seconds]
kireevco has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
<pipework>
epitron: as_inspect would b nice.
<pipework>
be*
Phrogz_ is now known as Phrogz
sambao21 has quit [Quit: Computer has gone to sleep.]
<epitron>
pipework: as_inspect would be the helper for printing the object?
<epitron>
it would be nice if the inspection helpers weren't purely text-focussed, so that they could be used to pretty print objects in HTML form as well
<pipework>
epitron: It'd be the thing you use to define your own inspect stuff.
shosti has quit [Ping timeout: 246 seconds]
<Phrogz>
Speaking of binding, here's a fun hack that works in 1.9: def assert(&block); code = yield; raise(code) unless eval(code,block.binding); end assert{ "some_local_variable" }
<epitron>
pipework: would it be a DSL? :)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<pipework>
epitron: No, it'd be like as_json.
<Phrogz>
dorei: Thanks for the suggestion, DLing WireShark now.
<epitron>
Phrogz: oh yeah, someone made a whole library for testing that uses that trick
<pipework>
Where you can do whatever you want in it, including using a DSL that yields self into it.
<epitron>
and it satisfied the representation-independence, so as_inspect could do HTML or text
mercwithamouth has quit [Ping timeout: 276 seconds]
<pipework>
to_json would call as_json, which is the method you're allowed to override. Maybe you define a module or superclass that lets you pass a block into it, maybe not.
<pipework>
epitron: Maybe have as_inspect take a symbol. object.inspect(:html)
<pipework>
But it'd require a fun monkey patching to do, if you don't mind that kinda thing, unless you want it only for your objects and not for all objects.
mercwithamouth has joined #ruby
wackobob1y is now known as wackobobby
IceDragon has quit [Ping timeout: 252 seconds]
<epitron>
Mon_Ouie: do i drop this into Object or something?
bonhoeffer_ has quit [Quit: bonhoeffer_]
IceDragon has joined #ruby
<Mon_Ouie>
I have it in a mixin and I use it in pretty_print, then pp object prints the list I specified
tkuchiki has joined #ruby
<epitron>
ah ok.. so it's pretty_print helper
zorak8 has quit [Ping timeout: 272 seconds]
lemur has joined #ruby
<epitron>
pipework: that's a nice simple solution
treehug88 has joined #ruby
<epitron>
pipework: it could also be require "pp/html" or "pp/text" or "pp/ansi" :)
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
Phrogz has quit []
zmyrgel has joined #ruby
<epitron>
this is really something ruby should've standardized about 10 years ago :)
<pipework>
epitron: ikr
<pipework>
At work, we monkeypatch anything that translates objects into representations to use as_#{format}
pu22l3r_ has quit [Remote host closed the connection]
<epitron>
haha
echevemaster has joined #ruby
<pipework>
We've talked about doing as_inspect and monkeypatching ruby.
drawingthesun has quit [Read error: Connection reset by peer]
<epitron>
this could just be one giant gem that supports every commonly used library out there
<epitron>
require 'make_everything_pretty'
<epitron>
monkeypatch away!
pu22l3r has joined #ruby
shredding has joined #ruby
threesixes has joined #ruby
codecop has joined #ruby
kireevco1 has left #ruby [#ruby]
tkuchiki has quit [Ping timeout: 260 seconds]
lucianosousa has quit [Ping timeout: 252 seconds]
lemur has quit [Ping timeout: 272 seconds]
atmosx has joined #ruby
Phrogz_ has joined #ruby
n_blownapart has joined #ruby
Phrogz_ has quit [Changing host]
Phrogz_ has joined #ruby
Morkel_ has joined #ruby
mocfive has quit [Remote host closed the connection]
mocfive has joined #ruby
Morkel_ has quit [Client Quit]
Morkel has quit [Ping timeout: 252 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aspires has quit []
p0sixpscl has joined #ruby
klmlfl has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
klmlfl has joined #ruby
chrishough has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
pu22l3r_ has joined #ruby
preyalone has joined #ruby
Phrogz_ has quit []
otherj has joined #ruby
lucianosousa has joined #ruby
chrishough has quit [Client Quit]
p0sixpscl has quit [Ping timeout: 240 seconds]
shosti has joined #ruby
shosti has quit [Read error: Connection reset by peer]
p0sixpscl has joined #ruby
sparrovv has joined #ruby
shosti has joined #ruby
pu22l3r has quit [Ping timeout: 272 seconds]
shosti has quit [Read error: Connection reset by peer]
shosti has joined #ruby
MatthewsFace has quit [Ping timeout: 245 seconds]
linojon has quit [Ping timeout: 246 seconds]
Xiti has quit [Read error: Connection reset by peer]
p0sixpscl has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
kaplejon has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
jimmyhoughjr has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
Waheedi has joined #ruby
mikeg has joined #ruby
SCHAAP137 has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ has quit [Changing host]
Phrogz_ has joined #ruby
iceden has quit [Remote host closed the connection]
Waheedi has quit [Client Quit]
<Phrogz_>
So, whenever I `gem install foo.gem` a 2 second conversation happens with api.rubygems.org before the install finishes. Conversation takes place over TLSv2, so I can't see who's saying what.
<Phrogz_>
I'm guessing usage tracking?
Phrogz_ is now known as Phrogz
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
linojon has joined #ruby
sigurding has quit [Quit: sigurding]
Waheedi has joined #ruby
shosti has quit [Remote host closed the connection]
fantazo has joined #ruby
<pipework>
Phrogz: But you can modify the rubygems gem gem
Squarepy has joined #ruby
<pipework>
I mean library
sambao21 has quit [Quit: Computer has gone to sleep.]
<bricker`work>
rubygemsgemgem
phutchins has quit [Ping timeout: 255 seconds]
<Phrogz>
pipework: You mean bc it's FOSS I can go investigating the source code and figure out what it's doing, and modify it to not do that.
freeone3000 has joined #ruby
jheg_ has joined #ruby
olivier_bK has joined #ruby
mityaz has quit [Quit: See ya!]
<Scub>
is there to do inline assignment based on a boolean return? ruby 2.0 <3
Wolland has joined #ruby
<Phrogz>
Scub: I don't understand your question.
pu22l3r_ has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
marcanuy has joined #ruby
freerobby has joined #ruby
<marcanuy>
I'm trying to output an object instance contents using Jekyll, tried
<marcanuy>
marcanuy
<marcanuy>
ES
<marcanuy>
Marcelo Canina - Personal website
<marcanuy>
EN
<marcanuy>
sylvain durand
<marcanuy>
EN FR
<marcanuy>
Marcelo Canina
<marcanuy>
journal
<marcanuy>
about
<marcanuy>
Test 12 September 2014
<marcanuy>
Twitter Profile
<marcanuy>
Github Plus Profile
<marcanuy>
Mail Address
<marcanuy>
LinkedIn Profile
marcanuy was kicked from #ruby by Mon_Ouie [marcanuy]
rbenv has quit [Ping timeout: 255 seconds]
<Phrogz>
pipework: Clearly you've never tackled the beast that is rubygems source. ;)
<Phrogz>
Interestingly api.rubygems.org does not show up in the source. But there is @api_uri ||= Gem::RemoteFetcher.fetcher.api_endpoint uri
<pipework>
Phrogz: I mostly work on the rubygems website source.
<Phrogz>
Good man! My apologies for possibly inferring that rubygems is intractable. :)
marcanuy has joined #ruby
<Phrogz>
(Though there are 17k lines of code in 149 files.)
<marcanuy>
I'm trying to ouput the content of an object instance in Jekyll with: "site.inspect" to print site config variable but it isn't working, any idea?
grokdancer has quit [Quit: Leaving.]
codeurge has joined #ruby
<Phrogz>
marcanuy: Please clarify what "isn't working" means.
emocakes has joined #ruby
saarinen has joined #ruby
saarinen has quit [Client Quit]
brandonshowers has joined #ruby
grokdancer has joined #ruby
<marcanuy>
Phrogz: I have {{ site.inspect }} in a page, when I load that page in the browser no information about the variable is printed
pu22l3r_ has joined #ruby
mkaesz has quit [Remote host closed the connection]
<Phrogz>
marcanuy: /join #jekyll
nanoyak has joined #ruby
<Phrogz>
Sorry, that was a question not a command. I personally don't know jekyll.
jidar has joined #ruby
HelperW_ has quit [Quit: Computer has gone to sleep.]
pu22l3r_ has quit [Remote host closed the connection]
HelperW_ has joined #ruby
<marcanuy>
Phrogz: ok but isn't inspect a ruby function?
vieq has quit [Disconnected by services]
pu22l3r_ has joined #ruby
pu22l3r has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
hephaestus_rg has quit [Ping timeout: 268 seconds]
aspires has joined #ruby
<Phrogz>
marcanuy: Yes, inspect is. My guess then is that either a) site.inspect returns an empty string, or b) some error is occurring that is preventing you from debugging like this. Perhaps `site` is a local variable that hasn't been declared?
chrishough has joined #ruby
<Phrogz>
I'm assuming that #jekyll folks will be able to help you find an error in a log file, or a better way of finding the information you need or something.
blueOxigen has quit [Ping timeout: 268 seconds]
<marcanuy>
Phrogz: I can access site variable contents, but not outputting all the information it contains, will ask in #jekyll thanks
<Phrogz>
kk
dangerousdave has joined #ruby
claymore has quit [Quit: Leaving]
yekta has joined #ruby
ghostmoth has joined #ruby
yekta has quit [Client Quit]
yekta has joined #ruby
<Phrogz>
FWIW the gems group/mailing list has correctly sussed that I have a dependency in my gem; doing `gem install foo.gem --no-dependencies` prevents the phoning home.
Primoz_ has quit [Quit: Leaving]
HelperW_ has quit [Ping timeout: 268 seconds]
rafacv has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
<Phrogz>
er, --ignore-dependencies
benzrf|offline is now known as benzrf
rafacv has joined #ruby
saarinen has quit [Quit: saarinen]
Kricir_ has quit [Remote host closed the connection]
<a___>
Hi guys. I have a short method, with a rescue. I'd like to do: def method_name; statement 1; statement 2; rescue; error handling; end; # the def-rescue shortcut
wolf__ has quit [Quit: This computer has gone to sleep]
<a___>
However, only statement 2 could raise the exception I'm trying to catch. Should I use a begin/end instead, or just accept the first statement (a simple assignment) inside the implicit begin?
<PigDude>
Has anybody released a good book on Ruby 2 yet? ruby way is pretty outdated now
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phreax_ has quit [Ping timeout: 240 seconds]
<a___>
shevy: I could, it just seems like an extra two lines of meaningless bloat - a begin and an end
<PigDude>
shevy: thanks! i think that isn't as in-depth as ruby way, the toc looks like flanagan's book + stdlib api
<a___>
It feels almost overly puristic to avoid using the def-rescue shortcut just because there's an assignment statement on the first line
sailias has quit [Ping timeout: 255 seconds]
rockdon_ has joined #ruby
Phrogz_ has quit [Ping timeout: 272 seconds]
doev has joined #ruby
bmurt has quit []
Scotteh has joined #ruby
ixti has quit [Read error: Connection reset by peer]
renderfu_ has quit [Remote host closed the connection]
HelperW_ has joined #ruby
ixti has joined #ruby
grokdancer has joined #ruby
sylvanica has quit [Quit: sylvanica]
renderful has joined #ruby
<PigDude>
shevy: do you find yourself using that book as a reference?
nicklolsen has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
<nicklolsen>
I'm trying to create a Sinatra based app that uses the github api using the Octokit gem. However, I'm also putting the app code on github so the source will be public. I'm afraid my username and password will be visible in the source code if I use it to authenticate myself to the github API. What is a good way around this?
douglasssssss has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phreax has joined #ruby
<freeone3000>
nicklolsen: Github does oauth. Your lib should too.
MCDev has quit [Ping timeout: 250 seconds]
nanoyak has joined #ruby
nanoyak has quit [Client Quit]
jerius has quit []
pu22l3r has joined #ruby
<nicklolsen>
I'm not familiar with OAuth. If I get a token, then what is to stop others from seeing the token I use and using that for themselves?
<miah>
octokit will gladly take your oauth token, or username / password from ENVIRONMENT variables
HelperW_ has quit [Ping timeout: 272 seconds]
<miah>
no reason to store them in the code itself
<nicklolsen>
I am using Heroku to host the app. How can I change the environment variables on Heroku?
<nicklolsen>
I have to admit I didn't think it was possible. :D
kaspergrubbe has joined #ruby
failshell has quit []
<freeone3000>
nicklolsen: That first, your token isn't in source, and second, tokens are ephemeral and limited-permission, and third, granted interactively with the user.
tesaf has quit [Quit: Lost terminal]
grokdancer has joined #ruby
fgo has quit [Remote host closed the connection]
lsone has joined #ruby
pu22l3r_ has quit [Ping timeout: 272 seconds]
ldnunes has quit [Quit: Leaving]
Ankhers has quit [Ping timeout: 264 seconds]
sarink has quit [Ping timeout: 246 seconds]
gccostabr has quit [Quit: ZZZzzz…]
MaciejCzyzewski has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
AlexRussia_ has joined #ruby
lmickh has quit [Remote host closed the connection]
Fusl has quit [Ping timeout: 245 seconds]
KC9YDN has quit [Quit: beebop]
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
Waheedi has quit [Quit: Waheedi]
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Remote host closed the connection]
<jidar>
does this look correct or horribly stupid? <% for @repo in @host.params['subscription_manager_repos'].gsub(',', ' ') -%>
<wmoxam>
Is there a way to load yaml and force the use of strings for keys rather than symbols?
teddyp1cker has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
Fusl has joined #ruby
rockdon_ is now known as rockdon|away
rockdon|away is now known as rockdon_
linojon has quit [Quit: linojon]
tkuchiki has joined #ruby
pork_clips has joined #ruby
pork_clips is now known as _cake
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cirkit has joined #ruby
lkba has joined #ruby
oleo__ is now known as oleo
lemur has joined #ruby
skullz has quit [Ping timeout: 245 seconds]
AxonetBE has joined #ruby
<cirkit>
i'm trying to get a web app setup for Snorby and used RVM to get ruby 1.9.2p330 (2014-08-07 revision 47094) [x86_64-linux]
<benzrf>
also that appears to be a string youre iterating over
ClarusCogitatio has quit [Ping timeout: 268 seconds]
cocotton_ has joined #ruby
tkuchiki has quit [Ping timeout: 268 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
<eam>
wmoxam: you can pretty easily traverse the structure and do the conversion
ClarusCogitatio has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
ctp has joined #ruby
renderfu_ has joined #ruby
cocotton has quit [Ping timeout: 246 seconds]
Lewix has joined #ruby
<nicklolsen>
I have an app uploaded to heroku that makes requests to the github api just fine. However, when I try to run the app locally for development I can an SSL error. How do you work around that?
cocotton_ has quit [Ping timeout: 245 seconds]
<jidar>
benzrf: this is getting turned into shell executions, so it needs to loop a separate command per iteration. Should I use .split(',') then?
yakko has joined #ruby
<benzrf>
yesss probably
dideler has quit [Ping timeout: 246 seconds]
yakko is now known as thejamespinto
fold has joined #ruby
<nicklolsen>
Ah, nevermind. I found some documentation on it.
emmesswhy has joined #ruby
renderful has quit [Ping timeout: 268 seconds]
Inhaling_ has joined #ruby
<jidar>
benzrf: it's a erb template that deploys out kickstart scripts for rhel based boxes, just so you have some background.
<benzrf>
ok...
zwischenzug has quit [Quit: Leaving]
nanoyak has quit [Quit: Computer has gone to sleep.]
bluenemo has joined #ruby
nicklolsen has quit []
MaciejCzyzewski has joined #ruby
motto has joined #ruby
mikepack_ has joined #ruby
ClarusCogitatio has quit [Ping timeout: 240 seconds]
thejamespinto is now known as yakko
InhalingPixels has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
doev has quit [Remote host closed the connection]
nucatus has quit [Remote host closed the connection]
cryptoca has quit [Ping timeout: 268 seconds]
ceej has quit [Ping timeout: 268 seconds]
livingstn has quit []
skullz has joined #ruby
Alina-malina has joined #ruby
hephaestus_rg has quit [Ping timeout: 272 seconds]
parduse has quit [Killed (weber.freenode.net (Nickname regained by services))]
parduse has joined #ruby
brandon_2 has joined #ruby
M-Techni1 has joined #ruby
parduse is now known as Guest80640
rkjaer has quit [Ping timeout: 268 seconds]
pusewicz has quit [Ping timeout: 268 seconds]
Scorchin has quit [Ping timeout: 268 seconds]
mroth has quit [Ping timeout: 268 seconds]
rkjaer_ has joined #ruby
ClarusCogitatio has joined #ruby
ruisantos has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
keen________ has quit [Ping timeout: 240 seconds]
cryptoca has joined #ruby
CJD14_____ has quit [Ping timeout: 268 seconds]
halfdan has quit [Ping timeout: 268 seconds]
im0b has quit [Ping timeout: 268 seconds]
sirecote has quit [Ping timeout: 268 seconds]
pusewicz_ has joined #ruby
Miron has quit [Ping timeout: 276 seconds]
garethrees has joined #ruby
gkra_ has joined #ruby
crdpink has joined #ruby
artmann has quit [Read error: Connection reset by peer]
Snickers has joined #ruby
kaplejon has quit [Ping timeout: 268 seconds]
KrzaQ has quit [Ping timeout: 268 seconds]
bauruine has quit [Ping timeout: 268 seconds]
az has quit [Ping timeout: 268 seconds]
The_Doctor has joined #ruby
artmann has joined #ruby
pdtpatr1ck has joined #ruby
JStoker has quit [Killed (sinisalo.freenode.net (Nickname regained by services))]
sirecote has joined #ruby
Hamled|Erp has joined #ruby
crdpink2 has quit [Ping timeout: 268 seconds]
jokke has quit [Ping timeout: 268 seconds]
__main__ has quit [Ping timeout: 268 seconds]
saltsa_ has quit [Ping timeout: 268 seconds]
nighter has quit [Ping timeout: 268 seconds]
BombStrike has quit [Ping timeout: 268 seconds]
JStoker has joined #ruby
nighter has joined #ruby
vinky_ has joined #ruby
saltsa has joined #ruby
CJD14_____ has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
M-Technic has quit [Ping timeout: 276 seconds]
brandon_1 has quit [Ping timeout: 276 seconds]
Adran has quit [Ping timeout: 276 seconds]
mikepack has quit [Ping timeout: 276 seconds]
m8 has quit [Ping timeout: 276 seconds]
GinoMan has quit [Ping timeout: 276 seconds]
AmBienCeD has quit [Ping timeout: 276 seconds]
Nss has quit [Ping timeout: 276 seconds]
Hamled has quit [Ping timeout: 276 seconds]
ruisanto1 has quit [Ping timeout: 276 seconds]
pdtpatr11k has quit [Ping timeout: 276 seconds]
gkra has quit [Remote host closed the connection]
kriskropd has quit [Ping timeout: 276 seconds]
musl has quit [Ping timeout: 276 seconds]
drusepth has quit [Ping timeout: 276 seconds]
olekenneth has quit [Ping timeout: 276 seconds]
Dreamer3 has quit [Ping timeout: 276 seconds]
Deele has quit [Ping timeout: 276 seconds]
ssvo has quit [Ping timeout: 276 seconds]
Snickers_ has quit [Ping timeout: 276 seconds]
peckermanzzz has quit [Ping timeout: 276 seconds]
optiz0r has quit [Ping timeout: 276 seconds]
Sthebig has quit [Ping timeout: 276 seconds]
Kabaka has quit [Ping timeout: 276 seconds]
kobain has quit [Ping timeout: 276 seconds]
Apocalypse has quit [Ping timeout: 276 seconds]
vinky has quit [Ping timeout: 276 seconds]
ssvo_ has joined #ruby
mspah_ has quit [Ping timeout: 268 seconds]
tarcwynne_ has quit [Ping timeout: 268 seconds]
shtirlic has quit [Ping timeout: 268 seconds]
halfdan has joined #ruby
mroth has joined #ruby
optiz0r has joined #ruby
Dreamer3 has joined #ruby
synergyz has quit [Quit: No Ping reply in 180 seconds.]
JimmyNeutron has quit [Quit: Leaving]
ceej has joined #ruby
Scorchin has joined #ruby
BombStrike has joined #ruby
ghr has quit [Ping timeout: 268 seconds]
synergyz has joined #ruby
brandonshowers has joined #ruby
Raboo_ has joined #ruby
shtirlic has joined #ruby
__main__ has joined #ruby
cirkit has left #ruby [#ruby]
Nilium has quit [Ping timeout: 268 seconds]
ggherdov has quit [Ping timeout: 268 seconds]
jeregrine has quit [Ping timeout: 268 seconds]
bedouin has quit [Ping timeout: 268 seconds]
machty has quit [Ping timeout: 268 seconds]
andrewcarter has quit [Ping timeout: 268 seconds]
queequeg2 has joined #ruby
GinoMan has joined #ruby
kriskrop1 has joined #ruby
jxf has quit [Ping timeout: 276 seconds]
Raboo has quit [Remote host closed the connection]
manzo has quit [Ping timeout: 240 seconds]
Raboo_ is now known as Raboo
im0b has joined #ruby
andrewcarter has joined #ruby
tarcwynne_ has joined #ruby
mdw has joined #ruby
rickruby has quit [Ping timeout: 268 seconds]
queequeg1 has quit [Ping timeout: 276 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 276 seconds]
cajone has quit [Ping timeout: 276 seconds]
Mekkis has quit [Ping timeout: 276 seconds]
fumk has quit [Ping timeout: 276 seconds]
dorei has quit [Ping timeout: 276 seconds]
ValicekB has quit [Ping timeout: 276 seconds]
echevemaster has quit [Quit: Leaving]
mikepack_ has quit [Remote host closed the connection]
musl_ has joined #ruby
mspah_ has joined #ruby
kaplejon has joined #ruby
jxf has joined #ruby
Deele has joined #ruby
AmBienCeD has joined #ruby
AmBienCeD has quit [Changing host]
AmBienCeD has joined #ruby
pusewicz_ has quit [Ping timeout: 268 seconds]
mikecmpbll has quit [Ping timeout: 268 seconds]
nifty_ has quit [Ping timeout: 268 seconds]
Apocalypse has joined #ruby
soulcake has joined #ruby
rockdon_ is now known as rockdon|away
ejnahc has quit [Ping timeout: 246 seconds]
Sthebig has joined #ruby
Px12 has quit [Ping timeout: 245 seconds]
olekenneth has joined #ruby
ejnahc has joined #ruby
mikecmpbll has joined #ruby
bedouin has joined #ruby
Nilium has joined #ruby
rickruby has joined #ruby
pusewicz_ has joined #ruby
nifty_ has joined #ruby
skip_freely has quit [Quit: skip_freely]
machty has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
peckermanzzz has joined #ruby
jheg_ is now known as jheg
Fire-Dragon-DoL has joined #ruby
kobain has joined #ruby
bauruine has joined #ruby
kriskrop1 has quit [Ping timeout: 246 seconds]
p0sixpsc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
Mekkis has joined #ruby
Kabaka has joined #ruby
jeregrine has joined #ruby
kriskropd has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
dorei has joined #ruby
zwischenzug has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
<zwischenzug2>
hello, i can't get the stack-explorer gem working with pry
cmaxw______ has joined #ruby
<zwischenzug2>
it says the following: .rvm/gems/ruby-2.1.0/gems/pry-stack_explorer-0.4.9.1/lib/pry-stack_explorer/when_started_hook.rb:49:in `remove_internal_frames' (see _pry_.hooks.errors to debug)
gsd_ has joined #ruby
incomprehensibly has joined #ruby
sivoais has quit [Changing host]
sivoais has joined #ruby
lpaste_ has joined #ruby
nanoyak_ has quit [Read error: Connection reset by peer]
im0b has joined #ruby
dol37_ is now known as dol37
rockdon_ is now known as rockdon|away
rfv has joined #ruby
<zwischenzug2>
was wondering where I might be able to find _pry_.hooks.errors so I can try and debug
spastorino has joined #ruby
digifiv5e has joined #ruby
kobain_ has joined #ruby
jpinnix__ is now known as jpinnix_
nanoyak has joined #ruby
<shevy>
freeone3000 I don't think this is possible
<jhass>
freeone3000: can you grab some of the json and make a runnable reproducing example?
jidar has quit [Ping timeout: 260 seconds]
d2biG has joined #ruby
jheg has quit [Quit: jheg]
<zwischenzug2>
anyone have a clue? looks in the gem directory, but couldn't find it there
ltd has joined #ruby
digifiv5e is now known as Guest23443
sonOfRa has joined #ruby
Scub has joined #ruby
tommylommykins has joined #ruby
lectrick is now known as pmarreck
thesheff17_ is now known as thesheff17
mocchi has joined #ruby
felixjet has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
Tranquility_ is now known as Tranquility
kobain_ has quit [Max SendQ exceeded]
ggherdov has joined #ruby
kobain_ has joined #ruby
SirFunk_ has joined #ruby
Karunamon|2 has joined #ruby
ccooke has joined #ruby
explodes has quit [Disconnected by services]
fabrice31 has joined #ruby
larissa has joined #ruby
tsunamie has quit [Ping timeout: 260 seconds]
greenride has joined #ruby
graft has joined #ruby
graft has joined #ruby
northfurr has quit [Quit: northfurr]
jobewan has quit [Quit: Leaving]
Photism_ has joined #ruby
monsieur1 has joined #ruby
jayne_ has joined #ruby
nanoyak has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<greenride>
I want to read a string from a file exactly as is... with escape sequences.
erichmenge has quit [Ping timeout: 260 seconds]
<greenride>
without escape sequences
dvabr has joined #ruby
zettam_ has joined #ruby
marr123 has joined #ruby
<jhass>
freeone3000: on a side note don't raise Exception. Raise StandardError (which is the default if you give just a string to raise) if you can't be bothered to make your own exception classes
skullz has quit [Ping timeout: 260 seconds]
marr123 has quit [Client Quit]
DarthGandalf has quit [Ping timeout: 260 seconds]
flori_ has quit [Ping timeout: 260 seconds]
fold has quit [Ping timeout: 246 seconds]
timonv_ has quit [Remote host closed the connection]
jokke has quit [*.net *.split]
ddv has quit [*.net *.split]
Brando753 has quit [*.net *.split]
majoh has quit [*.net *.split]
uber has quit [*.net *.split]
tskogberg has quit [*.net *.split]
graft_ has quit [*.net *.split]
flori has joined #ruby
michael_imac has joined #ruby
Hobogrammer_ has joined #ruby
m8tt8 has joined #ruby
ctp_ has joined #ruby
tsunamie has joined #ruby
tylersmi_ has joined #ruby
synergyz_ has joined #ruby
jaygen_ has joined #ruby
bbloom_ has joined #ruby
olekenne1h has joined #ruby
hamakn_ has joined #ruby
jokke has joined #ruby
s_e has joined #ruby
cougarten_ has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Eiam_ has joined #ruby
nevans_ has joined #ruby
ValicekB has quit [Ping timeout: 255 seconds]
thagomizer1 has joined #ruby
BombAw has joined #ruby
parduse has joined #ruby
Eiam has quit [Disconnected by services]
GodAlmightyHimse has joined #ruby
Nilium has quit [Ping timeout: 255 seconds]
Guest80640 has quit [Ping timeout: 255 seconds]
Eiam_ is now known as Eiam
uber has joined #ruby
taptapdan_ has joined #ruby
apeiros has joined #ruby
febuiles_ has joined #ruby
parduse is now known as Guest38522
thagomizer has quit [Ping timeout: 255 seconds]
Dreamer3__ has quit [Ping timeout: 255 seconds]
kp666 has quit [Ping timeout: 255 seconds]
renier has quit [Ping timeout: 255 seconds]
tfittsy has quit [Ping timeout: 255 seconds]
hfp has quit [Ping timeout: 255 seconds]
radic has quit [Disconnected by services]
DarthGandalf has joined #ruby
KC9YDN has joined #ruby
eregon__ has joined #ruby
mikepack_ has joined #ruby
Smujo_ has joined #ruby
erichmenge has joined #ruby
tfittsy has joined #ruby
radic_ has joined #ruby
apeiros_ has quit [Ping timeout: 255 seconds]
Smujo has quit [Ping timeout: 255 seconds]
drjfreez1 has quit [Ping timeout: 255 seconds]
taptapdan has quit [Ping timeout: 255 seconds]
Sou|cutter has quit [Ping timeout: 255 seconds]
avelldiroll has quit [Ping timeout: 255 seconds]
theRoUS has joined #ruby
pumpkintits has quit [Ping timeout: 255 seconds]
taptapdan_ is now known as taptapdan
davispuhh has joined #ruby
vinky has quit [Ping timeout: 255 seconds]
mikepack has quit [Ping timeout: 255 seconds]
codeurge_ has quit [Ping timeout: 255 seconds]
bluenemo_ has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
optiz0r has quit [Ping timeout: 255 seconds]
Alina-malina has quit [Ping timeout: 255 seconds]
ctp has quit [Ping timeout: 255 seconds]
cougarten__ has quit [Ping timeout: 255 seconds]
tylersmith has quit [Ping timeout: 255 seconds]
jaygen has quit [Ping timeout: 255 seconds]
absolutezeroff has quit [Ping timeout: 255 seconds]
icarus has quit [Ping timeout: 255 seconds]
hamakn has quit [Ping timeout: 255 seconds]
the_f0ster has quit [Ping timeout: 255 seconds]
ffranz has quit [Ping timeout: 255 seconds]
lbwski has quit [Ping timeout: 255 seconds]
mgorbach has quit [Ping timeout: 255 seconds]
stormy3 has quit [Ping timeout: 255 seconds]
bbloom has quit [Ping timeout: 255 seconds]
cescalante has joined #ruby
dyreshark_ has joined #ruby
eregon_ has quit [Ping timeout: 255 seconds]
perrier_ has quit [Ping timeout: 255 seconds]
dorei has quit [Ping timeout: 255 seconds]
synergyz has quit [Ping timeout: 255 seconds]
phreax has quit [Ping timeout: 255 seconds]
motto has quit [Ping timeout: 255 seconds]
Roa_ has quit [Ping timeout: 255 seconds]
KingOfKarlsruhe has quit [Ping timeout: 255 seconds]
rikai has quit [Ping timeout: 255 seconds]
naquad has quit [Ping timeout: 255 seconds]
thooliha- has joined #ruby
patteh_ has joined #ruby
matled-_ has joined #ruby
hendricius has joined #ruby
tylersmi_ has quit [Client Quit]
jzigmund_ has joined #ruby
pizzaops has quit [Ping timeout: 260 seconds]
jyuan` has joined #ruby
rismoney1 is now known as 20WABFMWE
stormy3 has joined #ruby
phreax has joined #ruby
Sthebig has quit [*.net *.split]
camt has quit [*.net *.split]
gtrak has quit [*.net *.split]
zettam has quit [*.net *.split]
SouL has quit [*.net *.split]
marr has quit [*.net *.split]
jarjar_prime has quit [*.net *.split]
BTRE has quit [*.net *.split]
thoolihan has quit [*.net *.split]
choke has quit [*.net *.split]
zoo-zed has quit [*.net *.split]
febuiles has quit [*.net *.split]
Photism has quit [*.net *.split]
Atrumx has quit [*.net *.split]
ryanleesipes has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
felixjet_ has quit [*.net *.split]
jayne has quit [*.net *.split]
dyreshark has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
cescalante_ has quit [*.net *.split]
^[]^ has quit [*.net *.split]
fearoffish has quit [*.net *.split]
rcs has quit [*.net *.split]
waltz has quit [*.net *.split]
thooliha- is now known as thoolihan
dyreshark_ is now known as dyreshark
optiz0r has joined #ruby
rikai has joined #ruby
Dreamer3__ has joined #ruby
icarus has joined #ruby
perrier__ has joined #ruby
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SDr has joined #ruby
bmoyles0117 has joined #ruby
cephalostrum has joined #ruby
fearoffish has joined #ruby
renier has joined #ruby
waltz has joined #ruby
<jhass>
greenride: File.read doesn't add escape characters, they're in the file that way
zz_anildigital has joined #ruby
Sthebig has joined #ruby
tobyo2 has joined #ruby
Smujo_ has quit [Read error: Connection reset by peer]
pibby_ has joined #ruby
tylersmith has joined #ruby
sarlalia1 has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
wallerdev has quit [*.net *.split]
kobain has quit [*.net *.split]
olekenneth has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
ejnahc has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
BombStrike has quit [*.net *.split]
garethrees has quit [*.net *.split]
bluenemo has quit [*.net *.split]
zwischenzug has quit [*.net *.split]
Scotteh has quit [*.net *.split]
gsd has quit [*.net *.split]
codeurge has quit [*.net *.split]
rafacv has quit [*.net *.split]
sambao21 has quit [*.net *.split]
hahaguys has quit [*.net *.split]
\13k has quit [*.net *.split]
davispuh has quit [*.net *.split]
clocKwize_ has quit [*.net *.split]
anildigital has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
gizmore has quit [*.net *.split]
pibby has quit [*.net *.split]
matchaw has quit [*.net *.split]
Tuxero has quit [*.net *.split]
madhatter has quit [*.net *.split]
papercode has quit [*.net *.split]
crodas has quit [*.net *.split]
patteh has quit [*.net *.split]
matled has quit [*.net *.split]
nevans has quit [*.net *.split]
s_e_ has quit [*.net *.split]
fella6s has quit [*.net *.split]
d4nku has quit [*.net *.split]
axisys has quit [*.net *.split]
drager has quit [*.net *.split]
eregon has quit [*.net *.split]
20WABFMWE has quit [*.net *.split]
Bish has quit [*.net *.split]
Blizzy has quit [*.net *.split]
perrier has quit [*.net *.split]
yokel has quit [*.net *.split]
jzigmund has quit [*.net *.split]
monsieurp has quit [*.net *.split]
RealMarc has quit [*.net *.split]
flughafen has quit [*.net *.split]
sarlalian has quit [*.net *.split]
ahuman has quit [*.net *.split]
go|dfish has quit [*.net *.split]
mclee has quit [*.net *.split]
regedarek has quit [*.net *.split]
danshultz has quit [*.net *.split]
redondos has quit [*.net *.split]
Karunamon has quit [*.net *.split]
Muz has quit [*.net *.split]
SirFunk has quit [*.net *.split]
thalweg has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
davzie has quit [*.net *.split]
dRbiG has quit [*.net *.split]
wchun has quit [*.net *.split]
end_guy has quit [*.net *.split]
DrCode has quit [*.net *.split]
Boohbah has quit [*.net *.split]
danshultz_ is now known as danshultz
matled-_ is now known as matled
d2biG is now known as dRbiG
Guest29778 is now known as Apocalypse
SirFunk_ is now known as SirFunk
BombAw is now known as BombStrike
Karunamon|2 is now known as Karunamon
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
wallerdev has joined #ruby
queequeg1 has joined #ruby
redondos- is now known as redondos
Derander_ has joined #ruby
flagg0204 has joined #ruby
saltsa_ has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
elfo222 has joined #ruby
vinky has joined #ruby
KingOfKarlsruhe has joined #ruby
naquad has joined #ruby
mgorbach has joined #ruby
codeurge has joined #ruby
heyts has joined #ruby
dorei has joined #ruby
jayne_ is now known as jayne
Nilium has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DarkFoxDK_ has joined #ruby
andrewbredow_ has joined #ruby
hfp has joined #ruby
mkaesz has joined #ruby
ryanleesipes has joined #ruby
Adran has joined #ruby
zwischenzug2 has quit [Quit: Leaving]
rcs has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
[[[j4jackj]]] has joined #ruby
BTRE has joined #ruby
m8tt8 has quit [*.net *.split]
ashleah has quit [*.net *.split]
Scub has quit [*.net *.split]
cmaxw______ has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
spastorino has quit [*.net *.split]
ggherdov has quit [*.net *.split]
matled- has quit [*.net *.split]
clocKwize has quit [*.net *.split]
neersighted has quit [*.net *.split]
ejnahc_ has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
kaplejon has quit [*.net *.split]
iiylll has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
axisys_ has quit [*.net *.split]
BraddBitt has quit [*.net *.split]
rickruby has quit [*.net *.split]
kriskropd has quit [*.net *.split]
nifty_ has quit [*.net *.split]
bedouin has quit [*.net *.split]
tarcwynne_ has quit [*.net *.split]
andrewcarter has quit [*.net *.split]
bauruine has quit [*.net *.split]
queequeg2 has quit [*.net *.split]
saltsa has quit [*.net *.split]
halfdan has quit [*.net *.split]
ceej has quit [*.net *.split]
The_Doctor has quit [*.net *.split]
emmesswhy has quit [*.net *.split]
lsone has quit [*.net *.split]
aspires has quit [*.net *.split]
yetanotherdave has quit [*.net *.split]
fantazo has quit [*.net *.split]
comma8 has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
ph8 has quit [*.net *.split]
LangeOortjes has quit [*.net *.split]
nobitanobi has quit [*.net *.split]
abuzze_ has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
nickjj has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
vcoinminer______ has quit [*.net *.split]
callenb_ has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
Zackio has quit [*.net *.split]
jyuan has quit [*.net *.split]
Faithmuse has quit [*.net *.split]
nisstyre has quit [*.net *.split]
zenspider has quit [*.net *.split]
j4jackj has quit [*.net *.split]
FL1SK has quit [*.net *.split]
Mars` has quit [*.net *.split]
kotk_ has quit [*.net *.split]
Akagi201 has quit [*.net *.split]
Guest42178 has quit [*.net *.split]
SDr__ has quit [*.net *.split]
j416 has quit [*.net *.split]
hakunin_ has quit [*.net *.split]
terrellt has quit [*.net *.split]
poguez_ has quit [*.net *.split]
mg^ has quit [*.net *.split]
lolmaus has quit [*.net *.split]
Derander has quit [*.net *.split]
ndrst has quit [*.net *.split]
PixelCrumbs has quit [*.net *.split]
andrewbredow has quit [*.net *.split]
joshingly has quit [*.net *.split]
Dwarf has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
musicmatze has quit [*.net *.split]
idoru has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
DarkFoxDK_ is now known as DarkFoxDK
_shrine has joined #ruby
mikecmpb_ has joined #ruby
andrewcarter has joined #ruby
kaplejon_ has joined #ruby
sepp2k1 has joined #ruby
kamoricks has joined #ruby
grokdancer1 has joined #ruby
Asher2 has joined #ruby
Faithmuse has joined #ruby
ta has joined #ruby
michaeldeol has joined #ruby
SDr__ has joined #ruby
Mars` has joined #ruby
MCDev has joined #ruby
yokel_ has quit [Changing host]
yokel_ has joined #ruby
clocKwize has joined #ruby
poguez_ has joined #ruby
mikepack has joined #ruby
qpls_ has joined #ruby
yokel_ is now known as yokel
thagomizer has joined #ruby
Photism2 has joined #ruby
cmaxw______ has joined #ruby
zwischenzug has joined #ruby
emmesswhy has joined #ruby
deric_skibotn_ has joined #ruby
spastorino has joined #ruby
bauruine_ has joined #ruby
verto_ has joined #ruby
synergyz has joined #ruby
abuzze has joined #ruby
AlSquirrel has joined #ruby
banister has joined #ruby
absolutezeroff has joined #ruby
ItSANgo__ has joined #ruby
febuiles_ has quit [Quit: febuiles_]
helpa has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 246 seconds]
qpls has quit [Ping timeout: 246 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
magoo has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 246 seconds]
maxmanders has quit [Ping timeout: 246 seconds]
nevans_ has quit [Ping timeout: 246 seconds]
gsd_ has quit [Ping timeout: 246 seconds]
Janno- has quit [Ping timeout: 246 seconds]
_5kg has quit [Ping timeout: 246 seconds]
verto has quit [Ping timeout: 246 seconds]
jamo__ has quit [Ping timeout: 246 seconds]
SDr has quit [Ping timeout: 246 seconds]
dyreshark has quit [Ping timeout: 246 seconds]
mgorbach has quit [Ping timeout: 246 seconds]
drager_ has quit [Ping timeout: 246 seconds]
Wolland has quit [Ping timeout: 246 seconds]
Lucky__ has quit [Ping timeout: 246 seconds]
mackintosh has quit [Ping timeout: 246 seconds]
Sthebig has quit [Ping timeout: 246 seconds]
synergyz_ has quit [Ping timeout: 246 seconds]
_cake has quit [Ping timeout: 246 seconds]
txdv has quit [Ping timeout: 246 seconds]
Vile` has quit [Ping timeout: 246 seconds]
existensil has quit [Ping timeout: 246 seconds]
jaredrhine has quit [Ping timeout: 246 seconds]
blackgoat has quit [Ping timeout: 246 seconds]
heyts has left #ruby ["Bye!"]
Wolland_ has joined #ruby
deric_skibotn_ is now known as deric_skibotn
mkaesz has quit [Ping timeout: 240 seconds]
crdpink has joined #ruby
perrier__ has quit [Ping timeout: 246 seconds]
Squarepy has quit [Ping timeout: 246 seconds]
rostam has quit [Ping timeout: 246 seconds]
phoo1234567 has quit [Ping timeout: 246 seconds]
freeone3000 has quit [Ping timeout: 246 seconds]
m4rCsi has quit [Ping timeout: 246 seconds]
Meeh has quit [Ping timeout: 246 seconds]
vcoinminer______ has joined #ruby
Akagi201 has joined #ruby
Rollabun_ has joined #ruby
bmoyles0117_ has joined #ruby
artmann has joined #ruby
eregon__ has quit [Ping timeout: 246 seconds]
uber has quit [Ping timeout: 246 seconds]
Klaus_Dieter has quit [Ping timeout: 246 seconds]
crdpink2 has quit [Ping timeout: 246 seconds]
Kabaka has quit [Ping timeout: 246 seconds]
jbueza has quit [Ping timeout: 246 seconds]
garbanotas has quit [Ping timeout: 246 seconds]
mocfive has quit [Ping timeout: 246 seconds]
amystephen has quit [Ping timeout: 246 seconds]
WillAmes has quit [Ping timeout: 246 seconds]
jamooo has quit [Ping timeout: 246 seconds]
xlii has quit [Ping timeout: 246 seconds]
maestroj_ has joined #ruby
zwischenzug has quit [Client Quit]
zeusmns has quit [Ping timeout: 260 seconds]
bjeanes_ has joined #ruby
[[[j4jackj]]] is now known as j4jackj
saltsa_ has quit [Ping timeout: 246 seconds]
sinkensabe has quit [Ping timeout: 246 seconds]
JoshGlzB_ has quit [Ping timeout: 246 seconds]
kaffepanna has quit [Ping timeout: 246 seconds]
troyready has quit [Ping timeout: 246 seconds]
lazyguru has quit [Ping timeout: 246 seconds]
sn0wb1rd has quit [Ping timeout: 246 seconds]
Pro| has quit [Ping timeout: 246 seconds]
zartoosh has joined #ruby
tylersmi_ has joined #ruby
jaredrhine has joined #ruby
incomprehensibly has joined #ruby
kireevco has joined #ruby
nifty_ has joined #ruby
andrewbredow_ has quit [Ping timeout: 246 seconds]
theRoUS has quit [Ping timeout: 246 seconds]
zeroNones has quit [Ping timeout: 246 seconds]
niklasb has quit [Ping timeout: 246 seconds]
binw has quit [Ping timeout: 246 seconds]
cHarNe2 has quit [Ping timeout: 246 seconds]
Guest85414______ has joined #ruby
sinkensabe has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zwischenzug has joined #ruby
joshingly has joined #ruby
Photism_ has quit [Ping timeout: 246 seconds]
regedare1 has quit [Ping timeout: 246 seconds]
chihhsin has quit [Ping timeout: 246 seconds]
m4rCsi has joined #ruby
rafacv has joined #ruby
Meeh has joined #ruby
txdv has joined #ruby
orthos has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
Davedo has quit [Ping timeout: 246 seconds]
FDj has quit [Ping timeout: 246 seconds]
mozzarella has quit [Ping timeout: 246 seconds]
nemish has quit [Ping timeout: 246 seconds]
pgmcgee has quit [Ping timeout: 246 seconds]
mg^ has joined #ruby
kamoricks has quit [Client Quit]
AlSquirrel has quit [Client Quit]
Vile` has joined #ruby
Klaus_Dieter has joined #ruby
binw has joined #ruby
wallerdev has quit [Ping timeout: 246 seconds]
VBlizzard has quit [Ping timeout: 246 seconds]
musl_ has quit [Ping timeout: 246 seconds]
DivineEntity has quit [Ping timeout: 246 seconds]
r4v5 has quit [Ping timeout: 246 seconds]
mburns has quit [Ping timeout: 246 seconds]
mjulian has quit [Ping timeout: 246 seconds]
tarcwynne_ has joined #ruby
optiz0r_ has joined #ruby
mocfive has joined #ruby
wookiehangover has joined #ruby
FDj has joined #ruby
nemish has joined #ruby
SouL has joined #ruby
waltz has quit [Ping timeout: 246 seconds]
dphase has quit [Ping timeout: 246 seconds]
stopbyte has quit [Ping timeout: 246 seconds]
jsaak has quit [Ping timeout: 246 seconds]
eval-in_____ has joined #ruby
perrier__ has joined #ruby
Rydekull has joined #ruby
_fumk has joined #ruby
kyb3r_ has quit [Ping timeout: 246 seconds]
Beoran has quit [Ping timeout: 246 seconds]
eval-in____ has quit [Ping timeout: 246 seconds]
genta has quit [Ping timeout: 246 seconds]
halfdan has joined #ruby
bmoyles0117 has quit [Ping timeout: 246 seconds]
ctp_ has quit [Ping timeout: 246 seconds]
Ulrike_Rayne has quit [Ping timeout: 246 seconds]
rs0 has quit [Ping timeout: 246 seconds]
bmoyles0117_ is now known as bmoyles0117
rickruby has joined #ruby
ashleah has joined #ruby
callenb_ has joined #ruby
avelldiroll has joined #ruby
redondos has quit [Ping timeout: 245 seconds]
kyb3r_ has joined #ruby
JoshGlzBrk has joined #ruby
papercode has joined #ruby
n_blownapart has quit []
Sou|cutter has joined #ruby
thesheff17_ has joined #ruby
Olipro has quit [Max SendQ exceeded]
ph8 has joined #ruby
ghr has joined #ruby
ceej has joined #ruby
n_blownapart has joined #ruby
mjuszczak has quit [Ping timeout: 260 seconds]
digifiv5e_ has joined #ruby
garbanotas has joined #ruby
bedouin has joined #ruby
jidar has joined #ruby
musl_ has joined #ruby
anicet has joined #ruby
thomasfedb has joined #ruby
matchaw has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
AmBienCeD has quit [Ping timeout: 276 seconds]
Deele has quit [Ping timeout: 276 seconds]
soulcake has quit [Ping timeout: 276 seconds]
renier has quit [Ping timeout: 276 seconds]
tfittsy has quit [Ping timeout: 276 seconds]
Asher has quit [Ping timeout: 276 seconds]
Caius has quit [Ping timeout: 276 seconds]
codeurge has quit [Ping timeout: 276 seconds]
taptapdan has quit [Ping timeout: 276 seconds]
mikepack_ has quit [Ping timeout: 276 seconds]
Bish_ has quit [Ping timeout: 276 seconds]
peckermanzzz has quit [Ping timeout: 276 seconds]
russt_ has quit [Ping timeout: 276 seconds]
crazed has quit [Ping timeout: 276 seconds]
phreax has quit [Ping timeout: 276 seconds]
optiz0r has quit [Ping timeout: 276 seconds]
jyuan` has quit [Ping timeout: 276 seconds]
davispuhh has quit [Ping timeout: 276 seconds]
thagomizer1 has quit [Ping timeout: 276 seconds]
sonOfRa has quit [Ping timeout: 276 seconds]
Guest23443 has quit [Ping timeout: 276 seconds]
thomasfedb_ has quit [Ping timeout: 276 seconds]
grokdancer has quit [Ping timeout: 276 seconds]
fumk has quit [Ping timeout: 276 seconds]
hfp__work has quit [Ping timeout: 276 seconds]
Mekkis has quit [Ping timeout: 276 seconds]
a___ has quit [Ping timeout: 276 seconds]
Rollabunna has quit [Ping timeout: 276 seconds]
ItSANgo has quit [Ping timeout: 276 seconds]
aboudreault has quit [Ping timeout: 276 seconds]
willbarrettdev has quit [Ping timeout: 276 seconds]
bjornar has quit [Ping timeout: 276 seconds]
bbloom_ has quit [Ping timeout: 276 seconds]
pibby_ has quit [Ping timeout: 276 seconds]
ephemerian has quit [Ping timeout: 276 seconds]
Caius has joined #ruby
soulcake has joined #ruby
Guest23135 has quit [Ping timeout: 276 seconds]
m8 has joined #ruby
AmBienCeD has joined #ruby
AmBienCeD has joined #ruby
AmBienCeD has quit [Changing host]
bruno-_ has quit [Ping timeout: 260 seconds]
Blizzy has joined #ruby
peckermanzzz has joined #ruby
Blizzy has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
AmBienCeD has quit [*.net *.split]
m8 has quit [*.net *.split]
Caius has quit [*.net *.split]
ggherdov_ has joined #ruby
soulcake has quit [*.net *.split]
andrewlio has quit [Quit: Leaving.]
ctp has joined #ruby
m8 has joined #ruby
andrewbredow has joined #ruby
Tricon has quit [Quit: Leaving...]
axisys has joined #ruby
Pro| has joined #ruby
oleo has joined #ruby
silkfox has joined #ruby
mikepack has quit [Remote host closed the connection]
wallerdev has joined #ruby
chihhsin has joined #ruby
pasv has joined #ruby
pasv is now known as Guest15169
terrellt has joined #ruby
bbloom has joined #ruby
Roa has joined #ruby
ahuman has joined #ruby
icebourg has quit []
geggam has quit [Ping timeout: 260 seconds]
sonOfRa has joined #ruby
patrick99e99 has joined #ruby
Kilobyte|StupidC has joined #ruby
Sthebig has joined #ruby
tfittsy has joined #ruby
Caius has joined #ruby
eregon has joined #ruby
soulcake has joined #ruby
Mekkis has joined #ruby
Deele has joined #ruby
hahaguys has joined #ruby
mjulian has joined #ruby
AmBienCeD has joined #ruby
lkba has joined #ruby
zenspider has joined #ruby
77CAAFWVD has joined #ruby
peckermanzzz has joined #ruby
Blizzy has joined #ruby
Kilobyte|StupidC has quit [Max SendQ exceeded]
mjulian has quit [Max SendQ exceeded]
cajone has left #ruby [#ruby]
Caius has quit [Changing host]
Caius has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
uber has joined #ruby
helpa has joined #ruby
yetanotherdave has joined #ruby
ddv has joined #ruby
majoh has joined #ruby
dphase has joined #ruby
kobain_ is now known as kobain
xlii has joined #ruby
renier has joined #ruby
SouL has quit [Ping timeout: 240 seconds]
existensil has joined #ruby
Kamuela has joined #ruby
magoo has joined #ruby
go|dfish has joined #ruby
SouL has joined #ruby
mattmcclure_ has joined #ruby
cHarNe2 has joined #ruby
Olipro has joined #ruby
kriskropd has joined #ruby
HelperW_ has joined #ruby
rs0 has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
troyready has joined #ruby
r4v5 has joined #ruby
codeurge has joined #ruby
momomomomo has quit [Quit: momomomomo]
m8 has quit [Quit: Sto andando via]
_5kg has joined #ruby
ClarusCogitatio has quit [Ping timeout: 260 seconds]
bjornar has joined #ruby
phoo1234567 has joined #ruby
hakunin has joined #ruby
drjfreeze has joined #ruby
phoo1234567 has quit [Remote host closed the connection]
kaichanvong has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
saltsa has joined #ruby
icarus has quit [Remote host closed the connection]
HelperW_ has quit [Ping timeout: 260 seconds]
ddv has quit [Ping timeout: 260 seconds]
ddv has joined #ruby
saarinen has quit [Quit: saarinen]
Tricon has joined #ruby
nanoyak has joined #ruby
shtirlic has joined #ruby
uber has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 252 seconds]
gsd has joined #ruby
sn0wb1rd has joined #ruby
sepp2k1 has quit [Ping timeout: 252 seconds]
uber_ has joined #ruby
<greenride>
jhass: Thanks. That was helpful.
theRoUS has joined #ruby
n_blownapart has quit [Read error: Connection reset by peer]
Nilium has quit [Ping timeout: 252 seconds]
Dreamer3__ has quit [Ping timeout: 252 seconds]
waltz has joined #ruby
<shevy>
any of you have ideas how to best register a task