meguro.rb#9ã§çºè¡¨ããè³æã§ã ãå¿éç¾è±¡ãã¨ããæåãæ ããªãå¿éç¾è±¡ãçºçãã¦ããã¾ãã
RubyããSeleniumãæä½ããéã«ä½¿ãã³ã¼ãã®ãã¼ãã·ã¼ãã§ãã Seleniumã使ããã¨ã§ãã©ã¦ã¶ãæä½ãã表示ãã¹ããè¡ã£ããããã©ã¦ã¶ãã¤ãã£ãæä½ã®èªååãã§ãã¾ãã ð£ ãã©ã¦ã¶ãéã
textlintã§æ¥æ¬èªããã¹ãã®æåæ ¡æ£ã試ãã¦ã¿ã ã¨ãã§ãlint ç³»ã®è¨äºãç®ã«ããã®ã§ ããããå°å ¥ãã¦ã¿ãããã¨æãç«ã£ãã RuboCop ã¯Ruby ã®éçã³ã¼ãã¢ãã©ã¤ã¶ã bbatsov/rubocop The Ruby Style Guide ã«æ²¿ã£ãã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã«ç¯æ£(注æ)ãã¦ãããã ç¡é§ãªã¹ãã¼ã¹ãå ¥åããã¦ãããã¨ããç¡é§ãªæ¹è¡ãå ¥ã£ã¦ãããã¨ãã ãã®å¤æ°1度ã使ããã¦ãªãã?ã¨ãã¯ã©ã¹ã®ä¸ã®è¡æ°ãå¤ããããã¨ãã 1è¡ã®æåæ°ãé·ããããã¨ãã 大人æ°ã§éçºãã¦ããã¨ç´°ããªã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ãåãããã ãã§ãé¢åãªã®ã§ ãããããã¼ã«ã«ãã£ã¦äººéãç¯æ£ããã㨠AI æ代ã«æãã馳ãããã¨ãã§ãã¦è¯ãæãã§ããã RuboCop ã¤ã³ã¹ãã¼ã« gem ã§ã¤ã³ã¹ãã¼ã«ããã
ã¯ããã« ã¿ãªãããDRYååã¯ãåç¥ã§ããããï¼ DRY = Don't repeat yourselfã®ç¥ã§ãç¹°ãè¿ããé¿ãããã¨ãã¨ããæå³ã§ãããã è¯ãã³ã¼ããæ¸ãããã®éè¦ãã¤åºæ¬çãªååãªã®ã§ãã¿ãªãããããåç¥ã ã¨æãã¾ãã ã§ãããDRYååã¯ãã¹ãã³ã¼ããæ¸ãå ´åã¯å¿ ãããæåã«ã¯ãªããªãå ´åãããã¾ãã ä»ã®äººãæ¸ãããã¹ãã³ã¼ããè¦ã¦ããã¨ããã¹ãã³ã¼ãã«DRYååãé©ç¨ããããã«ãããã£ã¦æªãã³ã¼ãã«ãªã£ã¦ããã±ã¼ã¹ãã¨ãã©ãè¦ããã¾ãã ãã®è¨äºã§ã¯ãªããã¹ãã³ã¼ããDRYã«ããã¨è¯ããªãã®ããã¨ãããã¨ã説æãã¾ãã 追è¨ï¼ã¿ã¤ãã«ãå¤æ´ãã¾ãã @t_wada ããã®ã³ã¡ã³ããåãã¦ãã¿ã¤ãã«ãè¦ç´ãã¾ããã ããã¹ãã³ã¼ãã¯DRYãæ¨ã¦ã¦ãã¿æ¸ãããã => ããã¹ãã³ã¼ãã®æå¾ å¤ã¯DRYãæ¨ã¦ã¦ãã¿æ¸ãããã ã注æããã®è¨äºã¯ç»ä¸çãªãã¹ãã³ã¼ãã®æ¸ã
Tweet Many of you are familiar with rbenv and some of the controversy surrounding it. I love RVM and will more than likely continue to use it, but one of the things I truly value in the ruby community is always having more than one option. I was delightfully surprised with the simplicity of rbenv, how easy it was, and how familiar it felt right out of the box. This article will provide a (humorous
railsboxAutomate your Ruby on Rails server configuration with ansiblerailsbox helps you to start applying best DevOps practices in your project by generating ansible playbooks for configuring and deploying Ruby on Rails applications. You no longer need to edit a single configuration file on your server and use tools like capistrano for code deployments - all this comes out of the box.
åãã« carrierwaveã§S3ã使ç¨ããããã«ãgemã®fogãå ¥ãããã¨ãã ããã¨libv8ãv8ãtherubyracerå¨ãã§ã¨ã©ã¼ãçºçãã è²ã ããã£ãã¨ãããæçµçã«therubyracerã®bundle installãéãããæéãããã£ã ä¸è¨ã®ããæ¹ãããã¨ããã解決ã§ããã®ã§å ±æãã¾ãã ã¨ã©ã¼ãã° ä¸è¨ã®ã¨ã©ã¼ãã°ãçºçãã¦ãã¾ããã $ bundle install --path vendor/bundle Fetching gem metadata from https://rubygems.org/......... Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resol
ã¯ããã« å æ¥ãã¨ããç¥ãããã®Rubyããã°ã©ããããããªç¸è«ãåãã¾ãããï¼å 容ã¯ã¡ãã£ã¨ãã«ãã¦ã¾ãï¼ ç¤¾å ã®ã³ã¼ãã¬ãã¥ã¼ã§ãã£ã¨ããããªã³ã¼ããæ¸ããããã«ãªã£ãæ¹ããããã¨è¨ããã¾ããã ãããããªã³ã¼ããæ¸ããããã«ãªããã¨è¨ããã¦ããå ·ä½çã«ã©ãããã°ããããããã¾ããã ä¼è¤ããã®ã¢ããã¤ã¹ãèãããã§ãã ãã®å 容ã ãã ã¨ã©ããªåé¡ãããã®ãããããªãã®ã§ãå®éã«ææãåããRailsã¢ããªã®ã³ã¼ããè¦ãã¦ãããã¾ãããã確ãã«ãããã¡ãã£ã¨é å¼µãã¾ããããã¨æããããªç¹ããã©ãã©ããã¾ããã ãã ãå ·ä½çã«ã©ãããã°ããã®ãã¨ããçãã¯ä¸è¨ã§ã¯è¨ãã¾ããã ã¨ããããã§ãä»åã®ã¨ã³ããªã§ã¯ãã®æ©ã¿ã解決ããã®ã«åèã«ãªããããªè©±ãããããæ¸ãã¦ã¿ããã¨æãã¾ãã ï¼ãã®åã«ï¼ããã ããªãé·ãè¨äºã«ãªã£ã¦ãã¾ã£ãã®ã§ãå ã«ç®æ¬¡ãè¼ãã¦ããã¾ãã ã¯ããã« ï¼ãã®åã«ï¼
ãè¨ç®æ©ããã°ã©ã ã®æ§é ã¨è§£éãã§æ«å°¾å帰ã¨ãããã®ãç¥ã£ãã®ã§åå¼·ãã¾ãããèªåã®ç解ãæ¸ãã¦ã¿ã¾ãã å帰 å帰å¼ã³åºãã¨ã¯ããæç¶ãã®ä¸ã§ãåã³ãã®æç¶ãèªèº«ãå¼ã³åºããã¨ã¨å®ç¾©ããã1ãã§ããã®å®ç¾©ã¯æ£ç¢ºãããªãããªããªãå帰å¼ã³åºãã¯èªåèªèº«ãå¼ãã§ããªãããã ã éä¹ãèãã¦ã¿ãããéä¹ã¯æ°å¦çã«ããå®ç¾©ã§ããã ãµã¤ãRubyã§éä¹ã¡ã½ããã¯ããæ¸ãã factã¡ã½ããã®ä¸ã§factã¡ã½ãããå¼ã°ãã¦ããã®ã§ãèªåèªèº«ãå¼ã°ãã¦ããããã«è¦ãããã§ããããããªãã æåã®å¼æ°5ãåãåã£ãfactã¡ã½ãã(å½¼ãfact5ã¨å¼ã¼ã)ã¯ãå¼æ°4ã¨å ±ã«èªåãå¼ãã factã¡ã½ãã(fact4)ã®çµæãå¾ ããªãããªããªãããªããªããã®çµæã¨5ããã¨ã§æããªãããªããªãããã ãfact4ãfact3ãfact2ãåãã ãèªåãå¼ãã ã¡ã½ããã®çµæãå¾ ããªãããªããªãã 人éãå¾ ã¡ãªãã
æè¡é¨ã®å½å (@k0kubun) ã§ãã å æ¥byebugã®é«éåãè¡ã£ã¦ããæä¸ãå¤æ´ãå ããbyebugã使ã£ã¦ããã¨ä¸å®ã®ç¢ºçã§rubyãSEGVãããã°ãçºè¦ãã¾ããã ç§ã¯Cè¨èªã®ã³ã¼ãã®ãããã°ã®çµé¨ã¯ãªãã£ãã®ã§ããããããã¬ã®ä½¿ãæ¹ã調ã¹ãªããSEGVã®åå 調æ»ãè¡ãããããéã£ãã¨ããç¡äºåãè¾¼ã¾ããææ°ã®é«éãªbyebugãå®å ¨ã«ä½¿ããããã«ãªãã¾ããã ãã®éãrubyèªä½ããããã°ããããã«å¿ è¦ãªæ å ±ãåæ£ãã¦ãã¦å¤§å¤ã ã£ãã®ã§ãã¾ã rubyã®ãããã°ããããã¨ããªãããã©ãã£ã¦ã¿ããã¨ãã人ã対象ã«ãgdbã¨ãããããã¬ã使ã£ãrubyã®ãããã°ã®æ¹æ³ãç´¹ä»ãã¾ãã ãããã°ç¨ã«rubyããã«ããã ãããã°æã«å¤æ°åãã½ã¼ã¹ã³ã¼ããªã©ã®æ å ±ãè¦ãããã«ã¯ãæé©åãªãã·ã§ã³ããªãã«ãã¦ãããã°ç¨ã«rubyããã«ããã¦ããå¿ è¦ãããã¾ãã rubyã®ãããã°ç¨ãã«
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
ã¾ã¤ã㨠ããã²ã1965年大éªåºçã¾ãã§ã4æ³ã®é ããé³¥åçç±³åå¸ã§è²ã¤ãç波大å¦åæ¥å¾ãæ°ç¤¾ãçµã¦(æ ª)ãããã¯ã¼ã¯å¿ç¨éä¿¡ç 究æã«å ¥ç¤¾ãããã°ã©ãã³ã°è¨èªãRubyãã®çã¿ã®è¦ªã¨ãã¦ç¥ããããå³¶æ ¹çæ¾æ±å¸å¨ä½ã§ãRubyéçºã®å績ããåå¸ã®åèªå¸æ°ã«ãé¸ã°ããã ã¾ã¤ãã¨ããã®ããã°ãMatzã«ã£ããtwitter ä¸çä¸ã«å¤§å¢ã®ã¦ã¼ã¶ã¼ãæ±ãããæ¥æ¬ç£ããã°ã©ãã³ã°è¨èª Rubyããã®éçºè ã§ãã ã¾ã¤ãã¨ããã²ã ããã«ãRuby éçºã®è£å´ã¨æåã¾ã§ã®éã®ããããã¦æªæ¥ãçãæãã¨ã³ã¸ãã¢ããã¸ã®ã¢ããã¤ã¹ã伺ãã¾ããã ããã°ã©ãã³ã°ã¨ã®åºä¼ãã¯ãç¶ãè²·ã£ã¦ãããã±ã³ã³ã®BASICã¼ ããã°ã©ãã³ã°è¨èªã«èå³ãæã£ãããã«ã±ã¯ãªãã§ããï¼ ç§ãåä¾ã®é ã¯ãã³ã³ãã¥ã¼ã¿ã£ã¦å ¨ç¶ä¸è¬çã§ã¯ãªãã£ããã§ããããã®ãããå°ã£ã人ã ãããNECã®PC-8001 ã SHARP ã® MZ
ãRuby 2ãä¸è¬åããä»ãããããæ°ãããã¨ãå§ããããããã¯Ruby 3.0ã¸ã®æãéã宣è¨ã§ããæªæ¥ã¸åããããã³ãã¥ããã£ã¨ãã¦æ»ãªãªãããã«ãã¯ã¯ã¯ã¯ããæªæ¥ãå¦æ³ããããæ°ãããã¨ãå§ãããã ãããªé¢¨ã«éçºã³ãã¥ããã£ã«å¼ã³ãããã®ã¯ãä¸ççã«äººæ°ã®é«ãããã°ã©ãã³ã°è¨èªãRubyãï¼ã«ãã¼ï¼ã®çã¿ã®è¦ªã§è¨èªè¨è¨è ã®ã¾ã¤ãã¨ããã²ãæ°ã ããã®ã宣è¨ãã¨ãè¨ããçºè¨ã¯ã2014å¹´9æã«éå¬ããããRubyKaigi 2014ãã§åºã¦ãããã®ã ãåºèª¿è¬æ¼ãããã¾ã¤ãã¨æ°ã¯ãè¬æ¼ã®ä¸ã§åãã¦Ruby 3.0ã¨ããã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¸è¨åãã¦ã次ãªããã¤ã«ã¹ãã¼ã³ã¨ãã¦è¨å®ãããã¨ãå ¬ã®å ´ã§å®£è¨ããã ã¾ã¤ãã¨æ°ã«ããã°ãRubyã®ã³ã¢éçºè ã¯ãã®ä½å¹´ãã¯Ruby 2ã§å¿ããã£ãã¨ãããç®ã®åã«ããç¾è¡ãã¼ã¸ã§ã³ã®Ruby 2ãã©ããããã¨ãããã¨ããæ©è½ã®å®å®åãã¡ã¢ãªå¨è¾ºã®æ¹å
Rubyã§ããã°ã©ã æ¸ãã«ããã£ã¦ãbundlerã使ããªãããã°ã©ã ã¯1å¹´ãããçµã¤ã¨åããªããªã£ã¦ãäºãå¤ã ãã£ã¦ãbundlerãã¸éè¦ãªã®ã¨ ããã£ã¦ããã¾ãbundlerã®å©ç¹ã説æãã¾ã¨ã¾ã£ã¦ãè¨äºããªãã£ãã®ã§ ç 究室ã®wikiã«æ¸ããè¨äºã転è¼ãã¦ããã Bundlerã¨ã¯ Bundler: The best way to manage a Ruby application's gems ããã¸ã§ã¯ãå ã§ä½¿ãRubygemsã管çããããã¿ã ããã¸ã§ã¯ãã®ä¸çªä¸ã®ãã£ã¬ã¯ããªã«ãGemfileãã¨ããããã¹ããã¡ã¤ã«ãç½®ãããã®ä¸ã«gemã®ååï¼ã¨å¿ è¦ããã°ãã¼ã¸ã§ã³ãï¼æ¸ãã % bundle install ã¨ããã³ãã³ãã§ãgemãä¸æ¬ã¤ã³ã¹ãã¼ã«ã§ãã ããã°ã©ã å 㧠require 'bundler' Bundler.require ã¨æ¸ãã¨ãgemãä¸æ¬req
æè¡é¨ã¢ã«ãã¤ãã®é´æ¨(@draftcode)ã§ãã ã¯ãã¯ããããå é¨åãã«éçºã»éç¨ãè¡ã£ã¦ãããåæ£ãã¹ãå®è¡ã·ã¹ãã RRRSpecããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éãã¾ãããRRRSpecã¯æéã®ãããèªåãã¹ããåæ£å¦çãããã¨ã§ãå ¨ä½ã®ãã¹ãæéã®ç縮ãçãã¢ããªã±ã¼ã·ã§ã³ã§ããç¾å¨ã¯ãã¯ãããã§ã¯17000ãè¶ ãããã¹ãé ç®ãããããã·ã³ä¸å°ã§ãã¹ããå®è¡ããã¨å®äºã¾ã§æ°æéãããã¾ãããã®ãã¹ãã60並åç¨åº¦ã®åæ£å¦çã§è¡ããã¨ã§ãå¹³å8åãã9åç¨åº¦ã§å®äºã§ããããã«ãªãã¾ãããã¾ããAmazon EC2ã®ã¹ãããã¤ã³ã¹ã¿ã³ã¹ãå©ç¨ãããã¨ã«ãããå¤§å¹ ãªã³ã¹ãåæ¸ãåæã«éæãã¾ããã https://github.com/cookpad/rrrspec åæ£ãã¹ãå®è¡ã¨ã¯ ã¢ããªã±ã¼ã·ã§ã³ã大ãããªãã«ã¤ãã¦ãèªåãã¹ãã®æ°ã大ãããªã£ã¦ããã¾ããã¯ãã¯ãããã§ã¯ãé常ã«å¤ãã®
Rubyä¸ç´å ¥é 1. Rubyä¸ç´å ¥é @shokai 2013å¹´8æ5æ¥(ç«) @masuilab 2. ç§ â¢@shokai (ããããã) â¢è¶£å³ï¼æçãglitch 3. ããç¨åº¦å¤§ããªã¢ããªã±ã¼ã·ã§ã³ãä½ ã£ã¦ããã¨ãé¨åã«åå²ããããªã㨠æãã¾ããã¢ããªå ã©ã¤ãã©ãªãgem ã®ä½ãæ¹ã説æãã¾ããRubyã®æ©è½ã æ´»ç¨ãã使ãåæã®è¯ãã©ã¤ãã©ãªã® ãã¶ã¤ã³ã«ã¤ãã¦èãã¾ãã 4. ⢠ã¢ããªå ã©ã¤ãã©ãªã®ä½ãæ¹ã»gemã®ä½ãæ¹ â¢ ãµã³ãã«ã³ã¼ãã¨ãã¹ã ⢠ã©ã¤ãã©ãªã®ãã¶ã¤ã³ ⢠API ⢠DSL ⢠泥èãå°æå ã®æ ⢠ä¾å¤ã»ã¨ã©ã¼ã®éç¥ â¢ ããã¥ã¡ã³ã ã³ã³ãã³ã 5. ã©ã¤ãã©ãªãä½ã ä¾ï¼LeapMotionãèªä½ã¢ããªã«çµã¿è¾¼ãããã® ã¢ããªå ã©ã¤ãã©ãªãä½ã 6. ⢠LeapMotionã¯port 6437ã«WebSocket æ¥ç¶ããã¨JSONã§
rbenv ç°å¢ä¸ã§å®è¡ããã Ruby ããã°ã©ã ã®ä¸ããä»ã® Ruby ããã°ã©ã ãèµ·åããã¨ãã«ã rbenv ç°å¢ããªã»ãããããâè¦ããã«å¥ã®ãã¼ã¸ã§ã³ã® Ruby ã§å¤é¨ããã°ã©ã ãå®è¡ãããâã¨ããäºæ ããã£ãã®ã§ rbenv ã®ã¡ã«ããºã ã«ã¤ãã¦èª¿ã¹ãã rbenv ç°å¢ä¸ã§ ruby ã³ãã³ããå®è¡ããã¨ããå®éã«ã³ã³ãã¤ã«ããã ruby ãã¤ããªãç´æ¥å®è¡ããã¦ããããã§ã¯ãªãã rbenv ç°å¢ããè³ç«ã¦ããä¸ã§ ruby ãã¤ããªã exec ããã©ããã¼ã®ã·ã§ã«ã¹ã¯ãªãããå®è¡ãããããããããã®ã binstub ã¨å¼ã¶ã binstub ã§ãã ruby ã¨ããååã®ã·ã§ã«ã¹ã¯ãªããã®ä¸èº«ãã¿ã¦ã¿ãã¨ãæçµçã« rbenv exec ã¨ãããµãã³ãã³ããå¼ã³åºãã¦ããã rbenv ã®ãµãã³ãã³ãã¯ãªãã¸ããªã§ãã㨠libexec ãã£ã¬ã¯ããªä»¥ä¸ã«ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}