#297 open
Marcin Seroczynski

Can't install on windows.

Reported by Marcin Seroczynski | May 5th, 2009 @ 03:42 PM

While trying to follow instructions with installation it breaks at some point and dont't want to move any further.

Process: rails advacmstest -d mysql -m http://github.com/svenfuchs/adva...


    applying  template: http://github.com/svenfuchs/adva_cms/raw/master/templates/adva-cms.master.rb
        file  script/test-adva-cms
     running  git clone git://github.com/svenfuchs/adva_cms.git vendor/adva # this might take a bit, grab a coffee meanwhile :)
Checking out files: 100% (2780/2780), done.
        rake  adva:install:core -R vendor/adva/engines/adva_cms/lib/tasks
rake aborted!
Don't know how to build task 'adva:install:core'

(See full trace by running task with --trace)

Thanks for installing adva-cms!

We've performed the following tasks:

* created a fresh Rails app
* cloned adva-cms to vendor/adva
* installed adva-cms' core engines to vendor/plugins
* installed adva-cms' images, javascripts, stylesheets to public/

You can now do:

cd advacmstest
ruby script/server
open http://localhost:3000

You should see adva-cms installation screen.
Fill out the form and you're started, enjoy!

     applied  http://github.com/svenfuchs/adva_cms/raw/master/templates/adva-cms.master.rb

And at this point I went to application direcotry and tried: rake adva:install:core -R vendor/adva/engines/adva_cms/lib/tasks

result:


(in D:/workspace/advacmstest)
rake aborted!
Don't know how to build task 'adva:install:core'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1704:in `[]'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2026:in `invoke_task'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
D:/work/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
D:/work/ruby/bin/rake:16:in `load'
D:/work/ruby/bin/rake:16

I've got: Ruby: 1.8.7 Rails: 2.3.2 Gem: 1.3.2

Any suggestions?

Comments and changes to this ticket

  • Marko Seppä

    Marko Seppä May 6th, 2009 @ 09:46 AM

    • Assigned user changed from “Sven Fuchs” to “Josh H”
    • State changed from “new” to “open”

    This is hard to fix because our core development team of adva-cms is not using windows and we cannot reproduce this bug.

    Josh, could you check on this?

    Or if there are any windows users willing to contribute to our project the help would be greatly appreciated.

  • Marcin Seroczynski

    Marcin Seroczynski May 6th, 2009 @ 10:36 AM

    I would like to help with this bug but I need some clues where to start and on what exactly I should take a deep look.

  • Marko Seppä

    Marko Seppä May 6th, 2009 @ 10:47 AM

    Hi Marcin,

    The main thing would be to figure out why windows fails when you type

    rake adva:install:core -R vendor/adva/engines/adva_cms/lib/tasks

    1) why does this fail? 2) how is it possible to run rake with custom task like that on windows 3) try it out with fixed template perhaps.

    I cannot offer any deeper insights on this myself, and this was probably obvious things from the beginning on.

  • Marko Seppä

    Marko Seppä June 19th, 2009 @ 10:36 AM

    Added to product backlog.

  • monojetski

    monojetski December 12th, 2009 @ 11:46 AM

    I had the same problem.

    Here is what I did to get past that issue. I changed adva_cms.rake line 162.

    original
    def source(type, subdir = nil)
    "../adva/#{type}" + (subdir ? "/#{subdir}" : '') end

    fixed

    def source(type, subdir = nil)
    "#{rails_root}/vendor/adva/#{type}" + (subdir ? "/#{subdir}" : '') end

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>

Referenced by

Pages