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

18th
Dec 2014
Schalk W. Cronjé
@ysb33r
Dec 18 2014 01:33
Screen Shot 2014-12-18 at 01.31.52.png
Have not implemented actually executing it yet :)
Schalk W. Cronjé
@ysb33r
Dec 18 2014 21:53
As it stands on https://github.com/ysb33r/gradle-rake-plugin it can now execute rake tasks which do not have external GEM dependencies
R. Tyler Croy
@rtyler
Dec 18 2014 21:53
very cool
Schalk W. Cronjé
@ysb33r
Dec 18 2014 21:58
I might be asking you some noob Rake questions shortly :)
R. Tyler Croy
@rtyler
Dec 18 2014 23:12
I may or may not be helpful, let's see what happens!
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:24
For a normal Ruby project how are the dependent GEMs listed?
R. Tyler Croy
@rtyler
Dec 18 2014 23:24
usually with a gemfile, see bundler.io
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:25
ah so, that’s the reason one normally sees the Gemfile at the top-level?
rtyler @rtyler nods
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:27
So it might theoretically be possible for Gradle to query the Gemfile and determine the GEM dependencies ??
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:39
Screen Shot 2014-12-18 at 23.38.15.png
R. Tyler Croy
@rtyler
Dec 18 2014 23:40
The server rejected the handshake because the client downgraded to a lower TLS version than the server supports.
I can't view any of those things
you linked an image yesterday that I couldn't see either
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:41
Grrr
hold on I’ll past it as text
External Rake tasks
-------------------
rakeBench
rakeDefault [rakeTest]
rakeDoc [rakeYard]
rakeTest [rakeTest-core_and_plugins]
rakeTest-core
rakeTest-core_and_plugins [rakeTest-core, rakeTest-literate, rakeTest-logic_less, rakeTest-translator]
rakeTest-literate
rakeTest-logic_less
rakeTest-rails
rakeTest-sinatra
rakeTest-translator
rakeYard
R. Tyler Croy
@rtyler
Dec 18 2014 23:42
COOL!
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:42
output from Gradle
with dependencies
R. Tyler Croy
@rtyler
Dec 18 2014 23:42
do they run
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:42
basic one worked from earlier - about to test that what you see there
rakeDefault failed with some exception inside ruby - I consider that progress !
file:/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.17/dddc7eaf89c4cd2eb88b8c2e696f149f3eb58b8/jruby-complete-1.7.17.jar!/META-INF/jruby.home/bin/jruby -I"lib:lib:test/core" -I"file:/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.17/dddc7eaf89c4cd2eb88b8c2e696f149f3eb58b8/jruby-complete-1.7.17.jar!/META-INF/jruby.home/lib/ruby/shared" "file:/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.17/dddc7eaf89c4cd2eb88b8c2e696f149f3eb58b8/jruby-complete-1.7.17.jar!/META-INF/jruby.home/lib/ruby/shared/rake/rake_test_loader.rb"  
/bin/sh: file:/Users/schalkc/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.17/dddc7eaf89c4cd2eb88b8c2e696f149f3eb58b8/jruby-complete-1.7.17.jar!/META-INF/jruby.home/bin/jruby: No such file or directory
R. Tyler Croy
@rtyler
Dec 18 2014 23:47
is something trying to shell out?
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:47
All of that complaining about rake_test_loader.rb. Anyhow that is my next step to investigate
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:54
Not sure
R. Tyler Croy
@rtyler
Dec 18 2014 23:54
got your sample project on github?
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:55
My sample Ruby project? I’m simply using the content of the slim-2.0.3 gem
R. Tyler Croy
@rtyler
Dec 18 2014 23:55
trying to use rake to build a gem?
Schalk W. Cronjé
@ysb33r
Dec 18 2014 23:56
eventually.
for now I’m trying to use something that is simple, yet non-trivial