teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

s

2016/09/18 05:39

投稿

randosel
randosel

スコア37

title CHANGED
File without changes
body CHANGED
@@ -23,7 +23,7 @@
23
23
  Fetching dependency metadata from https://rubygems.org/
24
24
  Fetching git://github.com/kesha-antonov/simple_form.git
25
25
  fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
26
- Retrying git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*" due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*"` in directory /home/ubuntu/peety/vendor/bundle/ruby/2.3.0/cache/bundler/git/simple_form-f9aa705c79765ebcba3e937a1357edd7854a4746 has failed.
26
+ Retrying git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*" due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*"` in directory /home/ubuntu/app/vendor/bundle/ruby/2.3.0/cache/bundler/git/simple_form-f9aa705c79765ebcba3e937a1357edd7854a4746 has failed.
27
27
  If this error persists you could try removing the cache directory '/home/ubuntu/app/vendor/bundle/ruby/2.3.0/cache/bundler/git/simple_form-f9aa705c79765ebcba3e937a1357edd7854a4746'
28
28
  fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
29
29
  Retrying git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*" due to error (3/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'git://github.com/kesha-antonov/simple_form.git' "refs/heads/*:refs/heads/*"` in directory /home/ubuntu/app/vendor/bundle/ruby/2.3.0/cache/bundler/git/simple_form-f9aa705c79765ebcba3e937a1357edd7854a4746 has failed.

1

a

2016/09/18 05:39

投稿

randosel
randosel

スコア37

title CHANGED
File without changes
body CHANGED
@@ -3,6 +3,7 @@
3
3
  `gem 'simple_form', github: 'kesha-antonov/simple_form', branch: 'rails-5-0'`
4
4
 
5
5
  開発環境ではこれで通るのですが、Circle CIに通した際にはエラーとなり手が出せない状態です。
6
+ sshで入って、libv8、simple_formをそれぞれインストール、`'/home/ubuntu/app/vendor/bundle/ruby/2.3.0/cache/bundler/git/simple_form-f9aa705c79765ebcba3e937a1357edd7854a4746'`を削除した後、正常に動作します。しかし、exit後、再度circle ci上でrunningすると同様のエラーが出てしまいます。
6
7
  この場合どうすれば良いのでしょうか。。
7
8
 
8
9
  ```