After installing MySQL and the required gem, such as rails and MySQL, In the ruby environment, we need to find a suitable editor.
In ror/Ruby development, although there are some relatively large idesCommunityIt seems that you prefer to use an editor to do most of the work. There are a lot of editors that support ror/Ruby, and there are even a lot of specialized editors. However, after I try it out, I still feel better to use Vim on Windows.
(For more information, see http://www.akitaonrails.com /.Article: Http://www.akitaonrails.com/2009/01/13/the-best-environment-for-rails-on-windows and License .)
Install Vim
Vim is an enhanced version of VI in the famous UNIX editor. It has several Windows versions. gvim is generally recommended.
Website: http://www.vim.org
: Ftp://ftp.vim.org/pub/vim/pc/gvim72.exe
Download and install it. During installation, we recommend that you check "Create. BAT files for command line use" to create several BAT files in the Windows directory for ease of use.
Configure Vim for rails
If you want to use fuzzyfinder and project management like textmate and support syntax highlighting and completion, you can install a vimcustomization package made at http://www.akitaonrails.com. According to his instructions, install git and obtain it from GitHub, Which is troublesome. I made a local copy according to his instructions. You can download this package directly and find out the _ vimrc file and vimfiles directory to your home directory. In addition, the above configuration requires the cooperation of ctags. Download the exuberant ctags from http://sourceforge.net/projects/ctags/, and put the ctags.exe In the downloaded zip package to the C: \ Windows directory.
The main directory of XP and its previous systems is in c: \ Documents ents and Settings \Your-Username, The main directory of Vista and later systems is in C: \ Users \Your-user
I personally do not care about fuzzyfinder and file list. I only need to highlight and complete the syntax. This is the package file I have simplified the above functions: vim_rc_wxy.
From: http://rordiary.com/blog/