Disclaimer:  It's been a long time since I worked with Solaris, and I am not
a Ruby/Rails expert by any means.


> SystemStackError: stack level too deep: SELECT * FROM webs WHERE (webs."id"
> = 1)
> 
> ulimit -s says:
> stack limit
> 2048
> 
> should i change that ?

Probably not. A simple SQL call should not run you out of stack space (2MB
here). Check if there are any records in the 'webs' table at all.  You might
need to run the 'rake migrate database' command that does the initial
database populating.  Though I would have thought that SQLite would just
return an error if the webs table didn't exist.  It could be that the
calling code is mishandling the error.

> Building native extensions.  This could take a while...
> ERROR:  Error installing sqlite3-ruby:
>         ERROR: Failed to build gem native extension.
> 
> /usr/pkg/bin/ruby18 extconf.rb install sqlite3-ruby
> checking for sqlite3.h... no
> 
> make
> make: don't know how to make ruby.h. Stop
> 
> make: stopped in /usr/pkg/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1
> /ext/sqlite3_api
> 
> 
> Gem files will remain installed in /usr/pkg/lib/ruby/gems/1.8/gems/sqlite3-
> ruby-1.2.1 for inspection.
> Results logged to /usr/pkg/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1
> /ext

It looks like SQLlite3 is either not installed or not in your include path
so the install of sqlite-rbuy failed.

> test_create_system_form_displayed(AdminControllerTest):
> ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table:
> wiki_references: DELETE FROM wiki_references WHERE 1=1

This seems to mean that SQLite is installed and running but that the
database didn't get set up correctly.  So my guess is that you need to do
the rake migrate thing to set up the database.


As a final note, it really helps if your comments are clearly separated from
your error listings. And as I keep telling my 5 year old, calling names and
kicking the person you want to have help you is never a good idea.

-- 
John Van Voorhis


_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to