Skip to content

Instantly share code, notes, and snippets.

@ukitazume
Created December 9, 2013 09:21
Show Gist options
  • Save ukitazume/7869547 to your computer and use it in GitHub Desktop.
Save ukitazume/7869547 to your computer and use it in GitHub Desktop.
☺ git status ruby-2.0.0-p247
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: cookbooks/main/recipes/default.rb
# modified: cookbooks/timezone/recipes/default.rb
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .eyrc
no changes added to commit (use "git add" and/or "git commit -a")
☺ git diff ruby-2.0.0-p247
diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 8b2b9ae..e41c1e4 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -6,6 +6,7 @@
# uncomment to turn on thinking sphinx 2/ultra sphinx. Remember to edit cookbooks/sphinx/recipes/default.rb first!
# include_recipe "sphinx"
+include_recipe "timezone"
# uncomment to turn on thinking sphinx 3. See cookbooks/thinking-sphinx-3/readme.md for documentation.
# include_recipe "thinking-sphinx-3"
diff --git a/cookbooks/timezone/recipes/default.rb b/cookbooks/timezone/recipes/default.rb
index e62ec33..b0de8de 100644
--- a/cookbooks/timezone/recipes/default.rb
+++ b/cookbooks/timezone/recipes/default.rb
@@ -1,7 +1,7 @@
# Add your required timezone name here:
# If using JRuby with Trinidad, you must also modify the env.custom file with the desired timezone
# ex: add_java_option -Duser.timezone=UTC
-timezone = "UTC"
+timezone = "Asia/Tokyo"
service "vixie-cron"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment