{"id":1999,"date":"2016-08-09T09:58:27","date_gmt":"2016-08-09T09:58:27","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=1999"},"modified":"2022-12-15T14:29:48","modified_gmt":"2022-12-15T08:59:48","slug":"integrate-rubocop-gem-popular-ruby-text-editors","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/","title":{"rendered":"Integrate Rubocop gem with Popular Ruby Text Editors"},"content":{"rendered":"\n<p><a href=\"https:\/\/github.com\/bbatsov\/rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">RuboCop<\/a>&nbsp;is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per&nbsp;<a href=\"https:\/\/github.com\/bbatsov\/ruby-style-guide\" target=\"_blank\" rel=\"noopener noreferrer\">ruby style guide<\/a>. If you are a beginner in&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails\" target=\"_blank\" rel=\"noopener noreferrer\">Ruby and Rails<\/a>, it is highly recommended to use this gem as it will help you a lot to improve your coding skills.<\/p>\n\n\n\n<p>The first thing you need to do is installing the&nbsp;<a href=\"https:\/\/github.com\/bbatsov\/rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">rubocop<\/a>&nbsp;gem.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ gem install rubocop<\/pre>\n\n\n\n<p>You can always fire&nbsp;<b><i>rubocop<\/i><\/b> shell command from base directory of your source code to start code analysis but how about your favourite text editors help you to display all the styles which you are violating as you write the code? Seems cool right? So lets integrate RuboCop to few popular text editors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of integration<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Increases code readability<\/li><li>Increases efficiency<\/li><li>Eases the modification of code<\/li><\/ul>\n\n\n\n<p>Let start adding this to our favorite code editors.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><b>Sublime<\/b><\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"256\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Sublime.png\" alt=\"Sublime\" class=\"wp-image-14467\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Sublime.png 256w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/Sublime-150x150.png 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><figcaption>Sublime Text Official Logo<\/figcaption><\/figure>\n<\/div>\n\n\n<p><a href=\"https:\/\/github.com\/pderichs\/sublime_rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">Sublime RuboCop<\/a>&nbsp;is a&nbsp;<a href=\"http:\/\/www.sublimetext.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Sublime Text<\/a>&nbsp;plugin that runs&nbsp;<a href=\"https:\/\/github.com\/bbatsov\/rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">RuboCop<\/a>&nbsp;on your ruby files. The main benefit of this integration is it will give you the errors as soon as you open\/save any ruby(.rb) file.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><b>NOTE: Make sure you have installed<\/b> <a href=\"https:\/\/packagecontrol.io\/installation\" target=\"_blank\" rel=\"noopener noreferrer\"><b>Package Control<\/b><\/a><b>&nbsp;in your sublime.<\/b><\/p><\/blockquote>\n\n\n\n<p>You can integrate this gem to your sublime text by following steps &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Navigate to sublime text packages folder and run below commands on your console<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd ~\/.config\/sublime-text-3\n$ cd Packages<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Now as you are moved to the sublime text packages directory, execute below command<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">$ git clone git@github.com:pderichs\/sublime_rubocop.git \"RuboCop\"<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Now restart your sublime text editor and your integration for sublime is completed!<\/li><\/ul>\n\n\n\n<p>Now as and when you open\/save any ruby file, this plugin will analyze the ruby code and will show you errors if any. The part of code having errors will be underlined red and when you move the cursor to that line the error message will be displayed in the status bar of sublime. See below<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"527\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sublime-status-bar.png\" alt=\"sublime status bar\" class=\"wp-image-14468\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sublime-status-bar.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sublime-status-bar-300x198.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/sublime-status-bar-768x506.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p>Here you can see following errors\/suggestions in this ruby file<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><i>&#8216;Missing top-level class documentation comment&#8217;<\/i>&nbsp;in first line<\/li><li><i>&#8216;Trailing white space detected&#8217;<\/i> on line number 11<\/li><li><i>&#8216;Use less assignment to variable&nbsp;<b>user1<\/b>&#8216;<\/i>&nbsp;on line 15<\/li><\/ul>\n\n\n\n<p>Integration of this gem with sublime increases readability of code and makes it more efficient.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Atom<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"290\" height=\"60\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/atom.png\" alt=\"atom\" class=\"wp-image-14469\"\/><figcaption>Atom Editor Official Logo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Integrating RuboCop to your\u00a0Atom text editor\u00a0is very easy. Follow the steps as mentioned below<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Open the Atom the text editor and navigate to&nbsp;<b>Edit &gt; Preferences<\/b><\/li><li>Now click on&nbsp;<b>+Install<\/b> button and search for&nbsp;<b>linter-rubocop<\/b> package and install it.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"618\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-atom-1024x618.png\" alt=\"install rubocop on atom\" class=\"wp-image-14470\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-atom-1024x618.png 1024w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-atom-300x181.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-atom-768x464.png 768w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-atom.png 1131w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After the successful installation of the package, when you open\/save any file the errors will be displayed in the footer pane.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"516\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/atom-status-bar.png\" alt=\"atom status bar\" class=\"wp-image-14472\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/atom-status-bar.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/atom-status-bar-300x194.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/atom-status-bar-768x495.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">3. Visual Studio&nbsp;Code<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"256\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio.png\" alt=\"visual studio\" class=\"wp-image-14473\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio.png 256w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio-150x150.png 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><figcaption>Visual Studio Code Official&nbsp;Logo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Integration RuboCop with&nbsp;<a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Studio Code<\/a>&nbsp;is again very simple! Follow below steps<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Open Visual Studio Code Editor<\/li><li>Go to Extensions Tab&nbsp;<i>(or press Ctrl + Shift + X)<\/i><\/li><li>Search for&nbsp;<code>ruby-rubocop<\/code>&nbsp;extension and press&nbsp;<b>install<\/b>. Thats it!<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"269\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-visual-studio.png\" alt=\"install rubocop on visual studio\" class=\"wp-image-14474\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-visual-studio.png 605w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/install-rubocop-on-visual-studio-300x133.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><figcaption>Ruby Rubocop extension for Visual Studio Code<\/figcaption><\/figure>\n<\/div>\n\n\n<p>After successful installation the&nbsp;<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=misogi.ruby-rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">ruby-rubocop<\/a>, editor will highlight the error code with&nbsp;<b>wavy underline<\/b>(green color in below theme), when you take the mouse cursor to that code it will show you&nbsp;<b>suggestions\/corrections<\/b>&nbsp;in your code.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"708\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio-status-bar.png\" alt=\"visual studio status bar\" class=\"wp-image-14475\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio-status-bar.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio-status-bar-300x266.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/visual-studio-status-bar-768x680.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">4. Vim<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"256\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim.png\" alt=\"vim\" class=\"wp-image-14476\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim.png 256w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim-150x150.png 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><figcaption>Vim Editor Logo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>This is super easy in&nbsp;<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Vim<\/a>&nbsp;editor with&nbsp;<a href=\"https:\/\/github.com\/ngmy\/vim-rubocop\" target=\"_blank\" rel=\"noopener noreferrer\">RuboCop Vim plugin<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Place&nbsp;<a href=\"https:\/\/github.com\/ngmy\/vim-rubocop\/blob\/master\/plugin\/rubocop.vim\" target=\"_blank\" rel=\"noopener noreferrer\">RuboCop Vim<\/a>&nbsp;file in you Vim&#8217;s plugin directory.<\/li><li>Fire command&nbsp;<code>:RuboCop<\/code>&nbsp;and you can see suggestions.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"459\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim-status-bar.png\" alt=\"vim status bar\" class=\"wp-image-14478\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim-status-bar.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim-status-bar-300x172.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/vim-status-bar-768x441.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption>Suggestions by RuboCop for Vim&nbsp;Editor<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Thanks&nbsp;<a href=\"https:\/\/medium.com\/@ranska_\" target=\"_blank\" rel=\"noopener noreferrer\" data-href=\"https:\/\/medium.com\/@ranska_\">Piarulli Pierre-Alex<\/a>&nbsp;for response. Now I have added RuboCop integration to Vim editor as per you recommendation&nbsp;\ud83d\ude42<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. RubyMine<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"247\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/rubymine.png\" alt=\"rubymine\" class=\"wp-image-14480\"\/><figcaption>RubyMine Editor Logo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Just follow the steps mentioned in&nbsp;<a href=\"https:\/\/github.com\/sirlantis\/rubocop-for-rubymine#installation\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https:\/\/github.com\/sirlantis\/rubocop-for-rubymine#installation<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><i>At&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><b>BoTree Technologies<\/b><\/a>, we build web and&nbsp;mobile applications&nbsp;to add value to our client\u2019s business. We align ourselves to ensure that our client benefits the most out of our engagement.<\/i><\/p>\n\n\n\n<p><i>We work in&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails\" target=\"_blank\" rel=\"noopener noreferrer\">Ruby on Rails<\/a>,&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/python\" target=\"_blank\" rel=\"noopener noreferrer\">Python<\/a>, Java,&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/react-native-development\" target=\"_blank\" rel=\"noopener noreferrer\">React<\/a>, Android, iOS and&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/robotic-process-automation\" target=\"_blank\" rel=\"noopener noreferrer\">RPA<\/a>&nbsp;as well.<\/i><\/p>\n\n\n\n<p><i><a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Drop us a line<\/a>&nbsp;to discuss how can we help take your business to the next level.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RuboCop&nbsp;is a very popular gem among ruby developers for the&#8230;<\/p>\n","protected":false},"author":9,"featured_media":14464,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-1999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrate Rubocop gem with Popular Ruby Text Editors<\/title>\n<meta name=\"description\" content=\"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrate Rubocop gem with Popular Ruby Text Editors\" \/>\n<meta property=\"og:description\" content=\"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-09T09:58:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-15T08:59:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"852\" \/>\n\t<meta property=\"og:image:height\" content=\"479\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ankur Vyas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ankur Vyas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\"},\"author\":{\"name\":\"Ankur Vyas\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"headline\":\"Integrate Rubocop gem with Popular Ruby Text Editors\",\"datePublished\":\"2016-08-09T09:58:27+00:00\",\"dateModified\":\"2022-12-15T08:59:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\"},\"wordCount\":706,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\",\"name\":\"Integrate Rubocop gem with Popular Ruby Text Editors\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg\",\"datePublished\":\"2016-08-09T09:58:27+00:00\",\"dateModified\":\"2022-12-15T08:59:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"description\":\"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg\",\"width\":852,\"height\":479,\"caption\":\"Rubocop gem with Popular Ruby\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrate Rubocop gem with Popular Ruby Text Editors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\",\"name\":\"Ankur Vyas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"caption\":\"Ankur Vyas\"},\"description\":\"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrate Rubocop gem with Popular Ruby Text Editors","description":"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/","og_locale":"en_US","og_type":"article","og_title":"Integrate Rubocop gem with Popular Ruby Text Editors","og_description":"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2016-08-09T09:58:27+00:00","article_modified_time":"2022-12-15T08:59:48+00:00","og_image":[{"width":852,"height":479,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg","type":"image\/jpeg"}],"author":"Ankur Vyas","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Ankur Vyas","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/"},"author":{"name":"Ankur Vyas","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"headline":"Integrate Rubocop gem with Popular Ruby Text Editors","datePublished":"2016-08-09T09:58:27+00:00","dateModified":"2022-12-15T08:59:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/"},"wordCount":706,"commentCount":0,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/","url":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/","name":"Integrate Rubocop gem with Popular Ruby Text Editors","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg","datePublished":"2016-08-09T09:58:27+00:00","dateModified":"2022-12-15T08:59:48+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"description":"RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per ruby style guide.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/rubocop.jpg","width":852,"height":479,"caption":"Rubocop gem with Popular Ruby"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrate-rubocop-gem-popular-ruby-text-editors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Integrate Rubocop gem with Popular Ruby Text Editors"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5","name":"Ankur Vyas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","caption":"Ankur Vyas"},"description":"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=1999"}],"version-history":[{"count":2,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1999\/revisions"}],"predecessor-version":[{"id":18309,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1999\/revisions\/18309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/14464"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=1999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=1999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=1999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}