Closed pocketWashburn closed 10 years ago
People have been asking for a way to bring their own Ruby version to Dropzone for some time and I've finally released a build that lets you do that. You can download it from the link below:
http://shipsomecode.com/misc/Dropzone_3.2.0_Build_630.zip
What this build does is add support for a 'RubyPath' metadata field in which you can provide the path of the Ruby interpreter that you want to use in your action.rb metadata section. So in your example if you want the Ruby 2.0 that ships with Mavericks you can use the line:
# RubyPath: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
This will not impact your other actions which will continue to use the default.
You can replace your current version of Dropzone 3 with that beta build if you like and you'll still receive an auto-update to the next version when it comes out.
Would love to hear if this works OK for you!
Thanks! When I try to run the linked application my system reports that the application is damaged and can't be opened.
Turns out it was a gatekeeper issue - I'm guessing this build didn't get signed the same way as the normal version. Could also be an artifact of the fact that I originally installed the Mac App Store version (then switched to the non MAS version when trying to quick install Actions). In any event it seems to be launching now so I'll test and see how it goes.
Yep there's a gatekeeper issue with that build which I'm now investigating. Weird, because it's actually code signed correctly with my Developer ID. Like you say I think it has something to do with having the Mac App Store version installed first.
Let me know if that build fixes your Ruby issue anyway :)
Weird. In any event, this build allowed me to do exactly what I wanted to with regards to developing a particular Action! Thanks!
If anyone else is looking for this, I've fixed the Gatekeeper issue and re-uploaded the fixed zipfile. Several others have reported that this build works well for setting a custom Ruby version so the change will go out in 3.2.1 soon. If you want it now you can download the build at:
I'm trying to write an action for uploading a file to the Rackspace CloudFiles service, and in trying to do so I'm running against a number of issues which I believe trace back to the fact that the wrong version of Ruby is being used (not an usual issue on Mac):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb
even though there is a newer version of ruby installed (I believe the newer version is actually the original version installed with the OS - Mac OS X Mavericks). Any thoughts? Any way I can force Dropzone to use the newer version of Ruby?