goyox86_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has quit [Quit: (IRC Client: textualapp.com)]
slaught has quit [Quit: slaught]
jnh has joined #rubinius
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
pietr0 has quit [Quit: pietr0]
|jemc| has joined #rubinius
unreal has joined #rubinius
jnh_ has joined #rubinius
jnh has quit [Read error: Connection reset by peer]
amsi has quit [Quit: Leaving]
jnh_ has quit [Remote host closed the connection]
jnh has joined #rubinius
<brixen> helps when looking at statsd to spell gauges correctly
amclain has joined #rubinius
|jemc| has quit [Ping timeout: 265 seconds]
dimday has joined #rubinius
Bwild has quit [Quit: leaving]
jnh has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
|jemc| has joined #rubinius
houhoulis has joined #rubinius
houhouli_ has joined #rubinius
houhoulis has quit [Ping timeout: 255 seconds]
Bwild has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.1]
cha1tanya has joined #rubinius
|jemc| has quit [Ping timeout: 264 seconds]
nirvdrum has quit [Ping timeout: 240 seconds]
elia has joined #rubinius
elia has quit [Client Quit]
cha1tanya has quit [Ping timeout: 264 seconds]
noop has joined #rubinius
amclain has quit [Quit: Leaving]
noop has quit [Ping timeout: 244 seconds]
noop has joined #rubinius
dimday has quit [Remote host closed the connection]
noop has quit [Ping timeout: 252 seconds]
noop has joined #rubinius
flavio has joined #rubinius
flavio has joined #rubinius
elia has joined #rubinius
goyox86 has joined #rubinius
<yorickpeterse> morning
<DireFog> hey
<DireFog> would something like this fly? https://gist.github.com/ngollan/f90825123c529d02001a
<DireFog> (re my issue where load(..., true) would fail to call top-level methods
<DireFog> also, ./configure && rake → "Exception: no processor is defined for Parser compiler stage." :_|
<yorickpeterse> The bit `@object.load(path, true).should be_true` doesn't really seem required, it can just be `@object.load(path, true)`
<yorickpeterse> Also this should be broken up into two specs
<yorickpeterse> one that tests if the method is defined, the other if it can be called
<yorickpeterse> (since the two are distinctively different)
<DireFog> it's pretty much copy&paste from ruby/core/kernel/shared/load.rb line 78ff.
<goyox86> morning!
<yorickpeterse> DireFog: correct, some of the existing specs are shit
<yorickpeterse> so copy-pasting is not a guarantee they're good to go :P
<DireFog> lol ok
<yorickpeterse> it's a bit confusing atm
* DireFog has no clue where in his FS he is
* DireFog curses at dawdling in a WD that was last pulled in 2013
* DireFog is terribly sorry
<yorickpeterse> a WD?
<yorickpeterse> oh, working directory
<yorickpeterse> heh
benlovell has joined #rubinius
<DireFog> oh look, after a pull it even builds with a current MRI!
yopp has quit [Ping timeout: 264 seconds]
yopp has joined #rubinius
benlovell has quit [Read error: Connection reset by peer]
benlovell has joined #rubinius
elia has quit [Quit: (IRC Client: textualapp.com)]
benlovell has quit [Ping timeout: 252 seconds]
elia has joined #rubinius
<DireFog> would it be alright to have one test that explicitly says ->{load(...)}.should_not raise_error(NameError) and then bug out hard when doing the same thing later on?
<yorickpeterse> Testing for _not_ raising an error is something we typically don't want
<yorickpeterse> since it's a fairly useless test, there's a large amount of other errors that might be raised
<yorickpeterse> In this case it's best to test if: 1) the method is defined where it should be 2) the method can be called, and whatever result it produces is there
<DireFog> hmmm ok
<DireFog> and one assert per it-block?
<yorickpeterse> If possible that is preferred
<DireFog> so I'd end up with https://gist.github.com/ngollan/f90825123c529d02001a when also touching some of the existing stuff
<yorickpeterse> Instead of "ScratchPad.recorded.first.should be_an_instance_of(Class)" you should be able to just do "ScratchPad.recorded.first.should == :load_wrap_loaded"
<yorickpeterse> Also, "before :each" can be written as just "before"
<yorickpeterse> And instead of this: lambda { @object.send(:top_level_method) }.should raise_error(NameError)
<yorickpeterse> you can just do this: @object.respond_to?(:top_level_method).should == false
<yorickpeterse> unless you specifically want to test for NameError
<yorickpeterse> Not sure what line #28 is supposed to test though, is that not already covered by line #18?
benlovell has joined #rubinius
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #rubinius
houhouli_ has quit [Remote host closed the connection]
<DireFog> yorickpeterse: only LL 21-34 are new, the stuff above is an attempt to rip apart a single existing test
<yorickpeterse> Ah ok
<yorickpeterse> Well, if you could clean up L18 while you're at it that would be great :)
<yorickpeterse> Yeah I know the issue
<yorickpeterse> oh wait
<yorickpeterse> that uses a different fixture
<yorickpeterse> nevermind
<DireFog> ye
<DireFog> and I'm testing with send because that doesn't even bother for visibility
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
<DireFog> actually, I'm not sure about that test in the latest revision, @object may have been reset by that point :-| I'm not even sure where it comes from, much less how it's handled
<DireFog> ah, works
<DireFog> load(_, false) makes that test fail ^^
max96at|off is now known as max96at
benlovell has quit [Ping timeout: 265 seconds]
benlovell has joined #rubinius
JohnBat26 has joined #rubinius
<DireFog> is it somehow possible to run mspec with another VM?
<DireFog> ah found it, nevermind
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<DireFog> just pull-requesting a failing spec is a bit of a dick move IMO >_>
Bwild has quit [Quit: leaving]
<DireFog> but I have no idea how to actually fix it
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
goyox86 has joined #rubinius
nirvdrum has joined #rubinius
clauswitt has quit [Ping timeout: 245 seconds]
clauswitt has joined #rubinius
heftig has quit [Remote host closed the connection]
heftig has joined #rubinius
diegoviola has joined #rubinius
cezarsa_ is now known as cezarsa
meh` has joined #rubinius
mustmodify has left #rubinius [#rubinius]
<yorickpeterse> DireFog: if you can tag the spec as failing it's perfectly fine
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> Granted I always forget how to do that
<DireFog> I just wanted to ask
goyox86 has joined #rubinius
max96at is now known as max96at|off
<yorickpeterse> kagaro: you know the procedure
<DireFog> yorickpeterse: ./bin/mspec tag spec/ruby/core/kernel/load_spec.rb # generates a text file, would I just add that?
<yorickpeterse> kagaro: we can't do anything with just the error message itself
<yorickpeterse> DireFog: I'm not sure if that tags it as "failing" by default
<DireFog> it does
<yorickpeterse> If so then yes, you can commit it
<DireFog> outputs "TagAction: specs tagged with 'fails':" and lists the failing specs
<yorickpeterse> Oh wait, I think you tagged the entire spec file
<yorickpeterse> and not a sample of it
<yorickpeterse> there's some option (I think -e) that lets you use a pattern
GitHub119 has joined #rubinius
<GitHub119> [rubinius] ngollan opened pull request #3282: Add failing specs for code loading with wrapping (master...3276-spec-load-wrap) http://git.io/1JXBdQ
GitHub119 has left #rubinius [#rubinius]
<DireFog> nah, just tags the specs that really fail
<DireFog> ↑
<DireFog> the tag file has two lines with the exact descriptions
<yorickpeterse> Oh TIL it does that
max96at|off is now known as max96at
<yorickpeterse> I thought it just tags everything
<DireFog> ah CI does every commit by itself
<DireFog> I can do a new branch and just squash them if you'd prefer that
<yorickpeterse> Nah, separate commits are fine
<yorickpeterse> I'll wait for brixen's feedback anyway
cremes has quit [Ping timeout: 264 seconds]
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goyox86 has joined #rubinius
elia has quit [Read error: Connection reset by peer]
elia has joined #rubinius
noop has quit [Ping timeout: 255 seconds]
cremes has joined #rubinius
benlovell has quit [Ping timeout: 264 seconds]
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
benlovell has joined #rubinius
pietr0 has joined #rubinius
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
havenwood has joined #rubinius
benlovell has quit [Ping timeout: 244 seconds]
noop has joined #rubinius
flavio has quit [Quit: WeeChat 1.0]
elia has quit [Ping timeout: 245 seconds]
unreal has joined #rubinius
mustmodify has joined #rubinius
<mustmodify> Rails 4.2 adds "gem 'psych', '~> 2.0', platforms: :rbx" to the default gemfile. I can't remember whether we decided to remove it or change it ... but I know it doesn't work correctly. :)
<brixen> what do you mean by "it doesn't work correctly"?
<brixen> is there an open issue or something?
<mustmodify> I get "could not find gem psych... " but there may be another problem standing in my way. Let me verify.
<brixen> did you run bundle?
<brixen> mustmodify: perhaps make a simple app and put it on github that shows your repro of the issue
<mustmodify> brixen: yes I ran bunder. :) I'm working on that now.
<brixen> mustmodify: also, rbx 2.5.0 drops Syck for bootstrapping YAML, os psych will be installed by default
<brixen> s/os/so/
<brixen> bbl...
<mustmodify> oh cool.
slaught has joined #rubinius
benlovell has joined #rubinius
diegoviola has quit [Ping timeout: 245 seconds]
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegovio1 has joined #rubinius
goyox86 has joined #rubinius
diegovio1 is now known as diegoviola
goyox86 has quit [Client Quit]
slaught has quit [Quit: slaught]
<brixen> mustmodify: did you get a repro?
goyox86 has joined #rubinius
<mustmodify> brixen: here's what I know. If I do `rails new experiment` using rbx 2.4.1 and rails 4.2.0, bundler tries to install 'byebug' and fails because byebug tries to compile and it can't find 'ruby/debug.h'. But I just removed a bunch of the default gems from the Rails 4.2.0 Gemfile and everything is cool.
<brixen> yeah, byebug should *not* be in the default Gemfile without a platform guard
<brixen> it's a C-ext that depends on MRI internals
<brixen> pretty sure it won't work with JRuby either
<brixen> if it does, they must be conditionalizing something
<mustmodify> brixen: looks like this has already been fixed. https://github.com/rails/rails/commit/0bb73f03e495c6e2a358305a8ec6c65ca022dc19
<brixen> mustmodify: good to know
noop has quit [Ping timeout: 264 seconds]
noop has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
<mustmodify> brixen: I also know I was having some kind of issue with psych but I can't currently reproduce it. So I'll have to fight that battle some other day.
cremes has quit [Ping timeout: 264 seconds]
cremes has joined #rubinius
noop has quit [Ping timeout: 245 seconds]
<brixen> mustmodify: ok, hopefully it'll all work better on 2.5.0
cremes has quit [Ping timeout: 245 seconds]
<brixen> goyox86: hey, I set up a digitalocean droplet with the influxdb-grafana container and sent rbx metrics to it but grafana isn't rendering results
<brixen> goyox86: any tips on trouble-shooting that?
<brixen> goyox86: using the statsd admin interface, I see the metrics
<brixen> suppose I should check that influxdb also has them
meh` has quit [Ping timeout: 264 seconds]
slaught has joined #rubinius
elia has joined #rubinius
havenwood has quit []
goyox86_ has joined #rubinius
cremes has joined #rubinius
<goyox86_> Hey @brixen I saw your messages
tenderlove has quit [*.net *.split]
cezarsa has quit [*.net *.split]
guilleiguaran_ has quit [*.net *.split]
stormbre1 has quit [*.net *.split]
pietr0 has quit [*.net *.split]
clauswitt has quit [*.net *.split]
yopp has quit [*.net *.split]
_whitelogger has joined #rubinius
pietr0 has joined #rubinius
clauswitt has joined #rubinius
lbianc has joined #rubinius
yopp has joined #rubinius
elia has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
mrb_bk has joined #rubinius
goyox86_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has joined #rubinius
chrisseaton has joined #rubinius
Caius has quit [*.net *.split]
andrewstewart has joined #rubinius
Caius has joined #rubinius
unreal has quit [*.net *.split]
dlackty__ has quit [*.net *.split]
dlackty__ has joined #rubinius
unreal has joined #rubinius
unreal has quit [Max SendQ exceeded]
unreal has joined #rubinius
heroux has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
cpuguy83 has quit [*.net *.split]
pd has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
machty has quit [*.net *.split]
goyox86 has quit [*.net *.split]
brixen has quit [*.net *.split]
saline has quit [*.net *.split]
ahkurtz has quit [*.net *.split]
dlackty__ has quit [*.net *.split]
Caius has quit [*.net *.split]
elia has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
pietr0 has quit [*.net *.split]
clauswitt has quit [*.net *.split]
yopp has quit [*.net *.split]
lbianc has quit [*.net *.split]
unreal has quit [*.net *.split]
tenderlove has quit [*.net *.split]
cezarsa has quit [*.net *.split]
guilleiguaran_ has quit [*.net *.split]
stormbre1 has quit [*.net *.split]
cremes has quit [*.net *.split]
slaught has quit [*.net *.split]
lopex has quit [*.net *.split]
locks has quit [*.net *.split]
cypher23 has quit [*.net *.split]
mustmodify has quit [*.net *.split]
LTe has quit [*.net *.split]
Gibheer has quit [*.net *.split]
Spakman has quit [*.net *.split]
diegoviola has quit [*.net *.split]
RageLtMan has quit [*.net *.split]
|Blaze| has quit [*.net *.split]
jc00ke has quit [*.net *.split]
benlovell has quit [*.net *.split]
flavorjones has quit [*.net *.split]
larstobi has quit [*.net *.split]
eregon has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
|jemc-bot| has quit [*.net *.split]
mpapis has quit [*.net *.split]
blowmage has quit [*.net *.split]
max96at has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
stass has quit [*.net *.split]
Dyrim has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
cyndis has quit [*.net *.split]
stormwind has quit [*.net *.split]
DireFog has quit [*.net *.split]
dmilith has quit [*.net *.split]
atambo has quit [*.net *.split]
imajes has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
bakkdoor has quit [*.net *.split]
mqt has quit [*.net *.split]
erdic has quit [*.net *.split]
Liothen has quit [*.net *.split]
_ko10 has quit [*.net *.split]
tarcieri has quit [*.net *.split]
dbussink has quit [Excess Flood]
dbussink has joined #rubinius
yxhuvud has joined #rubinius
justinmcp_ has joined #rubinius
dlackty__ has joined #rubinius
locks has joined #rubinius
max96at has joined #rubinius
mpapis has joined #rubinius
machty has joined #rubinius
jeregrine has quit [Max SendQ exceeded]
mrb_bk has quit [Changing host]
mrb_bk has joined #rubinius
andrewstewart has quit [Changing host]
andrewstewart has joined #rubinius
machty has quit [Changing host]
machty has joined #rubinius
max96at is now known as max96at|off
mpapis has quit [*.net *.split]
max96at|off has quit [*.net *.split]
jeregrine has joined #rubinius
eregon has joined #rubinius
benlovell has joined #rubinius
yorickpeterse has joined #rubinius
larstobi has joined #rubinius
mpapis has joined #rubinius
blowmage has joined #rubinius
bennyklotz has joined #rubinius
flavorjones has joined #rubinius
|jemc-bot| has joined #rubinius
max96at|off has joined #rubinius
heroux_ has joined #rubinius
justinmcp_ has quit [*.net *.split]
justinmcp_ has joined #rubinius
Dyrim has joined #rubinius
stass has joined #rubinius
DireFog has joined #rubinius
cyndis has joined #rubinius
RealMarc has joined #rubinius
dmilith has joined #rubinius
stormwind has joined #rubinius
yxhuvud has quit [*.net *.split]
cpuguy83 has joined #rubinius
heroux has joined #rubinius
coffeejunk has joined #rubinius
jeremyevans has joined #rubinius
pd has joined #rubinius
heroux has quit [Max SendQ exceeded]
cpuguy83 has quit [Ping timeout: 245 seconds]
jeremyevans has quit [Ping timeout: 245 seconds]
pd has quit [Max SendQ exceeded]
cpuguy83 has joined #rubinius
heroux_ is now known as heroux
pd has joined #rubinius
bakkdoor has joined #rubinius
Liothen has joined #rubinius
yxhuvud has joined #rubinius
erdic has joined #rubinius
yxhuvud has quit [*.net *.split]
bakkdoor has quit [*.net *.split]
erdic has quit [*.net *.split]
Liothen has quit [*.net *.split]
RealMarc has quit [*.net *.split]
stass has quit [*.net *.split]
Dyrim has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
cyndis has quit [*.net *.split]
stormwind has quit [*.net *.split]
DireFog has quit [*.net *.split]
dmilith has quit [*.net *.split]
benlovell has quit [*.net *.split]
flavorjones has quit [*.net *.split]
larstobi has quit [*.net *.split]
eregon has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
|jemc-bot| has quit [*.net *.split]
mpapis has quit [*.net *.split]
blowmage has quit [*.net *.split]
max96at|off has quit [*.net *.split]
cpuguy83 has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
dlackty__ has quit [*.net *.split]
pd has quit [*.net *.split]
heroux has quit [*.net *.split]
locks has quit [*.net *.split]
dbussink has quit [Excess Flood]
dbussink has joined #rubinius
RealMarc has joined #rubinius
bakkdoor has joined #rubinius
larstobi has joined #rubinius
Dyrim has joined #rubinius
heroux has joined #rubinius
tarcieri has joined #rubinius
|jemc-bot| has joined #rubinius
locks has joined #rubinius
eregon has joined #rubinius
chrisseaton has joined #rubinius
yxhuvud has joined #rubinius
diegoviola has joined #rubinius
unreal has joined #rubinius
cpuguy83 has joined #rubinius
RageLtMan has joined #rubinius
lbianc has joined #rubinius
mqt has joined #rubinius
saline has joined #rubinius
tenderlove has joined #rubinius
goyox86_ has joined #rubinius
cyndis has joined #rubinius
dmilith has joined #rubinius
Spakman has joined #rubinius
DireFog has joined #rubinius
mustmodify has joined #rubinius
goyox86 has joined #rubinius
slaught has joined #rubinius
justinmcp_ has joined #rubinius
yopp has joined #rubinius
elia has joined #rubinius
Gibheer has joined #rubinius
bennyklotz has joined #rubinius
clauswitt has joined #rubinius
mrb_bk has quit [Ping timeout: 250 seconds]
dbussink has quit [Excess Flood]
dbussink has joined #rubinius
|jemc| has joined #rubinius
<|jemc|> brixen: did setting INFLUXDB_SERVER help?
<|jemc|> this is the part I was talking about when I was saying it wasn't a self-contained enough solution
mrb_bk has joined #rubinius
Bwild has joined #rubinius
slaught has quit [Quit: slaught]
goyox86_ has quit [Read error: Connection reset by peer]
goyox86_ has joined #rubinius
goyox86_ has quit [Read error: Connection reset by peer]
goyox86_ has joined #rubinius
jeremyevans has joined #rubinius
goyox86_ has quit [Read error: Connection reset by peer]
amsi has joined #rubinius
<brixen> goyox86, |jemc|: hmm, not sure I saw that part
<brixen> I just ran the commands in the part 2 post
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<|jemc|> brixen: it comes down to the problem that your exposed influxdb port is on a different host than your browser
<|jemc|> so it's the same problem as mentioned for OS X
<brixen> hm ok
<|jemc|> (where the host running docker is actually a VM inside of your host)
<brixen> I didn't mess with it much
meh` has joined #rubinius
diegoviola has quit [Ping timeout: 264 seconds]
RageLtMan has quit [Ping timeout: 264 seconds]
jeregrine has quit []
diegoviola has joined #rubinius
diegovio1 has joined #rubinius
diegoviola has quit [Ping timeout: 245 seconds]
mrb_bk has quit [Write error: Broken pipe]
locks has quit [Remote host closed the connection]
<|jemc|> brixen: try setting the INFLUXDB_SERVER in the in-container env
<|jemc|> by passing -e INFLUXDB_SERVER=http://my.docker.host.com:8086 to the container when you do `docker run`
<|jemc|> as shown in the OSX part of the README.md
<|jemc|> it probably needs another Usage section in the README explaining how that is necessary on an external host and not just on OSX
<|jemc|> but that's the ugly limitation I was talking about earlier
chrisseaton has quit [Remote host closed the connection]