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.2.6/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.2.6/gems/bundler-1.15.1/lib/bundler/resolver.rb:366:in `each'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/resolver.rb:366:in `verify_gemfile_dependencies_are_found!'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/resolver.rb:212:in `start'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/resolver.rb:191:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/definition.rb:235:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/definition.rb:159:in `specs'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/definition.rb:218:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/definition.rb:207:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/runtime.rb:109:in `block in definition_method'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/runtime.rb:21:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler.rb:101:in `setup'
from /home/rubys/.rvm/gems/ruby-2.2.6/gems/bundler-1.15.1/lib/bundler/setup.rb:20:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-2.2.6/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/rubys/.rvm/rubies/ruby-2.2.6/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
edit Gemfile
gem 'kaminari', '~> 1.0'
gem 'activemerchant', '~> 1.58'
# gem 'devise', '~> 3.0.0.rc'
gem 'haml', '~> 4.0'