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'