resolve/refinerycms — Issue #1286: mount Refinery::Core::Engine => '/' missing in routes.rb
Author: egbertp
Created: 2012-02-06 18:08:18+00:00
State: open

I've installed Rails 3.2.1 on Ruby 1.9.2 by issuing the following steps.

rails new my_app

Added these lines to my Gemfile
gem 'refinerycms', :git => 'git://github.com/resolve/refinerycms.git'
gem 'refinerycms-i18n', '~> 2.0.0', :git => 'git://github.com/parndt/refinerycms-i18n.git'

Added this line to config/application.rb
config.assets.initialize_on_precompile = false

bundle install
rake db:create
rails g refinery:cms

After this step I got some errors. I've read https://github.com/resolve/refinerycms/issues/1271 and created the
/config/initializers/devise.rb file by hand. Afterwards I retried rails g refinery:cms, this time it worked.

rails g refinery:core
rails g refinery:pages
rails g refinery:images
rails g refinery:resources
rails g refinery:i18n

rake railties:install:migrations
rake db:migrate
rails s

I get the error No route matches [GET] "/"

I had to manually add the line
mount Refinery::Core::Engine => '/'
to my config/routes.rb

Now the app seams to work.

Many thanks to and on the RefineryCMS IRC channel on Freenode