Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created December 12, 2015 10:39
Show Gist options
  • Save jcoyne/d24ba66170571eb3d908 to your computer and use it in GitHub Desktop.
Save jcoyne/d24ba66170571eb3d908 to your computer and use it in GitHub Desktop.
$ rails new spotlight_demo -m https://raw.githubusercontent.com/sul-dlss/spotlight/master/template.rb
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/javascripts/application.js
create app/assets/stylesheets/application.css
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/views/layouts/application.html.erb
create app/assets/images/.keep
create app/mailers/.keep
create app/models/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/bundle
create bin/rails
create bin/rake
create bin/setup
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/secrets.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/assets.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/cookies_serializer.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/session_store.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/robots.txt
create test/fixtures
create test/fixtures/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
apply https://raw.githubusercontent.com/sul-dlss/spotlight/master/template.rb
gemfile blacklight (~> 5.16)
gemfile blacklight-spotlight
run bundle install from "."
Updating git://github.com/sul-dlss/spotlight.git
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.......................................................
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.5
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5
Using globalid 0.3.6
Using activejob 4.2.5
Using mime-types 2.99
Using mail 2.6.3
Using actionmailer 4.2.5
Using activemodel 4.2.5
Using arel 6.0.3
Using activerecord 4.2.5
Using acts-as-taggable-on 3.5.0
Using addressable 2.4.0
Using extlib 0.9.16
Using multi_json 1.11.2
Using autoparse 0.3.3
Using execjs 2.6.0
Using autoprefixer-rails 6.1.2
Using bcrypt 3.1.10
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.4.20
Using bootstrap-sass 3.3.6
Using deprecation 0.2.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.5
Using concurrent-ruby 1.0.0
Using sprockets 3.5.2
Using sprockets-rails 2.3.3
Using rails 4.2.5
Using rsolr 1.0.13
Using blacklight 5.16.4
Using openseadragon 0.2.1
Using blacklight-gallery 0.4.0
Using ruby-oembed 0.8.14
Using blacklight-oembed 0.0.4
Using bootstrap_form 2.3.0
Using breadcrumbs_on_rails 2.3.1
Using cancancan 1.13.1
Using carrierwave 0.10.0
Using jquery-rails 4.0.5
Using carrierwave-crop 0.1.2
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.4
Using devise 3.5.3
Using devise_invitable 1.5.3
Using multipart-post 2.0.0
Using faraday 0.9.2
Using faraday_middleware 0.10.0
Using friendly_id 5.1.0
Using github-markup 1.4.0
Using jwt 1.5.2
Using little-plugger 1.1.4
Using logging 2.0.0
Using memoist 0.13.0
Using signet 0.7.0
Using googleauth 0.4.2
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using legato 0.6.2
Using lodash-rails 3.10.1
Using mail_form 1.5.1
Using mini_magick 4.3.6
Using multi_xml 0.5.5
Using oauth2 1.0.0
Using request_store 1.2.1
Using paper_trail 4.0.0
Using uber 0.0.15
Using representable 2.3.0
Using roar 1.0.4
Using diffy 3.0.7
Using test_xml 0.1.7
Using roar-rails 1.0.1
Using redcarpet 3.3.3
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using twitter-text 1.13.0
Using sir_trevor_rails 0.5.0b1
Using coffee-script-source 1.10.0
Using coffee-script 2.4.1
Using coffee-rails 4.1.0
Using tilt 2.0.1
Using sass-rails 5.0.4
Using social-share-button 0.1.10
Using tophat 2.2.1
Using underscore-rails 1.8.3
Using blacklight-spotlight 0.12.1 from git://github.com/sul-dlss/spotlight.git (at master)
Using byebug 8.2.1
Using jbuilder 2.3.2
Using rdoc 4.2.0
Using sdoc 0.4.1
Using spring 1.5.0
Using sqlite3 1.3.11
Using turbolinks 2.5.3
Using uglifier 2.7.2
Using web-console 2.2.1
Bundle complete! 14 Gemfile dependencies, 116 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
generate blacklight:install
gemfile jettywrapper (>= 2.0)
create config/jetty.yml
append Rakefile
gemfile rsolr (~> 1.0.6)
run bundle install from "."
Resolving dependencies....
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.5
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5
Using globalid 0.3.6
Using activejob 4.2.5
Using mime-types 2.99
Using mail 2.6.3
Using actionmailer 4.2.5
Using activemodel 4.2.5
Using arel 6.0.3
Using activerecord 4.2.5
Using acts-as-taggable-on 3.5.0
Using addressable 2.4.0
Using extlib 0.9.16
Using multi_json 1.11.2
Using autoparse 0.3.3
Using execjs 2.6.0
Using autoprefixer-rails 6.1.2
Using bcrypt 3.1.10
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.4.20
Using bootstrap-sass 3.3.6
Using deprecation 0.2.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.5
Using concurrent-ruby 1.0.0
Using sprockets 3.5.2
Using sprockets-rails 2.3.3
Using rails 4.2.5
Using rsolr 1.0.13
Using blacklight 5.16.4
Using openseadragon 0.2.1
Using blacklight-gallery 0.4.0
Using ruby-oembed 0.8.14
Using blacklight-oembed 0.0.4
Using bootstrap_form 2.3.0
Using breadcrumbs_on_rails 2.3.1
Using cancancan 1.13.1
Using carrierwave 0.10.0
Using jquery-rails 4.0.5
Using carrierwave-crop 0.1.2
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.4
Using devise 3.5.3
Using devise_invitable 1.5.3
Using multipart-post 2.0.0
Using faraday 0.9.2
Using faraday_middleware 0.10.0
Using friendly_id 5.1.0
Using github-markup 1.4.0
Using jwt 1.5.2
Using little-plugger 1.1.4
Using logging 2.0.0
Using memoist 0.13.0
Using signet 0.7.0
Using googleauth 0.4.2
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using legato 0.6.2
Using lodash-rails 3.10.1
Using mail_form 1.5.1
Using mini_magick 4.3.6
Using multi_xml 0.5.5
Using oauth2 1.0.0
Using request_store 1.2.1
Using paper_trail 4.0.0
Using uber 0.0.15
Using representable 2.3.0
Using roar 1.0.4
Using diffy 3.0.7
Using test_xml 0.1.7
Using roar-rails 1.0.1
Using redcarpet 3.3.3
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using twitter-text 1.13.0
Using sir_trevor_rails 0.5.0b1
Using coffee-script-source 1.10.0
Using coffee-script 2.4.1
Using coffee-rails 4.1.0
Using tilt 2.0.1
Using sass-rails 5.0.4
Using social-share-button 0.1.10
Using tophat 2.2.1
Using underscore-rails 1.8.3
Using blacklight-spotlight 0.12.1 from git://github.com/sul-dlss/spotlight.git (at master)
Using byebug 8.2.1
Using ffi 1.9.10
Using childprocess 0.5.8
Using jbuilder 2.3.2
Using logger 1.2.8
Using rubyzip 1.1.7
Using jettywrapper 2.0.3
Using rdoc 4.2.0
Using sdoc 0.4.1
Using spring 1.5.0
Using sqlite3 1.3.11
Using turbolinks 2.5.3
Using uglifier 2.7.2
Using web-console 2.2.1
Bundle complete! 16 Gemfile dependencies, 121 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
generate blacklight:assets
create app/assets/stylesheets/blacklight.css.scss
insert app/assets/javascripts/application.js
generate blacklight:document
create app/models/solr_document.rb
generate blacklight:search_builder
create app/models/search_builder.rb
generate blacklight:models
create config/blacklight.yml
rake blacklight:install:migrations
Copied migration 20151212101401_create_searches.blacklight.rb from blacklight
Copied migration 20151212101402_create_bookmarks.blacklight.rb from blacklight
Copied migration 20151212101403_add_polymorphic_type_to_bookmarks.blacklight.rb from blacklight
generate blacklight:user
gemfile devise
gemfile devise-guests (~> 0.3)
run bundle install from "."
Resolving dependencies....
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.5
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5
Using globalid 0.3.6
Using activejob 4.2.5
Using mime-types 2.99
Using mail 2.6.3
Using actionmailer 4.2.5
Using activemodel 4.2.5
Using arel 6.0.3
Using activerecord 4.2.5
Using acts-as-taggable-on 3.5.0
Using addressable 2.4.0
Using extlib 0.9.16
Using multi_json 1.11.2
Using autoparse 0.3.3
Using execjs 2.6.0
Using autoprefixer-rails 6.1.2
Using bcrypt 3.1.10
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.4.20
Using bootstrap-sass 3.3.6
Using deprecation 0.2.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.5
Using concurrent-ruby 1.0.0
Using sprockets 3.5.2
Using sprockets-rails 2.3.3
Using rails 4.2.5
Using rsolr 1.0.13
Using blacklight 5.16.4
Using openseadragon 0.2.1
Using blacklight-gallery 0.4.0
Using ruby-oembed 0.8.14
Using blacklight-oembed 0.0.4
Using bootstrap_form 2.3.0
Using breadcrumbs_on_rails 2.3.1
Using cancancan 1.13.1
Using carrierwave 0.10.0
Using jquery-rails 4.0.5
Using carrierwave-crop 0.1.2
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.4
Using devise 3.5.3
Using devise_invitable 1.5.3
Using multipart-post 2.0.0
Using faraday 0.9.2
Using faraday_middleware 0.10.0
Using friendly_id 5.1.0
Using github-markup 1.4.0
Using jwt 1.5.2
Using little-plugger 1.1.4
Using logging 2.0.0
Using memoist 0.13.0
Using signet 0.7.0
Using googleauth 0.4.2
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using legato 0.6.2
Using lodash-rails 3.10.1
Using mail_form 1.5.1
Using mini_magick 4.3.6
Using multi_xml 0.5.5
Using oauth2 1.0.0
Using request_store 1.2.1
Using paper_trail 4.0.0
Using uber 0.0.15
Using representable 2.3.0
Using roar 1.0.4
Using diffy 3.0.7
Using test_xml 0.1.7
Using roar-rails 1.0.1
Using redcarpet 3.3.3
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using twitter-text 1.13.0
Using sir_trevor_rails 0.5.0b1
Using coffee-script-source 1.10.0
Using coffee-script 2.4.1
Using coffee-rails 4.1.0
Using tilt 2.0.1
Using sass-rails 5.0.4
Using social-share-button 0.1.10
Using tophat 2.2.1
Using underscore-rails 1.8.3
Using blacklight-spotlight 0.12.1 from git://github.com/sul-dlss/spotlight.git (at master)
Using byebug 8.2.1
Using ffi 1.9.10
Using childprocess 0.5.8
Using devise-guests 0.3.3
Using jbuilder 2.3.2
Using logger 1.2.8
Using rubyzip 1.1.7
Using jettywrapper 2.0.3
Using rdoc 4.2.0
Using sdoc 0.4.1
Using spring 1.5.0
Using sqlite3 1.3.11
Using turbolinks 2.5.3
Using uglifier 2.7.2
Using web-console 2.2.1
Bundle complete! 18 Gemfile dependencies, 122 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
generate devise:install
create config/initializers/devise.rb
create config/locales/devise.en.yml
===============================================================================
Some setup you must do manually if you haven't yet:
1. Ensure you have defined default url options in your environments files. Here
is an example of default_url_options appropriate for a development environment
in config/environments/development.rb:
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
In production, :host should be set to the actual host of your application.
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
root to: "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
4. If you are deploying on Heroku with Rails 3.2 only, you may want to set:
config.assets.initialize_on_precompile = false
On config/application.rb forcing your application to not access the DB
or load models when precompiling your assets.
5. You can copy Devise views (for customization) to your app by running:
rails g devise:views
===============================================================================
generate devise
invoke active_record
create db/migrate/20151212101411_devise_create_users.rb
create app/models/user.rb
invoke test_unit
create test/models/user_test.rb
create test/fixtures/users.yml
insert app/models/user.rb
route devise_for :users
generate devise_guests
invoke active_record
create db/migrate/20151212101414_add_devise_guests_to_users.rb
insert app/models/user.rb
gsub config/initializers/devise.rb
insert app/models/user.rb
generate blacklight:controller
insert app/controllers/application_controller.rb
create app/controllers/catalog_controller.rb
route blacklight_for :catalog
route root to: "catalog#index"
insert config/application.rb
create config/locales/blacklight.en.yml
create config/initializers/blacklight_initializer.rb
generate spotlight:install
route mount Spotlight::Engine, at: 'spotlight'
gsub config/routes.rb
route root to: 'spotlight/exhibits#index'
gemfile friendly_id
generate friendly_id
create db/migrate/20151212101424_create_friendly_id_slugs.rb
create config/initializers/friendly_id.rb
generate paper_trail:install
create db/migrate/20151212101426_create_versions.rb
gemfile sitemap_generator
create config/sitemap.rb
Added a default sitemap_generator configuration in config/sitemap.rb; please
update the default host to match your environment
create app/assets/stylesheets/spotlight.scss
create app/assets/javascripts/spotlight.js
insert app/models/user.rb
insert app/controllers/application_controller.rb
create app/helpers/spotlight_helper.rb
insert app/helpers/application_helper.rb
insert app/models/solr_document.rb
insert app/models/solr_document.rb
insert app/models/search_builder.rb
force app/controllers/catalog_controller.rb
gemfile blacklight-gallery (>= 0.3.0)
generate blacklight_gallery:install
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
gemfile blacklight-oembed
generate blacklight_oembed:install
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
Injecting a placeholder config.action_mailer.default_url_options; be sure to update it for your environment
insert config/application.rb
gemfile social-share-button
exist config
create config/initializers/social_share_button.rb
identical config/sitemap.rb
create lib/tasks/jetty.rake
create solr_conf
create solr_conf/conf/schema.xml
create solr_conf/conf/solrconfig.xml
gemfile devise_invitable
generate devise_invitable:install
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
generate devise_invitable
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
rake spotlight:install:migrations
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
Would you like to create an initial administrator?
rake jetty:configure_solr
Could not find gem 'sitemap_generator (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
run bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies......
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.5
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5
Using globalid 0.3.6
Using activejob 4.2.5
Using mime-types 2.99
Using mail 2.6.3
Using actionmailer 4.2.5
Using activemodel 4.2.5
Using arel 6.0.3
Using activerecord 4.2.5
Using acts-as-taggable-on 3.5.0
Using addressable 2.4.0
Using extlib 0.9.16
Using multi_json 1.11.2
Using autoparse 0.3.3
Using execjs 2.6.0
Using autoprefixer-rails 6.1.2
Using bcrypt 3.1.10
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using sass 3.4.20
Using bootstrap-sass 3.3.6
Using deprecation 0.2.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.5
Using concurrent-ruby 1.0.0
Using sprockets 3.5.2
Using sprockets-rails 2.3.3
Using rails 4.2.5
Using rsolr 1.0.13
Using blacklight 5.16.4
Using openseadragon 0.2.1
Using blacklight-gallery 0.4.0
Using ruby-oembed 0.8.14
Using blacklight-oembed 0.0.4
Using bootstrap_form 2.3.0
Using breadcrumbs_on_rails 2.3.1
Using cancancan 1.13.1
Using carrierwave 0.10.0
Using jquery-rails 4.0.5
Using carrierwave-crop 0.1.2
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.4
Using devise 3.5.3
Using devise_invitable 1.5.3
Using multipart-post 2.0.0
Using faraday 0.9.2
Using faraday_middleware 0.10.0
Using friendly_id 5.1.0
Using github-markup 1.4.0
Using jwt 1.5.2
Using little-plugger 1.1.4
Using logging 2.0.0
Using memoist 0.13.0
Using signet 0.7.0
Using googleauth 0.4.2
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using legato 0.6.2
Using lodash-rails 3.10.1
Using mail_form 1.5.1
Using mini_magick 4.3.6
Using multi_xml 0.5.5
Using oauth2 1.0.0
Using request_store 1.2.1
Using paper_trail 4.0.0
Using uber 0.0.15
Using representable 2.3.0
Using roar 1.0.4
Using diffy 3.0.7
Using test_xml 0.1.7
Using roar-rails 1.0.1
Using redcarpet 3.3.3
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using twitter-text 1.13.0
Using sir_trevor_rails 0.5.0b1
Using coffee-script-source 1.10.0
Using coffee-script 2.4.1
Using coffee-rails 4.1.0
Using tilt 2.0.1
Using sass-rails 5.0.4
Using social-share-button 0.1.10
Using tophat 2.2.1
Using underscore-rails 1.8.3
Using blacklight-spotlight 0.12.1 from git://github.com/sul-dlss/spotlight.git (at master)
Using byebug 8.2.1
Using ffi 1.9.10
Using childprocess 0.5.8
Using devise-guests 0.3.3
Using jbuilder 2.3.2
Using logger 1.2.8
Using rubyzip 1.1.7
Using jettywrapper 2.0.3
Using rdoc 4.2.0
Using sdoc 0.4.1
Installing sitemap_generator 5.1.0
Using spring 1.5.0
Using sqlite3 1.3.11
Using turbolinks 2.5.3
Using uglifier 2.7.2
Using web-console 2.2.1
Bundle complete! 24 Gemfile dependencies, 123 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from sitemap_generator:
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
If you're upgrading from 3.x, please see the release note in the README:
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
The simple answer is that your index file is now called sitemap.xml.gz
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
run bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted
workspace $ cd spotlight_demo/
spotlight_demo $ git status
fatal: Not a git repository (or any of the parent directories): .git
spotlight_demo $ rake db:migrate
== 20151212101401 CreateSearches: migrating ===================================
-- create_table(:searches)
-> 0.0011s
-- add_index(:searches, :user_id)
-> 0.0003s
== 20151212101401 CreateSearches: migrated (0.0016s) ==========================
== 20151212101402 CreateBookmarks: migrating ==================================
-- create_table(:bookmarks)
-> 0.0009s
== 20151212101402 CreateBookmarks: migrated (0.0010s) =========================
== 20151212101403 AddPolymorphicTypeToBookmarks: migrating ====================
-- add_column(:bookmarks, :document_type, :string)
-> 0.0007s
-- add_index(:bookmarks, :user_id)
-> 0.0004s
== 20151212101403 AddPolymorphicTypeToBookmarks: migrated (0.0012s) ===========
== 20151212101411 DeviseCreateUsers: migrating ================================
-- create_table(:users)
-> 0.0008s
-- add_index(:users, :email, {:unique=>true})
-> 0.0006s
-- add_index(:users, :reset_password_token, {:unique=>true})
-> 0.0005s
== 20151212101411 DeviseCreateUsers: migrated (0.0021s) =======================
== 20151212101414 AddDeviseGuestsToUsers: migrating ===========================
-- change_table(:users)
-> 0.0006s
== 20151212101414 AddDeviseGuestsToUsers: migrated (0.0007s) ==================
== 20151212101424 CreateFriendlyIdSlugs: migrating ============================
-- create_table(:friendly_id_slugs)
-> 0.0008s
-- add_index(:friendly_id_slugs, :sluggable_id)
-> 0.0004s
-- add_index(:friendly_id_slugs, [:slug, :sluggable_type])
-> 0.0006s
-- add_index(:friendly_id_slugs, [:slug, :sluggable_type, :scope], {:unique=>true})
-> 0.0010s
-- add_index(:friendly_id_slugs, :sluggable_type)
-> 0.0008s
== 20151212101424 CreateFriendlyIdSlugs: migrated (0.0037s) ===================
== 20151212101426 CreateVersions: migrating ===================================
-- create_table(:versions)
-> 0.0006s
-- add_index(:versions, [:item_type, :item_id])
-> 0.0004s
== 20151212101426 CreateVersions: migrated (0.0011s) ==========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment