Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while running spree_importer:install command #31

Open
aditya-kapoor opened this issue Mar 31, 2015 · 0 comments
Open

Errors while running spree_importer:install command #31

aditya-kapoor opened this issue Mar 31, 2015 · 0 comments

Comments

@aditya-kapoor
Copy link

bundle exec rails g spree_importer:install
      append  db/seeds.rb
      append  app/assets/javascripts/store/all.js
/Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `binread': No such file or directory @ rb_sysopen - /Users/aditya/Practice/sunray/dlr/app/assets/javascripts/store/all.js (Errno::ENOENT)
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `replace!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:in `invoke!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:in `insert_into_file'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb:180:in `append_to_file'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/bundler/gems/spree_importer-5c7c8af2d4c7/lib/generators/spree_importer/install/install_generator.rb:13:in `add_javascripts'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/generators.rb:157:in `invoke'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/generate.rb:13:in `<top (required)>'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:50:in `generate'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /Users/aditya/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:8:in `require'
    from bin/rails:8:in `<main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant