Skip to content

Instantly share code, notes, and snippets.

bash-3.2$ jruby -S rake test:units --trace
(in /usr/local/bamboo/xml-data/build-dir/FILM-TNK)
DEPRECATION WARNING: Rake tasks in vendor/plugins/annotate_models/tasks are deprecated. Use lib/tasks instead. (called from require at /opt/torquebox-current/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29)
INSTALLING DATE LOCALE PARSING HACKS
rake aborted!
bash-3.2$ jruby -S gem list
*** LOCAL GEMS ***
actionmailer (2.3.11)
bash-3.2$ which gem
/opt/ruby-enterprise-1.8.7-2011.01/bin/gem
bash-3.2$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2
bash-3.2$ head -5 /opt/torquebox-current/jruby/bin/rake
#!/usr/bin/env jruby
#
# This file was generated by RubyGems.
#
bash-3.2$ jruby -S gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.1
- RUBY VERSION: 1.8.7 (2011-03-15 patchlevel 330) [java]
- INSTALLATION DIRECTORY: /opt/torquebox-1.0.0.CR1-SNAPSHOT/jruby/lib/ruby/gems/1.8
@peteroyle
peteroyle / gist:889911
Created March 28, 2011 02:32
maven rspec dep error
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Failed to resolve artifact.
Unable to get dependency information: Error in metadata for artifact 'rubygems:rspec:gem': Unable to parse version '[2.3.0,2.3.99999.99999)' for dependency 'rubygems:rspec-core:gem': Range defies version ordering: [2.3.0,2.3.99999.99999)
rubygems:rspec:gem:2.3.0
from the specified remote repositories:
rubygems-proxy (http://rubygems-proxy.torquebox.org/releases),
Hektor:bin pete$ ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/pete/softwaredev/servers/torquebox-git/assemblage/assembly/target/stage/torquebox-1.0.0.CR1-SNAPSHOT/jboss
JAVA: /System/Library/Frameworks/JavaVM.framework/Home//bin/java
JAVA_OPTS: -Xms128m -Xmx1024m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Djava.library.path=/Users/pete/softwaredev/servers/torquebox-git/assemblage/assembly/target/stage/torquebox-1.0.0.CR1-SNAPSHOT/jboss/bin/native/lib64
DEPLOYMENTS IN ERROR:
Deployment "torquebox.cdr_filter_dev-knob.yml.PojoDeployment.cdr_filter_dev" is in error due to the following reason(s): org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "torquebox.cdr_filter_dev.RubyMessageProcessor.test.queue.bri.BriConsumer" is missing the following dependencies:
Dependency "naming:test.queue.bri" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'naming:test.queue.bri' **")
DEPLOYMENTS IN ERROR:
Deployment "naming:test.queue.bri" is in error due to the following reason(s): ** NOT FOUND Depends on 'naming:test.queue.bri' **
DEPLOYMENTS IN ERROR:
Deployment "torquebox.cdr_filter_dev-knob.yml.PojoDeployment.cdr_filter_dev" is in error due to the following reason(s): org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment "torquebox.cdr_filter_dev.RubyMessageProcessor.test.queue.bri.BriConsumer" is in error due to the following reason(s): javax.jms.InvalidDestinationException: Queue test.queue.bri does not exist
-------------------------------------------------------------------------------
Test set: org.torquebox.interp.core.RubyComponentResolverTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.501 sec <<< FAILURE!
testResolveToInstantiate(org.torquebox.interp.core.RubyComponentResolverTest) Time elapsed: 0.116 sec <<< ERROR!
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- rubygems
testResolveRepeatedly(org.torquebox.interp.core.RubyComponentResolverTest) Time elapsed: 0.057 sec <<< ERROR!
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- rubygems