cjohansen / juicer

A command line tool for JavaScript and CSS developers
630 stars 47 forks source link

Fixed the relocation of ClosureCompiler from GoogleCode to Github #83

Open jmara opened 8 years ago

jmara commented 8 years ago

Hi there,

Google decided to move away from Google Code and place a redirect to Github on the Closure release page. I've change the URLs and the Version detection to work with Github and Download still uses the Google DL location.

Current Error:

vagrant@vagrant-acc84d66:~$ juicer install closure_compiler
/usr/lib/ruby/1.9.1/open-uri.rb:216:in `open_loop': redirection forbidden: http://code.google.com/p/closure-compiler/downloads/list -> https://code.google.com/archive/p/closure-compiler/downloads (RuntimeError)
    from /usr/lib/ruby/1.9.1/open-uri.rb:146:in `open_uri'
    from /usr/lib/ruby/1.9.1/open-uri.rb:677:in `open'
    from /usr/lib/ruby/1.9.1/open-uri.rb:33:in `open'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/install/closure_compiler_installer.rb:62:in `latest'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/command/install.rb:57:in `version'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/command/install.rb:42:in `block in execute'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/command/install.rb:39:in `each'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/command/install.rb:39:in `execute'
    from /var/lib/gems/1.9.1/gems/cmdparse-2.0.6/lib/cmdparse.rb:464:in `parse'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/cli.rb:27:in `parse'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/lib/juicer/cli.rb:37:in `run'
    from /var/lib/gems/1.9.1/gems/juicer-1.2.0/bin/juicer:6:in `<top (required)>'
    from /usr/local/bin/juicer:23:in `load'
    from /usr/local/bin/juicer:23:in `<main>'

Cheers, Jan

matthewfedak commented 8 years ago

saved my life...hopefully gets merged in soon. thanks Jan