secret
Created

the plist

  • Download Gist
gistfile1.txt
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
<?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>Disabled</key>
<false/>
<key>Label</key>
<string>mj.unicorn.q</string>
<key>ProgramArguments</key>
<array>
<string>/Users/server/.rvm/gems/ruby-1.9.2-head@q/bin/unicorn</string>
<string>-c</string>
<string>/Users/server/Sites/Rails/q/config/unicorn.rb</string>
<string>-E</string>
<string>production</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/server/Sites/Rails/q</string>
<key>RunAtLoad</key>
<true/>
<key>EnableTransactions</key>
<false/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
terminal
1 2 3 4 5 6 7 8
// not working
 
$ ~ /Users/server/.rvm/gems/ruby-1.9.2-head@q/bin/unicorn -c /Users/server/Sites/Rails/q/config/unicorn.rb -E production
 
 
// working
$ ~ cd /Users/server/Sites/Rails/q
$ ~ /Users/server/.rvm/gems/ruby-1.9.2-head@q/bin/unicorn -c /Users/server/Sites/Rails/q/config/unicorn.rb -E production

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.