Val*_*rie 9 ruby ruby-on-rails ruby-on-rails-4
我正在尝试在Windows上初始化一个新的rails应用程序,并且运行rails new <appname>生成所有内容vendor/assets/stylesheets/.keep,但是当bundle install运行时,rails会生成此错误:
Checksum of /versions does not match the checksum provided by server! Something is wrong.
Run Code Online (Sandbox Code Playgroud)
我不确定是什么导致了这一点,因为我没有做任何事情.任何帮助表示赞赏.
编辑:如果这是由于窗口挑剔引起的错误,我可以选择转移到Linux,但我想先知道出了什么问题.
小智 21
我在使用Windows时遇到了同样的问题,并且能够通过卸载bundler并安装旧版本来解决它.
rails new <appname>
gem uninstall bundler
gem install bundler -v 1.9
cd <appname>
bundle install
Run Code Online (Sandbox Code Playgroud)
这样做对我来说!