Open dankreek opened 8 years ago
After some further investigation is looks like the problem lies in using an actual gem file (downloaded from torquebox). Still poking at it to try and find a solution.
Hi, sorry you're having this issue. Does everything work if you do not specify :gem-version
in the options, and remove org.rubygems/sass
from your :dependencies
?
Yeah everything works great as long as I specify a :gem-version
which is available on gemjars. But if I specify "3.4.21" as the :gem-version
, the dependency is successfully downloaded from torquebox and put into my local maven repo, but JRuby can't seem to find the gem.
Hm, I'll try to take a look at this. Working with gems is always so fiddly. Can you use the gemjars version in the meantime?
Unfortunately, the gemjars repo hasn't been maintained in a long time so it doesn't have any artifacts for sass version 3.3+. Which I need to take advantage of Sass's hashmaps.
I would love to fix this (and #12), but I'm afraid I really don't know how to go about it. I can't really figure out why getting the gems from Torquebox doesn't work, and I don't know of another place to get them from. If anyone has any suggestions I'd be happy to work on this.
@vladh I'm looking at this currently. The gems seem to exist in the Torquebox rubygems proxy (http://rubygems-proxy.torquebox.org/releases/rubygems/sass/) so I might look deeper into how leiningen is getting gems (instead of jars).
In my
project.clj
I have specified the following config:And now lein-sassy can't find the gem at all. I end up with this stack trace:
The gem is definitely in my .m2 repository and I added it to my project's dependencies like so:
Am I doing something wrong?