mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-12 22:28:14 -05:00
Ruby development console.
This commit is contained in:
parent
7265683c33
commit
2db84f0db6
18
lib/console
Executable file
18
lib/console
Executable file
@ -0,0 +1,18 @@
|
||||
#! /usr/bin/env ruby
|
||||
|
||||
$:.unshift File.dirname(__FILE__)
|
||||
|
||||
require 'octopress'
|
||||
require 'irb'
|
||||
require 'irb/completion'
|
||||
|
||||
ARGV.delete_if do |arg|
|
||||
if arg =~ /(.+)=(.+)/
|
||||
ENV[$1] = $2
|
||||
else
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
IRB.start
|
||||
|
Loading…
Reference in New Issue
Block a user