Search the Community
Showing results for tags 'maverick'.
Found 2 results
Hello, I've just started to write Alfred workflow in Ruby with Zhaohai's workflow https://github.com/zhaocai/alfred-workflow My workflow is pretty simple, it converts the inputted units using the gem 'ruby-units' When I test the script in the terminal, it returns valid output for Alfred: >> /usr/bin/ruby main.rb 10 cm in m <items><item arg='copy=0.1' uid='' valid='yes'><title>0.1</title><subtitle>Copy to clipboard.</subtitle><icon>icon.png</icon></item></items> However, when running in Alfred, it only shows the fallback results (Google, Wiki, etc.) Here is the gist contain ruby scripts and info.plist files of my workflow: https://gist.github.com/vinh0604/8725898 I'm pretty new to Alfred workflow so maybe I missed something to make my workflow works. Please help me if you have any idea about it Thank you in advance.
Upgrade to maverick today and notice many of the scripts including some standard ruby gems raise exceptions. After a few hours debugging, the root cause identified is the encoding. Now the default is not utf-8. output from `locale` is LANG= LC_COLLATE="C" LC_CTYPE="C" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL=