I've made a fork of the Github repo, to do some tinkering.

I wanted to run the various tests on my machines before I started changing 
anything in my fork.

I'm following the description in hobo/README.md for the Unit Tests. This 
document is probably outdated - there's a reference to the CHANGES-1.4.txt, 
for example. That may be why I'm having difficulties.

I created a new clean gemset ('hobo-test'), then did the set up for the 
test:

    export HOBODEV=`pwd` 

to get the Current Working Directory into a parameter for the script that 
follows.

    for f in dryml hobo_support hobo_fields hobo ; do cd $f ; bundle 
install ; cd .. ; done

When I execute the shell commands, I get several warnings and one failure:

Bundler could not find compatible versions for gem "actionpack":            
                                                                            
       
  In Gemfile:                                                              
                                                                            
        
    dryml (>= 0) ruby depends on                                            
                                                                            
     
      actionpack (~> 4.0.2) ruby                                            
                                                                            
       

    rails (= 3.2.12) ruby depends on                                        
                                                                            
       
      actionmailer (= 3.2.12) ruby depends on
                                                                                
                                  
        actionpack (3.2.12) 

Looking at my gem list, I see that Rails 4.0.8 has been picked up. There is 
no railties or other Rails component at 3.2.x. actionmailer is at 4.0.8.

There must be something else about the test environment that isn't 
documented, I think.

I also see that there are two versions of rake that are installed. This 
implies that one of those subdirectories is requiring something different 
from the others, and applying different constraints. That's perfectly 
plausible - I understand that some of the components can be used separately 
from Hobo.

What am I missing in the setup for doing Unit Tests?

Cheers, JeremyC

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to