selenium-webdriverを導入 javascriptのクローリング

https://qiita.com/yulily@github/items/c3edbe25e84280c17776
javascriptのクローリング

 gem install websocket-driver
 gem install selenium-webdriver
gem install poltergeist

http://shoprev.hatenablog.com/entry/2014/04/14/210529
ロームドライバーをとってくる。cygwin の場合windows

wget http://chromedriver.storage.googleapis.com/2.9/chromedriver_win32.zip

解答

unzip chromedriver_win32.zip

PATHの取ってるところにコピー

cp chromedriver.exe /usr/local/bin

phantomjs 本体のインストール
https://qiita.com/yayohei/items/87a09d54e7e65483bb59

yum install epel-release
rpm -ivh http://repo.okay.com.mx/centos/6/x86_64/release/okay-release-1-1.noarch.rpm
yum search all phantomjs
yum install phantomjs.x86_64
phantomjs -v

そのほか

yum install rubygems

gem install capybara