การติดตั้ง gem therubyracer for window


ค้นพบว่าการติดตั้ง rubyracer ในวินโดว์นั้นต่างออกไป

ดังนี้

Most of Ruby on Rails developers have a problem to install therubyracer gem in windows environment. The "therubyracer_for_windows" package provides all the necessary gems and v8.dll to solve this issue.

Installation steps:

  1. Download the package

  2. Open the windows command prompt and brows the "therubyracer_windows\" directory

eg:-

If you download the package in to c:\downloads\, then the path in command prompt should be "c:\downloads\therubyracer_windows\" you can do it by typing "cd c:\downloads\therubyracer_windows\"

  1. Install the ruby gem "therubyracer-0.11.0beta1-x86-mingw32.gem"

This can be done by typing gem install therubyracer-0.11.0beta1-x86-mingw32.gem eg:-

c:\downloads\therubyracer_windows> gem install therubyracer-0.11.0beta1-x86-mingw32.gem

  1. Copy v8.dll & v8preparser.dll in to ruby\bin folder

done...

แหล่งอ้างอิง https://github.com/hiranpeiris/therubyracer_for_windows


หากจะใช้ less ใน twitter bootstrap ตัองติตัดตั้ง

  gem 'therubyracer'
  gem 'less'
  gem 'less-rails'

คำสำคัญ (Tags): #therubyracer#for windows
หมายเลขบันทึก: 517524เขียนเมื่อ 26 มกราคม 2013 20:02 น. ()แก้ไขเมื่อ 27 มกราคม 2013 21:41 น. ()สัญญาอนุญาต: ครีเอทีฟคอมมอนส์แบบ แสดงที่มา-ไม่ใช้เพื่อการค้า-ไม่ดัดแปลงจำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท