Locale problem (bundle + gem + git) fixed

Using bundler to install some gems via git lead to an error "invalid byte sequence in US-ASCII" which fixed by set correct locale.

for example:

Gemfile: 

gem 'responders',          github: 'plataformatec/responders'
gem 'inherited_resources', github: 'josevalim/inherited_resources'
gem 'ransack',             github: 'ernie/ransack', branch: 'rails-4'
gem 'activeadmin',         github: 'gregbell/active_admin', branch: 'rails4'


lead us to : 

remote: Using responders (1.0.0.rc) from git://github.com/plataformatec/responders.git (at master) 
remote: ArgumentError: invalid byte sequence in US-ASCII
remote: An error occured while installing responders (1.0.0.rc), and Bundler cannot continue.
remote: Make sure that `gem install responders -v '1.0.0.rc'` succeeds before bundling.
remote: An error occurred executing 'gear postreceive' (exit code: 5)
remote: Error message: Failed to execute: 'control build' for /var/lib/openshift/51f193bc500446065d0000f5/ruby
remote: 
remote: For more details about the problem, try running the command again with the '--trace' option.

after push to openshift account.