Skip to content

Call eval with file and line nb so seeds fail with proper stracktraces - #111

Open
marcandre wants to merge 1 commit into
mbleigh:masterfrom
marcandre:mind_the_stacktrace
Open

Call eval with file and line nb so seeds fail with proper stracktraces#111
marcandre wants to merge 1 commit into
mbleigh:masterfrom
marcandre:mind_the_stacktrace

Conversation

@marcandre

@marcandre marcandre commented Sep 15, 2016

Copy link
Copy Markdown

Otherwise the stacktrace starts with .../gems/seed-fu-2.3.6/lib/seed-fu/runner.rb:46:ineval':` which is far from helpful.

This also adds a basic test of the runner with a file containing # BREAK EVAL

@brodock

brodock commented Aug 26, 2017

Copy link
Copy Markdown

@mbleigh please consider this. There is a very old blog post from Ola Bini (JRuby core) explaining the concept: http://ola-bini.blogspot.nl/2008/01/ruby-antipattern-using-eval-without.html

@marcandre

Copy link
Copy Markdown
Author

There has been a commit in over a year, this project looks abandoned 😭

@marcandre

Copy link
Copy Markdown
Author

@aserafin This is a very simple PR, any chance of it getting merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants