Table of Contents 26.3 Pagination
edit Gemfile
gem 'devise', '~> 3.0.0.rc'
bundle install --local
Your Gemfile has no gem server sources. If you need gems that are not already on
your machine, add a line like this to your Gemfile:
source 'https://rubygems.org'
Could not find gem 'devise (~> 3.0.0.rc)' in any of the gem sources listed in
your Gemfile or available on this machine.
install devise
rails generate devise:install
/home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/resolver.rb:354:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'devise (~> 3.0.0.rc)' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/resolver.rb:330:in `each'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/resolver.rb:330:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/resolver.rb:199:in `start'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/resolver.rb:183:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/definition.rb:198:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/definition.rb:137:in `specs'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/definition.rb:182:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/definition.rb:171:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/environment.rb:18:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/runtime.rb:13:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler.rb:92:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/setup.rb:18:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/rubys/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
edit Gemfile
gem 'activemerchant', '~> 1.31'
# gem 'devise', '~> 3.0.0.rc'
gem 'haml', '~> 4.0'
gem 'kaminari', '~> 0.14'
cleanup - precompile assets for inclusion in results
rails assets:precompile
I, [2016-03-07T09:48:24.028056 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/cs-f56ef62bc41b040664e801a38f068082a75d506d9048307e8096737463503d0b.jpg
I, [2016-03-07T09:48:24.029245 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/logo-c6cc13d09c4262e637d9af74fa20f7cc0ba8cb57864863b3ce3135f37cbf308c.png
I, [2016-03-07T09:48:24.030269 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/rails-5ad6d454af23f597c4c39dbe4ec6e12784f8e382997a4bc04944ab8547d48881.png
I, [2016-03-07T09:48:24.031330 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/rtp-d3d2240713cce773840785de837acf822d235d1b77040a3e1ed9d8c014cff086.jpg
I, [2016-03-07T09:48:24.032209 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/ruby-836fee16e3757bcd4e2c21d064eee4fa81d7f93e4e9a44b1ffcd6c1d41c92a88.jpg
I, [2016-03-07T09:48:24.039905 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/application-9556d9b77448c08224450459fc01f9dc1cb5ce3aaeb9fe7275ef44ab610083fd.js
I, [2016-03-07T09:48:24.040027 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/application-9556d9b77448c08224450459fc01f9dc1cb5ce3aaeb9fe7275ef44ab610083fd.js.gz
I, [2016-03-07T09:48:24.043365 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/application-26589cd337e2fcbd27cd744956f332013908d2f44d979cf5997996c630b7016d.css
I, [2016-03-07T09:48:24.043472 #23675] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-223/depot/public/assets/application-26589cd337e2fcbd27cd744956f332013908d2f44d979cf5997996c630b7016d.css.gz