bin/openshifter-bundle in openshifter-0.1 vs bin/openshifter-bundle in openshifter-0.2
- old
+ new
@@ -1,4 +1,9 @@
#!/usr/bin/env ruby
require File.expand_path('../../lib/openshifter/init', __FILE__)
-exec("java -jar .openshift/lib/jruby.jar -S bundle #{$*.join(' ')}")
+if CONFIG['install'] == 'remote'
+ puts '-> Can not be used with remote install.'
+ exit(0)
+end
+
+exec("java -jar .openshift/lib/jruby-#{CONFIG['jruby']}.jar -S bundle #{$*.join(' ')}")
\ No newline at end of file