Configuring The Environment
Hello fellas,
Configure Ruby On Rails environment on a Linux distribution should be easy and simple, but I had some foolish problems. The first step was define and install the SO, I made some research and I chose to use Linux Mint, It’s based in Ubuntu, but doesn’t use Unity and that’s a good stuff.
Theoretically, I should not be problems with this, but I had. I installed this distribution several times, but the grub didn’t work any time (I’m using dual boot with Windows 7). What was the problem?! Just details!!! Two little details. First, the partition that I installed the system was a logical partition and not a primary partition (I think It’s was part of problem, but I don’t have certain). Second and the most important, I created the grub at the linux partition and I have to do this directly in root from the disk. Simple, but I was blind and it took time to realize this.
After that, the configuration was very fast. With the command apt-get install, I installed the packages “vim” to edit files, “ruby”, “ruby-dev” (it’s important for Rails), “rubygems” and “rake”. After that It was just install rails with the command “gem install rails” and voilá.
Finally, I downloaded and installed Janus, this is a plugins package to improve your productivity using VIM. This process cost only two lines:
git clone git://github.com/carlhuda/janus.git
rake
So, I think that’s all for this post, you may have noticed it’s missing some crucial things to develop. In next post, i will install the database server e start to create something.
See ya.