rails
liuyanzhi08
变身之后,十秒无敌
展开
-
用gvim开发rails出现 “bas/bin: rails “命令未找到” ”出错解决
这个问题直接原因是你直接运行系统为你生成到gvim启动器,而不是在终端命令行运行gvim,具体错误细节怎样我也不知道,但是应该是跟系统变量有关(-_-看来我要进阶linux来。。);所以正确的做法是在终端命令行输入gvim指令$: gvim接下就可以使用gvim来。哈哈!(你可以想像我弄出来以后是多么兴奋!我花了两天时间废寝忘食百度、谷歌这个情况却都没解决,最好尝试出来时,真的原创 2012-03-05 20:42:12 · 1500 阅读 · 0 评论 -
Rails Production Server @ Nginx + Postgresql + Ubuntu 使用git远程部署 配置
转自linux公社貌似Heroku在国内访问既慢又不稳定,所以不得已需要自己搭建一台production服务器。我们的目标是和Heroku类似,直接能够从开发环境部署并运行。虽然貌似文档很多,但是还是有很多问题。------------------------------------------------------警告:似乎如果目录权限配置不正确一下设置会导致rails转载 2012-07-26 11:02:54 · 1665 阅读 · 0 评论 -
ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executi
当我用安装来rvm后,用rvm安装ruby 1.9.3,安装gem 1.8.17后,我使用gem install rails出现来一下错误:ERROR: Loading command: install (LoadError) cannot load such file -- zlibERROR: While executing gem ... (NameError)原创 2012-03-04 02:39:10 · 12262 阅读 · 1 评论 -
Set up professional rails3 develpment on ubuntu (part one)
(1) Download ubuntu iso image from the official site (As recommended , I chose 32-bit ) http://www.ubuntu.org.cn/download/desktop(2) Download the ultraiso usb-boot maker http://www.ezb原创 2012-07-13 07:54:18 · 1414 阅读 · 0 评论 -
rails migration-sql column mapping (rails 3)
原创 2012-07-10 03:28:44 · 802 阅读 · 0 评论 -
using mysql with rails3.2.6(test evironment:ubuntu12.04)
This post assumes that you have already installed rails3(include gem of course)sudo apt-get install mysql-server libmysqlclient15-devgem install mysqlrails new mysqltest -d mysqlconfigure your dat原创 2012-07-10 02:19:45 · 1026 阅读 · 0 评论 -
Ruby On Rails 学习资源
原帖地址:http://www.cnblogs.com/PurpleCow/archive/2010/12/31/1923124.htmlRuby On Rails 学习资源一 :网站及其博客:1..http://ihower.tw/training/ Ruby on Rails学习网是一个交流学习Ruby on Rails知识的专业网站转载 2012-03-19 16:15:02 · 2212 阅读 · 1 评论 -
Failure/Error: it { should respond_to(:password) } expected #<User id: nil, name: "Example User", e
Failure/Error: it { should respond_to(:password) } expected # to respond to :passwordFailure/Error: it { should respond_to(:password_confirmation) } expected # to respond to :password_co原创 2012-03-10 00:09:55 · 830 阅读 · 0 评论 -
RESTfull routes in rails
转载 2012-03-10 02:00:28 · 811 阅读 · 0 评论 -
在ubuntu安装rails详解(该文章指导在ubuntu环境下安装rails,并且随着ubuntu版本提高而改变)
http://www.mirceagoia.com/2011/11/ruby-on-rails-installation-ubuntu-linux-mint/原创 2012-03-08 13:31:41 · 771 阅读 · 0 评论 -
强烈推荐学习rails的书籍(该书使用rails 3.2.1,并且随着rails升级而升级)
http://ruby.railstutorial.org/chapters/beginning?version=3.2#book_menu原创 2012-03-08 13:29:20 · 1092 阅读 · 0 评论 -
rails设置主页不起作用(设置了 root to:'controller#action'以后)
新手会容易忘记删掉public文件夹下的index,否则即使设置了主页也是会使用rails初始主页的原创 2012-03-08 18:14:28 · 934 阅读 · 0 评论 -
Set up professional rails3 develpment on ubuntu (part two)
This part I will lead you through the process of setting up RVM, GIT, MYSQL, VIMAbove all, lett's install some useful download tools:aptitude : a better independence management tool than apt-get原创 2012-07-13 07:54:45 · 6522 阅读 · 0 评论