Default Action Issues with Nokogiri

Sharing and discussing custom actions for LaunchBar
beerich
Rank 3
Rank 3
Posts: 151
Joined: Thu Apr 05, 2007 11:05 am
Location: Toronto

Default Action Issues with Nokogiri

Postby beerich » Mon Mar 13, 2017 1:50 am

Hi folks. Running a Ruby script from an Action I'm building, and I am getting Nokogiri permissions on Ruby 2.0.0 which I am not using. I have RVM installed and obviously LB isn't using that version. Anybody know how I can fix this? The system version was 2.0.0, but it's long gone.

Code: Select all

2017-03-12 7:40:44.060 PM LaunchBar[593]: RF Send to Fixes (com.mydomain.LaunchBar.action.SendToFixes): Script Error: </usr/bin/env ruby /Users/rich/Library/Application Support/LaunchBar/Actions/RF_SendToFixes.lbaction/Contents/Scripts/default.rb yub yub>
/Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:212:in `initialize': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-15/2.0.0/nokogiri-1.6.5/gem_make.out (Errno::EACCES)
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:212:in `open'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:212:in `write_gem_make_out'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:132:in `build_error'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:171:in `rescue in build_extension'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:156:in `build_extension'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `each'
   from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `build_extensions'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1436:in `block in build_extensions'
   from /Library/Ruby/Site/2.0.0/rubygems/user_interaction.rb:45:in `use_ui'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1434:in `build_extensions'
   from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:60:in `build_extensions'
   from /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `each'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find'
   from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find_inactive_by_path'
   from /Library/Ruby/Site/2.0.0/rubygems.rb:185:in `try_activate'
   from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
   from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
   from /Users/rich/Library/Application Support/LaunchBar/Actions/RF_SendToFixes.lbaction/Contents/Scripts/default.rb:12:in `<main>'


Any insight appreciated. Cheers

Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 1 guest