002-Titanium Mobileの環境構築
Titanium Mobileの環境構築と思ったら・・・
TitaniumでiPhoneアプリ開発しようと思ったけど、冷静に考えたらiPhoneSDKインストールしてなかったので、まずはSDKのダウンロード・・思ったら、iOS SDK 4.xは、Snow Leopardじゃないとダメなんでしたね。
Snow Leopardのファミリーパック版は購入してあるんだけど、自分の初期MacbookAirには、特にこれまでSnow Leopardにする必要性感じてなかったので放置していました。
今回はじめてその必要性を感じたことに加えて、余計なアプリを結構インストールしてしまって結果HDDの容量もかなり不足気味なので、OSクリーンインストールして、今必要なアプリだけ入れて環境つくり直そうと思ってます。
各種ファイルのバックアップ
定期的にTime Machineつかってバックアップしてありますが、今回はOSクリーンインストールするのでそちらは基本使わない方向でいきます。
クリーンインストールするのにあたって
というファイルを手軽に復元したいなと考えてます。
ソースコードやブログの下書き等は、Dropboxで常に同期してあるので、OSクリーンインストールした後、Dropboxをインストールすれば基本OK
後者の設定ファイルに関しても、現在のMacbookAir上で、
ln -s ~/Dropboc/dotfiles/emacs ~/.emacs
- ホームディレクトリ下のシンボリックリンクの一覧表を作っておく
ということをやっておけば、OSクリーンインストール後に、シンボリックリンクをはりなおすだけで作業が終わりそうな気がしてきました。
アプリケーションのインストール
普段使うアプリケーションってかなり絞られてきました
1軍的なもの
2軍的なもの
- Skitch(画面キャプチャーツール)
- Excel(最近ファミリーパック購入したのでとりあえず入れておく予定。WordとPPTは不要)
Quicksilverとかも入っているけど、自分のMacの使い方としては不要なのでこれは入れない。あとGIMPインストールしてあるけど写真の補正する時間的余裕って意外とないので、とりあえず入れない方向で。
MacPortsやRubyGems
手元のMacbookAirには、port使ってbuildしたアプリケーションや、RubyGemsも多数あるのでそれらをインストールしないといけないため、既存のものをリストアップしてみました。
こうやってみると、勉強会などで一時的に環境作ってそれ以降は利用していないものとか結構あるので、このリストを見ながら必要なものだけ順次インストールする予定です
$ gem list *** LOCAL GEMS *** activerecord (2.3.8) activesupport (2.3.8) addressable (2.2.0, 2.1.2) appengine-apis (0.0.18, 0.0.16) appengine-rack (0.0.11, 0.0.9) appengine-sdk (1.3.5, 1.3.4) appengine-tools (0.0.15, 0.0.13) Ascii85 (1.0.0) atom (0.3) autotest (4.3.2) autotest-growl (0.2.5) aws-s3 (0.6.2) backup (2.3.1) bitly (0.5.3) builder (2.1.2) bundler (1.0.0) bundler08 (0.8.5) configatron (2.6.3, 2.4.1) crack (0.1.8, 0.1.6) em-http-request (0.2.11, 0.2.10) eventmachine (0.12.10) extexif (1.0.1) extractcontent (0.0.1) fastthread (1.0.7) gdata (1.1.1) google-appengine (0.0.15, 0.0.13) googlebase (0.2.1) googlereader (0.0.4) haml (3.0.12) hashie (0.3.1, 0.2.2) hirb (0.3.3) hoe (2.6.1) hpricot (0.8.2) httparty (0.6.1, 0.5.2) jruby-jars (1.5.2, 1.4.1) jruby-rack (1.0.3, 1.0.1) json (1.4.6, 1.1.7) json_pure (1.4.6, 1.4.3) mail (2.2.5) maruku (0.6.0) mechanize (1.0.0, 0.9.3) mime-types (1.16) mocha (0.9.8, 0.9.7) mysql (2.8.1) net-scp (1.0.3) net-sftp (2.0.5) net-ssh (2.0.23) nokogiri (1.4.3.1, 1.3.3) oauth (0.4.2) org-ruby (0.5.3) passenger (2.2.15) pdf-reader (0.8.5) pit (0.0.6) polyglot (0.3.1) pony (1.0) rack (1.2.1, 1.1.0) rack-test (0.5.3) rake (0.8.7) RedCloth (4.2.2) rmagick (2.12.2) roauth (0.0.3) rspec (1.3.0) rspec_hpricot_matchers (1.0) rubyforge (2.0.4) rubygems-update (1.3.7, 1.3.5) rubypants (0.2.0) rubyzip (0.9.4) rvm (1.1.1, 1.0.14, 1.0.0, 0.1.36) shotgun (0.8) simple-rss (1.2.3, 1.2.2) sinatra (1.0) sqlite3-ruby (1.3.1) syntax (1.0.0) test-unit (1.2.3) tlsmail (0.0.1) tmail (1.2.7.1) treetop (1.4.8) twitter (0.9.8) twitter-stream (0.1.8, 0.1.6) xml-simple (1.0.12) yajl-ruby (0.7.7) yamler (0.1.0) ZenTest (4.4.0) $ port installed Warning: port definitions are more than two weeks old, consider using selfupdate The following ports are currently installed: apache2 @2.2.11_0+darwin_9 (active) apr @1.2.12_1+darwin_9 apr @1.4.2_1 (active) apr-util @1.2.12_0 apr-util @1.3.9_2 (active) autoconf @2.63_0 (active) autoconf213 @2.13_1 (active) automake @1.11_0 (active) boehmgc @7.0_1+darwin_9 (active) boost @1.37.0_0+darwin_9 (active) boost-jam @3.1.17_0 (active) bzip2 @1.0.5_0 (active) ctags @5.7_0 (active) curl @7.21.2_0+ssl curl @7.21.2_1+ssl (active) curl-ca-bundle @7.21.2_0 curl-ca-bundle @7.21.2_1 (active) db44 @4.4.20_1 (active) db46 @4.6.21_6 (active) dhcp @3.1.0_3 (active) dhcp @3.1.2_0 emacs @22.1_2+darwin_9 (active) emacs-app @23.1_0 (active) emacs-w3m @1.4.4_0 (active) exif @0.6.15_0 (active) expat @2.0.1_0 expat @2.0.1_1 (active) fontconfig @2.5.0_0+macosx (active) freetype @2.3.5_1 (active) fusefs @1.1_3+darwin_9 (active) gawk @3.1.6_0 (active) gdbm @1.8.3_2 (active) gettext @0.17_3 gettext @0.18.1.1_2 (active) git-core @1.7.3.2_0+doc (active) glib2 @2.16.3_0+darwin_9 (active) gmake @3.81_0 (active) gperf @3.0.4_0 (active) gsed @4.2.1_0 (active) help2man @1.36.4_1 (active) ImageMagick @6.4.0-7_0+jpeg2+lcms+q16 (active) jasper @1.900.1_0+darwin_9 (active) jpeg @6b_2 (active) lcms @1.17_0 (active) libexif @0.6.16_1 (active) libexif @0.6.17_0 libfuse @2.7.1_3+darwin_9 (active) libiconv @1.12_0 libiconv @1.13.1_0 (active) libidn @1.19_0 (active) libpng @1.2.26_0 (active) libtool @2.2.6a_0 (active) libxml2 @2.6.31_0 (active) m4 @1.4.12_1 (active) mhash @0.9.9.9_0 (active) mysql5 @5.0.84_0 (active) mysql5-server @5.0.84_0 (active) ncurses @5.6_0 ncurses @5.7_0 ncurses @5.7_1 (active) ncursesw @5.6_1 ncursesw @5.7_0 ncursesw @5.7_1 (active) neon @0.26.4_1 (active) nodejs @0.2.2_0+ssl (active) nspr @4.7.3_0 (active) openssl @1.0.0a_0 openssl @1.0.0a_1 (active) openssl97 @0.9.7m_0 (active) p5-error @0.17015_0 p5-error @0.17016_0 (active) p5-locale-gettext @1.05_0 (active) pcre @7.9_0 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_1 perl5.8 @5.8.9_3 (active) php5 @5.3.0_1+apache2+macosx+mysql5+pear (active) pkgconfig @0.23_0 pkgconfig @0.25_1 (active) popt @1.13_0 popt @1.16_0 (active) python26 @2.6.6_0+no_tkinter (active) rb-rubygems @1.3.4_0 (active) rb-sqlite3 @1.2.4_0 (active) readline @5.2.007_0+darwin_9 readline @6.1.002_0 (active) rsync @3.0.5_0 rsync @3.0.7_0 (active) ruby @1.8.7-p72_2+thread_hooks (active) screen @4.0.3_0 (active) spidermonkey @1.7.0_1 (active) sqlite3 @3.6.17_0 sqlite3 @3.7.2_0 (active) sshfs @1.8_2 (active) stunnel @4.20_0+libwrap (active) subversion @1.4.6_0 (active) tiff @3.8.2_1+macosx (active) vim-app @7.2.077_0+ruby (active) w3m @0.5.2_0 (active) wget @1.11.4_3 (active) zlib @1.2.3_1 zlib @1.2.5_0 (active)