小编Aug*_*aug的帖子

错误:尝试在我的 rails 应用程序中安装 gem pg 时,权限被拒绝 @ rb_sysopen (Windows 7)

使用 Windows 7 Ultimate 并以管理员身份运行 cmd。
我最近开始在 rails 上使用 ruby​​,在我的新 rails 应用程序中,我尝试安装 postgres(pg) gem,然后出现权限被拒绝错误,如下所示:

C:\wamp\www\RailsApp>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/...........
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Using activesupport 4.1.8
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.8
Using rack 1.5.2
Using rack-test 0.6.3
Using actionpack 4.1.8
Using mime-types 2.4.3
Using mail 2.6.3
Using actionmailer 4.1.8
Using activemodel 4.1.8
Using arel …
Run Code Online (Sandbox Code Playgroud)

ruby postgresql ruby-on-rails windows-7 bundle-install

6
推荐指数
1
解决办法
3897
查看次数