i have a rails app that tests fine with "rake spec" but gets a
segmentation fault when "rake spec:rcov" is run.
i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
You could try changing your spec/spec.opts to offer more details
(instead of default progress maybe spec format).
That will be more simple than for us replicate your exact environment
(ruby version, gem and such).
Regards,
···
On Sep 13, 9:10 pm, scott <scot...@gmail.com> wrote:
i have a rails app that tests fine with "rake spec" but gets a
segmentation fault when "rake spec:rcov" is run.
i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
my app is athttp://github.com/scottnj/test_blog/tree/master
so maybe someone can try to replicate my error so i know if the
problem is with my code or something installed on my pc.
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
rake aborted!
i added --spec format to the bottom of my spec.opts so it looks like
this
--colour
--format progress
--loadby mtime
--reverse
--spec format
i'm not sure if this is what you meant. i did a quick search on google
for some documentation on this file but didn't find anything.
anyway, now i am not getting the segmentation fault but "0 examples, 0
failures" so i think i'm doing something wrong.
rake spec:rcov --trace
(in C:/Documents and Settings/Scott/My Documents/NetBeansProjects/
blog)
** Invoke spec:rcov (first_time)
** Invoke spec:clobber_rcov (first_time)
** Execute spec:clobber_rcov
** Execute spec:rcov
Finished in 1.594 seconds
0 examples, 0 failures
···
On Sep 14, 3:54 pm, Luis Lavena <luislav...@gmail.com> wrote:
On Sep 13, 9:10 pm, scott <scot...@gmail.com> wrote:
> i have a rails app that tests fine with "rake spec" but gets a
> segmentation fault when "rake spec:rcov" is run.
> i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
> my app is athttp://github.com/scottnj/test_blog/tree/master
> so maybe someone can try to replicate my error so i know if the
> problem is with my code or something installed on my pc.
> This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application's support team for more information.
> rake aborted!
You could try changing your spec/spec.opts to offer more details
(instead of default progress maybe spec format).
That will be more simple than for us replicate your exact environment
(ruby version, gem and such).
On Sep 13, 9:10 pm, scott <scot...@gmail.com> wrote:
i have a rails app that tests fine with "rake spec" but gets a
segmentation fault when "rake spec:rcov" is run.
i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
my app is athttp://github.com/scottnj/test_blog/tree/master
so maybe someone can try to replicate my error so i know if the
problem is with my code or something installed on my pc.
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
rake aborted!
You could try changing your spec/spec.opts to offer more details
(instead of default progress maybe spec format).
That will be more simple than for us replicate your exact environment
(ruby version, gem and such).
i added --spec format to the bottom of my spec.opts so it looks like
this
--colour
--format progress
--loadby mtime
--reverse
--spec format
spec --help:
Builtin formats for examples:
progress>p : Text progress
profile>o : Text progress with profiling of 10 slowest
examples
specdoc>s : Example doc as text
html>h : A nice HTML report
so you need to change --format to: specdoc (and remove the --spec one)
i'm not sure if this is what you meant. i did a quick search on google
for some documentation on this file but didn't find anything.
anyway, now i am not getting the segmentation fault but "0 examples, 0
failures" so i think i'm doing something wrong.
You're not getting segfault because your code is not being executed :-
D
Change the spec.opts options again and let us know
Regards,
···
On Sep 14, 6:43 pm, scott <scot...@gmail.com> wrote:
--
Luis Lavena
On Sep 15, 1:47 pm, Luis Lavena <luislav...@gmail.com> wrote:
On Sep 14, 6:43 pm, scott <scot...@gmail.com> wrote:
> i added --spec format to the bottom of my spec.opts so it looks like
> this
> --colour
> --format progress
> --loadby mtime
> --reverse
> --spec format
spec --help:
Builtin formats for examples:
progress>p : Text progress
profile>o : Text progress with profiling of 10 slowest
examples
specdoc>s : Example doc as text
html>h : A nice HTML report
so you need to change --format to: specdoc (and remove the --spec one)
> i'm not sure if this is what you meant. i did a quick search on google
> for some documentation on this file but didn't find anything.
> anyway, now i am not getting the segmentation fault but "0 examples, 0
> failures" so i think i'm doing something wrong.
You're not getting segfault because your code is not being executed :-
D
Change the spec.opts options again and let us know