Hi. Thanks and I was surprised that it was not being required already re:
(U)nless ENV['NO_RUBYGEMS'] was set, and I don't know why it would be, rubygems was already being required. Now when I rake spec tests just hang. $ rake spec (in /home/charles/workspace/ruote-amqp.jmettraux.new) ** Add 'VERSION = "x.y.z"' to your code, add a version to your hoe spec, or fix your Manifest.txt /usr/lib/ruby/gems/1.8/gems/ruote-2.0.0/lib/ruote/exp/fe_set.rb:147: warning: already initialized constant PREFIX_REGEX Regards, Charles On Sep 24, 12:05 am, John Mettraux <[email protected]> wrote: > On Thu, Sep 24, 2009 at 12:38 PM, Charles.Magid <[email protected]> wrote: > > > OK, How do I set up the path correctly? > > > I first inserted a lot of unshifts and thought that could not be the > > way then I tried to extract the test run from the rake spec I got from > > rake -T and add directories as I ran into unstatisfied requirements. > > > Example: > > > ruby -I"spec:lib:../ruote2.0/lib:/usr/lib/ruby/gems/1.8/gems/ > > json-1.1.9/lib:/usr/lib/ruby/gems/1.8/gems/rufus-dollar-1.0.2/lib:/usr/ > > lib/ruby/gems/1.8/gems/rufus-mnemo-1.1.0/lib:/usr/lib/ruby/gems/1.8/ > > gems/rufus-lru-1.0.2/lib" "/usr/lib/ruby/gems/1.8/gems/rspec-1.2.8/ > > bin/spec" "spec/participant_spec.rb" "spec/ruote_amqp_spec.rb" "spec/ > > listener_spec.rb" > > Hello, > > the rufus-* gems are usually available via rubygems (and they seem to > be placed in your rubygems dir). > > Adding > > require 'rubygems' > > at the top of the spec/spec_helper.rb should take care of everything > gems for you. > > Best regards, > > -- > John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
