安装pik并将我的Ruby版本更改为2.0.0之后,邦德勒不再正常工作了
C:\Users\Me\Documents\Work Projects\Application>bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.1.0)
Using i18n (0.6.5)
Using minitest (4.7.5)
Using multi_json (1.8.0)
Installing atomic (1.1.14)
Gem::InstallError: The 'atomic' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
An error occurred while installing atomic (1.1.14), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.14'` succeeds before bundling.从Ruby安装程序安装devkit有点失败了,为什么我要麻烦安装pik。我如何解决这一问题,以便在未来,我可以很容易地更新ruby使用pik,并使所有的工作?
发布于 2013-10-16 03:28:00
我也遇到了同样的问题--如果您遵循挂牌的说明(即安装devkit并按照他们的指示,他们没有实际告诉您使用rubyinstaller),那么您会没事的。还要确保在Devkit指令的init阶段,它不会错过任何红宝石安装。
不过,请注意,pik似乎无法指定2.0.0的x64版本,因此如果出现这种情况,您可能会遇到问题。最后,我不得不为ruby的x64版本使用rubyinstaller,然后运行devkit的x64版本。
希望这能有所帮助。
发布于 2013-10-16 13:19:55
我认为Josh的答案可能是对的,但实际上我最终还是使用了将Ubuntu安装为VM,这样我就可以使用RVM了。
RVM比Pik好一千倍,它安装DevKit。它是如此好,这是真正值得安装Ubuntu只是为了让你可以使用它。
https://stackoverflow.com/questions/19308846
复制相似问题