einzige / sneaky-save

Allows to update complex objects without triggering validations or callbacks.
45 stars 30 forks source link

cannot install #15

Closed masterkain closed 7 years ago

masterkain commented 7 years ago

getting

fatal: no submodule mapping found in .gitmodules for path 'spec/integrations'

Retrying `git submodule deinit --all` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git submodule deinit --all` in directory /Users/kain/.rvm/gems/ruby-2.3.1/bundler/gems/sneaky-save-03866e838f62 has failed.
If this error persists you could try removing the cache directory '/Users/kain/.rvm/gems/ruby-2.3.1/cache/bundler/git/sneaky-save-13cb906327c60ce788e3f1db6c01a34c2097daef'fatal: no submodule mapping found in .gitmodules for path 'spec/integrations'
einzige commented 7 years ago

Hi @masterkain what git version do you have?

alexander-mayr commented 7 years ago

+1 here

einzige commented 7 years ago

@alexander-mayr maybe I ever did fastforward push, not sure. Does cleaning your cache directory resolve the problem?

If this error persists you could try removing the cache directory '/Users/kain/.rvm/gems/ruby-2.3.1/cache/bundler/git/sneaky-save-13cb906327c60ce788e3f1db6c01a34c2097daef'fatal: no submodule mapping found in .gitmodules for path 'spec/integrations'

harz87 commented 7 years ago

+1 here git version: git version 2.10.1 (Apple Git-78) and deleting the cache directory didn't solve it either

einzige commented 7 years ago

@harz87 @alexander-mayr @masterkain the fix is here: https://github.com/ravensnowbird/sneaky-save/commit/d3a005c4d263090d5df6b5163625af21dae48a10 I hope @ravensnowbird will submit his PR soon :) If not, I will.

einzige commented 7 years ago

Bumped 0.1.2, closing