lab2023 / hierapolis-rails

Gem for Hierapolis Rails Admin Theme
http://kebab-project.org/
MIT License
26 stars 6 forks source link

gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3' does not exist #18

Open ghost opened 9 years ago

ghost commented 9 years ago

Hello,

According to the manual I have to add :

gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3'

to my gem file.

But as far as I can see thomas do not have a bootstrap-sass repo anymore. When you do bundle you see this message appear :

Updating git://github.com/thomas-mcdonald/bootstrap-sass.git
fatal: ambiguous argument '3': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Retrying git rev-parse 3 due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command git rev-parse 3 in directory /home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fd b805029a30f02a6edfbae2e has failed.
If this error persists you could try removing the cache directory '/home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
fatal: ambiguous argument '3': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Retrying git rev-parse 3 due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command git rev-parse 3 in directory /home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fd b805029a30f02a6edfbae2e has failed.
If this error persists you could try removing the cache directory '/home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
fatal: ambiguous argument '3': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Git error: command git rev-parse 3 in directory /home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e has failed.
If this error persists you could try removing the cache directory '/home/codio/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'

Roelof

dkiswanto commented 9 years ago

it's because the branch "3" doesn't exist anymore, try using the master branch. (remove using branch "3" command) gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3' just like this. gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git'