• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
 

メモ:LimeChatを入れようとしたのだけど、なぜかうまく動かず:
stack level too deep(SystemStackError) のエラー

LimeChatは--enable-sharedオプションで入れたrubyでないとダメだということだが、MacPortsで入れたrubyの場合だと、+universalで入れないといけないということらしい(下記)

You need to build the ruby interpreter as an universal build when using it with RubyCocoa. Try +universal variant.

http://groups.google.com/group/limechatosx/browse_thread/thread/4c814a119a556be7

MacPortsの+universal variantについて

Building with the +universal variant changes this to always include both Intel and PowerPC code

http://trac.macports.org/wiki/howto/buildUniversal

Rubyの--enable-sharedオプションについて

--enable-sharedというのはrubyコマンドのほとんどをダイナミックリンクライブラリ(libruby.so)として外に出すオプションだ。必須でないプラットホームでも --enable-shared を付けておくと eruby や mod_ruby を作るときにダイナミックリンクになるので便利である (でなければスタティックリンクになる)。

http://i.loveruby.net/ja/rhg/cd/build.html

posted by Png satoko on Tue 2 Jun 2009 at 05:20

deploy用ブランチを作るのもいいのですが、tagの方が気軽に作成できてマージしなくてもいいので楽チンではないかと探したらありました:

Deploying trunk or tags with capistrano

written by paul on October 28th, 2008 @ 08:34 PM
http://www.pgrs.net/2008/10/29/deploying-trunk-or-tags-with-capistrano

ML上でJamis Buckさんにアドバイス貰ってできたそうです。

   1  set :repository_root, "http://www.example.com/svn/myproject" 
   2  set(:tag) { Capistrano::CLI.ui.ask("Tag to deploy (or type 'trunk' to deploy from trunk): ") }
   3  set(:repository) { (tag == "trunk") ? "#{repository_root}/trunk" : "#{repository_root}/tags/#{tag}" }

posted by Png satoko on Tue 2 Jun 2009 at 04:55
Contents
MacPortsの+universal variantとruby --enable-sharedオプションについて
[Capistrano] cap deploy時に、trunk又はTagを指定する
Comments
KingofSmack: Here also good reads for this mobile applicatio... '14-5
satoko: stackoverflowでも同じエラーを挙げている人がいたので、1.3でアップロードしたよっ... '10-12
ujihisa: :%s/blog/glob/g '10-7
satoko: しゅが〜様 返事が遅くなって申し訳ありません。また、投稿百景ご購入ありがとうございます。 ... '09-10
しゅが~: こんにちは。投稿百景を発売日翌日から利用しています。本当にいいAppを作っていただきました。罫... '09-10
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ