railsonwin8

windows 8.1 (64bit)にRuby on Rails インストールしたらちょこっとつまづいたので忘備録としてエントリー

インストール後にruntimes.rbを修正

JScript = ExternalRuntime.new(
      :name        => "JScript",
      :command     => "cscript //E:jscript //Nologo",
      :runner_path => ExecJS.root + "/support/jscript_runner.js",
      :encoding    => 'UTF-8'
    )

Railsアプリケーション作成後にGemfileを修正

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
gem 'execjs'
gem 'therubyracer',  platforms: :ruby

修正後にbundle update

以上