[英]rake aborted! Permission denied - rsa_key
Trying to run db:migrate 尝试运行db:migrate
keep getting rake aborted 继续耙耙中止
== CreateLocalKeys: migrating ================================================ rake aborted! == CreateLocalKeys:迁移============================================= ===耙中止了! An error has occurred, all later migrations canceled:
发生错误,所有后来的迁移都被取消:
Permission denied - rsa_key 权限被拒绝-rsa_key
I can't find anything about this 我什么都找不到
any help is appreciated 任何帮助表示赞赏
Thanks 谢谢
Are you trying to install Insoshi ? 您要安装Insoshi吗? If so, I would assume the user account running the migration does not have write access to the local filesystem.
如果是这样,我将假设运行迁移的用户帐户没有对本地文件系统的写权限。 The particular migration writes keys to a local file as seen here: http://github.com/insoshi/insoshi/blob/master/db/migrate/012_create_local_keys.rb
特定的迁移将密钥写入本地文件,如下所示: http : //github.com/insoshi/insoshi/blob/master/db/migrate/012_create_local_keys.rb
I'm assuming your user account needs write access in your rails root directory (at a minimum). 我假设您的用户帐户需要在rails根目录中进行写访问(至少)。 Probably a little chown/chmod love will help.
大概一点chown / chmod的爱会有所帮助。
sudo rake db:migrate
First thing I can think of. 我能想到的第一件事。 But I've never had a problem running db:migrate.
但是我从来没有遇到过运行db:migrate的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.