Table of Contents 26.3 Pagination
edit Gemfile
gem 'devise', '~> 3.0.0.rc'
bundle install --local
Resolving dependencies...
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) ruby' in the gems available on this
machine.
install devise
rails generate devise:install
/home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/resolver.rb:357:in `resolve': Could not find gem 'devise (~> 3.0.0.rc) ruby' in the gems available on this machine. (Bundler::GemNotFound)
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/resolver.rb:164:in `start'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/resolver.rb:129:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/definition.rb:193:in `resolve'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/definition.rb:132:in `specs'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/definition.rb:177:in `specs_for'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/definition.rb:166:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/environment.rb:18:in `requested_specs'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/runtime.rb:13:in `setup'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler.rb:121:in `setup'
from /home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib/bundler/setup.rb:17:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
edit Gemfile
gem 'activemerchant', '~> 1.31'
# gem 'devise', '~> 3.0.0.rc'
gem 'haml', '~> 4.0'
gem 'kaminari', '~> 0.14'