Haoxiang’s Blog
Skip to content
  • Home
  • Blog Posts
  • (中文)
  • (EN)
  • About
  • RSS
  • Messages

config

There are 2 posts tagged config (this is page 1 of 1).

Project-Specific Vim Configuration

Usually, we have our own vim configuration in the file ~/.vimrc What if we want one for our project? For example, we are working on certain project which needs to read in a tags file. Well, here is a possible solution. You put a line at then end of your ~/.vimrc file source ./.project.vim Then […]

in Blog Posts, English, Solution | 2012/02/24 | 1 Comment

[Ruby]修改GemPath

通过命令查看gem的安装位置、源等信息 $gem env 如果需要修改gem的默认安装位置,比如由于没有root权限,希望gems都默认安装到用户目录下 修改~/.gemrc文件 增加内容 gempath: – /home/haoxiang/.gem – /usr/lib/ruby/gems/1.8 gemhome: /home/haoxiang/.gem

in Blog Posts, Solution, 中文 | 2011/08/02 | 2 Comments
这个网站使用的主机 (我的推广链接)
Independent Publisher empowered by WordPress