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:
14
bin/rubyxc
Executable file
14
bin/rubyxc
Executable 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)
|
Reference in New Issue
Block a user