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 -~----------~----~----~----~------~----~------~--~---
