top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Rails: Unable to resolve setup problem to get sample blog application to run - certificate errors

0 votes
312 views

I am getting certificate errors on the https:\rubygems.org web site using 2.1.5 Rails install environment objects.
Any ideas? This is Windows 7 VM machine installation.

posted Sep 5, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

1) Try pinging google:$ ping www.google.com
2) If you need to set proxy then you can use following commands

set http_proxy=http://your_proxy:your_port set http_proxy=http://username:password@your_proxy:your_port 
set https_proxy=https://your_proxy:your_port set https_proxy=https://username:password@your_proxy:your_port

3) Try replacing https from Gemfile:

source http://rubygems.org
answer Sep 5, 2015 by Satish Mishra
Similar Questions
0 votes

I am having problems populating my db. I created a sample_data.rake file. When I run rake db:populate it shows exactly what it should show- no errors. But when I go to localhost and try to login the db has not been populated. Any suggestions??

+1 vote
article.errors.on(:title)

does not works in Rails 4. What is equivalent on( ) method?

0 votes

I have a problem when I try to use jQuery simpleZoom Plugin in rails. I want to use it when select image from database, how can I do it?

+1 vote

I am programming a simple app to manage users in Ruby on Rails.I read RoR Tutorial from http://ruby.railstutorial.org/chapters/sign-in-sign-out#top to sign in and sign out my app. I implemented the same configuration as it said:

_sessions_helper.rb_def sign_out  self.current_user = nil cookies.delete(:remember_token)end    
_sessions_controller.rb_ def destroy sign_out redirect_to root_url end
_application.html.erb_
_routes.rb_ match '/signout', to: 'sessions#destroy', via: 'delete'

I am able to sign in, but I can't sign out. The problem is that there are not any log error and I don't know what to do.

...