i have jenkins job builds rails 4 application upon code push svn. occasionally, during bundle install
bundler fail following complaint ::
sudo: no tty present , no askpass program specified bundler::gemspecerror: not read gem @ /usr/local/rvm/gems/ruby-2.2.0/cache/some-random-gem.gem. may corrupted.
this happens on random builds, random gems have worked multiple times before. in order work around it, have been doing ::
--as root gem uninstall name_of_gem gem install name_of_gem -v 'version' gem bundle install
sometimes process works , jenkins able invoke , complete bundle install
. other times make past 'corrupted' gem, have gem 'corrupted'.
does have experience or advice issue?
details
- rhel 6.6
- rails 4.2.0
- ruby 2.2.0p0