ubuntu下安装autotest
按照
http://nubyonrails.com/articles/autotest-rails中:
sudo gem install ZenTest
autotest --rails
出现错误:
bash: autotest: command not found
google,好像没有人遇见这个错误。
在windows下:
gem install ZenTest
autotest --rails
运行成功。
期间做了包括更新rails版本等方式,最后发现输入/var/lib/gems/1.8/bin/autotest可以运行,确定为环境变量问题 ...
一.在Ubuntu(虚拟机)下装环境rails,记录如下:
1.Install VMware
2.Install Ubuntu (use Ctrl+Alt switch)
3.Update Ubuntu
4.Install VMware Tools(no need Ctrl+Alt switch)
VM select "Install VMware Tools"
upnzip VMwareTools*.tar.gz
sudo ./vmware-install.pl to install
5.Install JDK
1> Downloading Download t ...
最近要为公司一个程序加数据统计代码。在Ubuntu环境下checkout下整个程序,发现无法打开server,出错信息如下:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Ruby version is not up-to-date; loading cgi_multipart_eof_f ...







评论排行榜