Shopify / shopify_theme

A console tool for interacting with Shopify Theme Assets.
http://shopify.github.io/shopify_theme
MIT License
645 stars 135 forks source link

Gem no longer uploads files under `templates/customers/` #203

Open chryton opened 8 years ago

chryton commented 8 years ago

The gem will no longer upload files under a customers folder within the templates folder like in the Skeleton, Timber, and Launchpad Star. It errors out and returns this:

/Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:258:in `read': Is a directory - templates/customers (Errno::EISDIR)
    from /Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:258:in `send_asset'
    from /Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:129:in `block in upload'
    from /Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:128:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:128:in `upload'
    from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Library/Ruby/Gems/2.0.0/gems/shopify_theme-0.0.25/bin/theme:26:in `<top (required)>'
    from /usr/local/bin/theme:23:in `load'
    from /usr/local/bin/theme:23:in `<main>'

This is extremely problematic as it effectively blocks any kind of development local development of account related templates. I have tried reinstalling the gem to no avail. My development team is considering using a third party tool for our theme management as the gem seems to no longer be functioning even though we'd rather stick with the official gem since it should be the most stable and up to date.