Table of Contents 27.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.15.1/lib/bundler/resolver.rb:396: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.15.1/lib/bundler/resolver.rb:366:in `each'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/resolver.rb:366:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/resolver.rb:212:in `start'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/resolver.rb:191:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/definition.rb:235:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/definition.rb:159:in `specs'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/definition.rb:218:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/definition.rb:207:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/runtime.rb:109:in `block in definition_method'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler/runtime.rb:21:in `setup'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/lib/bundler.rb:101:in `setup'
from /home/rubys/.rvm/gems/ruby-2.3.3/gems/bundler-1.15.1/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-06-03T00:45:27.834315 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/7apps-f67c3d908f537bac34a290206cc1db4c6f4611196c550e49ba836b796a2602bb.jpg
I, [2017-06-03T00:45:27.835202 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/adrpo-23a974519e0d4353c6906f82b40bd4cd98b09a2ce748825370c7aa59763f5ac7.jpg
I, [2017-06-03T00:45:27.836058 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/dcbang-28758120ca6616f3f95a4b73dda112a1f8e6ac3175e35b67e78d0ab0bd177566.jpg
I, [2017-06-03T00:45:27.837200 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/logo-a8906fb6c933f00883d2ad0385ae52201c0e1d1f9235c37f4a5762f02ad80936.svg
I, [2017-06-03T00:45:27.837404 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/logo-a8906fb6c933f00883d2ad0385ae52201c0e1d1f9235c37f4a5762f02ad80936.svg.gz
I, [2017-06-03T00:45:27.838160 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/rails-5ad6d454af23f597c4c39dbe4ec6e12784f8e382997a4bc04944ab8547d48881.png
I, [2017-06-03T00:45:27.848315 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/application-92db2a7cc1f1fc11226949cb91839baaf73815b6ae607d07a6b87d914df586e6.js
I, [2017-06-03T00:45:27.848477 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/application-92db2a7cc1f1fc11226949cb91839baaf73815b6ae607d07a6b87d914df586e6.js.gz
I, [2017-06-03T00:45:27.851560 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/application-a318f0e11f966ce561eed40b214b911c5a52336c2904165c6fabbfa26fc60342.css
I, [2017-06-03T00:45:27.851675 #30887] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-233-50/depot/public/assets/application-a318f0e11f966ce561eed40b214b911c5a52336c2904165c6fabbfa26fc60342.css.gz