[macruby-changes] [702] MacRuby/trunk/lib/hotcocoa/application_builder.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Nov 2 21:18:52 PST 2008
Revision: 702
http://trac.macosforge.org/projects/ruby/changeset/702
Author: rich at infoether.com
Date: 2008-11-02 21:18:52 -0800 (Sun, 02 Nov 2008)
Log Message:
-----------
display filepath of rakefile
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/application_builder.rb
Modified: MacRuby/trunk/lib/hotcocoa/application_builder.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/application_builder.rb 2008-11-03 05:18:32 UTC (rev 701)
+++ MacRuby/trunk/lib/hotcocoa/application_builder.rb 2008-11-03 05:18:52 UTC (rev 702)
@@ -41,7 +41,9 @@
def self.build(config)
unless config.kind_of?(Configuration)
- puts "Your Rakefile needs to be updated. Please copy the Rakefile from"
+ require 'rbconfig'
+ puts "Your Rakefile needs to be updated. Please copy the Rakefile from:"
+ puts File.expand_path(File.join(Config::CONFIG['datadir'], "hotcocoa_template", "Rakefile"))
exit
end
builder = new
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081102/ec25b1f3/attachment.html>
More information about the macruby-changes
mailing list