Lion Server はばかげています。Mac では、Lion Server 10.7.3 のインストールとセットアップを実行してから、rvm、Ruby 1.9.3、Rails 3.2.3 をインストールしました。
Mac では完全に機能しましたが、2 番目の Mac では機能せず、ログ devicemgr に記録されます。
<Info>: default_profile_created_at_least_once was already true
Apr 10 20:23:26 <Name of Server> ProfileManager[1117] <Warning>: ** has_many_polymorphs: Warning; not all usage scenarios for polymorphic scopes are supported yet.
システム ログ デーモン devicemgr では、常に次のように繰り返されます。
<Date, Time and Nome Server>.devicemanager[1634]: DEBUG: Initializing DeviceManagerDaemon with ports 3320,3321,3322,3323,3324,3325,3326,3327,3328,3329 (physmem = 8GB)
<Date, Time and Nome Server>.devicemanager[1634]: DEBUG: Making sure Rails is configured properly
<Date, Time and Nome Server>.devicemanager[1634]: DEBUG: Running rake command: /usr/bin/rake db:migrate
<Date, Time and Nome Server>.devicemanager[1634]: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem rake (>= 0) (Gem::LoadError)
<Date, Time and Nome Server>.devicemanager[1634]: from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
<Date, Time and Nome Server>.devicemanager[1634]: from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
<Date, Time and Nome Server>.devicemanager[1634]: from /usr/bin/rake:18
<Date, Time and Nome Server>.devicemanager[1634]: /usr/share/devicemgr/backend/devicemgrd:109:in `rake': Rake command failed with 256 (RuntimeError)
<Date, Time and Nome Server>.devicemanager[1634]: from /usr/share/devicemgr/backend/devicemgrd:103:in `setupRails'
<Date, Time and Nome Server>.devicemanager[1634]: from /usr/share/devicemgr/backend/devicemgrd:33:in `run'
<Date, Time and Nome Server>.devicemanager[1634]: from /usr/share/devicemgr/backend/devicemgrd:131
Apr 12 23:02:05 apple com.apple.launchd[1] (com.apple.devicemanager[1634]): Exited with code: 1
Apr 12 23:02:05 apple com.apple.launchd[1] (com.apple.devicemanager): Throttling respawn: Will start in 10 seconds
Apr 12 23:02:07 apple xgrid[1637]: gss_init_sec_context is called on main thread, its a blocking api
Apr 12 23:02:12 apple xgrid[1641]: gss_init_sec_context is called on main thread, its a blocking api
どうすれば修正できますか?回避したい場合は、すべてを再インストールしてください。ありがとう!