和 rails_admin 相比,哪个更好用?
我之前玩黑苹果时,也用过一些,直接帖我的 wiki 页面吧。 http://wiki.junnan.org/pages/software/macos.html
#36 楼 @poshboytl 给 poshboytl 一个小建议,视频能不能只录局部部分,整屏容易看不清显示的什么。
#10 楼 太强了, @poshboytl 真的是行动派,马上收看。
有代理的话,可以用 proxychains
关于在 railscasts 的 mongoid 介绍视频中看到的 references_many 和 referenced_in,我在 mongoid.org 上没有找到相关解释,难道是新版本改了语法?
我现在用 proxychains
强烈支持,这绝对会加快国内 ROR 普及。
知道 ruby 是在 06 年,但开始学习是因为看到华顺等 ruby 开发者时常出现在我常去的社区,并不断提起 rails,做为一个对 web 有浓厚兴趣的开发者,越来越觉得 python、ror 才是 web 开发的圣殿,一定要学习一下。
我有兴趣,关注解决办法。
确定 mongodb 和 redis 都没问题后的结果。。。
root@ubuntu-server:~/workspace/ruby-china# rake assets:precompile
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
/usr/bin/ruby1.9.1 /usr/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
rake aborted!
uninitialized constant AWS
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 /usr/bin/rake assets:pr...]
悲剧了,换上 ubuntu server,用 root 用户,mongodb 也用的 deb 版安装,还是出同样的错误。。。 郁闷了。。
root@ubuntu-server:~/workspace/ruby-china# rake assets:precompile
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
/usr/bin/ruby1.9.1 /usr/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
rake aborted!
Connection refused - Unable to connect to Redis on 127.0.0.1:6379
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 /usr/bin/rake assets:pr...]
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
#2 楼 @huacnlee 安装完 Node.js 后,再运行 rake assets:precompile 出现以下错误:
bindiry@bindiry-ubuntu:~/workspace/ruby-china$ sudo rake assets:precompile
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
/usr/bin/ruby1.9.1 /usr/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/lib/ruby/gems/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
rake aborted!
Failed to connect to a master node at 127.0.0.1:27017
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 /usr/bin/rake assets:pr...]
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)