aptonic / dropzone4-actions

Add-on actions and API Docs for Dropzone 4
https://aptonic.com
363 stars 57 forks source link

GitHub Gist - Error with action.rb #107

Closed gtallen1187 closed 4 years ago

gtallen1187 commented 4 years ago

It looks as though there's currently a problem with the GitHub Gist Dropzone bundle. When i try to upload either files or text, i get the same error. I've double-checked to ensure that my access key works. The debug console seems to point to the action script itself.

[Launching task with command line: runner.rb task-95834]

Task description file task-95834:

ACTION: "/[redacted]/Library/Application Support/Dropzone/Actions/Gist.dzbundle"
EVENT: "dragged"
VARIABLE: "app_version" "4.0.3"
VARIABLE: "dragged_type" "files"
VARIABLE: "api_key" "••••"
VARIABLE: "support_folder" "/Users/gregallen/Library/Application Support/Dropzone"
ITEMS: "/Users/gregallen/github/[redacted]]/developer-chrome-extensions.md"

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- gist (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /Users/gregallen/Library/Application Support/Dropzone/Actions/Gist.dzbundle/action.rb:18:in `<top (required)>'
    from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:73:in `load'
    from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:73:in `<main>'

[Task completed]
aptonic commented 4 years ago

I have just fixed this issue which was caused by out of date gems inside the action bundle. I have re-bundled the correct gems inside this action. Download and install the updated action (v1.4) from https://github.com/aptonic/dropzone4-actions-zipped/raw/master/Gist.dzbundle and it should work as expected. Thanks for spotting this!

gtallen1187 commented 4 years ago

Thank you, this worked perfectly now!