rails newでChecksumエラー

LinkedIn にシェア
Facebook にシェア

Ruby on Railsで新規アプリケーションを作成 “rails new <app>” を実行した時に以下のエラーになった場合の対処です。

Checksum of /versions does not match the checksum provided by server! Something is wrong.


Windows 10 (64bit)
Ruby:2.2.4 (64bit)
DevKit:4.7.2 (64bit)
node.js:4.4.2 (64bit)


C:\Ruby22&gt;gem uninstall bundler

You have requested to uninstall the gem:

mail-2.6.4 depends on bundler (&gt;= 1.0.3, development)
mini_portile2-2.0.0 depends on bundler (~&gt; 1.7, development)
rails-4.2.6 depends on bundler (&lt; 2.0, &gt;= 1.3.0)
rails-deprecated_sanitizer-1.0.3 depends on bundler (~&gt; 1.6, development)
rails-dom-testing-1.0.7 depends on bundler (~&gt; 1.3, development)
rails-html-sanitizer-1.0.3 depends on bundler (~&gt; 1.3, development)
test-unit-3.0.8 depends on bundler (&gt;= 0, development)
thor-0.19.1 depends on bundler (~&gt; 1.0, development)
If you remove this gem, these dependencies will not be met.
Continue with Uninstall? [yN]  y
Remove executables:
        bundle, bundler

in addition to the gem? [Yn]  y
Removing bundle
Removing bundler
Successfully uninstalled bundler-1.12.0


C:\Ruby22&gt;gem install bundler
Fetching: bundler-1.12.1.gem (100%)
Successfully installed bundler-1.12.1
Parsing documentation for bundler-1.12.1
Installing ri documentation for bundler-1.12.1
Done installing documentation for bundler after 5 seconds
1 gem installed

これで “rails new <app>” でのChecksumエラーは解消出来ました。