ruby on rails - "Unable to download data from https://rubygems.org/" because "certificate verify failed" -


i added code mydbs_controller.rb instructed on rails tutorial:

def create   @mydbs = mydb.new(params[:mydb])    @mydb.save   redirect_to @mydb end 

i run database , come error:

the controller-level `respond_to' feature has been extracted  `responders` gem. add gemfile continue using feature: gem 'responders', '~> 2.0' consult rails upgrade guide details. 

so added gem 'responders', '~> 2.0' gemfile , tried bundle install.

i run error telling me

make sure gem install responders -v '2.1.0' succeeds before bundling.

after running i'm left yet error

error: not find valid gem 'responders' (= 2.1.0), here why: unable download data https://rubygems.org/ - ssl_connect returned=1 errno=0 state =sslv3 read server certificate b: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

i meet same question. change gem source "https://rubygems.org/" "http://rubygems.org/"


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -