rhodes-2.2.3を入れてみた ― 2010/11/30 14:43
rubyでiphone用のプログラムかけるかもしれないのでrhodes-2.2.3.を入れてみた
一応 エミュレータ上がって 動作はした。
実機に入れる方法は 調べていない
とりあえず。まず rubyで動かしてみる
後、Freeなのでgitでソース眺めることにした。
500MB程度になった。大きすぎるな
$ sudo gem install rhodes
Password:
Building native extensions. This could take a while...
Successfully installed diff-lcs-1.1.2
Successfully installed extlib-0.9.15
Successfully installed templater-1.0.0
Successfully installed rake-0.8.7
Successfully installed rhodes-2.2.3
5 gems installed
Installing ri documentation for diff-lcs-1.1.2...
Installing ri documentation for extlib-0.9.15...
Installing ri documentation for templater-1.0.0...
Installing ri documentation for rake-0.8.7...
Installing ri documentation for rhodes-2.2.3...
No definition for _wrap_barcode_recognize
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
Installing RDoc documentation for diff-lcs-1.1.2...
Installing RDoc documentation for extlib-0.9.15...
Installing RDoc documentation for templater-1.0.0...
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for rhodes-2.2.3...
No definition for _wrap_barcode_recognize
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
$ rhodes-setup
We will ask you a few questions below about your dev environment.
JDK path (required) (/Library/Java/Home):
Android SDK path (blank to skip) ():
Android NDK path (blank to skip) ():
Windows Mobile 6 SDK CabWiz (blank to skip) ():
BlackBerry JDE 4.6 (blank to skip) ():
BlackBerry JDE 4.6 MDS (blank to skip) ():
BlackBerry JDE 4.2 (blank to skip) ():
BlackBerry JDE 4.2 MDS (blank to skip) ():
If you want to build with other BlackBerry SDK versions edit: /Library/Ruby/Gems/1.8/gems/rhodes-2.2.3/rhobuild.yml
$ rhogen app storemanager http://localhost:3000/apps/store/sources
Generating with app generator:
[ADDED] storemanager/app/helpers
[ADDED] storemanager/icon
[ADDED] storemanager/app/Settings
[ADDED] storemanager/public
[ADDED] storemanager/rhoconfig.txt
[ADDED] storemanager/build.yml
[ADDED] storemanager/app/application.rb
[ADDED] storemanager/app/index.erb
[ADDED] storemanager/app/index.bb.erb
[ADDED] storemanager/app/layout.erb
[ADDED] storemanager/app/loading.html
[ADDED] storemanager/Rakefile
$ cd st*
$ ls
Rakefile build.yml public
app icon rhoconfig.txt
$ rake run:iphone
一応 エミュレータ上がって 動作はした。
実機に入れる方法は 調べていない
とりあえず。まず rubyで動かしてみる
後、Freeなのでgitでソース眺めることにした。
500MB程度になった。大きすぎるな
$ sudo gem install rhodes
Password:
Building native extensions. This could take a while...
Successfully installed diff-lcs-1.1.2
Successfully installed extlib-0.9.15
Successfully installed templater-1.0.0
Successfully installed rake-0.8.7
Successfully installed rhodes-2.2.3
5 gems installed
Installing ri documentation for diff-lcs-1.1.2...
Installing ri documentation for extlib-0.9.15...
Installing ri documentation for templater-1.0.0...
Installing ri documentation for rake-0.8.7...
Installing ri documentation for rhodes-2.2.3...
No definition for _wrap_barcode_recognize
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
Installing RDoc documentation for diff-lcs-1.1.2...
Installing RDoc documentation for extlib-0.9.15...
Installing RDoc documentation for templater-1.0.0...
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for rhodes-2.2.3...
No definition for _wrap_barcode_recognize
Enclosing class/module 'mDigest' for class MD5 not known
Enclosing class/module 'mDigest' for class SHA1 not known
$ rhodes-setup
We will ask you a few questions below about your dev environment.
JDK path (required) (/Library/Java/Home):
Android SDK path (blank to skip) ():
Android NDK path (blank to skip) ():
Windows Mobile 6 SDK CabWiz (blank to skip) ():
BlackBerry JDE 4.6 (blank to skip) ():
BlackBerry JDE 4.6 MDS (blank to skip) ():
BlackBerry JDE 4.2 (blank to skip) ():
BlackBerry JDE 4.2 MDS (blank to skip) ():
If you want to build with other BlackBerry SDK versions edit: /Library/Ruby/Gems/1.8/gems/rhodes-2.2.3/rhobuild.yml
$ rhogen app storemanager http://localhost:3000/apps/store/sources
Generating with app generator:
[ADDED] storemanager/app/helpers
[ADDED] storemanager/icon
[ADDED] storemanager/app/Settings
[ADDED] storemanager/public
[ADDED] storemanager/rhoconfig.txt
[ADDED] storemanager/build.yml
[ADDED] storemanager/app/application.rb
[ADDED] storemanager/app/index.erb
[ADDED] storemanager/app/index.bb.erb
[ADDED] storemanager/app/layout.erb
[ADDED] storemanager/app/loading.html
[ADDED] storemanager/Rakefile
$ cd st*
$ ls
Rakefile build.yml public
app icon rhoconfig.txt
$ rake run:iphone
最近のコメント