phantomjs-gem icon indicating copy to clipboard operation
phantomjs-gem copied to clipboard

Everything is sad if bitbucket is down

Open jonahwh opened this issue 8 years ago • 11 comments

Bitbucket is currently down, which causes the following.

One solution is to rescue and not re-raise this error if there is already a matching version of phantomjs in the PATH.

phantomjs does not appear to be installed in /home/rof/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs, installing!
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 64146    0 64146    0     0  3127k      0 --:--:-- --:--:-- --:--:-- 3296k
bunzip2: phantomjs-2.1.1-linux-x86_64.tar.bz2 is not a bzip2 file.
tar: phantomjs-2.1.1-linux-x86_64.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rake aborted!
TypeError: no implicit conversion of nil into String
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb:72:in `block in install!'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb:53:in `chdir'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb:53:in `install!'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs/platform.rb:86:in `ensure_installed!'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs.rb:30:in `platform'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs.rb:25:in `path'
/home/rof/cache/bundler/ruby/2.2.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb:10:in `<top (required)>'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:76:in `require'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:72:in `each'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:72:in `block in require'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:61:in `each'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler/runtime.rb:61:in `require'
/home/rof/.rvm/gems/ruby-2.2.2/gems/bundler-1.9.5/lib/bundler.rb:134:in `require'
...
(See full trace by running task with --trace)

jonahwh avatar Feb 10 '16 01:02 jonahwh