Rails on Ubuntu VPS
So now I have a KVM VPS running Ubuntu. How do I setup a rails development environment? The Linux/OSX users are no as lucky as the Windows users at this – There is no simple stupid all-in-one script/binary for us. Most of us need to go through a try-and-error process to accomplish the task. In this post I am going to do it again and try to record it so that other people (or the future me) can playback.
Prepare
That’s the routine commands:
1 2 3 | |
ZSH
This step is optional. Bash is good enough. However I like the fancy zsh for its flexible custom prompt.
1 2 3 4 | |
Personally, I will change the zsh theme to “gnzh”. You can leave it as is or use any theme you prefer. To do this, open ~/.zshrc and alter “ZSH_THEME”.
Read on →