Installing ruby gem less-rails on windows machine using therubyracer

前端 未结 2 1588
眼角桃花
眼角桃花 2021-01-01 07:05

since a while I am trying to install the less-rails gem on my windows7 machine.

I already managed to install the needed therubyracer.gem using this binary file: htt

2条回答
  •  醉话见心
    2021-01-01 07:40

    1. Download this file: https://github.com/hiranpeiris/therubyracer_for_windows/archive/master.zip
    2. Extract it to a folder and cd to that folder.
    3. Install the gem file in that folder by gem install therubyracer*
    4. The folder has 2 dll files. Copy them to your ruby/bin folder.
    5. Add this to your Gemfile: `gem 'therubyracer'
    6. bundle install

    Have fun.

提交回复
热议问题