NYSOLã·ãªã¼ãºã®RubyMã§è¶ é«éã«csvãæ±ããã
- MCMDã§æåãªNYSOLããã¸ã§ã¯ãããã®ãããªã©ã¤ãã©ãªãåºãã¦ãã
- rubyã§csvãé«éã«æ±ãããã®ã©ã¤ãã©ãªã§ãå
¬å¼Webãµã¤ãã«ããã°ãæ¨æºã®
CSV
ãFasterCSV
ãªã©ã¨æ¯è¼ãã¦æ¡éãã«æ©ããããã - ã¤ã³ã¹ãã¼ã«ã«çµæ§æéåã£ãã®ã§ä½æ¥ã¡ã¢ãæ®ãã¦ããã
- ã¨ãããã試ãã«åããã¦ã¿ãããã®éãªæé ã
åæ
- Mac OS Yosemite
- rbenv ã¤ã³ã¹ãã¼ã«æ¸ã¿
ã¤ã³ã¹ãã¼ã«æ¹æ³
1. ã¨ããããNYSOLãã¤ã³ã¹ãã¼ã«
2. rbenvãåã£ã¦systemæ¨æºã®rubyã«åãæ¿ãã
rbenv local system
â» å
¬å¼Webã«rvmç°å¢ã§ã¯åãã¾ãããã¨æ¸ãã¦ããããã¶ãrbenvã§ãåããªããã ããã
3. gemã®ä¸è¦§ã«nysolãå«ã¾ãããã¨ã確èª
$ gem list | grep sol nysol (2.0.1 universal-darwin)
4. require ããã¨ä½¿ãã
pry(main)> require 'nysol/mcsvin' => true