ข้ามไปที่เนื้อหาหลัก

การติดตั้ง Ruby on Rails

Ruby For windows
http://rubyinstaller.rubyforge.org/
การใช้งาน ruby สามารถเรียกใช้โดย command line
irb
หรือ
ruby <ชื่อไฟล์ script ruby>

Rails using Ruby Gems
type this command for install
gem install rails --include-dependencies

ตรวจสอบว่าติดตั้งสำเร็จหรือไม่โดยการพิมพ์ rails บน command line ถ้าขึ้นคำอธิบายคำสั่งมาถือว่าสำเร็จ

สามารถสร้าง rails application ง่ายๆ บน command line โดยพิมพ์
rails <ชื่อ application>
ที่มา: nectec, punneng

ความคิดเห็น