cristianferrarig / font-awesome-middleman

Font-Awesome web fonts and stylesheets as a Middleman engine
MIT License
51 stars 16 forks source link

ArgumentError: different prefix: "C:/" and "d:/myfolder/to/myproject/source/scss #7

Open karland opened 10 years ago

karland commented 10 years ago

I am running Windows 7 with ruby v1.93 and middleman. I have installed

font-awesome-middleman

according to the readme.md. It installs ok, but after using it with middleman it generated above error. I tested the test folder from github and after adding

gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]

to the gemfile it middleman ran smoothly in the test folder. So I wondered what the difference is to my installation. The difference is

In the gemfile I use

gem 'font-awesome-middleman'

and the test-folder uses

gem "font-awesome-middleman", path: "../../../font-awesome-middleman"

Installing the gem from a folder solved my problem, but I reckon there is something wrong in the gem, at least for Windows 7 users.

Best!