`
genius_45
  • 浏览: 58635 次
  • 性别: Icon_minigender_1
  • 来自: 威海
社区版块
存档分类
最新评论
文章列表
  深入理解Rails   P257 -- P270   目录结构 使用rails new my_app新建项目   -config.ru 用于配置Rack WebServer Interface,也可以创建Rails Metal应用,或在该Rails项目中使用Rails Middlewares.详见rails guide           Rails很有趣的一点是她的组织形式。从一个开发者的视角,你的大部分时间是放在高层次的模块上,例如
切换工作台和目录 ctr+w+h  光标focus左侧树形目录,ctrl+w+l 光标focus右侧文件显示窗口。 ctrl+w+w,光标自动在左右侧窗口切换 其他快捷键可参考帮助 在nerdtree下输入 ?
最近开始使用ubuntu,同时开始了Rails的学习,在linux开发,首当其冲使用的编辑器是vim。可是没有插件的帮助,效率确实有点小低,于是决定对开发工具增强一下 1> 安装vim(跳过) --------------------------------------------------------------------- 2> 安装rails插件,目前最高4.4 http://www.vim.org/scripts/script.php?script_id=1567 下载完成后解压到/home/xxx/下 并命名为.vim unzip rails.zip -d ../. ...
刚使用rake test进行测试报错 Could not find rake-0.9.2 in any of the sources Run `bundle install` to install missing gems. 使用sudo bundle install 返回: Fetching source index for http://rubygems.org/ Installing rake (0.9.2) Using multi_json (1.0.3) Using activesupport (3.1.1) Using builder (3.0.0) Using ...
在ubuntu下升级rubygems报以下错误 (*ruby版本1.9.2    rubygems版本1.3.7 ) ERROR: While executing gem ... (RuntimeError) gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported ...
最近开始学习linux,安装了简约的archlinux. 在arch下做ruby开发使用的是vim编辑器.可是使用后发现编写的代码没有加颜色高亮 通过google找到解决方案 在arch 下 /etc/vimrc 增加对 vim配置 syntax on #打开颜色高亮 set number #打开行号 set ts=2 #设置tab键 *如果没有响应,可能是没有vim的插件 可以通过 pacman 或者 yaourt获取
Global site tag (gtag.js) - Google Analytics