Installing ruby gem less-rails on windows machine using therubyracer

前端 未结 2 1563
眼角桃花
眼角桃花 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.

    0 讨论(0)
  • 2021-01-01 08:02

    After a lot of research and trial and error it seems that less is not working on the windows plattform at the moment.

    So my solution is to use the bootstrap-sass-rails gem instead. This is working pretty well.

    0 讨论(0)
提交回复
热议问题