And for

> I have tried to execute this command by several users at the same time: 
> "hobo new prueba --setup" 
> It will not work unless each user does it when nobody else is doing it. 

, that's probably due to name clashing of temporary files.  Here's a
quick hack:

--- 
.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/hobo_support-2.0.1/lib/hobo_support/command.rb.orig
     2013-07-25 05:25:07.310728393 +0900
+++ 
.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/hobo_support-2.0.1/lib/hobo_support/command.rb
  2013-07-25 05:25:25.394709909 +0900
@@ -85,7 +85,7 @@
                              :wizard
                            end
           end
-          template_path = File.join Dir.tmpdir, "hobo_app_template"
+          template_path = File.join Dir.tmpdir, "hobo_app_template-#{$$}"
           File.open(template_path, 'w') do |file|
             if ENV["HOBODEV"]
               dev_root = File.expand_path ENV["HOBODEV"], FileUtils.pwd
@@ -170,7 +170,7 @@
             return
           end
           plugin_name = ARGV.shift
-          template_path = File.join Dir.tmpdir, "hobo_plugin_template"
+          template_path = File.join Dir.tmpdir, "hobo_plugin_template-#{$$}"
           File.open(template_path, 'w') do |file|
             source_path = 
File.expand_path('../../generators/plugin/templates', __FILE__)
             file.puts %(

-----
Tomoaki Hayasaka <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to