Adding Linter on Sublime Text 3 with Rbenv and Rubocop support

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

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.

  "check_for_rvm": false,
  "check_for_rbenv": true,
  "rbenv_path": "~/.rbenv/shims"

Then that’s it, you are done. Just restart SublimeText, now your Ruby file should be linted just fine! Ganbatte!!!


How to download websites for offline reading in Linux

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.

Continue reading

How to: Install Ada compiler and edit Ada file in Ubuntu Linux

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.

Continue reading

How to fix “Unhandled Error Lockdown” in Ubuntu while attempting to mount an iOS5 device

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.

Continue reading