#1 ✓resolved
Charles Roper

gem install staticmatic for version 0.10.2 fails

Reported by Charles Roper | October 2nd, 2009 @ 12:04 PM

Ruby version: ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]

H:\>gem install staticmatic
ERROR:  While executing gem ... (Errno::EEXIST)
    File exists - C:/Ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.2/test/sandbox
/test_site/site/sub_folder/another_sub_folder

Forcing installation of 0.10.1 works fine:

H:\>gem install staticmatic --version 0.10.1
Successfully installed staticmatic-0.10.1
1 gem installed
Installing ri documentation for staticmatic-0.10.1...
Installing RDoc documentation for staticmatic-0.10.1...

Comments and changes to this ticket

  • Stephen Bartholomew

    Stephen Bartholomew October 4th, 2009 @ 06:05 PM

    • State changed from “new” to “open”
    • Assigned user set to “Stephen Bartholomew”

    Installs fine here - but I'll check out on Windows and update.

  • Stephen Bartholomew

    Stephen Bartholomew October 5th, 2009 @ 08:22 PM

    @charles - can you let me know how you get on with the 0.10.4 install?

  • Charles Roper

    Charles Roper October 6th, 2009 @ 08:54 AM

    Still doing the same thing unfortunately:

    C:>gem install staticmatic --version 0.10.4
    ERROR: While executing gem ... (Errno::EEXIST)
    File exists - C:/Users/charlesr/Tools/Ruby/Ruby186/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/sub_folder/another_sub_folder

    This is on my Windows 7 machine (was on a Vista machine last time).

    Ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]

    I asked on the RubyInstaller group in case this is a Windows specific issue and Luis suggested this:

    http://groups.google.com/group/rubyinstaller/browse_thread/thread/d...

  • Stephen Bartholomew

    Stephen Bartholomew October 6th, 2009 @ 09:55 AM

    Hmm - I'm not sure that's the issue. The gemspec is generated from Jeweler and the output from 'gem spec' looks much the same as others:

    gem spec haml --remote
    gem spec compass --remote
    gem spec rails --remote

    Just getting ruby up and running on a new parallels install and I'll give it a go.

    BTW - can you try installing with a verbose output?

    gem install staticmatic -V

    Cheers,

    Steve

  • Charles Roper

    Charles Roper October 6th, 2009 @ 11:23 AM

    I just had a quick peek inside the gem file and it looks like things are getting tripped up by "another_sub_folder." - I am guessing this is supposed to create a folder? It creates a file on Windows called "another_sub_folder". Once this file has been created, a folder with the same name cannot be created because a folder and filename cannot have exactly the same name on Windows.

    Here's the verbose output:

    gem install staticmatic -V GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
    GET 200 OK: http://gems.github.com/latest_specs.4.8.gz
    GET 200 OK: http://gems.rubyforge.org/quick/Marshal.4.8/staticmatic-0.10.3.gems...
    GET 200 OK: http://gems.rubyforge.org/quick/Marshal.4.8/staticmatic-0.10.4.gems...
    Installing gem staticmatic-0.10.4
    Downloading gem staticmatic-0.10.4.gem
    GET 200 OK: http://gems.rubyforge.org/gems/staticmatic-0.10.4.gem
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/LICENSE
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/README.markdown
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/Rakefile
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/VERSION.yml
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/bin/staticmatic
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/base.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/configuration.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/error.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/helpers.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/build.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/helpers.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/render.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/rescue.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/server.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/mixins/setup.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/server.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/template_error.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/templates/default/application.haml
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/templates/default/application.sass
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/templates/default/index.haml
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/templates/rescues/default.haml
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/lib/staticmatic/templates/rescues/template.haml
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/base_spec.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/helpers_spec.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/render_spec.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/rescue_spec.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/configuration.rb
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/index
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/index.html
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/layout_test
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/page_with_error
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/page_with_partial_error
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/stylesheets/application.css
    c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/sub_folder/another_sub_folder
    ERROR: While executing gem ... (Errno::EEXIST)

    File exists - c:/ruby/lib/ruby/gems/1.8/gems/staticmatic-0.10.4/spec/sandbox/test_site/site/sub_folder/another_sub_folder
    
  • Stephen Bartholomew

    Stephen Bartholomew October 8th, 2009 @ 01:59 PM

    • State changed from “open” to “resolved”

    Removed stray file - Fixed.

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 ยป

Light-weight static site framework

Shared Ticket Bins

People watching this ticket

Pages