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.3/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.3/lib/bundler/resolver.rb:331:in `each'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/resolver.rb:331:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/resolver.rb:200:in `start'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/resolver.rb:184:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/definition.rb:200:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/definition.rb:140:in `specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/definition.rb:185:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/definition.rb:174:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/environment.rb:19:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler/runtime.rb:14:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/lib/bundler.rb:95:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.4/gems/bundler-1.12.3/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
rake assets:precompile
I, [2016-05-07T00:43:30.820471 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/cs-f56ef62bc41b040664e801a38f068082a75d506d9048307e8096737463503d0b.jpg
I, [2016-05-07T00:43:30.821395 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/logo-c6cc13d09c4262e637d9af74fa20f7cc0ba8cb57864863b3ce3135f37cbf308c.png
I, [2016-05-07T00:43:30.822138 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/rails-5ad6d454af23f597c4c39dbe4ec6e12784f8e382997a4bc04944ab8547d48881.png
I, [2016-05-07T00:43:30.823443 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/rtp-d3d2240713cce773840785de837acf822d235d1b77040a3e1ed9d8c014cff086.jpg
I, [2016-05-07T00:43:30.824319 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/ruby-836fee16e3757bcd4e2c21d064eee4fa81d7f93e4e9a44b1ffcd6c1d41c92a88.jpg
I, [2016-05-07T00:43:30.830538 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/application-76112807eef9f00230c951fc98793f3e3a8362fb713cf4af5909f0f397de888e.js
I, [2016-05-07T00:43:30.830655 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/application-76112807eef9f00230c951fc98793f3e3a8362fb713cf4af5909f0f397de888e.js.gz
I, [2016-05-07T00:43:30.833543 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/application-dfe1f69e46eefa2c8418eab9065be1ee45ff9d481e58e4bfd84dee20b5e877bb.css
I, [2016-05-07T00:43:30.833665 #23360] INFO -- : Writing /home/rubys/git/awdwr/edition4/work-224-42/depot/public/assets/application-dfe1f69e46eefa2c8418eab9065be1ee45ff9d481e58e4bfd84dee20b5e877bb.css.gz