This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "strconv" | |
| "github.com/rwynn/monstache/monstachemap" | |
| ) | |
| // Map a plugin to convert document values to uppercase | |
| func Map(input *monstachemap.MapperPluginInput) (*monstachemap.MapperPluginOutput, error) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "capistrano" | |
| require "bundler/capistrano" | |
| require "capistrano-resque" | |
| set :default_environment, { | |
| #path to your ruby environment on server | |
| 'PATH' => "/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/:/usr/local/rvm/bin:$PATH" | |
| } | |
| ssh_options[:forward_agent] = true |