Skip to content

Commit

Permalink
replaced File.absolute_path by File.expand_path to support Ruby 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashita Yuu committed Mar 12, 2012
1 parent 10b9d3b commit ee150d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/play-recipes.rb
Expand Up @@ -78,10 +78,10 @@
_cset :play_use_precompile, true # performe precompilation before restarting service if true

_cset :play_zip_file_local do
File.join(File.absolute_path('.'), 'tools', 'play', "play-#{play_version}.zip")
File.join(File.expand_path('.'), 'tools', 'play', "play-#{play_version}.zip")
end
_cset :play_path_local do
File.join(File.absolute_path('.'), 'tools', 'play', "play-#{play_version}")
File.join(File.expand_path('.'), 'tools', 'play', "play-#{play_version}")
end
_cset :play_bin_local do
File.join(play_path_local, 'play')
Expand Down

0 comments on commit ee150d4

Please sign in to comment.