Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on gem build type-on-strap.gemspec #11

Closed
sylhare opened this issue Nov 2, 2017 · 1 comment
Closed

Error on gem build type-on-strap.gemspec #11

sylhare opened this issue Nov 2, 2017 · 1 comment
Assignees
Labels

Comments

@sylhare
Copy link
Owner

sylhare commented Nov 2, 2017

When updating the files to build the gem for #9 I encountered some issue:

WARNING:  See http:https://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["_sass/type-theme.scss"] are not files

However I had replaced type-theme.scss by type-on-strap.scss on all necessary files. In my gemspec, I put as the files specification:

  spec.files         = `git ls-files -z`.split("\x0").select { |f| 
f.match(%r{^(assets|_layouts|_includes|_sass|LICENSE|README)}i) }
@sylhare sylhare self-assigned this Nov 2, 2017
@sylhare sylhare added the bug label Nov 2, 2017
@sylhare
Copy link
Owner Author

sylhare commented Nov 2, 2017

I got this error because I hadn't committed my updates with git yet.
Since I had changed type-theme.scss into type-on-strap.scss it couldn't find the file.

Indeed, in spec.files, this git ls-files indicates that it will directly look for the files using git.

@sylhare sylhare closed this as completed Nov 2, 2017
@sylhare sylhare added this to to do in Type-on-Strap via automation Nov 4, 2017
@sylhare sylhare moved this from to do to Done in Type-on-Strap Nov 4, 2017
OMEGA-Y pushed a commit to OMEGA-Y/OMEGA-Y.github.io that referenced this issue Dec 8, 2020
fix exchangable to exchangeable
fix "Chandler want" to "Chandler wants" in instructions.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Type-on-Strap
  
Done
Development

No branches or pull requests

1 participant