charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
troys has quit [Ping timeout: 246 seconds]
montanonic has quit [Ping timeout: 255 seconds]
rustbest has quit [Quit: Page closed]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
yoongkang has quit [Quit: This computer has gone to sleep]
milardovich has quit [Remote host closed the connection]
cagomez_ has joined #ruby
Joufflu has joined #ruby
milardovich has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
milardovich has quit [Remote host closed the connection]
Cohedrin_ has quit [Client Quit]
milardovich has joined #ruby
Cohedrin_ has joined #ruby
cagomez_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
DETZUZU has joined #ruby
__Yiota has joined #ruby
elsevero has joined #ruby
yoongkang has joined #ruby
br0d1n has quit [Quit: Leaving]
__Yiota has quit [Client Quit]
|ifei5g00d has joined #ruby
Cohedrin_ has quit [Ping timeout: 255 seconds]
alveric has quit [Ping timeout: 248 seconds]
|ifei5good has joined #ruby
PaulCapestany has joined #ruby
|ifei5g00d has quit [Read error: Connection reset by peer]
montanonic has joined #ruby
Cohedrin_ has joined #ruby
HoierM_ has joined #ruby
PaulCapestany has quit [Quit: .]
alveric has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
dcunit3d has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cseder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
brent__ has quit [Ping timeout: 268 seconds]
meshsmith has quit [Remote host closed the connection]
dcunit3d has joined #ruby
elsevero has quit [Quit: elsevero]
<quuxman>
is there an easy way to run a line in pry that generates an exception such that the debugger is called where the exception is thrown instead of having to save a breakpoint (which may be burried in a package)
ddddddd has quit [Ping timeout: 260 seconds]
AnoHito_ has quit [Read error: Connection reset by peer]
AnoHito_ has joined #ruby
d^sh has joined #ruby
AnoHito_ has quit [Read error: Connection reset by peer]
AnoHito_ has joined #ruby
ascarter has joined #ruby
d^sh_ has quit [Ping timeout: 240 seconds]
Joufflu has quit [Ping timeout: 276 seconds]
|ifei5good has quit [Read error: Connection reset by peer]
|ifei5g00d has joined #ruby
BTRE has quit [Quit: Leaving]
ascarter has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
gusrub_ has quit []
cam27 has joined #ruby
patarr has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
<quuxman>
actually in this case it'd be even better if I could do this from rspec. In addition to the exception location being burried in a package, it's also called many times before the exception occurs, so I really don't want to insert a breakpoint, which is the only method I can find in docs
Cohedrin_ has quit [Ping timeout: 240 seconds]
<quuxman>
ahah, pry-rescue package
SeepingN has quit [Quit: The system is going down for reboot NOW!]
sylario has quit [Quit: Connection closed for inactivity]
cagomez has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
tau has left #ruby [#ruby]
HoierM_ has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TvL2386 has quit [Ping timeout: 276 seconds]
mim1k has joined #ruby
Cohedrin_ has quit [Ping timeout: 268 seconds]
TvL2386 has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 248 seconds]
arescorpio has joined #ruby
Cohedrin_ has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
Cohedrin_ has quit [Max SendQ exceeded]
Puffball has quit [Remote host closed the connection]
kculpis has joined #ruby
Cohedrin_ has joined #ruby
BlkDynmt has joined #ruby
Cohedrin_ has quit [Client Quit]
Puffball has joined #ruby
__Yiota has joined #ruby
Cohedrin_ has joined #ruby
cagomez has joined #ruby
<quuxman>
for some reason the command did nothing for me, but this did work within pry: Pry::rescue { RSpec::Core::Runner.run(['spec/...']) }
Cohedrin_ has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
cagomez has quit [Ping timeout: 276 seconds]
Cohedrin_ has joined #ruby
ketan has joined #ruby
gizmore|2 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ketan has quit [Ping timeout: 260 seconds]
gizmore has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
__Yiota has quit [Client Quit]
Puffball has quit [Remote host closed the connection]
uZiel has joined #ruby
Puffball has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
milardovich has joined #ruby
Joufflu has joined #ruby
auzty has joined #ruby
JoshS has quit [Ping timeout: 240 seconds]
rfoust has joined #ruby
d^sh_ has joined #ruby
thoraxe has joined #ruby
<thoraxe>
so, it's been a while since I've rubied... but I am missing something when it comes to sass and sinatra and dynamic complication of .sass
<thoraxe>
or do i manually have to do something
cagomez has joined #ruby
d^sh has quit [Ping timeout: 258 seconds]
<adam12>
thoraxe: What do you have so far?
<thoraxe>
one sec
<thoraxe>
just made a change
<thoraxe>
gist in a moment
<quuxman>
unfortunately this leaves me with a debugger that can't navigate the stack! So I installed pry-byebug for this, but it's incompatible with pry-rescue :-((
Joufflu has quit [Ping timeout: 248 seconds]
<adam12>
quuxman: I haven't been following along - what are you trying to solve?
<quuxman>
adam12: trying to run a debugger at the point of an exception, then examine things in scope higher in stack
<adam12>
quuxman: Is this still in rspec?
<thoraxe>
adam12: pebcak. thanks for the help, though! )
<thoraxe>
:)
<quuxman>
adam12: yes, but that's irrelevant for this new problem
<adam12>
thoraxe: Glad it's working for you :)
Cohedrin_ has quit [Ping timeout: 276 seconds]
<quuxman>
adam12: the problem is these two debugging functionalities come in two different packages that are incompatible with each other: pry-rescue and pry-byebug
<adam12>
quuxman: Well, I'd suggest just wrapping everything in a begin/rescue/end block
<adam12>
and then calling byebug there.
yoongkang has quit [Quit: This computer has gone to sleep]
<quuxman>
but then byebug would be called at the top level, not in the context of the exception
Joufflu has joined #ruby
<adam12>
Possibly... but you can get access to the exception. Was there something else you needed?
<quuxman>
adam12: yeah, the stack
<quuxman>
adam12: specifically things in scope higher in the stack that's not in the exception object
agent_white has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
<adam12>
Hmm
<adam12>
I wonder if the stack is unwound by then..
patarr has joined #ruby
_whitelogger has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
<adam12>
quuxman: I've never tried it, but byebug supports a post-mortem option. Maybe you could get by with that. byebug --post-mortem --no-stop spec-file.rb
blackwind_123 has quit [Ping timeout: 240 seconds]
<ruby[bot]>
eam: # => /tmp/execpad-37ea19a99171/source-37ea19a99171:2: warning: string literal in condition ...check link for more (https://eval.in/828300)
<eam>
awww
jameser has joined #ruby
lifelearner has quit [Quit: Page closed]
<eam>
ruby[bot] should suppress warnings so we can do more funner things with it
<quuxman>
is there some alternative to pry-byebug that does the same thing and works with Ruby2.1?
agent_white has joined #ruby
cschneid_ has joined #ruby
barx has joined #ruby
dviola has quit [Quit: WeeChat 1.9]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Bock has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish>
does one recall one which doesnt exst in jruby?
pandaant has joined #ruby
charliesome has joined #ruby
nobitanobi has quit [Remote host closed the connection]
InfinityFye has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
InfinityFye has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
danguita has quit [Quit: WeeChat 1.9]
mim1k has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
ketan has joined #ruby
danguita has joined #ruby
belmoussaoui__ has quit [Read error: Connection reset by peer]
nobitanobi has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
belmoussaoui_ has quit [Ping timeout: 240 seconds]
Puffball_ has joined #ruby
umaaji has quit [Quit: Leaving...]
Puffball has quit [Ping timeout: 246 seconds]
belmoussaoui_ has joined #ruby
milardovich has joined #ruby
<dminuoso>
Bish: ruby-install
<dminuoso>
Bish: And as for gems, all that don't require native extensions work out of the box. Nokogiri is one of the few that has a pure java version.
<dminuoso>
But yes, you will need some JRE, but any will do as long as it runs Java 7.
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
kraken has joined #ruby
kraken has quit [Client Quit]
mikecmpbll has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
Guest53682 is now known as julian
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vasyl has joined #ruby
nickjj_ is now known as nickjj
vasyl has quit [Client Quit]
tvw has quit [Ping timeout: 246 seconds]
fghjb3567 has joined #ruby
tvw has joined #ruby
chmurifree is now known as chmuri
fghjb3567 has quit [Client Quit]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
danguita has quit [Remote host closed the connection]
nowhere_man has quit [Read error: Connection reset by peer]
woodruffw has quit [Ping timeout: 240 seconds]
clemens3 has joined #ruby
belmoussaoui_ has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
duderono_ has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
danguita has joined #ruby
Beams has joined #ruby
InfinityFye has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
agent_white has quit [Quit: bai]
mim1k has joined #ruby
Exagone313 has quit [Quit: see ya!]
antgel has joined #ruby
danguita has quit [Ping timeout: 248 seconds]
Exagone313 has joined #ruby
Beams has quit [Ping timeout: 240 seconds]
mim1k has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
oded has quit [Remote host closed the connection]
Beams has joined #ruby
mim1k has joined #ruby
urux has quit [Ping timeout: 240 seconds]
pilot_project has joined #ruby
ldnunes has joined #ruby
dru has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
pilot_project has quit [Quit: Page closed]
sniffer has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
mim1k has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
<dru>
this may be a long shot, but I've got a child class Lifeform that inherits mixed-in module functionality from a parent class and works as expected, however if I have a second child class Slime from Lifeform those mixed in class methods seem to be gone
<elomatreb>
There's nothing to break from, since you're not in e.g. a loop
<mudwaf>
Hello, I'm attempting to pick an lvalue at random and do something to it along the lines of: (rand(2).zero? ? a : b) |= 1; that fails with "syntax error, unexpected tOP_ASGN, expecting end-of-input", so is there some other simple way to do this?
<splitshot>
mudwaf, either put the entire expression into the ternary or call a method with a or b as a param
jjaii9 has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
<dminuoso>
mudwaf: To continue with your terminology: You cant use an rvalue as an lvalue.
<dminuoso>
mudwaf: You have to duplicate the assignment expression. (This is not technically true, but the alternative is just plain ugly)
<dminuoso>
Or use a hash.
<mudwaf>
splitshot, my goal was to not duplicate the right-hand side. I tried the method idea, but as these are Integer instances, they're passed by value instead of by reference, so modifying one in the method doesn't affect the one outside the method.
<dminuoso>
mudwaf: Everything in Ruby is passed by value.
nowhere_man has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
synthroid has joined #ruby
<mudwaf>
dminuoso, what did you have in mind wrt using a hash?
belmoussaoui_ has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
oleo has joined #ruby
Beams has joined #ruby
bkxd has joined #ruby
bkxd_ has joined #ruby
truenito has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
bkxd_ has joined #ruby
chouhoul_ has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
doublemalt_ has joined #ruby
mim1k has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 260 seconds]
mwlang has quit [Quit: mwlang]
patarr has joined #ruby
kculpis has joined #ruby
truenito has quit [Ping timeout: 260 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcunit3d has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 240 seconds]
Beams has quit [Ping timeout: 248 seconds]
CrazyEddy has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
JustTheDoctor has left #ruby [#ruby]
Beams has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jameser has joined #ruby
djbjd has quit [Quit: djbjd]
jameser has quit [Client Quit]
djbjd has joined #ruby
dionysus69 has joined #ruby
kculpis has quit [Ping timeout: 276 seconds]
ltem has quit [Quit: Leaving]
<_moep_>
hey
rohitpaulk has joined #ruby
<_moep_>
app error: Missing `secret_token` and `secret_key_base` for 'production' environment, set these values in `config/secrets.yml` (RuntimeError) <- how can I set this?
<_moep_>
I remember bundle exec rake generate_secret_token was working
<_moep_>
does this changed or is there a better way?
<canton7>
I don't know what framework you're using, but "set these values in config/secrets.yml" seems fairly explicit, no?
<_moep_>
its a redmine
<_moep_>
I want to automize this process
brian_penguin has joined #ruby
<canton7>
looks like a rails thing?
<_moep_>
yes
cschneid_ has joined #ruby
lacuna has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
mim1k has joined #ruby
synthroid has quit [Remote host closed the connection]
troys has joined #ruby
Beams has quit [Ping timeout: 258 seconds]
unshadow has joined #ruby
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
danguita has quit [Quit: WeeChat 1.9]
cagomez has joined #ruby
dasher00 has quit [Remote host closed the connection]
minimalism has joined #ruby
synthroid has joined #ruby
ozcanesen has joined #ruby
synthroi_ has joined #ruby
raspado has joined #ruby
synthroid has quit [Ping timeout: 276 seconds]
BSaboia has joined #ruby
Tempesta has quit [Quit: AdiIRC is updating to v2.9 Beta Build (22017/07/06-2) 64 Bit]
mark_66 has quit [Remote host closed the connection]
<havenwood>
"In their desperation, The New Gods turned to The Old Gods for help. They summoned forth the Prophet Yehuda, who had defeated the demon once with The Jewelled Hammer of Bundler in the Ruby Isles and again with The Golden Cargo in the Rusted Lands."
<Yxhuvud>
pwillard: someone had to be first and make all the dumb mistakes so that everone that come after learn
<pwillard>
true
<elomatreb>
Doesn't npm support something like deterministic lockfiles now too?
<havenwood>
Nodelers are particularly adept with that path.
swills_ has quit [Remote host closed the connection]
_Steve_ has joined #ruby
_Steve_ has quit [Changing host]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
<havenwood>
NPM has over $10M in venture funding now.
<apeiros>
havenwood: hehe, funny write-up
mikecmpbll has quit [Quit: inabit. zz.]
<mustmodify__>
elomatreb: I think the scope of Gem is just about right.
<elomatreb>
Mm, given how rarely I actually use gem instead of bundler I disagree
<apeiros>
Yxhuvud: if only they'd actually learn. but people prefer to reinvent dumb mistakes.
_Steve_ has joined #ruby
_Steve_ has joined #ruby
_Steve_ has quit [Changing host]
<apeiros>
elomatreb: lockfiles was a great addition. rubygems can do that now too.
<havenwood>
gem i -g
<apeiros>
the thing that rubygems still lacks is accepting repositories like git
<havenwood>
apeiros: it can do git
<elomatreb>
Oh, what? That does sound nice, I have never heard of this
<apeiros>
elomatreb: bundler is supposed to be integrated wholly into gems
Cohedri__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t-recx has joined #ruby
mim1k has joined #ruby
Cohedri__ has joined #ruby
Joufflu has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 240 seconds]
dviola has quit [Quit: WeeChat 1.9]
tolerablyjake has joined #ruby
ltem has joined #ruby
dviola has joined #ruby
bpmedley has quit [Ping timeout: 260 seconds]
bpmedley has joined #ruby
belmoussaoui__ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Cohedri__ has quit [Ping timeout: 260 seconds]
belmoussaoui_ has quit [Ping timeout: 255 seconds]
Cohedrin_ has joined #ruby
jcast has joined #ruby
pb122 has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
pb122 has joined #ruby
nobitanobi has joined #ruby
dcunit3d has joined #ruby
mim1k has joined #ruby
Bock has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Ping timeout: 248 seconds]
watersoul has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 246 seconds]
InfinityFye has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys is now known as troys_
watersoul has joined #ruby
belmoussaoui__ has quit [Ping timeout: 255 seconds]
watersoul has quit [Read error: Connection reset by peer]
romankapitonov has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
watersoul has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
watersoul has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
watersoul has joined #ruby
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
watersoul has quit [Read error: Connection reset by peer]
MyMind has quit [Ping timeout: 260 seconds]
<matthewd>
mistym: That sounds painful :/ ... is it bisectable?
<mistym>
matthewd: mmmmmaybe :/ I'll have to try, though given it only repros on `make install` it might take awhile to get there
pb122 has quit [Read error: Connection reset by peer]
watersoul has joined #ruby
pb122 has joined #ruby
lacuna has joined #ruby
watersoul has quit [Read error: Connection reset by peer]
zEpHiRo has quit [Quit: ZZZzzz…]
<matthewd>
I guess given the comment mentioning install-rb, the maybe shorter option could be to pickaxe for changes that touch that rule
rohitpaulk has quit [Ping timeout: 248 seconds]
zEpHiRo has joined #ruby
<matthewd>
I don't know enough about the build process to jump to an easy conclusion, but wouldn't be surprised if it was caused by something not actually mentioning that rule.. which is where I get to yeah, bisect seems like a huge drag but still maybe the least painful tactic
watersoul has joined #ruby
nfk has joined #ruby
ResidentBiscuit has joined #ruby
Dimik has joined #ruby
milardovich has joined #ruby
oleo has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
nfk has quit [Remote host closed the connection]
cagomez has joined #ruby
nfk has joined #ruby
perniciouscaffei has joined #ruby
druonysuse has joined #ruby
FastJack has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 240 seconds]
Dreamer3 has joined #ruby
oleo has joined #ruby
amperry has joined #ruby
mim1k has joined #ruby
zEpHiRo has quit [Quit: ZZZzzz…]
Cohedrin_ has quit [Ping timeout: 255 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
zEpHiRo has joined #ruby
petruff has quit [Ping timeout: 260 seconds]
rubylegend2092 has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
ascarter has quit [Ping timeout: 260 seconds]
Cohedrin_ has joined #ruby
zEpHiRo has quit [Quit: ZZZzzz…]
chouhoul_ has joined #ruby
chouhou__ has joined #ruby
montanonic has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
<manveru>
mistym: you're trying to debug this for 3 months now?
dcunit3d has joined #ruby
<mistym>
manveru: Honestly, I haven't looked at it in 3 months
<manveru>
:)
<mistym>
But it's been bothering me for that long :b
shinnya has quit [Ping timeout: 255 seconds]
chouhoul_ has quit [Ping timeout: 260 seconds]
swills has quit [Remote host closed the connection]
swills has joined #ruby
swills has joined #ruby
swills has quit [Remote host closed the connection]
swills has joined #ruby
Immune has joined #ruby
swills has quit [Remote host closed the connection]
ketan has joined #ruby
__Yiota has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
montanonic has joined #ruby
swills has joined #ruby
marxarelli is now known as marxarelli|afk
ketan has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
troys_ is now known as troys
kirun has joined #ruby
Tharbakim has quit [Quit: Something has gone terribly wrong. Send help.]
nfk has quit [Remote host closed the connection]
cam27 has quit [Quit: cam27]
alveric has quit [Quit: WeeChat 1.9]
<manveru>
well, i think a bisect is still the fastest way... even if it takes a day
alveric has joined #ruby
<manveru>
can't really find any easy hints for this issue
amperry has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ddddddd has quit [Ping timeout: 276 seconds]
alveric is now known as LordAlveric
LordAlveric has quit [Quit: WeeChat 1.9]
chouhou__ has quit [Remote host closed the connection]
alveric has joined #ruby
milardov_ has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
alveric is now known as LordAlveric
eckhardt has joined #ruby
zEpHiRo has joined #ruby
GodFather_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cagomez has joined #ruby
enterprisey has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
brent__ has quit [Remote host closed the connection]
lonewolf10 has left #ruby [#ruby]
agent_white has joined #ruby
Dreamer3 has quit [Remote host closed the connection]
t-recx has quit [Quit: t-recx]
Dreamer3 has joined #ruby
__Yiota has quit [Ping timeout: 276 seconds]
Tharbakim has joined #ruby
Tharbakim has joined #ruby
Tharbakim has quit [Changing host]
montanonic has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
ChaosBringer has quit [Ping timeout: 248 seconds]
dcunit3d has quit [Quit: WeeChat 1.4]
agent_white has quit [Quit: brb]
troys is now known as troys_
montanonic has joined #ruby
kirun has quit [Ping timeout: 240 seconds]
<zenspider>
mistym: I'd try to reason about it. Try a non-static build and figure out why it DOES work and go from there.
brent__ has joined #ruby
centrx has quit []
agent_white has joined #ruby
<zenspider>
My graph gem has a rakefile visualizer, but not a makefile visualizer, but it shouldn't be TOO hard to extend it for that... it just might help...
pb122-two has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
troys_ is now known as troys
romankapitonov has joined #ruby
polysics has joined #ruby
chouhoulis has joined #ruby
synthroi_ has quit []
enterprisey has quit [Read error: Connection reset by peer]
ovaltine has quit [Ping timeout: 258 seconds]
_Noble_Turk_ has quit []
jinie_ has joined #ruby
dmtd has joined #ruby
hkdsun has quit [Ping timeout: 260 seconds]
dru has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
kkiero has joined #ruby
boombox_ has joined #ruby
ldnunes has quit [Quit: Leaving]
<bougyman>
ok, so /msg manveru yeah, work got that busy.
<bougyman>
heh
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
pb122 has joined #ruby
pb122-two has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
Cohedri__ has joined #ruby
Cohedrin_ has quit [Ping timeout: 276 seconds]
Cohedri__ has quit [Max SendQ exceeded]
mim1k has joined #ruby
biberu has quit []
lxsameer has joined #ruby
kkiero has quit [Quit: leaving]
Cohedr___ has joined #ruby
t-recx has joined #ruby
Cohedr___ has quit [Client Quit]
mim1k has quit [Ping timeout: 276 seconds]
<darix>
mistym: why static in first place?
ecuanaso has joined #ruby
ketan has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
ketan has quit [Ping timeout: 268 seconds]
splitshot has quit [Quit: Leaving]
patarr has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 260 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
dru has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
pb122-two has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
pb122 has quit [Ping timeout: 260 seconds]
Asher has quit [Quit: Leaving.]
[Butch] has quit [Quit: I'm out . . .]
Asher has joined #ruby
ltem has quit [Quit: Leaving]
psychicist__ has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
zenspider has quit [Changing host]
zenspider has joined #ruby
montanonic has joined #ruby
milardov_ has quit [Remote host closed the connection]
milardovich has joined #ruby
Dreamer3 has quit [Remote host closed the connection]
pb122 has joined #ruby
elsevero has joined #ruby
Joufflu has joined #ruby
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yoones has joined #ruby
chouhoulis has quit [Remote host closed the connection]
pb122-two has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 260 seconds]
wilbert has quit [Ping timeout: 260 seconds]
nofxxxx has quit [Remote host closed the connection]
yoones has quit [Quit: Leaving]
nofxx has joined #ruby
zenspider_ has joined #ruby
zenspider has quit [Read error: Connection reset by peer]
montanonic has quit [Ping timeout: 255 seconds]
gusrub has quit [Remote host closed the connection]
nobitanobi has joined #ruby
mim1k has joined #ruby
kkiero has joined #ruby
Tharbakim has quit [Ping timeout: 248 seconds]
Dimik has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Ping timeout: 260 seconds]
Dimik has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
<mistym>
darix: It's a redistributable Ruby installation which is 100% static, so it can get dropped anywhere and work fine
bitcycle has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
<bitcycle>
hey all. can someone point me to a good best practice doc or tutorial on how to dev on a gem but test using the installed gem? i.e. my test harness uses the installed gem...
montanonic has joined #ruby
Tharbakim has joined #ruby
Tharbakim has joined #ruby
Tharbakim has quit [Changing host]
hkdsun has joined #ruby
<quuxman>
What does Foo.require mean? I can't find the definition in the module
naprimer has quit [Ping timeout: 240 seconds]
ecuanaso has joined #ruby
<apeiros>
it means "call method require on Foo"
<apeiros>
and what that does depends entirely on Foo, or anything up the method lookup chain
haylon has quit [Remote host closed the connection]
<quuxman>
Foo is a module
<apeiros>
so?
<apeiros>
>> module Foo; def self.require; "I can do whatever"; end; end; Foo.require
<apeiros>
but it's rather weird to invoke it on Foo
<apeiros>
::Kernel.require at max if you're e.g. within a BasicObject. Otherwise I'd expect it to differ from Kernel#require.
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
<apeiros>
Foo.method(:require).source_location # <-- gives you the location of the definition if it isn't a native method
<apeiros>
Foo.method(:require).owner # <-- gives you the class/module which defines the first invoked method
montanonic has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 1.9]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 248 seconds]
troys is now known as troys_
<mistym>
> /bin/sh: ./miniruby: No such file or directory
<mistym>
This bisect isn't going so well
PatrikasZvaigzde has joined #ruby
<quuxman>
ah, it's defined as: Array(files).each{|f| super("#{File.dirname(__FILE__).untaint}/#{"#{subdir}/" if subdir}#{f}")}
clemens3 has quit [Ping timeout: 248 seconds]
<apeiros>
that looks icky
cschneid_ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
<quuxman>
that was my thought, but I wasn't going to say it
kkiero has quit [Quit: leaving]
ur5us has joined #ruby
cschneid_ has quit [Ping timeout: 258 seconds]
Joufflu has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
yoongkang has joined #ruby
ecuanaso has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
montanonic has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
alveric has joined #ruby
cdg has joined #ruby
kkiero has joined #ruby
kkiero has quit [Quit: leaving]
LordAlveric has quit [Ping timeout: 268 seconds]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
<Radar>
.untaint
<Radar>
what
<SeepingN>
aka scalpel
<Radar>
I don't understand why it's required here.
jenrzzz has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
<SeepingN>
I assumed untaint was a command to remove user-entered naughty bits
ascarter has quit [Ping timeout: 260 seconds]
<Radar>
User entered naughty bits on the return result of File.dirname(__FILE__)?
<Radar>
quuxman: next time please show some relevant code. It makes it easier to discuss it.
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
stamina has quit [Quit: WeeChat 1.9]
<quuxman>
Radar: That was the entire definition of "Sequel.require(files, subdir=nil)". Relevant code would be "Sequel.require 'adapters/shared/sqlite'" or something
<Radar>
quuxman: This is the first time I've seen it referred to as Sequel and not Foo.
<quuxman>
Well what particular package I found that in was irrelevant. Only added it because you seemed curious
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PatrikasZvaigzde is now known as naprimer
cam27 has joined #ruby
ketan has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
yoongkang has quit [Quit: This computer has gone to sleep]
SuperLag has quit [Quit: reboot]
ketan has quit [Ping timeout: 240 seconds]
mrconfused has joined #ruby
<darix>
*stabs apeiros*
milardovich has joined #ruby
mim1k has joined #ruby
<quuxman>
has anybody figured out a way to enter a debugger when an exception occurs, and then navigate the stack?
milardovich has quit [Ping timeout: 260 seconds]
SuperLag has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
mrconfused has quit [Ping timeout: 246 seconds]
yoongkang has joined #ruby
<Papierkorb>
quuxman: "debugger"? But that's basically what the better_errors gem for rails does. You can do something similar with pry (and the stack_explorer plugin at least), and setting a TracePoint for exceptions in your applications. That way, your code will run whenever an exception is thrown (or only those not caught? don't remember), inside the stack frame
<Papierkorb>
quuxman: Hackier, and less stable (I tried this one), is overriding Kernel#raise and #fail. But you should prefer TracePoint.