Skip to content

Instantly share code, notes, and snippets.

View oseifrimpong's full-sized avatar
🎯
Focus

Obed Osei Frimpong oseifrimpong

🎯
Focus
View GitHub Profile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.1'
#Use PostgreSQL
group :production do
gem 'pg', '0.17.0'
end
@oseifrimpong
oseifrimpong / gist:7546578
Created November 19, 2013 14:57
Error after running "gem install rails"
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: wrong version number
1) User Pages signup page
Failure/Error: it { should have_selector('title', text: full_title('Sign up'))}
expected #has_selector?("title", {:text=>"Ruby on Rails Tutorial Sample App | Sign up"}) to return true, got false
# ./spec/requests/user_pages_spec.rb:12:in `block (3 levels) in <top (required)>'
2) Static pages Home page it should behave like all static pages
Failure/Error: it { should have_selector('title', content: full_title(page_title)) }
ArgumentError:
invalid keys :content, should be one of :text, :visible, :between, :count, :maximum, :minimum
Shared Example Group: "all static pages" called from ./spec/requests/static_pages_spec.rb:18