摘要:        
这个网站可能已经被墙了、所以请使用相关软件来登录、具体看本站的ssh文章heroku是一个可以免费搭建rails的网站空间、可以使用最新版ruby1.9.2+rails3.0、以下环境基于ubuntu官网:http://heroku.com/首先去heroku注册一个用户名吧、通过邮箱验证后登录然后就可以开始干活了、然后开始安装heroku客户端apt-add-repository 'deb http://toolbelt.herokuapp.com/ubuntu ./'curl http://toolbelt.herokuapp.com/apt/release.key | a    阅读全文
posted @ 2011-12-27 16:28
klobodnf
阅读(2754)
评论(1)
推荐(0)
        
            
        
        
摘要:        
由于mongrel已经年久失修、不支持最新的1.9.2版本了、所以现在使用thin作为rails服务器、再加上nginx作反向代理、首先安装thin吧、在windows平台下、需要先安装eventmachine、否则不能安装thin服务器gem install eventmachine --pregem install thin安装完成后只需要在rails的项目目录上输入thin start就可以启动thin服务器了、P.S.:有时候启动thin的时候会遇到这种错误、You have already activated rack 1.3.0, but your Gemfile requires    阅读全文
posted @ 2011-12-27 13:37
klobodnf
阅读(1773)
评论(0)
推荐(0)
        
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号