[Radiant] Installation problem
Greenbeard
greenbeard400 at yahoo.com
Thu Jul 6 12:26:50 CDT 2006
Hello,
I wanted to give radiant a whirl. I downloaded it via
gem (with dependencies), created the mysql database,
updated database.yml and ran:
ruby script/server production
I get the following output:
Run `setup_database --help` for information on
additional options.
Loading production environment...Rails Error: Unable
to access log file. Please ensure that
./script/../config/../log/production.log
exists and is chmod 0666. The log level has been
raised to WARN and the output directed to STDERR until
the problem is fixed.
OK
WARNING! This script will overwrite information
currently stored in the
database "radiant_live". Are you sure you want to
continue? [Yn] y
Creating tables...
-- drop_table("config")
-- create_table("config", {:force=>true})
FAILED
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log': Mysql::Er
ror: You have an error in your SQL syntax. Check the
manual that corresponds to your MySQL server version
for the right syntax to u
se near 'ENGINE=InnoDB' at line 1: CREATE TABLE config
(`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY,
`key` varchar(40) DEFA
ULT '' NOT NULL, `value` varchar(255) DEFAULT '')
ENGINE=InnoDB (ActiveRecord::StatementInvalid)
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:185:in
`execu
te'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:
104:in `create_table'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:298:in
`creat
e_table'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:272:in
`method_missing'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:256:in
`say_with_time'
from c:/ruby/lib/ruby/1.8/benchmark.rb:293:in
`measure'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:256:in
`say_with_time'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:270:in
`method_missing'
from script/setup_database:104:in
`create_tables'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/schema.rb:43:in
`define'
from script/setup_database:101:in
`create_tables'
from script/setup_database:258:in `announce'
from script/setup_database:99:in
`create_tables'
from script/setup_database:19:in `run'
from script/setup_database:9:in `run'
from script/setup_database:297
This is Windows XP with MySQL 4.0.17, rails 1.1.2
Any ideas?
Thank you.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Radiant
mailing list