- Mac OS X 10.9 Mavericks (Beta2)
- 红宝石 2.0.0p195
- 导轨 4.0.0
使用自制软件安装rbenv
和ruby-build
. 2.0.0p195
在~/.rbenv/versions
我的用户文件夹的文件夹中安装了 Ruby 。设置为使用这个版本(不是系统红宝石)
当我运行 rails new APPNAME 时,我收到此错误
Enter your password to install the bundled RubyGems to your system:
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.4)
Using minitest (4.7.5)
Using multi_json (1.7.7)
Installing atomic (1.1.10)
Errno::EACCES: Permission denied - /Library/Ruby/Gems/2.0.0/build_info/atomic- 1.1.10.info
An error occurred while installing atomic (1.1.10), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.10'` succeeds before bundling.
关于如何解决这个问题的任何建议?宝石版本是2.0.3
.