Closed joethezombie closed 7 years ago
@joethezombie Thanks for the detailed information! I always appreciate that because you made it easy to diagnose this problem.
Whenever you do a major OS upgrade on macOS, e.g. Sierra to High Sierra, you need to remove and reinstall Homebrew and your Ruby Gems. Otherwise you get Ruby runtime errors and other even more annoying problems like this. I know that sounds like "reinstall Windows" and a big pain, but it's really necessary.
Ah, thanks so much. That got it working again! Only other thing, I couldn't install video_transcoding normally due to write permissions.
Joes-iMac:~ joe$ sudo gem install video_transcoding
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
Instead, I had to:
Joes-iMac:~ joe$ sudo gem install -n /usr/local/bin video_transcoding
Successfully installed video_transcoding-0.17.4
Thanks so much for these great tools, and speedy support!
@joethezombie I'm glad that worked out! And you are very welcome, sir! I'll close this now but feel free to continue commenting here or you can open another issue.
@donmelton I was a little late to the game with upgrading to High Sierra, but received the same error message as @joethezombie. I resolved my issue, and am good to go now, but thought I would share what I discovered while troubleshooting (before I found this thread :-/).
That's a long way of saying that your recommendation to reinstall the Ruby Gems after a major OS upgrade is the way to go. Perhaps you could add your recommendation to the FAQ, for future reference?
@goodydc Thanks for the information!
That's a good idea. However, it might be better for folks to install Ruby using Homebrew instead of relying on the version which ships with macOS. That's what I do. I may change the README to include both strategies.
@donmelton Good call. I didn't install Ruby using Homebrew since Sierra already included a version that worked with your tools.
Thanks for all your hard work on these tools! :-)
@goodydc You are very welcome! And keep those useful comments coming.
Since upgrading macOS to High Sierra, I can no longer use the video_transcoding tools. I get the error
-bash: /usr/local/bin/detect-crop: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
Indeed, browsing to the Ruby versions reveals only 2.3. Anyway I can fix this? Sorry if this is an elementary question, I'm an end user and not really savy with Ruby.