Trying to run db:migrate
keep getting rake aborted
== CreateLocalKeys: migrating ================================================ rake aborted! An error has occurred, all later migrations canceled:
Permission denied - rsa_key
I can't find anything about this
any help is appreciated
Thanks
Are you trying to install 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
I'm assuming your user account needs write access in your rails root directory (at a minimum). Probably a little chown/chmod love will help.
sudo rake db:migrate
First thing I can think of. But I've never had a problem running db:migrate.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.