GitHub User: ObjColumnist
Im struggling to get this solution to start with the environment set as staging.
I have tried updating the unicorn init file to pass the -E argument:
CMD="cd <%= current_path %>; bundle exec unicorn -D -c <%= unicorn_config %> -E <%= stage %>"
But Rails.env always says production.
Not being a Rails Expert, why did you wrap the different API Versions in a Module rather than just using a controller?