#4 楼 @HungYuHei 之前我就是用 E 系统,感觉被阉割后的 thinkpad 用得不爽,这次要换 thinkpad 的话就果断 x
#2 楼 @benzheren MBA 暂不考虑,觉得不适合我,MBP 的游戏多不?我看好像低端的 MBP 都是集显,我都没有打游戏的心了
正巧,我也打算在今年学下单反 XD,看来 rubyist 里不乏摄影爱好者
我们公司的团队都是完全用 ruby 的
Nice!!
习惯了 vim 后不太愿意去尝试别的编辑器
汇总得很好,要看的书越来越多了...
^_^
看到 3 楼的回答,我终于明白 LZ 的问题
水平不够,帮顶 XD
早几天看过一下 draper,没实践过,有空在项目里面测试下
cool~
辛苦了 XD
我是直接在 Gemfile 里面加入
gem 'therubyracer'
gem 'execjs'
额 ...直接跳过那一步不管能直接在服务器打开了...
重装了 MongoDB 和 Redis 后重新安装初始化 ruby-china 项目在最后两步遇到问题
zernel@zernel:~/workspace/rails/ruby-china$ rake assets:precompile
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /home/zernel/.rvm/gems/ruby-1.9.2-p290@ruby-china/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
/home/zernel/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /home/zernel/.rvm/gems/ruby-1.9.2-p290@ruby-china/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 /home/zernel/.rvm/gems/ruby-1.9.2-p290@ruby-china/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
MONGODB ruby_china['system.namespaces'].find({})
MONGODB ruby_china['site_configs'].find({:key=>"index_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"wiki_index_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"footer_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"after_topic_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"before_topic_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"topic_index_sidebar_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"site_index_html"}).limit(-1).sort([[:_id, :asc]])
/home/zernel/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /home/zernel/.rvm/gems/ruby-1.9.2-p290@ruby-china/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /home/zernel/.rvm/gems/ruby-1.9.2-p290@ruby-china/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
MONGODB ruby_china['system.namespaces'].find({})
MONGODB ruby_china['site_configs'].find({:key=>"index_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"wiki_index_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"footer_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"after_topic_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"before_topic_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"topic_index_sidebar_html"}).limit(-1).sort([[:_id, :asc]])
MONGODB ruby_china['site_configs'].find({:key=>"site_index_html"}).limit(-1).sort([[:_id, :asc]])
zernel@zernel:~/workspace/rails/ruby-china$ thin start -O -C config/thin.yml
/usr/lib/ruby/1.8/optparse.rb:1450:in `complete': invalid option: -O (OptionParser::InvalidOption)
from /usr/lib/ruby/1.8/optparse.rb:1448:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1448:in `complete'
from /usr/lib/ruby/1.8/optparse.rb:1287:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/lib/ruby/1.8/optparse.rb:1339:in `permute!'
from /usr/lib/ruby/1.8/optparse.rb:1360:in `parse!'
from /usr/lib/ruby/1.8/thin/runner.rb:131:in `parse!'
from /usr/lib/ruby/1.8/thin/runner.rb:47:in `initialize'
from /usr/bin/thin:6:in `new'
from /usr/bin/thin:6`
请问有人知道是什么问题吗,谢谢
其实各有各好处,全部换成 RSpec 不但要花费很多时间同时未必会好
期待它以后的发展...