Maurizio Balestrieri
2005-Nov-06 16:56 UTC
[Instiki] problem with svn installation of instiki-ar
hello. i got the following error while trying to install the lates svn instiki-ar: C:\Program Files\instiki>rake db_schema_import create_sessions_table (in C:/Program Files/instiki) rake aborted! No such file or directory - ./config/../config/database.yml (i checked out from the repository in the "C:\Program Files\instiki" directory; rake and sqlite are installed and working fine). any ideas? many thanks.
> C:\Program Files\instiki>rake db_schema_import create_sessions_table > (in C:/Program Files/instiki) > rake aborted! > No such file or directory - ./config/../config/database.ymlUnder the /config directory there is a database.default.yml. Make a copy of it and rename it to database.yml. Change any details if you need to override the default SQLite names. HTH, Assaph
Maurizio Balestrieri
2005-Nov-06 22:07 UTC
[Instiki] problem with svn installation of instiki-ar
thank you. unfortunately it is not found inside the current svn repository (at least my svn client has not been able to check it out). i though to download the current beta1 (zip) and i found it there, so i copied it inside the proper dir. but then i got a new error: C:\Program Files\instiki-ar>rake db_schema_import create_sessions_table (in C:/Program Files/instiki-ar) rake aborted! No such file to load -- sqlite3 (but sqlite3 is in the path and is executed at the commend prompt) so i decided to give a try to the beta1. but then i got this one: C:\Program Files\instiki>rake db_schema_import create_sessions_table (in C:/Program Files/instiki) rake aborted! Don''t know how to build task ''db_schema_import'' :( if i''ve installed 10.2 (with gem) and then i''ll install the beta1 or the svn release, when i run "instiki" (under windows) which one of the two will be executed? On 11/6/05, Assaph Mehr <assaph at gmail.com> wrote:> > C:\Program Files\instiki>rake db_schema_import create_sessions_table > > (in C:/Program Files/instiki) > > rake aborted! > > No such file or directory - ./config/../config/database.yml > > Under the /config directory there is a database.default.yml. Make a > copy of it and rename it to database.yml. Change any details if you > need to override the default SQLite names. > > HTH, > Assaph > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
> C:\Program Files\instiki-ar>rake db_schema_import create_sessions_table > (in C:/Program Files/instiki-ar) > rake aborted! > No such file to load -- sqlite3 > > (but sqlite3 is in the path and is executed at the commend prompt)You''ll need the Ruby SQLite3 adapter, as well as the SQLite DLL. Make sure that (a) you have the DLL (not just the .exe) for SQLite on the path (b) the adapter is installed. You can install via gems: gems install sqlite3-ruby This adapter is included in the zip.> so i decided to give a try to the beta1. but then i got this one: > > C:\Program Files\instiki>rake db_schema_import create_sessions_table > (in C:/Program Files/instiki) > rake aborted! > Don''t know how to build task ''db_schema_import''That''s because there is no such rake task for Instiki. It''s defined in the railties rakefile, but not in the Instiki rakefile. I have no idea if it applies.> if i''ve installed 10.2 (with gem) and then i''ll install the beta1 or > the svn release, when i run "instiki" (under windows) which one of the > two will be executed?It''s acording to the systems PATH environment variable. Usually it will check the current directory first, so if you''re in one of the svn/beta1 dirs it will start those versions, otherwise the gem version. Cheers, Assaph