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.
install devise
rails generate devise:install
/home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/resolver.rb:386: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. (Bundler::GemNotFound)
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/resolver.rb:356:in `each'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/resolver.rb:356:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/resolver.rb:203:in `start'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/resolver.rb:182:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/definition.rb:252:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/definition.rb:235:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/definition.rb:224:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/runtime.rb:118:in `block in definition_method'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/runtime.rb:19:in `setup'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler.rb:100:in `setup'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.14.6/lib/bundler/setup.rb:20:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/rubys/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
edit Gemfile
gem 'kaminari', '~> 1.0'
gem 'activemerchant', '~> 1.58'
# gem 'devise', '~> 3.0.0.rc'
gem 'haml', '~> 4.0'
cleanup - precompile assets for inclusion in results
rails assets:precompile
I, [2017-03-26T03:45:15.304509 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/7apps-f67c3d908f537bac34a290206cc1db4c6f4611196c550e49ba836b796a2602bb.jpg
I, [2017-03-26T03:45:15.305400 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/adrpo-23a974519e0d4353c6906f82b40bd4cd98b09a2ce748825370c7aa59763f5ac7.jpg
I, [2017-03-26T03:45:15.306557 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/dcbang-28758120ca6616f3f95a4b73dda112a1f8e6ac3175e35b67e78d0ab0bd177566.jpg
I, [2017-03-26T03:45:15.307389 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/logo-a8906fb6c933f00883d2ad0385ae52201c0e1d1f9235c37f4a5762f02ad80936.svg
I, [2017-03-26T03:45:15.307738 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/logo-a8906fb6c933f00883d2ad0385ae52201c0e1d1f9235c37f4a5762f02ad80936.svg.gz
I, [2017-03-26T03:45:15.308719 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/rails-5ad6d454af23f597c4c39dbe4ec6e12784f8e382997a4bc04944ab8547d48881.png
I, [2017-03-26T03:45:15.317557 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/application-2f303a6bfcb17ed31e246fb4bcc2e5e0135262b12443bf72bdc4f64a4fd61ac2.js
I, [2017-03-26T03:45:15.317671 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/application-2f303a6bfcb17ed31e246fb4bcc2e5e0135262b12443bf72bdc4f64a4fd61ac2.js.gz
I, [2017-03-26T03:45:15.330954 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/application-65e61a9b457a276951199637a68234b645770ee1c0aa11b8441cacad0ac80b03.css
I, [2017-03-26T03:45:15.331108 #18759] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-50/depot/public/assets/application-65e61a9b457a276951199637a68234b645770ee1c0aa11b8441cacad0ac80b03.css.gz