cbeer / engine_cart

Rake tasks to generate test applications for Rails Engines
MIT License
18 stars 16 forks source link

When version is passed, it fails to create. #45

Closed jcoyne closed 8 years ago

jcoyne commented 8 years ago
Errno::ENOENT: No such file or directory @ sys_fail2 - (/var/folders/qs/vbqrmjh91kv6q_w0zj977_sc0000gn/T/d20160106-68686-jgl24s/internal, .internal_test_app)
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:527:in `rename'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:527:in `block in mv'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:1570:in `block in fu_each_src_dest'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:1586:in `fu_each_src_dest0'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:1568:in `fu_each_src_dest'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/fileutils.rb:516:in `mv'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/engine_cart-0.8.1/lib/engine_cart/tasks/engine_cart.rake:46:in `block (3 levels) in <top (required)>'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/2.2.0/tmpdir.rb:88:in `mktmpdir'
/Users/justin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/engine_cart-0.8.1/lib/engine_cart/tasks/engine_cart.rake:30:in `block (2 levels) in <top (required)>'

When you run /Users/justin/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/railties-4.2.5/bin/rails _4.2.5_ new internal --skip-spring it gives you the usage method. rather than the stub generated by rubygems (https://github.com/rubygems/rubygems/blob/56ed2710c27d8fc7744fb3dcb44849ae85433e12/lib/rubygems/installer.rb#L698)