我正在努力研究我从github同步的rails项目上的ruby.即使rake-10.0.3安装成功,"bundle install"也会失败.我是rails的新手,不知道如何继续这个.我用Google搜索错误,并尝试按照解决方案的建议安装不同版本的rake,但它没有帮助.
这就是我想要做的......请帮助.
ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
>rails s
?[31mCould not find kaminari-0.14.1 in any of the sources?[0m
?[33mRun `bundle install` to install missing gems.?[0m
>bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
NoMethodError: private method `open' called for Gem::Package:Class
An error occurred while installing rake (10.0.3), and Bundler cannot continue.
Make sure that `gem install rake -v '10.0.3'` succeeds before bundling.
>gem install rake -v '10.0.3'
Successfully installed rake-10.0.3
Done installing documentation for rake (1 …Run Code Online (Sandbox Code Playgroud) 当我bundle install在ruby 2.1.2上运行时,我得到:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
Run Code Online (Sandbox Code Playgroud)
当我跑步时,gem install rake我得到:
ERROR: Could not find a valid gem 'bundle' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Run Code Online (Sandbox Code Playgroud)
当我跑步时,which bundle我得到: …