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
This commit is contained in:
Torsten Ruger
2019-02-07 11:07:57 +02:00
parent e634781d6c
commit 51eff62931
3 changed files with 68 additions and 0 deletions

14
bin/rubyxc Executable file
View File

@ -0,0 +1,14 @@
#! /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)