Finally, I go to ruby 2.0, after the first patch p195 release, roughly three month the ruby 2.0 released in its 20 years celebration. I using the rubyinstaller.org version and also it’s devkit, the detail installation procedure is very like previous 1.9.3, so won’t repeat here now, but I do found some trick which should in fact including in the official document but not, so I would list as below:
Need manually install the sqlite3.
- download http://packages.openknapsack.org/sqlite/sqlite-188.8.131.52-x86-windows.tar.lzma to c:\temp
bsdtar --lzma -xf sqlite-184.108.40.206-x86-windows.tar.lzma
gem install sqlite3 --platform=ruby -- --with-opt-dir=C:/Temp
- You may want to comment out the “DL is deprecated, please use Fiddle” warning at
C:\Ruby200\lib\ruby\2.0.0\dl.rbsince it’s annoy and you are not the irb/pry or some other gems code owner…
Ruby 2.0 performance is somewhat improved and it’s worth to using it right now.
- Create Environment Variable SSL_CERT_FILE and point to cacert.pem, example