Create your ror learning environment (Windows) 3

Source: Internet
Author: User

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.