jimW
jimW

Reputation: 33

permission @rb_sysopen error during install of the searchkick gem for my ruby on rails application

I am installing the searchkick gem to enable search capacilities on my application, but when running brew services start opensearch to start opensearch I get the following error: Error: Permission denied @ rb_sysopen - /Users//Library/LaunchAgents/homebrew.mxcl.opensearch.plist.

I have tried this line of code: sudo chown -R "$*<My-Username>*":admin /Library/LaunchAgents/ (source), but it did not work.

Could someone help me with this?
I am using a mac with an intel processor (i5)

Upvotes: 0

Views: 623

Answers (1)

jimW
jimW

Reputation: 33

sudo chmod a+rw /Users/USERNAME/Library/LaunchAgents fixed the issue for me! Source of code

Upvotes: 1

Related Questions