Re: [rspec-users] rspec and rcov

2008-08-25 Thread Claudio Poli
got this and monkeypatched rails with the fix proposed by Koz, rspec test linked in topfunky's tweet pass, but still same error about rspec:rcov rake task. I'm going to open a lighthouse ticket, feel free to close it if it's not pertinent, thanks. claudio Il giorno 25/ago/08, alle ore 22:1

Re: [rspec-users] rspec and rcov

2008-08-25 Thread Aslak Hellesøy
Please file a new ticket for this then. But first check topfunky's recent tweet on REXML. I'm almost certain you've been bitten by a REXML bug. Thanks, David On Mon, Aug 25, 2008 at 1:30 PM, Claudio Poli <[EMAIL PROTECTED]> wrote: hi David, thanks for the reply, I didn't find on ligh

Re: [rspec-users] rspec and rcov

2008-08-25 Thread David Chelimsky
Please file a new ticket for this then. Thanks, David On Mon, Aug 25, 2008 at 1:30 PM, Claudio Poli <[EMAIL PROTECTED]> wrote: > hi David, > thanks for the reply, I didn't find on lighthouse this specific exception. > I think it's something related to the rexml version in ruby 1.8.7 > (2008-06-20

Re: [rspec-users] rspec and rcov

2008-08-25 Thread Claudio Poli
hi David, thanks for the reply, I didn't find on lighthouse this specific exception. I think it's something related to the rexml version in ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-darwin9.3.0] but not sure how to fix it. Claudio Il giorno 25/ago/08, alle ore 20:15, David Chelimsky ha

Re: [rspec-users] rspec and rcov

2008-08-25 Thread David Chelimsky
On Mon, Aug 25, 2008 at 1:11 PM, Claudio Poli <[EMAIL PROTECTED]> wrote: > hi everyone, > does anyone experience this problem? Hi Claudio, There are a few issues at lighthouse related to running rcov: http://rspec.lighthouseapp.com/projects/5645-rspec/tickets?q=rcov+state%3Aopen&filter=created%3

[rspec-users] rspec and rcov

2008-08-25 Thread Claudio Poli
hi everyone, does anyone experience this problem? kain-osx:mysite kain$ rake spec:rcov (in /Users/kain/Sites/mysite) Finished in 1.567164 seconds 20 examples, 0 failures /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap': stack level too deep (SystemStackError)

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread aslak hellesoy
On Mon, Mar 17, 2008 at 10:04 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote: > Issue is solved!!! > I had a require 'test/unit' in my spec_helper.rb. I removed it and it > works now. Good. That makes sense. Two competing exit hooks or something. I bet your Test::Unit output went away too. Aslak

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
Issue is solved!!! I had a require 'test/unit' in my spec_helper.rb. I removed it and it works now. Am 17.03.2008 um 20:08 schrieb Tobias Torkler: > That´s right, sorry! There was a call and it will be fixed in RC3. > But you can checkout the sources (http://svn.codehaus.org/jruby/trunk/jruby/

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
That´s right, sorry! There was a call and it will be fixed in RC3. But you can checkout the sources (http://svn.codehaus.org/jruby/trunk/jruby/ ) and build the jruby.jar via ant. It will work then! I know it´s complicated, but I need this for my diploma thesis and I appreciate your help! Am 1

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread aslak hellesoy
On Mon, Mar 17, 2008 at 5:47 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote: > 1. Download http://eigenclass.org/static/rcov/rcov-0.8.1.2.tar.gz and > extract the archive > 2. jruby -S setup.rb all --without-ext > 3. Change shebang of /bin/rcov to #!/usr/bin/env jruby > 4. rcov script.rb should w

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
1. Download http://eigenclass.org/static/rcov/rcov-0.8.1.2.tar.gz and extract the archive 2. jruby -S setup.rb all --without-ext 3. Change shebang of /bin/rcov to #!/usr/bin/env jruby 4. rcov script.rb should work now (warning appears, that no extensions are installed) Am 17.03.2008 um 17:37

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread aslak hellesoy
On Mon, Mar 17, 2008 at 4:23 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote: > Ok, so the question is then why I don´t get an RCov report? Sorry for > the "test run". Better call it an RSpec run? > RSpec run is much clearer, thanks :-) I'm looking into the problem, but I'm struggling to install RC

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
Ok, so the question is then why I don´t get an RCov report? Sorry for the "test run". Better call it an RSpec run? Am 17.03.2008 um 16:10 schrieb aslak hellesoy: > On Mon, Mar 17, 2008 at 3:50 PM, Tobias Torkler <[EMAIL PROTECTED] > > wrote: >> This is not Test::Unit output! > > The following

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread aslak hellesoy
On Mon, Mar 17, 2008 at 3:50 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote: > This is not Test::Unit output! The following text - taken from your first email - is Test::Unit output. It is not RCov or RSpec output. 8< Loaded suite /Users/tobias/bin/JRuby.framework/Current/bi

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
This is not Test::Unit output! As you can see I created a Rake task to run my specs and tried to integrate rcov as described on http://rspec.info/documentation/tools/rcov.html RSpec works as expected (187 examples, 0 failures, 10 pending) but I am missing the RCov report. Am 17.03.2008 um 15:

Re: [rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread aslak hellesoy
On Mon, Mar 17, 2008 at 1:27 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote: > Hi, > > I am using JRuby (trunk) and wrote a bunch of specifications for my > code. Everything works fine so far. > Now I am trying to integrate RCov in my test run. I have installed > RCov without the C extensions. I

[rspec-users] RSpec and RCov with JRuby

2008-03-17 Thread Tobias Torkler
Hi, I am using JRuby (trunk) and wrote a bunch of specifications for my code. Everything works fine so far. Now I am trying to integrate RCov in my test run. I have installed RCov without the C extensions. I tried it with a simple script and it worked (pretty slow, but it doesn´t matter). Bu