Skip to content

Loading…

Windows support #7

Open
nesquena opened this Issue · 17 comments

2 participants

@nesquena
Owner

We should support windows at some point.

@cdes

+1

@nesquena
Owner

technically latest version should work with windows (experimentally). Can you try it and report back?

@cdes

When I run this in CMD:

C:\Users\Haddad>gem install gitdocs

Here is what I get:

Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing gitdocs:
        ERROR: Failed to build gem native extension.

        C:/Ruby193/bin/ruby.exe extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
checking for main() in -lssl... no
creating Makefile

make
generating rubyeventmachine-i386-mingw32.def
compiling binder.cpp
cc1plus.exe: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but no
t for C++
cc1plus.exe: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but
not for C++
In file included from project.h:137:0,
                 from binder.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type
In file included from project.h:138:0,
                 from binder.cpp:20:
em.h:91:47: warning: type qualifiers ignored on function return type
em.h:92:76: warning: type qualifiers ignored on function return type
em.h:93:56: warning: type qualifiers ignored on function return type
em.h:95:57: warning: type qualifiers ignored on function return type
em.h:96:60: warning: type qualifiers ignored on function return type
em.h:97:58: warning: type qualifiers ignored on function return type
em.h:98:55: warning: type qualifiers ignored on function return type
em.h:99:36: warning: type qualifiers ignored on function return type
em.h:101:47: warning: type qualifiers ignored on function return type
em.h:106:42: warning: type qualifiers ignored on function return type
em.h:123:45: warning: type qualifiers ignored on function return type
em.h:132:36: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from binder.cpp:20:
eventmachine.h:45:61: warning: type qualifiers ignored on function return type
eventmachine.h:46:112: warning: type qualifiers ignored on function return type
eventmachine.h:47:69: warning: type qualifiers ignored on function return type
eventmachine.h:49:73: warning: type qualifiers ignored on function return type
eventmachine.h:62:75: warning: type qualifiers ignored on function return type
eventmachine.h:63:74: warning: type qualifiers ignored on function return type
eventmachine.h:64:77: warning: type qualifiers ignored on function return type
eventmachine.h:65:41: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from binder.cpp:20:
eventmachine.h:99:60: warning: type qualifiers ignored on function return type
eventmachine.h:100:58: warning: type qualifiers ignored on function return type
eventmachine.h:102:60: warning: type qualifiers ignored on function return type
eventmachine.h:105:41: warning: type qualifiers ignored on function return type
compiling cmain.cpp
cc1plus.exe: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but no
t for C++
cc1plus.exe: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but
not for C++
In file included from project.h:137:0,
                 from cmain.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type
In file included from project.h:138:0,
                 from cmain.cpp:20:
em.h:91:47: warning: type qualifiers ignored on function return type
em.h:92:76: warning: type qualifiers ignored on function return type
em.h:93:56: warning: type qualifiers ignored on function return type
em.h:95:57: warning: type qualifiers ignored on function return type
em.h:96:60: warning: type qualifiers ignored on function return type
em.h:97:58: warning: type qualifiers ignored on function return type
em.h:98:55: warning: type qualifiers ignored on function return type
em.h:99:36: warning: type qualifiers ignored on function return type
em.h:101:47: warning: type qualifiers ignored on function return type
em.h:106:42: warning: type qualifiers ignored on function return type
em.h:123:45: warning: type qualifiers ignored on function return type
em.h:132:36: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from cmain.cpp:20:
eventmachine.h:45:61: warning: type qualifiers ignored on function return type
eventmachine.h:46:112: warning: type qualifiers ignored on function return type
eventmachine.h:47:69: warning: type qualifiers ignored on function return type
eventmachine.h:49:73: warning: type qualifiers ignored on function return type
eventmachine.h:62:75: warning: type qualifiers ignored on function return type
eventmachine.h:63:74: warning: type qualifiers ignored on function return type
eventmachine.h:64:77: warning: type qualifiers ignored on function return type
eventmachine.h:65:41: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from cmain.cpp:20:
eventmachine.h:99:60: warning: type qualifiers ignored on function return type
eventmachine.h:100:58: warning: type qualifiers ignored on function return type
eventmachine.h:102:60: warning: type qualifiers ignored on function return type
eventmachine.h:105:41: warning: type qualifiers ignored on function return type
cmain.cpp:98:71: warning: type qualifiers ignored on function return type
cmain.cpp:109:122: warning: type qualifiers ignored on function return type
cmain.cpp:119:79: warning: type qualifiers ignored on function return type
cmain.cpp:129:83: warning: type qualifiers ignored on function return type
cmain.cpp:260:85: warning: type qualifiers ignored on function return type
cmain.cpp:270:84: warning: type qualifiers ignored on function return type
cmain.cpp:280:88: warning: type qualifiers ignored on function return type
cmain.cpp:290:51: warning: type qualifiers ignored on function return type
cmain.cpp:300:70: warning: type qualifiers ignored on function return type
cmain.cpp:320:55: warning: type qualifiers ignored on function return type
cmain.cpp:546:70: warning: type qualifiers ignored on function return type
cmain.cpp:669:68: warning: type qualifiers ignored on function return type
cmain.cpp: In function 'int evma_send_file_data_to_connection(long unsigned int, const char*)':
cmain.cpp:752:6: error: cannot convert 'stat*' to '_stati64*' for argument '2' to 'int _fstati64(int
, _stati64*)'
make: *** [cmain.o] Error 1


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for insp
ection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out

C:\Users\Haddad>
@nesquena
Owner

Thanks that error was helpful. Looks like an issue with windows and the eventmachine gem, which is too bad because I think the core gitdocs functionality does work on windows. Hopefully we can sort this out soon.

@nesquena
Owner

Here is a stackoverflow thread about the same issue for future reference: http://stackoverflow.com/questions/3649252/cannot-install-thin-on-windows

@cdes

Well, that's a shame.

Meanwhile,
I have done some 'so called' progress.

I installed 'eventmachine' and then 'gitdocs', and somehow the installation was completed. But I get an error when I try to start it, I assume this is what you were referring to.

C:\Users\Haddad>gem install eventmachine --pre
Fetching: eventmachine-1.0.0.beta.4.1-x86-mingw32.gem (100%)
Successfully installed eventmachine-1.0.0.beta.4.1-x86-mingw32
1 gem installed
Installing ri documentation for eventmachine-1.0.0.beta.4.1-x86-mingw32...
Installing RDoc documentation for eventmachine-1.0.0.beta.4.1-x86-mingw32...

C:\Users\Haddad>gem install gitdocs
Fetching: daemons-1.1.4.gem (100%)
Fetching: thin-1.3.1.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Fetching: renee-core-0.3.7.gem (100%)
Fetching: callsite-0.0.11.gem (100%)
Fetching: renee-render-0.3.7.gem (100%)
Fetching: renee-0.3.7.gem (100%)
Fetching: redcarpet-2.0.1.gem (100%)
Building native extensions.  This could take a while...
Fetching: coderay-1.0.4.gem (100%)
Fetching: dante-0.1.2.gem (100%)
Fetching: growl-1.0.3.gem (100%)
Fetching: yajl-ruby-1.1.0-x86-mingw32.gem (100%)
Fetching: haml-3.1.4.gem (100%)
Fetching: sqlite3-1.3.5-x86-mingw32.gem (100%)
Fetching: diff-lcs-1.1.3.gem (100%)
Fetching: grit-2.4.1.gem (100%)
Fetching: shell_tools-0.1.0.gem (100%)
Fetching: gitdocs-0.4.3.gem (100%)
Successfully installed daemons-1.1.4
Successfully installed thin-1.3.1
Successfully installed renee-core-0.3.7
Successfully installed callsite-0.0.11
Successfully installed renee-render-0.3.7
Successfully installed renee-0.3.7
Successfully installed redcarpet-2.0.1
Successfully installed coderay-1.0.4
Successfully installed dante-0.1.2
Successfully installed growl-1.0.3
Successfully installed yajl-ruby-1.1.0-x86-mingw32
Successfully installed haml-3.1.4
Successfully installed sqlite3-1.3.5-x86-mingw32
Successfully installed diff-lcs-1.1.3
Successfully installed grit-2.4.1
Successfully installed shell_tools-0.1.0
Successfully installed gitdocs-0.4.3
17 gems installed
Installing ri documentation for daemons-1.1.4...
Installing ri documentation for thin-1.3.1...
Installing ri documentation for renee-core-0.3.7...
Installing ri documentation for callsite-0.0.11...
Installing ri documentation for renee-render-0.3.7...
Installing ri documentation for renee-0.3.7...
Installing ri documentation for redcarpet-2.0.1...
Installing ri documentation for coderay-1.0.4...
Installing ri documentation for dante-0.1.2...
Installing ri documentation for growl-1.0.3...
Installing ri documentation for yajl-ruby-1.1.0-x86-mingw32...
Installing ri documentation for haml-3.1.4...
Installing ri documentation for sqlite3-1.3.5-x86-mingw32...
Installing ri documentation for diff-lcs-1.1.3...
Installing ri documentation for grit-2.4.1...
Installing ri documentation for shell_tools-0.1.0...
Installing ri documentation for gitdocs-0.4.3...
Installing RDoc documentation for daemons-1.1.4...
Installing RDoc documentation for thin-1.3.1...
Installing RDoc documentation for renee-core-0.3.7...
Installing RDoc documentation for callsite-0.0.11...
Installing RDoc documentation for renee-render-0.3.7...
Installing RDoc documentation for renee-0.3.7...
Installing RDoc documentation for redcarpet-2.0.1...
Installing RDoc documentation for coderay-1.0.4...
Installing RDoc documentation for dante-0.1.2...
Installing RDoc documentation for growl-1.0.3...
Installing RDoc documentation for yajl-ruby-1.1.0-x86-mingw32...
Installing RDoc documentation for haml-3.1.4...
Installing RDoc documentation for sqlite3-1.3.5-x86-mingw32...
Installing RDoc documentation for diff-lcs-1.1.3...
Installing RDoc documentation for grit-2.4.1...
Installing RDoc documentation for shell_tools-0.1.0...
Installing RDoc documentation for gitdocs-0.4.3...

C:\Users\Haddad>gitdocs start
C:/Ruby193/lib/ruby/gems/1.9.1/gems/dante-0.1.2/lib/dante/runner.rb:66:in `fork': fork() function is
 unimplemented on this machine (NotImplementedError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/dante-0.1.2/lib/dante/runner.rb:66:in `daemonize'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/dante-0.1.2/lib/dante/runner.rb:58:in `execute'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/lib/gitdocs/cli.rb:13:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_t
ask'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/bin/gitdocs:5:in `<top (required)>'
        from C:/Ruby193/bin/gitdocs:19:in `load'
        from C:/Ruby193/bin/gitdocs:19:in `<main>'
@nesquena
Owner

Thanks for following up, I appreciate it. It's clear we have some work to do to get windows support.

@nesquena
Owner

Just for fun try gitdocs start -D and see if it can start successfully in debug mode...

@cdes
C:\Users\Haddad>gitdocs start -D
Starting in debug mode
==  CreateShares: migrating ===================================================
-- create_table(:shares)
   -> 0.1950s
==  CreateShares: migrated (0.2060s) ==========================================

==  AddRemoteBranch: migrating ================================================
-- add_column(:shares, :remote_name, :string, {:default=>"origin"})
   -> 0.0020s
-- add_column(:shares, :branch_name, :string, {:default=>"master"})
   -> 0.0000s
==  AddRemoteBranch: migrated (0.0250s) =======================================

==  CreateConfigs: migrating ==================================================
-- create_table(:configs)
   -> 0.0260s
==  CreateConfigs: migrated (0.0260s) =========================================

==  AddIndexForPath: migrating ================================================
-- add_index(:shares, :path, {:unique=>true})
   -> 0.0010s
==  AddIndexForPath: migrated (0.4610s) =======================================

==  AddStartWebFrontend: migrating ============================================
-- add_column(:configs, :start_web_frontend, :boolean, {:default=>true})
   -> 0.0020s
==  AddStartWebFrontend: migrated (0.0030s) ===================================

C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/lib/gitdocs/manager.rb:27:in `trap': unsupported s
ignal SIGUSR1 (ArgumentError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/lib/gitdocs/manager.rb:27:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/lib/gitdocs.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/lib/gitdocs/cli.rb:17:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_t
ask'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.3/bin/gitdocs:5:in `<top (required)>'
        from C:/Ruby193/bin/gitdocs:19:in `load'
        from C:/Ruby193/bin/gitdocs:19:in `<main>'
@nesquena
Owner

Thanks again for reporting back so quickly. Just to compile a list of issues so far:

  • Compiling < 1.0.0 eventmachine link
  • Dante requires 'fork' in order to daemonize link
  • Windows does not support signal SIGUSR1 in gitdocs manager

All good to know, will report back here when we tackle each issue.

@nesquena
Owner

Note to self: https://github.com/djberg96/win32-service/blob/master/doc/daemon.txt and http://rubyforge.org/docman/view.php/85/596/daemon.html is how to start a daemon on windows (using windows services)

@nesquena
Owner

Hey @cdes, thanks for continuing to test with us. We have fixed multiple issues related to windows in gitdocs 0.4.4 and I would love if you could test again. can you run gitdocs start -D and paste the output

@cdes

great progress

It seems to be running, but I couldn't specify a share to sync.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Haddad>gem install gitdocs
Fetching: mimetype-fu-0.1.2.gem (100%)
Fetching: gitdocs-0.4.7.gem (100%)
Successfully installed mimetype-fu-0.1.2
Successfully installed gitdocs-0.4.7
2 gems installed
Installing ri documentation for mimetype-fu-0.1.2...
Installing ri documentation for gitdocs-0.4.7...
Installing RDoc documentation for mimetype-fu-0.1.2...
Installing RDoc documentation for gitdocs-0.4.7...

C:\Users\Haddad>gitdocs start -D
Starting in debug mode
Starting Gitdocs v0.4.7...
Using configuration root: 'C:/Users/Haddad/.gitdocs'
Shares:
Starting EM loop...
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:8888, CTRL+C to stop
Web server running!
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET / HTTP/1.1" 200 1665 0.0160
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /css/bootstrap.css HTTP/1.1" 200 47375 0.0110
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /css/app.css HTTP/1.1" 200 720 0.0010
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /css/tilt.css HTTP/1.1" 200 1324 0.0020
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /css/coderay.css HTTP/1.1" 200 651 0.0080
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /js/util.js HTTP/1.1" 200 4911 0.0020
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /js/jquery.js HTTP/1.1" 200 93868 0.0020
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /js/jquery.tablesorter.js HTTP/1.1" 200 16520 0.0030
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /js/app.js HTTP/1.1" 200 2182 0.0030
127.0.0.1 - - [19/Dec/2011 13:43:43] "GET /favicon.ico HTTP/1.1" 404 9 0.0000
>> Stopping ...
>> Stopping ...
>> Stopping ...
Gitdocs is terminating...goodbye

Terminate batch job (Y/N)? y

C:\Users\Haddad>gitdocs "C:\Users\Haddad\Documents\***" git@bitbucket.org:****/****.git

C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:89:in `handle_no_method_error?': to
o short meta escape (ArgumentError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:27:in `rescue in run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:21:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:108:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.7/bin/gitdocs:5:in `<top (required)>'
        from C:/Ruby193/bin/gitdocs:19:in `load'
        from C:/Ruby193/bin/gitdocs:19:in `<main>'

C:\Users\Haddad>gitdocs start -D
Starting in debug mode
Starting Gitdocs v0.4.7...
Using configuration root: 'C:/Users/Haddad/.gitdocs'
Shares:
Starting EM loop...
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:8888, CTRL+C to stop
Web server running!
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET / HTTP/1.1" 200 1665 0.0340
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /css/bootstrap.css HTTP/1.1" 200 47375 0.0050
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /css/app.css HTTP/1.1" 200 720 0.0030
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /css/tilt.css HTTP/1.1" 200 1324 0.0110
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /css/coderay.css HTTP/1.1" 200 651 0.0010
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /js/util.js HTTP/1.1" 200 4911 0.0020
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /js/jquery.js HTTP/1.1" 200 93868 0.0030
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /js/jquery.tablesorter.js HTTP/1.1" 200 16520 0.0020
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /js/app.js HTTP/1.1" 200 2182 0.0010
127.0.0.1 - - [19/Dec/2011 13:48:59] "GET /favicon.ico HTTP/1.1" 404 9 0.0000
127.0.0.1 - - [19/Dec/2011 13:49:01] "GET  HTTP/1.1" 200 2070 0.0280
127.0.0.1 - - [19/Dec/2011 13:49:02] "GET /favicon.ico HTTP/1.1" 404 9 0.0010
127.0.0.1 - - [19/Dec/2011 13:49:04] "GET / HTTP/1.1" 200 1665 0.0150
127.0.0.1 - - [19/Dec/2011 13:49:04] "GET /favicon.ico HTTP/1.1" 404 9 0.0010
@nesquena
Owner

Try:

$ gitdocs add C:\path\to\share

and then

$ gitdocs start -D

again and it should work. Let me know if you can get it syncing! Then we just need to get daemonizing setup for windows and fix some other general bugs and things should be cross-platform. Thanks for your testing.

@cdes

I tried it, but it won't add the share

here's the error I got.

C:\Users\Haddad>gitdocs add C:\Users\Haddad\Documents\test
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:207:in `type_cast': NoMethodError: undefined method `error' for nil:NilClass: INSERT INTO "shares" ("branch_name", "notification", "path", "polling_interval", "remote_name") VALUES (?, ?, ?, ?, ?) (ActiveRecord::StatementInvalid)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:240:in `block (2 levels) in exec_query'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:239:in `map'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:239:in `block in exec_query'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract_adapter.rb:239:in `log'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/sqlite_adapter.rb:223:in `exec_query'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:63:in `exec_insert'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/relation.rb:70:in `insert'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/persistence.rb:313:in `create'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/timestamp.rb:51:in `create'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/callbacks.rb:268:in `block in create'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:390:in `_run_create_callbacks'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/callbacks.rb:268:in `create'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/persistence.rb:294:in `create_or_update'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/callbacks.rb:264:in `block in create_or_update'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:390:in `_run_save_callbacks'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/callbacks.rb:264:in `create_or_update'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/persistence.rb:57:in `save!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/validations.rb:56:in `save!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/transactions.rb:246:in `block in save!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/transactions.rb:208:in `transaction'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.1.3/lib/active_record/transactions.rb:246:in `save!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.7/lib/gitdocs/configuration.rb:45:in `add_path'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.7/lib/gitdocs/cli.rb:41:in `add'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/gitdocs-0.4.7/bin/gitdocs:5:in `<top (required)>'
        from C:/Ruby193/bin/gitdocs:19:in `load'
        from C:/Ruby193/bin/gitdocs:19:in `<main>'

C:\Users\Haddad>
@nesquena
Owner

Thanks for responding back so quick with the trace. Will look at this soon, hopefully fix it. Slowly but surely we will make this work for windows!

@cdes

glad to be of help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.