Archive for September 20, 2011
-
JetBrains and the IdeaVIM plugin
September 20, 2011
This post was originally published in the Rambling Labs Blog on September 20, 2011.
Last night I installed the latest version of RubyMine (just to have it as a backup plan though). I then tried to install the IdeaVIM plugin which, for older versions, had worked fine for me.
But guess what? I downloaded and installed the plugin, restarted the IDE and it didn’t work. I thought that was odd since it usually worked after restarting. Wondering if it was an issue with RubyMine, I tried with WebStorm and PhpStorm having the same result.
On my desperation, I went to JetBrains’ YouTrack to report a bug. And tonight, out of nowhere, I remembered that there was an option in the Tools menu…
There it was… Tools -> VIM Emulator… unchecked…
God,…
-
Rails 3.1 "rake db:migrate" fails with "stack level too deep" error
September 20, 2011
This post was originally published in the Rambling Labs Blog on September 20, 2011.
I was trying to run the following command on a new rails 3.1 app and it was failing… badly.
rake db:migrate /home/edgar/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR /home/edgar/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/version.rb:5: warning: already initialized constant MINOR /home/edgar/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/version.rb:6: warning: already initialized constant BUILD /home/edgar/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/version.rb:3: warning: already initialized constant NUMBERS /home/edgar/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/version…