Fail when running git-format-staged --version #5

Closed
opened 2022-06-07 07:57:44 +00:00 by Sven · 0 comments
Owner
bundler: failed to load command: git-format-staged (/Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged)
NameError: uninitialized constant FormatStaged::VERSION
  /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/gems/format-staged-0.1.0/bin/git-format-staged:57:in `block (2 levels) in <top (required)>'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1589:in `block in parse_in_order'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1575:in `catch'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1575:in `parse_in_order'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1569:in `order!'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1666:in `permute!'
  /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1691:in `parse!'
  /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/gems/format-staged-0.1.0/bin/git-format-staged:66:in `<top (required)>'
  /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged:23:in `load'
  /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged:23:in `<top (required)>'
``` bundler: failed to load command: git-format-staged (/Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged) NameError: uninitialized constant FormatStaged::VERSION /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/gems/format-staged-0.1.0/bin/git-format-staged:57:in `block (2 levels) in <top (required)>' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1589:in `block in parse_in_order' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1575:in `catch' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1575:in `parse_in_order' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1569:in `order!' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1666:in `permute!' /Users/sven/.rbenv/versions/2.7.5/lib/ruby/2.7.0/optparse.rb:1691:in `parse!' /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/gems/format-staged-0.1.0/bin/git-format-staged:66:in `<top (required)>' /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged:23:in `load' /Users/sven/Projekte/format-staged/test/vendor/bundle/ruby/2.7.0/bin/git-format-staged:23:in `<top (required)>' ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Sven/format-staged#5
No description provided.