VimMate安装教程(Linux下的TextMate)

本文详细介绍了如何在Suse Linux系统上搭建Ruby on Rails (ROR) 的开发环境,包括所需的软件如Ruby、Mysql、Lighttpd等的安装步骤及配置指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

到目前为止,利用业余时间在Linux下搭建了一个ROR的开发平台:
SuseLinux+ROR+mysql+WEBrick +IDE(VimMate)
也搭建了将来的运行环境:
SuseLInux+ROR+Mysql+Lighttpd-fcgi

VimMate号称是Linux下的TextMate,下面是安装步骤:
  • Make sure Vim is installed and compiled with the graphical interface. Try running gvim to see if it works. Only Vim version 7.0 has been tested.你必须安装gvim,运行gvim看看会不会弹出VI的GUI。
  • Make sure Ruby version 1.8 or more is installed. Try running ruby —version in a terminal.当然你得把Ruby先安装了,要不不能执行setup.rb
  • Install the Ruby bindings to GTK and GNOME (for the VTE terminal). See Ruby-GNOME2 website. Only Ruby-GNOME2 version 0.15 has been tested. You don‘t need VTE: if it‘s not installed, VimMate will not have terminals but will run anyway.自己看吧,需要去下载两个包ruby-gnome2-all-0.16.0和ruby-gtk2-0.16.0
  • If you want to use the Subversion integration feature, you must install the subversion bindings for Ruby. Check if it‘s available for your OS or get the sources from Subversion's website and compile them.去Subversion下个版本控制工具。把依赖包也下载,解压后复制到subversion目录中,否则会报错。装好是没有DB的版本(如果你的系统没有DB的话),下个DB安装以后就好了,重新装一遍Subversio。最终的安装路径是/usr/local/include
  • Download the latest VimMate on VimMate's homepage.去下载VimMate,然后安装。
  • You now have 3 choices to install VimMate: manually, with Ruby Gems or with setup.rb:
    • With Ruby Gems
    • With setup.rb
      • Simply run ruby setup.rb . Run ruby setup.rb —help for more information.
    • Manually
      • Copy the file bin/vimmate and the directory lib/vimmatelib to a directory somewhere in your path.
      • Make sure vimmate is executable: chmod u+x vimmate
      选择安装方式,我用setup.rb
  • cd to a directory where your project is. (Watch out for directories with too many files. See Limitations below.)
  • Run vimmate在文本模式下输入vimmate就会启动VimMate
Run vimmate —help for more information.
输入vimate  -help用-help来看更多的信息。

然后你可以到 [url]http://www.vim.org/[/url] 选择你要安装语言的开发插件。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值