P
Perry Smith
I put this in /Library/LaunchDaemons
It will start the Ruby Gem documentation server at boot. I don't know
how to get it to start when the first request comes in.
The gems that ships with 10.5 is too old. So, update it first with: gem
update --system
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.rubygems.server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/gem</string>
<string>server</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>
It will start the Ruby Gem documentation server at boot. I don't know
how to get it to start when the first request comes in.
The gems that ships with 10.5 is too old. So, update it first with: gem
update --system
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.rubygems.server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/gem</string>
<string>server</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>