but when I run jbundle install when I need to use the gem somewhere (i.e. my rails app), I run into some errors because it isn't found in the central maven repository. How would I go about adding a new repository? If I add it to the gem's Jarfile, jbundle install doesnt seem to pick up on the required jars when I run it in the rails app.
I'm trying to do
ruby Gem::Specification.new do |spec| spec.add_dependency "jbundler" spec.requirements << "jar 'jsprit:jsprit-core', '1.6.2'" end
The jarfile was:
`repository "https://github.com/jsprit/mvn-rep/raw/master/releases"
jar 'jsprit:jsprit-core', '1.6.2'
`
but when I run
jbundle install
when I need to use the gem somewhere (i.e. my rails app), I run into some errors because it isn't found in the central maven repository. How would I go about adding a new repository? If I add it to the gem's Jarfile,jbundle install
doesnt seem to pick up on the required jars when I run it in the rails app.Thanks