diff --git a/Gemfile b/Gemfile index d20ab376..f626def8 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.1' +ruby '2.1.2' gem 'rails', '3.2.17' diff --git a/script/phantomjs-save-screenshot.js b/script/phantomjs-save-screenshot.js index 6c46bc53..d6d615dc 100755 --- a/script/phantomjs-save-screenshot.js +++ b/script/phantomjs-save-screenshot.js @@ -44,10 +44,6 @@ page.open(url, function (status) { } });//document.on animationDone });//page.evaluate - - setTimeout(function(){ - phantom.exit(); - }, 10000) } else { //failed to load phantom.exit();