LB Calls Ruby Scripts As...

General discussions about LaunchBar
Post Reply
beerich
Rank 4
Rank 4
Posts: 161
Joined: Thu Apr 05, 2007 11:05 am
Location: Toronto

LB Calls Ruby Scripts As...

Post by beerich » Tue Mar 21, 2017 9:09 am

Hi folks.

Wrote some actions, and they've run into an issue with RVM and its default gemset. The gemset isn't included so it can't require third party gems. Or so I am finding.

Anybody know how to get around this? I've modified the shebang so that the proper default RVM Ruby is being used, but for some reason, as it's called through LB, it isn't my normal user. RVM recognized LB as a different user, and doesn't include the gemset.

Anybody know who the LB user is?

Any advice appreciated.

Cheers

Post Reply