magloft / adcdownload

Smart file downloader from Apple Developer downloads area
67 stars 13 forks source link

Doesn't build/install #3

Open gm42 opened 6 years ago

gm42 commented 6 years ago

With a recent Sierra:

ERROR:  Error installing adcdownload:
    ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
dancherb commented 5 years ago

Also getting this issue.

dancherb commented 5 years ago

Did you ever fix it? @gm42

aminbenarieb commented 4 years ago

Same here for me, I tried 7 min to find a workaround, but failed, pity

easysoft-mobility commented 4 years ago

I used SUDO and it worked with me. eg: sudo gem install adcdownload. System: High Sierra 10.13.6 Terminal with KSH

jerblack commented 4 years ago

Fails with sudo for me.

$ sudo gem install adcdownload
Building native extensions. This could take a while...
ERROR:  Error installing adcdownload:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/unf_ext-0.0.7.6/ext/unf_ext
/usr/bin/ruby2.5 -r ./siteconf20191115-59030-ewrk6y.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/unf_ext-0.0.7.6 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/unf_ext-0.0.7.6/gem_make.out
easysoft-mobility commented 4 years ago

I've to mention that even though the command worked for me, xcode download never worked this way. I finally abandoned this approach and painfully downloaded it using Safari.