2011-03-01ãã1ã¶æéã®è¨äºä¸è¦§
mongod.confãä½ã£ã¦ããã¨ãã/usr/local/share/mongod/mongod.conf dbpath = /var/mongod bind_ip = 127.0.0.1 /service/mongod/run #!/bin/sh exec 2>&1 exec setuidgid sho mongod --config /usr/local/share/mongod/mongod.conf
set :session, true ã®ä»£ããã« use Rack::Session::Cookie, :key => 'rack.session', :domain => 'shokai.org', :path => '/', :expire_after => 60*60*24*14, # 2 weeks :secret => 'kazusuke_ha_umaiyo' ãã¦ããã¾ã¾ã§éãsessionã®hashã«åºãå ¥ãããã°â¦
ãªããåçç¡ç¨ã§httpã¢ã¯ã»ã¹ããç¬éã«è½ã¡ã (eval):2:in `method_missing': undefined method `associate_callback_target' for #<Thin::Connection:0x102753d40> (NoMethodError) from /Users/sho/.rvm/gems/ruby-1.8.7-p334/gems/eventmachine-0.12.10/lib/em/connection.rb:39:in `n</thin::connection:0x102753d40>â¦
newgem(1.5.3)ã³ãã³ã使ã㨠/Users/sho/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)ã¨ã©ã¼ã§ãã é©å½ã«2.3ç³»ã§æ°ããactivesupâ¦
websocketãµã¼ãã¼ã®æ¹ãä¿®æ£ããæã«ãã©ã¦ã¶ããªãã¼ãããã®ãé¢åãªã®ã§å®æçã«websocketã®readyStateãè¦ã¦ã¤ãªãç´ã var ws = null; var ws_connect_timer = setInterval(function(){ if(ws == null || ws.readyState != 1){ ws = new WebSocket("wsâ¦
ãã¡ã©jrubyã§ç»åã¨ãã¦èªã¿è¾¼ãã§widthãheightãåãã¦ããã°ç ´æãã¦ããªãã¨ã¿ãªã delete_broken_imgs.rb #!/usr/bin/env jruby # -*- coding: utf-8 -*- require 'java' import 'java.lang.System' import 'javax.imageio.ImageIO' import 'java.awt.â¦
ãªãã¹ãçãã¦ãã£ãããURLã§ããã¨ãµãã«ãã¼ã¿ã«ã¢ã¯ã»ã¹ã§ããããã«ããããã©ãæ¢ã«ã¢ããªå ã§ç»é²ããã¦ãããã¹ã¨ã¶ã¤ãã£ããå«ãããªãã§ãããå ·ä½çã«ã¯logoutã¨ãhotentryã¿ãããªã¦ã¼ã¶åãä½ãããªããã¨ããå¦çãä½ãããã ã¨ããããã§â¦