Hi there I followed the advice provided by David and I went to a different error, which is:
spec:ci_interpreted_18_19: [echo] Running rake spec:ci_interpreted_18_19 [echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false [java] (in /home/miquel/Contributions/jruby) [java] JAVA options: {:fork=>"true", :failonerror=>"true", :classname=>"org.jruby.Main", :maxmemory=>"512M"} [java] JRuby limited openssl loaded. http://jruby.org/openssl [java] gem install jruby-openssl for full support. [java] build_lib/rake-0.8.7.gem already installed [java] JAVA options: {:fork=>"true", :failonerror=>"true", :classname=>"org.jruby.Main", :maxmemory=>"512M"} [java] JRuby limited openssl loaded. http://jruby.org/openssl [java] gem install jruby-openssl for full support. [java] ERROR: http://rubygems.org/ does not appear to be a repository [java] ERROR: Could not find a valid gem 'mocha' (>= 0) in any repository [java] ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) [java] SocketError: Network is unreachable ( http://rubygems.org/latest_specs.4.8.gz) [java] rake aborted! [java] org.apache.tools.ant.ExitStatusException: Java returned: 1 [java] [java] (See full trace by running task with --trace) BUILD FAILED /home/miquel/Contributions/jruby/build.xml:1168: The following error occurred while executing this line: /home/miquel/Contributions/jruby/build.xml:1131: Java returned: 1 Could you help me (I'm trying to solve it by myself and everything I find using Google are problems related to proxies and bad connections). Thanks in advance Miquel On Fri, Jan 14, 2011 at 4:25 PM, Ktalà <ktala...@gmail.com> wrote: > Thanks David, I'll try it tongith at home (I'm working right now) and i'll > tell you something in the #jruby. > > Thanks again > > > Miquel > > > On Fri, Jan 14, 2011 at 9:43 AM, David Calavera > <david.calav...@gmail.com>wrote: > >> Hi Miquel, >> >> the problem is that we use Rspec 1.3 to run our tests but you have Rspec >> 2.4 installed and they are incompatibles. Rvm sets your gem path so even >> when you are running jruby from the source code it can find your gems. >> >> You have two options to solve it, tell rvm to use the ruby installation on >> your system with `rvm use system` that it will clean your gem path or >> uninstall Rspec 2.4 and install Rspec 1.3. >> >> Cheers >> >> On Fri, Jan 14, 2011 at 12:18 AM, Miquel Oliete <ktala...@gmail.com>wrote: >> >>> Hi there >>> >>> I'm trying to start contributing JRuby and I have my first problem. I >>> started with RubySpecs following the link that David Calabera recomends >>> me (http://blog.headius.com/2009/05/help-jruby-by-fixing-rubyspecs.html) >>> and when I execute 'ant spec-short-1.9' this error comes: >>> >>> spec:ci_interpreted_19: >>> [echo] Running rake spec:ci_interpreted_19 >>> [echo] compile=OFF, threshold=20, objectspace=true >>> threadpool=false reflection=false [java] >>> (in /home/miquel/Contributions/jruby) [java] rake aborted! >>> [java] can't activate rspec (= 1.3.0, runtime) for [], already >>> activated rspec-2.4.0 for [] [java] >>> [java] (See full trace by running task with --trace) >>> >>> BUILD FAILED >>> /home/miquel/Contributions/jruby/build.xml:1172: The following error >>> occurred while executing this >>> line: /home/miquel/Contributions/jruby/build.xml:1131: Java returned: 1 >>> >>> Ive googled a little but I can't find how to solve this problem (I >>> installed rspec but it didn't solve the problem). >>> >>> I'm doing it in a Debian Sid using rvm and gems installed in my system >>> are: >>> >>> gem list --local >>> >>> *** LOCAL GEMS *** >>> >>> abstract (1.0.0) >>> actionmailer (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> actionpack (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> activemodel (3.0.3, 3.0.1, 3.0.0) >>> activerecord (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> activeresource (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> activesupport (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> archive-tar-minitar (0.5.2) >>> arel (2.0.6, 2.0.4, 1.0.1) >>> builder (3.0.0, 2.1.2) >>> bundler (1.0.7, 1.0.3, 1.0.0) >>> columnize (0.3.2, 0.3.1) >>> diff-lcs (1.1.2) >>> erubis (2.6.6) >>> fastthread (1.0.7) >>> i18n (0.5.0, 0.4.2, 0.4.1) >>> mail (2.2.12, 2.2.10, 2.2.6.1) >>> mime-types (1.16) >>> mysql2 (0.2.6, 0.2.4) >>> polyglot (0.3.1) >>> r18n-core (0.4.8) >>> rack (1.2.1, 1.0.1) >>> rack-mount (0.6.13) >>> rack-test (0.5.6, 0.5.4) >>> rails (3.0.3, 3.0.1, 3.0.0, 2.3.5) >>> railties (3.0.3, 3.0.1, 3.0.0) >>> rake (0.8.7) >>> redcar (0.9.2) >>> rspec (2.4.0, 1.3.0) >>> rspec-core (2.4.0) >>> rspec-expectations (2.4.0) >>> rspec-mocks (2.4.0) >>> ruby_core_source (0.1.4) >>> rubygems-update (1.4.2) >>> rubyzip (0.9.4) >>> sinatra (1.1.0, 1.0) >>> sinatra-r18n (0.4.8) >>> sinistr (0.2.0) >>> sqlite3-ruby (1.3.2, 1.3.1) >>> thor (0.14.6, 0.14.2, 0.14.1) >>> tilt (1.1) >>> treetop (1.4.9, 1.4.8) >>> tzinfo (0.3.23) >>> v (0.1.1) >>> will_paginate (3.0.pre2, 2.3.15) >>> wirble (0.1.3) >>> >>> Thanks in advance >>> >>> It's two late for me (00:15 am) to chat by irc but tomorrow Friday I >>> will if I can't solve this problem. >>> >>> Kind regards >>> >>> -- >>> >>> Miquel Oliete >>> >>> Homepage (http://www.miqueloliete.com) >>> Blog (http://blog.mob1970.org) >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >> >