开发者

How do you run or install starling under RVM?

开发者 https://www.devze.com 2023-02-04 08:46 出处:网络
I installed the starling gem under rvm, but there\'s problem starting starling because it expects permission to write to /var/spool/starling, and installing starling under rvm doesn\'t give it the req

I installed the starling gem under rvm, but there's problem starting starling because it expects permission to write to /var/spool/starling, and installing starling under rvm doesn't give it the required permissions. sudo starling also doesn't work because it ca开发者_Go百科n't find the starling binary. I ended up doing this

sudo `which starling` 

Which works, but I was wondering if RVM had a best practice for this.


You can run rvm under sudo.

But you'll have to install all your rubies and gems again or symlink root rvm to your user's rvm folder

sudo su
rvm use ruby-1.8.7
gem install starling
...
0

精彩评论

暂无评论...
验证码 换一张
取 消