warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
จาก wiki รู้สึกว่ามีอยู่หลายวิธีอยู่เหมือนกันครับ
แต่ง่ายสุดผมว่าติดตั้ง devboi ที่เป็น firefox extension หรือไม่ก็ดาวโหลด CHM file เอาครับ
รู้สึกว่าถ้าลง ฟฟ 2.0 จะไม่ซัพพอรืทนะครับ
เพราะพอโดนบังคับ update firefox แล้ว Devboi หายไปด้วย
ถ้าเรา install rails ด้วย gem
เราสามารถใช้คำสั่ง gem_server
เพื่อ start WEBrick server (default port 8808)
จากนั้นก็ใช้ browser browse api ได้เลยครับ
devboi ตอนนี้รองรับ firefox 2.0 แล้ว
โหลดได้ที่นี่ครับ http://www.martincohen.info/products/devboi/
download จาก thaimacdev.com ได้ ที่นี่ ครับ gen มาเรียบร้อยแล้ว ส่วนวิธีก็อย่างนี้ครับ
1. สร้าง rails application ปลอมๆ ขึ้นมา
$ rails dummy
$ cd dummy
2. Freeze the Rails gems ใน application
$ rake freeze_gems
3. สร้าง empty file
$ echo > vendor/rails/activesupport/README
4. สร้าง document
$ rake doc:rails
มันจะไปอยู่ใน folder doc ครับ
Apirak
ขอบคุณมากครับ