hirax.net::Tech-logs::2008-12-30

2008-12-30[n年前へ]

Rubyスクリプトを実行形式にするスクリプト2種 

Rubyスクリプトを実行できる形に変換することができる、RubyScript2ExeExerb。(単一ファイルからなるスクリプトならExerbでも可能だが)実行しながら必要ファイル情報などを集め実行形式に直接変換するのRubyScript2Exeで、一回実行することでレシピファイルを作成した後に実行形式ファイルを作成するのがExerb。

 RubyScript2Exe.rbは、変換したいスクリプト本体と同じディレクトリに置いて、下記でExeができあがる。

ruby rubyscript2exe.rb hoge.rb

Fritzing 

 Fritzing

 Fritzing is an open-source initiative to support designers and artists to take the step from physical prototyping to actual product. We are creating this software in the spirit of Processing and Arduino, that allows the designer / artist / researcher / hobbyist to document their Arduino-based prototype and create a PCB layout for manufacturing.