These are chat archives for jruby-gradle/jruby-gradle-plugin

22nd
Feb 2017
R. Tyler Croy
@rtyler
Feb 22 2017 16:39
@mkristian I'm going to create a release, does that work for you?
Christian Meier
@mkristian
Feb 22 2017 16:41
I thought I gave my 'approval' to the PR yesterday - at least I wanted to do it :)
yes go for it !
R. Tyler Croy
@rtyler
Feb 22 2017 16:54
a merge is basically approval :P
R. Tyler Croy
@rtyler
Feb 22 2017 17:05
alright, 1.4.0 published looks like
Christian Meier
@mkristian
Feb 22 2017 17:05
heh I was thinking about the merge button as well - next time no thinking just doing ;)
R. Tyler Croy
@rtyler
Feb 22 2017 17:08
\o/
R. Tyler Croy
@rtyler
Feb 22 2017 17:50
I was playing around with rehosting rubygems.lasagna.io last night @mkristian
on Azure's Web Sites feature, but I think rubygems-servlets doesn't like running on Windows with Windows paths :P
Christian Meier
@mkristian
Feb 22 2017 18:12
that is not a real surprise - me and windows never work in harmony. and one problem is that it is so much extra work to get things working on windows as well especially if you do not have a windows box. having said this I can not really say: just create an issue on the rubygems-servlet repo and will look into it. but of course you can make an issue any ways :)
R. Tyler Croy
@rtyler
Feb 22 2017 18:14
mkristian: I haven't spent much more time with that other than experimenting, I don't have a Windows VM at the ready to test with
they offer a service where it's basically Jetty running on Windows and you can just drop a .war there
that wasn't working, but you don't get jetty logs :/
so I need to experiment more
Christian Meier
@mkristian
Feb 22 2017 18:15
heroku also allows java application - maybe that is an option
but a bit more then just dropping a war-file
R. Tyler Croy
@rtyler
Feb 22 2017 18:18
I'm already using Azure for a number of other services, I'm looking to consolidate
rubygems.lasagna.io is running on AWS right now and costing me about $100/month :/
Christian Meier
@mkristian
Feb 22 2017 18:20
I do remember the costs and I guessed the the Azure is free or cheaper. if get more info please tell me, maybe it is something obvious to fix.
if it gets really important for you, ping me and I get one of this ie-windows VM and get the war-file working on windows
R. Tyler Croy
@rtyler
Feb 22 2017 18:49
@mkristian the cost isn't a /huge/ burden, but I would like to reduce it for sure
I'm bummed that embedding jetty proved to be too heavy-weight and didn't work out as planned
too bad Gradle is still a PITA to create native resolvers for
Christian Meier
@mkristian
Feb 22 2017 18:54
in the end I implemented an maven extension for the rubygems, maybe a hint to gradle dev that maven do something which gradle can not might help. in the end both project inspired each other already here and there in the past - let's call it healthy competition ;)
@rtyler ----^
R. Tyler Croy
@rtyler
Feb 22 2017 18:55
heh
as a happy Gradle user, I'm not sure you'll ever be able to convince me to use Maven @mkristian :)
Christian Meier
@mkristian
Feb 22 2017 18:58
no - I want to convince gradle to make some extension possible for those resolvers. I do not want to preach what is better, everyone should use their favorite tool
I wanted to say maven can plugin a gem-resolver so gradle should get to the point that also gradle can be extended to plugin a gem-resolver
R. Tyler Croy
@rtyler
Feb 22 2017 18:59
perhaps @ysb33r knows whether they've improved that or not in recent releases
Christian Meier
@mkristian
Feb 22 2017 19:00
nowadays I just use bundler in ruby only projects :)
I do miss something
R. Tyler Croy
@rtyler
Feb 22 2017 19:03
I have actually found that for many projects I want/need additional gradle plugins
like those for installing and managing node dependencies, etc
the speed of JRuby is always a factor though
the more I can take advantage of continuous building in Gradle the better
Christian Meier
@mkristian
Feb 22 2017 19:04
speed of JRuby but with gradle we do have the jruby startup time problem - still
truffle moved to be a c-ruby dropin in its first step otherwise its startup time and speed is amazing. maybe it could help for the gradle-jruby-plugin one day
R. Tyler Croy
@rtyler
Feb 22 2017 19:07
well, the major issue is IMHO that it's a sub-JVM invocation
and JVM bootstrap sucks, and then on top of that JRuby parse-time affects things
so even just running a simple script can have a 10s+ overhead
not something we can really fix
Christian Meier
@mkristian
Feb 22 2017 19:08
right we fork the jvm - maybe that can be improved
R. Tyler Croy
@rtyler
Feb 22 2017 19:08
but with more continuous build support, the amount of times you would create new JVMs would go down
Christian Meier
@mkristian
Feb 22 2017 19:09
what do you understand by 'continuous building in Gradle' - start gradle once or something ?
R. Tyler Croy
@rtyler
Feb 22 2017 19:10
@mkristian it's a feature in Gradle, it's like guard+rake
Christian Meier
@mkristian
Feb 22 2017 19:12
I remember you did playing with this at the end of your time at Lookout
rtyler @rtyler nods
Schalk W. Cronjé
@ysb33r
Feb 22 2017 19:37
I'll talk to the gradle folks, but I know they are discussing it internally