Skip to content

Rails new fails on master 9e6c2be in Thor #2198

@mjc

Description

@mjc
$ rails new blankapp
NoMethodError: protected method `destination=' called for #<Thor::Actions::EmptyDirectory:0x6d842877>
       initialize at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb:36
  empty_directory at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb:14
      create_root at /Users/mjc/.gem/jruby/2.2.0/gems/railties-4.1.7/lib/rails/generators/app_base.rb:139
      create_root at (eval):1
              run at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27
   invoke_command at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126
       invoke_all at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133
             each at org/jruby/RubyHash.java:1355
              map at org/jruby/RubyEnumerable.java:745
       invoke_all at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133
         dispatch at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/group.rb:232
            start at /Users/mjc/.gem/jruby/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440
           (root) at /Users/mjc/.gem/jruby/2.2.0/gems/railties-4.1.7/lib/rails/commands/application.rb:17
          require at org/jruby/RubyKernel.java:954
           (root) at /Users/mjc/.rubies/jruby-head/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
          require at /Users/mjc/.rubies/jruby-head/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69
          require at org/jruby/RubyKernel.java:954
           (root) at /Users/mjc/.gem/jruby/2.2.0/gems/railties-4.1.7/lib/rails/cli.rb:14
           (root) at /Users/mjc/.rubies/jruby-head/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
             load at org/jruby/RubyKernel.java:969
       __script__ at /Users/mjc/.gem/jruby/2.2.0/bin/rails:23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions