rubyx/bin/rubyxc
Torsten Ruger 51eff62931 Very basic cli to compile ruby files
Off course this is basically a cross compiler and the files
have to be transferred to an arm machine (and fixed as per note)
close #22
2019-02-07 11:07:57 +02:00

15 lines
287 B
Ruby
Executable File

#! /usr/bin/env ruby -I lib
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require "rubyx/rubyxc"
RubyXC.start(ARGV)