Ruby1.9.3 x Rails3.2.2 ã®è©±
Railsã®ãµã³ãã«ãã²ããã¨ä½ããã¨æã£ã¦
ããããã« rails new sample ã£ã¦ãããããªãã§ãããcd sample ãããããªãã§ããã
ãããã bundle install ãããããªãã§ãã*1ã
SEGVãããããªãã§ãã*2ã
@sora_h ããã«ãã¢ããã¤ã¹é ãããã§ããã©ãã©ãã«ãopensslã®ã¨ããã§ã³ã±ã¦ãã£ã½ãï¼ããããç¡ãã®ã§ãRVMã§opensslãå
¥ããªããã¦ãRuby1.9.3ãå
¥ããªããã¦ã¿ããã
RVM ã§ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«
ã¡ãªã¿ã«ãreadlineãä¸ç·ã«ã¤ã³ã¹ãã¼ã«ãã¦ããã©ãããã¯ä»åã®ä»¶ã¨ã¯å¥ã®çç±ãªã®ã§æ°ã«ããªãã§ãã
- rvm pkg install openssl
- rvm reinstall ruby-1.9.3-head --with-readline-dir=$rvm_path/usr --with-openssl-dir=$rvm_path/usr
- rvm use ruby-1.9.3-head --default*3
ããã§å度 Rails ãã¤ã³ã¹ãã¼ã«ã㦠sample ãä½ã£ãæç¡äºã«åããã
ã¡ãªã¿ã«ãã¤ã³ã¹ãã¼ã«ããopensslã®ãã¼ã¸ã§ã³ã¯ãã¡ãã
% $rvm_path/usr/bin/openssl version OpenSSL 0.9.8n 24 Mar 2010
opensslãæ¹ãã¦ã¤ã³ã¹ãã¼ã«ããåã®ãã¼ã¸ã§ã³ã確èªããã°ããã£ãã®ã ãã©ãããã¯å¾ã®ç¥ãã§ãã£ãããã