Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Say 'Ruby1.9.2' in shoes -v
Browse files Browse the repository at this point in the history
  • Loading branch information
wasnotrice committed Nov 18, 2011
1 parent ef1b321 commit b30ed20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ CLEAN.include ["{bin,shoes}/#{BIN}", "req/**/#{BIN}", "dist", "*.app"]

RUBY_SO = Config::CONFIG['RUBY_SO_NAME']
RUBY_V = Config::CONFIG['ruby_version']
RUBY_PROGRAM_VERSION = Config::CONFIG['RUBY_PROGRAM_VERSION']
SHOES_RUBY_ARCH = Config::CONFIG['arch']

if ENV['APP']
Expand Down Expand Up @@ -129,7 +130,7 @@ end

task "dist/VERSION.txt" do |t|
File.open(t.name, 'w') do |f|
f << %{shoes #{RELEASE_NAME.downcase} (0.r#{REVISION}) [#{SHOES_RUBY_ARCH} Ruby#{RUBY_V}]}
f << %{shoes #{RELEASE_NAME.downcase} (0.r#{REVISION}) [#{SHOES_RUBY_ARCH} Ruby#{RUBY_PROGRAM_VERSION}]}
%w[DEBUG].each { |x| f << " +#{x.downcase}" if ENV[x] }
f << "\n"
end
Expand Down

0 comments on commit b30ed20

Please sign in to comment.