ruby on rails - rspec spec gives "Failed to load /home/searching/.gemrc because it doesn't contain valid YAML /" -
failed load /home/searching/.gemrc because doesn't contain valid yaml
when excute command rspec spec/
the above error appear , not able test case using spec
.gemrc
not gemfile
.
.gemrc
yaml files next yaml keys:
:sources: yaml array of remote gem repositories install gems :verbose: verbosity of gem command. false, true, , :really levels :update_sources: enable/disable automatic updating of repository metadata :backtrace: print backtrace when rubygems encounters error :gempath: paths in gems :disable_default_gem_server: forcefulness specification of gem server host on force <gem_command>: string containing arguments specified gem command
example:
:verbose: false install: --no-wrappers update: --no-wrappers :disable_default_gem_server: true
it described in details here: http://guides.rubygems.org/command-reference/
ruby-on-rails
No comments:
Post a Comment