æè¡é¨ã»éçºåºç¤ã°ã«ã¼ãã®æç°ã§ãã ã¯ãã¯ãããã¯æ¬æ¥ãããæ¬çªç°å¢ã Ruby 2.0.0-p0 ã«ç§»è¡ãã¾ãããRuby 2.0.0-p0 㯠2013å¹´2æ24æ¥ã«ãªãªã¼ã¹ããã Ruby ã®ææ°ãã¼ã¸ã§ã³ã§ããæ°ãã Ruby ã使ã£ã¦æ°æã¡è¯ãéçºããããã«ãã§ããã ãæ©ã Ruby ããã¼ã¸ã§ã³ã¢ãããããã¨å°½åãã¦ããçµæãå®ãã¾ããã Ruby ã®ãã¼ã¸ã§ã³ã¢ããã§ã¬ã¹ãã³ã¹ãé«éã«ãªã£ã ã¯ãã¯ãããã Ruby 2.0.0 ã«å¯¾å¿ãããã¨ã§ãã¦ã¼ã¶ã¨éçºè ã®ä¸¡è ã«ã¨ã£ã¦ãããã¾ã§ãããå¿«é©ã«ãªã£ã¦ãã¾ãã Ruby ã®ãã¼ã¸ã§ã³ç§»è¡ã¯ãRuby Enterprise Edition ãã Ruby 1.9.3-p392 ãçµç±ã㦠Ruby 2.0.0-p0 ã¸ã¨æ®µéçã«å®æ½ãã¾ãããRuby ã Enterprise Edition ãã 1.9.3ããã㦠2.0
ãããVPSã®æ¹ã§tiarraãåãã¦ãã®ã§ã Twitter Irc Gatewayã¨ãç½®ããããªï¼ã¨æã£ã¦ããè¦ã¤ãã¾ããã Rubyã¯ããã¾ãããæãåºããªãã®ã§ããããã£ã¨èª¿æãããã°ç¾å³ããã¨æãã 以ä¸ã¤ã³ã¹ãã¼ã«ã¡ã¢ $ ruby -v command not found: ruby # Rubyå ¥ã£ã¦ãªãã®ã§å ¥ãã $ sudo yum install ruby rubygems ruby-json rubygems-rake $ gem install shipit # rake ã gemsã§å ¥ãããã¨ããããã¼ã¸ã§ã³å¤ãã¦å ¥ãã¾ããã§ãã # yum ã§å ¥ããgem -v => 1.8.5 $ git clone https://github.com/cho45/net-irc.git $ cd net-irc $ sudo rake install # ã©ã£ãã«ã¤ã³
çãããåç¥ã®ä¾¿å©ç»åã¢ãããã¼ããµã¼ãã¹ã Gyazo ããã®ãµã¼ãå´å®è£ upload.cgi ããã¯ãã¼ã³ãã¦åå®è£ ãã¦ã¿ãã udzura / upload.cgi ããã¸ã§ã¯ãåã¯åè«ã§ãä¸èº«ã¯ Sinatra ã§å®è£ ããã¦ãã¾ããããã«ãç»åä¿åã«ãã¡ã¤ã«ã§ã¯ãªã MongoDB(Mongoid gem) ãå©ç¨ãã¦ããã®ã§ã heroku ãã®ä»ã¯ã©ã¦ãä¸ã«ãããã¤ã§ããã¨ãããã¾ãä»ãã§ãã ãããã¤ã¡ã³ãã使ãæ¹ Heroku ã«ç»é²ããã¢ã«ã¦ã³ãã verify ãããã¨ãªãã°ã git clone git://github.com/udzura/upload.cgi.git cd upload.cgi heroku create your-gyazo-app # setup heroku heroku addons:add mongohq:free heroku ad
Rails3.1以éã§ActiveRecordã使ç¨ãã¦ããªãã¢ããªã herokuã¸ãã£ããã¤ããå ´åãçºçããã¨ã©ã¼ ãActiveRecord::ConnectionNotEstablishedãã®è§£æ±ºæ¹æ³ã«ã¤ãã¦ã ã¡ãã£ã¨ã ãããã£ãã®ã§æ¸ãã¦ããã¾ãã ãã¼ã«ã«ã®ç°å¢ã§ã¯åé¡ãç¡ãåãã¦ããã®ã§ãåå ãåãããªãã£ãã®ã§ããã ä¸è¨è±èªã®ãµã¤ããå©ãã¦ããã¾ããã http://www.benjaminoakes.com/2011/09/15/activerecordconnectionnotestablished-in-rails-3-1-on-heroku/ 解決æ¹æ³ã¨ãã¦è¤æ°ä¸ãã¦ããã¦ããã®ã§ãããå人çã«ã¯ 以ä¸ã®æµãã§è©¦ãã¦ã¿ã¾ããã (1)spec/spec_helper.rbã®ä¿®æ£ # If you're not using ActiveRecord, or y
å é±ã®æ°´ææ¥ã«@hilokiã¨ä¸ç·ã«ä½ã£ã Shibastagram - æ´ç¬ããããããã°ããããã ã¨ããã¢ãã¢ãç³»çãWebããªãªã¼ã¹ãã¾ããã ã¹ã¯ãã¼ã«ããã¨æ´ç¬ãã¢ãªã¢ãªåºã¦ãã¦ç¡éã«çããããã¤ã¹Webã ä»åã¯ã½ã¼ã¹ã³ã¼ãèªä½ãå ¬éããShibastagramã®ãã¯ã¯çãchihuastagram - ãã¯ã¯ããããããã¯ã¹ã¿ã°ã©ã ããä½ããªããããã³ãã«stagramã®ä½ãæ¹ãç´¹ä»ãããã¨æãã¾ãã â»è¨äºä¸ã®ChihuaãChihuastagramã¯èªåã®ãã³ãã«stagramã«åããã¦èªã¿æ¿ãã¦ä¸ããã æºå æ©éãã£ã¦ã¿ã¾ãããã 注æ) 以ä¸ã®å 容ã¯Macç°å¢ãåæã¨ãã¦ãã¾ããUNIX/Linuxç³»ã®OSã使ã£ã¦ã人ã¯åé¡ç¡ãã¨æãã¾ãããWindowsã®äººã¯RubyãRubyGemsãªã©å¿ è¦ãªã¢ããå¥éã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãããã¨å ¨é¨ã¿ã¼ããã«ã§ä½æ¥ã§
Ruby on Railsã¯Webã¢ããªã±ã¼ã·ã§ã³ä½æã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ã®ä¸ã¤ã§ãããããã°ã©ãã³ã°è¨èªã¨ãã¦Rubyã使ç¨ãããã¬ã¼ã ã¯ã¼ã¯ã®ä»£è¡¨çãªãã®ã§ããããã§ã¯Railsã使ã£ãã¢ããªã±ã¼ã·ã§ã³ä½æã®æ¹æ³ã«ã¤ãã¦é ã«è§£èª¬ãè¡ãªãã¾ãã
Mac OS Lion, Xcode4.1 ã«ã¦ãRubyã®ãã¼ã¸ã§ã³ç®¡çãã¼ã« RVM ã使ã£ã¦ Ruby ã®éçºç°å¢ãæ´ããæé ããç´¹ä»ãã¾ãã apple-gcc42 ã®ã¤ã³ã¹ãã¼ã« ï¼Xcode4.1以åã®æ¹ã¯ãã®é ç®ãã¹ãããï¼ â æ¹æ³ãã®1 ã¾ããXcode4.2 ã使ã£ã¦ãæ¹ã¯ããµãã¼ãããã¦ãã gcc ãå¤ãã£ãã®ã§ãå¾æ¥ã¾ã§å ¥ã£ã¦ãã apple-gcc42 ãã¤ã³ã¹ãã¼ã«ãã¾ãã ã»[Mac] Homebrew 㧠apple-gcc42 ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ | CodeNote.net Homebrewãã¤ã³ã¹ãã¼ã«ãã¦ããªãæ¹ã¯ãã¡ããåèã«ãã¦ä¸ããã ã»[Mac] Homebrew ãã¤ã³ã¹ãã¼ã« | CodeNote.net â æ¹æ³ãã®2 OSX GCC Installer ã使ãã ã»kennethreitz/osx-gcc-installer R
å æ¥æ²è¼ããRuby on Rails 3.1 ã Windows ã«ã¤ã³ã¹ãã¼ã«ããæé ãããªãä¸å¯§ã«èª¬æãã¦ã¿ã¾ããã®Mac OS Xãã¼ã¸ã§ã³ã§ãã Mac OS Xã§åãã¦RubyãRailsã«ææ¦ããæ¹ã®ããã«ãææ°ã® Ruby 1.9.3 㨠Ruby on Rails 3.2 ã®ã¤ã³ã¹ãã¼ã«æé ããã詳ãã説æãã¾ãã ãªããæ¬ç¨¿ã§ã¯Rubyã®ã¤ã³ã¹ãã¼ã«ã«Homebrewã¨rbenvãå©ç¨ãã¦ãã¾ããMacPortsã«ããã¤ã³ã¹ãã¼ã«æé ãç¥ãããæ¹ã¯ http://ref.xaio.jp/ruby/install/macosx ãåç §ãã¦ãã ããã æ¬ç¨¿ã対象ã¨ãã OS 㯠Mac OS X 10.8 (Mountain Lion)ãMac OS X 10.7 (Lion) ãããã³ Mac OS X 10.6 (Snow Leopard) ã§ãããæé éããã£ããã©ã
OS X Lionã®ã»ããã¢ããå¾ãã£ããã¨ã¾ã¨ãã¨ãã ãªããã¾ã ããã¾ãæ å ±ãªãã¦SnowLeopardã®è¨äºã¨ãã¿ãªããé©å½ã«ã ã¨ããããrvmã¨Pow!ã§Railsã¨ãã®éçºç°å¢ã¨ãæ´ãããã¨æã£ã¦ã¾ãã ããæ¸ããªãããã£ã¦ããã§ã°ãã°ãã§ããã¨ããããé²ãã¾ãã ã»ã¨ããããåæèµ·åã¾ã§ã¯ãã¥ã¼ããªã¢ã«ã«æ²¿ã£ã¦è¡ã£ãã ã»SafariããGoogleChromeã¤ã³ã¹ãã¼ã«ãã¦ã»ããã¢ãã ã»Skypeã®ã¤ã³ã¹ãã¼ã« éç¥ç³»è¨å® ã»Limechatã®ã¤ã³ã¹ãã¼ã« ã»ã·ã¹ãã ç°å¢è¨å®ï¼ãã©ãã¯ããããå¼ã ã»Dockã®æ´çããã°ãã使ããªãããªã®å ¨é¨å¤ããã ã»ã½ããã¦ã§ã¢ã¢ãããã¼ã ã»AppStoreèµ·åãã¦ã¢ãããã¼ã ã¢ããªã±ã¼ã·ã§ã³ãLaunchPadã«ãªã£ã¦ã以å¤ããã¾ã§å¯¾ãã¦éããªãã£ãã Gitå ¥ãããã¨æã£ã¦MacPortså ¥ãããã¨æã£ããã©è¥å¹²ä»ã¾ã§ã¨æé
Herokuã¨ããPaaSã«ã¤ãã¦ãããããWebã¢ããªãä½ã£ã¦ã¿ããã¨æã£ã¦ãã人ã«åãã¦ãå½¹ã«ç«ã¡ãããªæ å ±ãå ¥éè¨äºãã¾ã¨ãã¦ã¿ã¾ããã ã¾ããã ä»å¹´ã®ã¯ãããã8æã¾ã§ã®éã§ãå人ã§ä½ã£ãWebã¢ããªã6ã¤ãªãªã¼ã¹ãã¦ãã¦ããã®ãã¹ã¦ã®ãã©ãããã©ã¼ã ã¨ãã¦Herokuãå©ç¨ãã¦ãã¾ãã ãã£ãããªã³åè¨Twitter Bot Herokuã使ã£ã¦1æ¥1ååè¨ããã¤ã¼ãããTwitter Botã®ä½ãæ¹ Nekostagram - ãã大好ãå°ç¨Instagram Instagram APIã使ã£ã¦ãã大好ãå°ç¨ã®ãNekostagramããä½ã£ã¦ã¿ã Inustagram - ãã¬å¤§å¥½ãå°ç¨Instagram äºå¹ç®ã®ã©ããããçã£ã¦ãã¬å¤§å¥½ãå°ç¨ã®ãInustagramããä½ã£ã¦ã¿ã ã¯ã¦ãªã¹ã¿ã¼ã«ã¦ã³ã¿ã¼ ã¯ã¦ãªã¹ã¿ã¼ã®ç·æ°ã表示ã§ãããã¯ã¦ãªã¹ã¿ã¼ã«ã¦ã³ã¿ã¼ããä½ã£ã¦ã¿ã
æè¿gitãrubyãªã©ãããã°ã©ãã³ã°é¢é£ã®ãããããæããæ©ä¼ãå¢ãã¦ãã¾ããã ä»èªåãä¸çªä½¿ã£ã¦ããããã°ã©ãã³ã°è¨èªã¯Rubyã§ããããããã©ããã£ã¦å¹ççã«å¦ç¿ããã°ããã®ããªãã¨ãããã¨ãèãã¦ã¿ã¾ããã æ å ±ã®å ¥æã®ä»æ¹ãªã©ãçãè¾¼ãã§ãä»å¾èªåã§ä½¿ãããªãã¦ããããã«å¿ è¦ãããªãã¦ãã¦ããªãã¹ãçãè¾¼ãã§ã¿ã¾ããã ããããrubyãå¦ã¼ãã¨ããæ¹ã®åèã«ãªãã°å¹¸ãã§ãã ã¾ããããããããã°ã©ãã³ã°ãè¦ãã¦ä½ãWebã¢ããªãä½ã£ã¦ã¿ããããã©ãã¨ã£ããããè¦ã¤ãããªãããã¨ããæ¹ã«ã¨ã£ã¦ãä½ããããã£ãããä¸ãããã¨ãã§ãããªã幸ãã§ãã ã注æ åèªèº«ã¯Webç³»ã®ããã°ã©ãã®ããããã¡ãã®åéã«åã£ãå 容ã¨ãªã£ã¦ãã¾ãã ãã®åéã®æ å ±ã¯ããã«å¤ããªãã¾ãã1ã¶æå¾ã«ã¯ãã¬ã³ããå ¨ãå¤ãã£ã¦ãã¾ã£ã¦ããå¯è½æ§ãããã¾ãã®ã§ãæ°ããæ å ±ã常ã«åç §ããããã«æ°ãã¤ãã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}