1、bitnami安装时自带了开发环境,如ruby、rails、devkit。 为了版本兼容,应使用bitnami的命令行。 2、通过use_redmine启动命令行:运行Bitnami\redmine-3.3.0-0\use_redmine.bat。 3、cd apps\redmine\htdoc ...
分类:
其他好文 时间:
2017-01-03 08:02:02
阅读次数:
286
在 zsh 下使用 find 命令查找指定目录下所有头文件时出现问题: find . -name *.h no matches found: *.h 后来查看了一些资料才知道,这是由于zsh导致的。 具体原因: 因为zsh缺省情况下始终自己解释这个 *.h,而不会传递给 find 来解释。 解决办法 ...
分类:
其他好文 时间:
2017-01-01 11:42:32
阅读次数:
201
基本介绍 GitLab是利用 Ruby on Rails 一个开源的版本管理系统,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目。它拥有与Github类似的功能,能够浏览源代码,管理缺陷和注释。可以管理团队对仓库的访问。 安装 下载 gitlab下载地址: https:/ ...
分类:
其他好文 时间:
2016-12-24 11:34:02
阅读次数:
1257
Rails 5 开发进阶:https://www.gitbook.com/book/kelby/rails-beginner-s-guide/details cancan : http://blog.xdite.net/posts/2012/07/30/cancan-rule-engine-auth ...
分类:
其他好文 时间:
2016-12-18 23:33:47
阅读次数:
186
插件地址 https://github.com/asok/projectile-rails 我自己使用rbenv这个ruby版本控制工具来,管理下载ruby,但是他不是全局安装ruby之类的gem,如bundle或者rails,所以 再/usr/local/bin下没有rails和bundle命令, ...
分类:
系统相关 时间:
2016-12-16 14:08:20
阅读次数:
331
Eloquent是Laravel的原始ActiveRecord是实现的,建立在Laravel的Fluent Query Builder之上的,所以Eloquent类和Fluent类是一样的,能实现复杂的SQL语句和非常直观表达出的表与表之间的关系ActiveRecord也属于ORM层,由Rails最 ...
分类:
其他好文 时间:
2016-12-15 00:19:44
阅读次数:
171
The SanitizeHelper module provides a set of methods for scrubbing text of undesired HTML elements. These helper methods extend Action View making them ...
分类:
其他好文 时间:
2016-12-14 18:58:56
阅读次数:
175
Rails安装好Rails在ubuntu上安装rails(rvmrubygemBootstrapbootswatch)rails4.1.4ruby2.2.0sudoapt-getinstallmysql-servermysql-client安装mysql(安装过程中设置mysql用户root密码)sudoapt-getinstalllibmysqlclient-dev(https://github.com/brianmario/mysql2看这段说明Linux..
分类:
数据库 时间:
2016-12-06 11:35:06
阅读次数:
238
Elasticsearch 的_msearch介绍及在ruby on rails 中的使用 ...
分类:
其他好文 时间:
2016-12-05 19:12:26
阅读次数:
159