Skip to content
Browse files

Trying to fix session issues in vagrant.

  • Loading branch information...
1 parent cfbd365 commit be276df25ac2a4e946531e2ddd1e3cef86776ac6 @till committed Oct 23, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 vagrant-fix/recipes/default.rb
View
7 vagrant-fix/recipes/default.rb
@@ -6,3 +6,10 @@
#execute "update gems" do
# command "gem update -B 10 --no-rdoc --no-test --no-ri"
#end
+
+execute "session fix for vagrant setups/installs" do
+ command "chmod 0777 /vagrant_data/var/sessions/"
+ only_if do
+ File.exists?("/vagrant_data/var/sessions/")
+ end
+end

0 comments on commit be276df

Please sign in to comment.
Something went wrong with that request. Please try again.