refinary tutorial no work チュートリアル 動かない

Refinaryのgetting-startedを参考にインストールを試みたが、失敗。

http://www.refinerycms.com/guides/getting-started
http://www.refinerycms.com/download
参考の参考 http://blog.scimpr.com/2014/08/13/rails4-1%E3%81%AB%E5%AF%BE%E5%BF%9C%E3%81%97%E3%81%9Frefinery-cms-3-0%E3%82%92%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%81%9F/

そもそもRails4に対応とか対応していないとかの記述が混在しており混乱。対応していないと考えrails3.2.15として話を進めた方が(現時点では)無難。

初めは以下のイニシャライズコマンド…どうやってもエラーが出る。因みにバージョンを2.1.0をedge(多分最新と言う意味?)にしてもダメ。

rails new rickrockstar -m http://refinerycms.com/t/2.1.0

結局

rails _3.2.15_ new rickrockstar -m http://refinerycms.com/t/2.1.0

にしてインストールは出来る。が如何の警告も出る。

generate refinery:cms --fresh-installation rickrockstar -m http://refinerycms.com/t/2.1.0
/home/johny/.rvm/gems/ruby-2.0.0-p643/gems/execjs-2.6.0/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

直すために$cd rickrockstar移動後、以下の以下のコメント外し$bundle install。

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby

gem 'therubyracer', :platforms => :ruby

これで$rails serverで終わると思ったが…,http://localhost:3000/refineryでまたエラー。

Routing Error
No route matches [GET] "/refinery"

結局下の方まで読むと、If you encounter a routing error afterwards, run … とあるので、

rails generate refinery:cms —fresh-installation

すると、とりあえずログイン画面まで行き着く。

#------------------------------

次に4.3 Setting Your Site Nameで
To do this, you’ll have to edit config/initializers/refinery/core.rb. Look for the line that begins:
# config.site_name = "Company Name"
これもダメだった。そもそも/refinery/core.rb初めから無い。

こちらはapp/controllers/application_controller.rbに以下を追記して対応。

Refinery::Core.configure do |config|
config.site_name = "Hoge Bros."
end


....と色々不都合が出る。やり直し…