Articles tagged 'ubuntu'
September 19, 2011
This post was originally published in the Rambling Labs Blog on September 19, 2011.
I upgraded to rails 3.1.0 and created a new ‘test_app’.
rails new test_app
Got into the directory. Everything was fine, until I tried to run:
It threw a weird error:
I googled that and found a stackoverflow question. So, two solutions for the issue: either*** install nodejs*** or include “gem ‘execjs’” and “gem ‘therubyracer’” in the Gemfile and run bundle install.
September 18, 2011
This post was originally published in the Rambling Labs Blog on September 18, 2011.
So, I tweeted a question earlier today about what editor is preferred by the rubyists and, although I didn’t get many answers, it, combined with a recent discussion I had about RubyMine vs. Vim later, helped me clear my reasoning a bit.
By my reading of Agile Web Development With Rails and some people I follow on twitter, it seems that all the cool geeks use Vim (or TextMate or Emacs) for Ruby and Ruby on Rails programming instead of any IDE.
I once googled to find out that vim was way complicated to set up. That same time, I found akitaonrails vimfiles on github. Fairly easy to set up if you just follow the instructions. But today I realized that there…