Adding Rubocop and Ruby linter to Sublime Text 3 is easy, but not that trivial. Especially if you are using Rbenv, because the default installation will assume that RVM is used.
In order to use Rubocop and Ruby as linter, first of all, you have to set up Ruby as well as install the rubocop gem at your machine. After that, install SublimeLinter package from sublimelinter.com.
Shortly thereafter, install the following packages:
Now, it’s time to configure it. First, configure the setting of the SublimeLinter package by going to Preferences > Package Settings > Sublime Linter > Settings. Ensure to set the paths on proper environment to: “~/.rbenv/shims”.
Then, now setup the setting for user for the RuboCop Linter by going to Preferences > Package Settings > RuboCop > Settings – User. Specifically, set up the following configuration.
Then that’s it, you are done. Just restart SublimeText, now your Ruby file should be linted just fine! Ganbatte!!!
Sometimes you need to read websites for offline reading. It is fast, and because there is no connection required for offline reading, facebook will never distract while you read. Hahaha. But, after several times struggling downloading web using WebHTTrack, it stills the same: some page are not downloaded.
Ada programming language is one that I like the most. I now am struggling to learn this amazing language. Someone say that the first programming language your learn will affect so much on the future of how you learn another language. Yeah, that’s true. My first programming language is Visual Basic 6.0. And, every time I study new language, then I try to compare both the language: VB and the language I am learning.
I am having to try ubuntu now for at least 2 weeks. Since that day, Linux has been replace windows and mac for me. But, I can’t mount my iPhone 4 device on Ubuntu. I already try it for several times, but Ubuntu always show a dialog “Unhandled Error Lockdown” that frustrates me.