Reputation: 435
When you install Octopress many use rvm to switch between Ruby versions. However, rvm does not work for Window users so Scott Muc created Yari After following this and that, I finally overcame the yari not found issue by simply restarting the Windows Power shell and making sure that my path was pointing to the correct ruby installation under the Yari folder. The following commands ran fine:
git clone git://github.com/imathis/octopress.git octopress
cd octopress
ruby --version # reports Ruby 1.9.3 thanks to yari
gem install bundler
The bundle install command however starts complaining that it can't find gems to install. After some detective work, I can see that the Gemfile under Octopress is adding gems as i install them manually one by one (ugh). The list seems long. I hope a ruby or Octopress expert can become my hero today :-( so I can share my knowledge and start blogging.
I just took a shot of the bottom part of the console. I have added each gem one by one.Thanks for Yari and for taking a look.
and on and on till finally...
Not sure if this is yari related but i also modified line 205 of httpresponse.rb file to: if chunked? || @header['content-length'] || @status == 304 || @status == 204. This turns off a bunch of annoying warnings that really slow down the rake preview command and causes the need for endless refresh. Especially sensitive in chrome as FF had a better response time---
Upvotes: 2
Views: 390
Reputation: 1185
I have the same problem here, but the problem is the certificate (yari problem?):
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/compa
ss-0.12.2.gem)
You can change the file GemFile of octopress without https and it works
source "http://rubygems.org"
group :development do
gem 'rake', '~> 0.9'
gem 'jekyll', '~> 0.12'
gem 'rdiscount', '~> 2.0.7'
gem 'pygments.rb', '~> 0.3.4'
gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.7'
gem 'compass', '~> 0.12.2'
gem 'sass', '~> 3.2'
gem 'sass-globbing', '~> 1.0.0'
gem 'rubypants', '~> 0.2.0'
gem 'rb-fsevent', '~> 0.9'
gem 'stringex', '~> 1.4.0'
gem 'liquid', '~> 2.3.0'
gem 'directory_watcher', '1.4.1'
end
gem 'sinatra', '~> 1.4.2'
more info: http://railsapps.github.io/openssl-certificate-verify-failed.html
Upvotes: 2