Laran, This could be caused by a couple of things..... from a past conversation (from parasew): "hello matthew, please try to remove the directory /vendor/rails from the instiki 0.11.pl1 directory in this case. this is a known bug in the current version and fixed in the upcoming release.
please report back if that solves your issue!" Also, are you sure that your database has been set up? i.e. Have you run: "set RAILS_ENV=production" before running: "rake db:migrate"? (from http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations) Thanks, Johannes On 8/14/07, Laran Evans <[EMAIL PROTECTED]> wrote: > > I tried running after installing and changing my production adapter to > mysql, I got the following output: > > C:\instiki-0.11.pl1>dir > Volume in drive C has no label. > Volume Serial Number is D0E6-0218 > > Directory of C:\instiki-0.11.pl1 > > 08/14/2007 10:05 AM <DIR> . > 08/14/2007 10:05 AM <DIR> .. > 08/14/2007 09:58 AM <DIR> app > 02/27/2007 10:35 PM 14,044 CHANGELOG > 08/14/2007 09:58 AM <DIR> components > 08/14/2007 09:58 AM <DIR> config > 08/14/2007 09:58 AM <DIR> db > 08/10/2005 10:46 PM 128 instiki > 11/12/2005 10:24 PM 72 instiki.bat > 11/12/2005 10:24 PM 72 instiki.cmd > 11/12/2005 10:24 PM 67 instiki.rb > 08/14/2007 09:58 AM <DIR> lib > 08/14/2007 09:58 AM <DIR> log > 08/14/2007 09:58 AM <DIR> natives > 08/14/2007 09:58 AM <DIR> public > 11/01/2005 10:34 PM 316 rakefile.rb > 02/27/2007 09:51 PM 5,472 README > 08/14/2007 09:58 AM <DIR> script > 08/14/2007 09:58 AM <DIR> storage > 08/14/2007 09:58 AM <DIR> test > 08/14/2007 09:58 AM <DIR> vendor > 7 File(s) 20,171 bytes > 14 Dir(s) 41,424,052,224 bytes free > > C:\instiki-0.11.pl1>instiki.cmd > > C:\instiki-0.11.pl1>set > PATH=.\lib\native\win32;.\lib\native\win32;.;C:\Ruby\bin > ;C:\Java\libraries\maven-2.0.6\bin > ;C:\Oracle\product\10.2.0\db_1\bin;C:\WINDOWS\ > > system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\jdks\1.5.0_11\bin;C:\Java\l > ibraries\apache-ant-1.7.0\bin;C:\Program Files\ATI > Technologies\ATI.ACE\Core-Sta > tic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program > Files\PuTTY;c:\Program > Files\Microsoft SQL Server\90\Tools\binn\;C:\Program > Files\QuickTime\QTSystem\; > C:\Program Files\MySQL\MySQL Server 5.0\bin > > C:\instiki-0.11.pl1>ruby.exe script\server -e production > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2007-08-14 10:23:52] INFO WEBrick 1.3.1 > [2007-08-14 10:23:52] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] > [2007-08-14 10:23:52] INFO WEBrick::HTTPServer#start: pid=1792 port=2500 > 127.0.0.1 - - [14/Aug/2007:10:23:58 Eastern Daylight Time] "GET / > HTTP/1.1" 500 > 0 > - -> / > [2007-08-14 10:24:22] INFO going to shutdown ... > [2007-08-14 10:24:22] INFO WEBrick::HTTPServer#start done. > Terminate batch job (Y/N)? y > > C:\instiki-0.11.pl1> > > -------------------------------- > > I then took a look at the notes on this page: > http://www.instiki.org/show/Installation > > which suggested running the migrate script to setup the database. > > So, I followed the directions and ran the following script: > > C:\instiki-0.11.pl1>rake environment RAILS_ENV=production migrate > (in C:/instiki-0.11.pl1) > rake aborted! > wrong number of arguments (1 for 0) > > (See full trace by running task with --trace) > > C:\instiki-0.11.pl1> > > -------------------------------- > > So I then ran with tracing enabled: > > C:\instiki-0.11.pl1>rake --trace environment RAILS_ENV=production migrate > (in C:/instiki-0.11.pl1) > ** Invoke environment (first_time) > ** Execute environment > ** Invoke migrate (first_time) > ** Invoke environment > ** Execute migrate > rake aborted! > wrong number of arguments (1 for 0) > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `initialize' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `new' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `scramble41' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:141:in `real_connect' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:316:in `connect' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:87:in `initialize' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:37:in `new' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:37:in `mysql_connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:145:in `send' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:145:in > `connection_without_qu > ery_cache=' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/query_ > cache.rb:54:in `connection=' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:106:in > `retrieve_connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:20:in `connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/migrat > ion.rb:178:in `migrate' > C:/instiki-0.11.pl1 > /config/../vendor/rails/railties/lib/tasks/databases.rake:3 > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > C:/Ruby/bin/rake.bat:20:in `load' > C:/Ruby/bin/rake.bat:20 > > C:\instiki-0.11.pl1> > > -------------------------------- > > Wrong number of arguments? What gives?!?!?! > > So, I'm still unable to run instiki on windows xp. If anyone has any > suggestions I'd love to hear them. > > I double checked the username and password for the mysql adapter. > They're all correct. I was able to connect to the database with mysql > from the command line using those parameters. > > Thanks. > _______________________________________________ > Instiki-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/instiki-users >
_______________________________________________ Instiki-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/instiki-users
