Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use inbuilts for enivonment manipulation #92

Merged
merged 1 commit into from

2 participants

@richo

No description provided.

@floere floere merged commit 2dc8eb6 into from
@floere
Owner

Thanks! :)

@floere floere was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 3, 2012
  1. @richo
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  server/lib/tasks/server.rake
View
3  server/lib/tasks/server.rake
@@ -16,7 +16,8 @@ namespace :server do
task :start => :framework do
chdir_to_root
daemonize = PICKY_ENVIRONMENT == 'production' ? '-D' : ''
- command = "export PICKY_ENV=#{PICKY_ENVIRONMENT}; unicorn -c unicorn.rb #{daemonize}".strip
+ ENV['PICKY_ENV'] = PICKY_ENVIRONMENT
+ command = "unicorn -c unicorn.rb #{daemonize}".strip
puts "Running \`#{command}\`."
exec command
end
Something went wrong with that request. Please try again.