我安裝了Ruby(v。2.0.0)和Rails(v。4.0.4)。當我嘗試啓動服務器(使用命令rails s
)我得到一個錯誤:Ruby on Rails - Errno :: EACCES(Windows 7)
Could not find gem 'rails (<= 4.0.3) x86-mingw32' in the gems available on this machine.
Run `bundle install` to install missing gems.
使用bundle install
後,我得到許可的錯誤:
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/..........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Errno::EACCES: Permission denied - D:/Ruby200/bin/rake.bat
An error occurred while installing rake (10.2.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.2.2'` succeeds before bundling.
我也嘗試安裝導軌的舊版本,但它也出現Errno :: EACCES錯誤。耙安裝是不可能出於同樣的原因
我使用Windows 7專業版。命令提示符作爲admnistrator運行。
不幸的是,我在這個版本中遇到同樣的錯誤。 – Zuku