Hmm... Interesting. It all seems to work now. Also, re-running rake spec only give 16 errors instead of the usual (> 300).
Here are the first 4: 1) NoMethodError in 'SearchesController Forum post searches should search by post body' You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.include? ./spec/models/../matchers/custom_model_matchers.rb:134:in `matches?' ./spec/controllers/searches_controller_spec.rb:148: 2) NoMethodError in 'SearchesController Forum post searches should search by topic name' You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.include? ./spec/models/../matchers/custom_model_matchers.rb:134:in `matches?' ./spec/controllers/searches_controller_spec.rb:162: 3) 'SearchesController Forum post searches should render with a post div' FAILED Expected at least 1 element matching "div[class='forum']", found 0. <false> is not true. ./spec/controllers/searches_controller_spec.rb:167: 4) 'SearchesController Forum post searches should render with a topic link' FAILED Expected at least 1 element matching "a[href='/forums/953125641/topics/953125641#post_119261968']", found 0. <false> is not true. ./spec/controllers/searches_controller_spec.rb:174: Maybe rake spec needs the sample data before running? Thanks, Paul On Sun, Jan 24, 2010 at 12:04 PM, Evan Dorn <[email protected]> wrote: > I'm not sure: I haven't seen this error before. I just did a clean > install of insoshi on my mac and wasn't able to reproduce it. > > I'm a little surprised that you needed to supply an rsa_key.pub; the > repository should create a default key pair that should be sufficient > to get the application running. (Though of course you should > generate your own pair before launching a production site). > > Does this error affect only the specs? What happens if you install > and launch the application in development mode with this: > > $ rake db:sample_data:reload > $ script/server > > Can you load the site at http://localhost:3000, and can you log in > with the default admin user (password: admin)? > > Evan > > > > > On Jan 23, 11:43 am, "[email protected]" <[email protected]> wrote: >> Hi I'm trying to install Insoshi via the git hub repository. I am >> using ubuntu 9.10 and mysql. The installation goes well until the rake >> spec step where all tests fail. >> >> At first they failed because it was looking for rsa_key.pub. I >> supplied this, then it failed all tests because: >> >> The exact error was: >> OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:: nested asn1 >> error >> >> on all tests. >> >> What is wrong? >> >> Thanks, >> >> Paul > > -- > You received this message because you are subscribed to the Google Groups > "Insoshi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/insoshi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Insoshi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/insoshi?hl=en.
