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.4/gems/bundler-1.12.2/lib/bundler/resolver.rb:356: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.4/gems/bundler-1.12.2/lib/bundler/resolver.rb:331:in `each'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/resolver.rb:331:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/resolver.rb:200:in `start'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/resolver.rb:184:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/definition.rb:200:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/definition.rb:140:in `specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/definition.rb:185:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/definition.rb:174:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/environment.rb:19:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/runtime.rb:14:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler.rb:95:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.2/lib/bundler/setup.rb:19:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/rubys/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
edit Gemfile
gem 'activemerchant', '~> 1.58'
# gem 'devise', '~> 3.0.0.rc'
gem 'haml', '~> 4.0'
gem 'kaminari', '~> 0.16'
cleanup - precompile assets for inclusion in results
rails assets:precompile
I, [2016-05-06T00:44:44.662356 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/cs-f56ef62bc41b040664e801a38f068082a75d506d9048307e8096737463503d0b.jpg
I, [2016-05-06T00:44:44.663571 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/logo-c6cc13d09c4262e637d9af74fa20f7cc0ba8cb57864863b3ce3135f37cbf308c.png
I, [2016-05-06T00:44:44.664174 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/rails-5ad6d454af23f597c4c39dbe4ec6e12784f8e382997a4bc04944ab8547d48881.png
I, [2016-05-06T00:44:44.665222 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/rtp-d3d2240713cce773840785de837acf822d235d1b77040a3e1ed9d8c014cff086.jpg
I, [2016-05-06T00:44:44.666001 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/ruby-836fee16e3757bcd4e2c21d064eee4fa81d7f93e4e9a44b1ffcd6c1d41c92a88.jpg
I, [2016-05-06T00:44:44.673801 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/application-3a5c61d010a31a6d95af55a41c53f3ea3b04333020393ce5418c02334ff9be9f.js
I, [2016-05-06T00:44:44.673921 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/application-3a5c61d010a31a6d95af55a41c53f3ea3b04333020393ce5418c02334ff9be9f.js.gz
I, [2016-05-06T00:44:44.709062 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/application-fcd0ffe20d11dca348841df1c17afcdae96723049e448ee2a7031b3a4c779853.css
I, [2016-05-06T00:44:44.709184 #20211] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224/depot/public/assets/application-fcd0ffe20d11dca348841df1c17afcdae96723049e448ee2a7031b3a4c779853.css.gz