2013-05-01ãã1ã¶æéã®è¨äºä¸è¦§
gemã®ãã¼ã¸ã§ã³ã2.0.2ã ã£ãã®ã§ææ°ã®2.0.3ã«ä¸ãããã¨gem updateããã£ããåå¿ããªãããã ã®ããã°ãã®ããã ã $ gem update --system Latest version currently installed. Aborting.gemã®updateã¯å®éã«ã¯rubygems-updateã使ããã¦ãããããã®ã§â¦
ããã§åããï¼ãããã®VPS+github+capistranoã§railsã¢ããªèªåãããã¤ã®è¨å®ãã¡ã¤ã«ãç½®ãã¦ããã®ç¶ãçã¨ã³ããªããã®ãããã®VPSã®ç°å¢ãstagingã«å¤æ´ãã¦ãããã¨ããå 容ã åè http://d.hatena.ne.jp/ria10/20121211/1355192518 https://github.â¦
vagrant + berkshelf + chefã§ç°å¢ãã¤ãã£ã¦ã¿ããé¼»è¡ãåºãã¤ãã§ã«ãAWSã¨é£æºãã¦ec2ã®ã¤ã³ã¹ã¿ã³ã¹ãèµ·åããã¦ã¿ããã¨æãã åè å ¬å¼ https://github.com/mitchellh/vagrant-awsæ¬æããã¢ã¤ãã£ã¼ããªã¤ããã®ã¨ã³ããªãè¦ãã°ããããã¯æåããâ¦
ã¾ã ãå®éã«éç¨ãã¦ãªãã®ã§ãéææ¹ä¿®ãã¦ããåæã®ã¡ã¢æ¸ãã Rubyã¯rbenvã§å ¥ãã rbenvã¯ã·ã¹ãã ã¯ã¤ãã«ä½¿ããããã«ãã requirettyè¨å®ã¯åã£ã¦ãã chefãå ¥ãã ã¦ã¼ã¶ã¼ã¯åºæ¬çã«ec2-userãªã³ãªã¼ åè http://qiita.com/items/8e973a544b592â¦
ERROR: error reading certificate file /opt/aws/amitools/ec2/etc/ec2/amitools/cert-ec2.pem: No such file or directory - /opt/aws/amitools/ec2/etc/ec2/amitools/cert-ec2.pem AMIãä½ãã¨ãã«ä½¿ãec2-bundle-vol ã®æåã¨ãã¦ãpemãé¤å¤ãããã¨ãâ¦
vagrantã®ãã¥ã¼ããªã¢ã«ããã£ããã°ã§vagrantã®ä¾¿å©ãã¨ãããã®ä½¿ãæ¹ã¯ç解ã§ããããã¨ãã¨Chefã®ã¬ã·ããä½ãç°å¢ãç¨æããããã¨ããã®ã主é¡ã ã£ãã®ã§ä»åã¯Vagrantãæ´»ããã¦Chefã®ã¬ã·ããæ¸ãã¦ã¿ããã¨ããã¨ãããæè¿ããBerkshelfã¨ãããâ¦
chefã®ã¬ã·ããä½ãç°å¢ã欲ããã¦ããµã©ã®ç¶æ ããã®ãã¹ãã¨ãããããããã¼ã«ã«ãããã¤ãã®ã§VirtualBoxã使ã£ãç°å¢ãä½ããã¨ããã¨ãããVagrantã¨ãããã¼ã«ãã¢ããã¨ãã話ãæãåºãããã©è¦ããããã¸ã§ã¢ãããã ã£ãã®ã§å°å ¥ãããã¨ã«ãããâ¦
bucketåã«ããã使ããªã£ã¦ãã http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/CLTRG-ami-upload-bundle.html
chefãã¤ã³ã¹ãã¼ã«ãã¦ä½ããããã¨ããã¨ã¨ã©ã¼ã«ãªãã [ec2-user@ip-10-xxx-xxx-xxx ~]$ chef-solo -v /home/ec2-user/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- rubygeâ¦
AWSã¯ã¢ããªã±ã¼ã·ã§ã³ããã¸ã¡ã³ããµã¼ãã¹ã¨ãã¦ãElastic Beanstalkã¨OpsWorksã®ï¼ã¤ãç¨æãã¦ãããã©ã£ã¡ãããã®ãï¼ã®å¤æåºæºã®åèã¨ãã¦å ¬å¼ã«ã¯ä»¥ä¸ã®ãã¼ã¸ãããã http://aws.amazon.com/application-management/ã«ã³ã¿ã³ã«è¨ãã° ã³ã¼ãããâ¦
ãã ã®ã¡ã¢Gemfile gem "paperclip", "~> 3.4.1" gem "aws-sdk", "~> 1.9.5" config/environments/*.rb config.paperclip_defaults = { #path: "#{Rails.root}/public/system/develop/:class/:id/:style/:hash.:extension", path: ":class/:id/:style/:hash.â¦
ã¨ããgemãåå¨ããã https://github.com/tenderlove/rails_autolinkããã¯3.1以åã¯Railsæ¨æºã ã£ããã®ã§ãã»ãã¥ãªãã£çãªè¦è«ãããRailsæ¬ä½ã«æ¯ã¹ã¦ç¸å½çããµã¤ã¯ã«ã®ä¿®æ£ãå¿ è¦ã«ãªããããï¼ãã®ãã³ã«Railsãã¢ãããã¼ããã¦ãããã®ã¯ã¹ã¸ãâ¦
ä¼å¡ç»é²æããã¹ã¯ã¼ããªãã¤ã³ãã¼ãªã©ã§çºçããã¡ã¼ã«éä¿¡ã®ãã¹ãã¯ã©ããã£ã¦ããã®ã調ã¹ãã¨ãããemail-specã¨ããgemãç®çã«ã´ã£ããã£ã½ãã£ãã ãã®åã®éãRSpecã¨ãã¨ã¯MiniTestã¨Cucumberã«å¯¾å¿ãã¦ãããemail-specãRSpecã«å°å ¥ããã¡ã¢â¦