Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

backbone:install with --namespace option causes Error #31

Closed
calebhearth opened this issue Aug 3, 2012 · 2 comments
Closed

backbone:install with --namespace option causes Error #31

calebhearth opened this issue Aug 3, 2012 · 2 comments

Comments

@calebhearth
Copy link

I'm not entirely sure that this is backbone-on-rails' fault, but I just saw this error come up after installing the gem for the first time and running backbone:install with the --namespace option and got this error:

rails g backbone:install --namespace document_library
      append  app/assets/javascripts/application.js
      create  app/assets/javascripts/document_library/collections
      create  app/assets/javascripts/document_library/models
      create  app/assets/javascripts/document_library/routers
      create  app/assets/javascripts/document_library/views
      create  app/assets/templates/document_library
      create  app/assets/javascripts/document_library/backbone_test_project.js.coffee
/home/caleb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/minitest/unit.rb:581:in `block in process_args': invalid option: --namespace (OptionParser::InvalidOption)
    from /home/caleb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/minitest/unit.rb:560:in `new'
    from /home/caleb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/minitest/unit.rb:560:in `process_args'
    from /home/caleb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/minitest/unit.rb:591:in `run'
    from /home/caleb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/minitest/unit.rb:508:in `block in autorun'

Feel free to close if you think this is a minitest or a Rails issue rather than one with backbone-on-rails.

@meleyal
Copy link
Owner

meleyal commented Sep 5, 2012

Can you check which version of the gem you're using? (cat Gemfile.lock | grep backbone-on-rails)

@meleyal
Copy link
Owner

meleyal commented Oct 21, 2012

I removed the --namespace option for now, see here: #36

@meleyal meleyal closed this as completed Oct 21, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants