vinsol-spree-contrib / spree_admin_roles_and_access

Admin Roles And Access for Spree
BSD 3-Clause "New" or "Revised" License
43 stars 101 forks source link

Error when running install #3

Closed christygithub closed 10 years ago

christygithub commented 10 years ago

Here is my error when I run : bundle exec rails g spree_admin_roles_and_access:install

Using Rails 4 and Spree 2-2

append app/assets/javascripts/store/all.js /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:99:in binread': No such file or directory - /Users/byrne/Dev/Rails/store/app/assets/javascripts/store/all.js (Errno::ENOENT) from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:99:inreplace!' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:60:in invoke!' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions.rb:95:inaction' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb:31:in insert_into_file' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/actions/file_manipulation.rb:181:inappend_to_file' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/spree_admin_roles_and_access-1.1.0/lib/generators/spree_admin_roles_and_access/install/install_generator.rb:8:in add_javascripts' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/command.rb:27:inrun' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:120:in invoke_command' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:127:inblock in invoke_all' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:127:in each' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:127:inmap' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:127:in invoke_all' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/group.rb:233:indispatch' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/base.rb:439:in start' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.3/lib/rails/generators.rb:156:ininvoke' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.3/lib/rails/commands/generate.rb:11:in <top (required)>' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/polyglot-0.3.4/lib/polyglot.rb:65:inrequire' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/polyglot-0.3.4/lib/polyglot.rb:65:in require' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:inblock in require' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in load_dependency' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:inrequire' from /Users/byrne/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.3/lib/rails/commands.rb:48:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `

'

GEMFILE source 'https://rubygems.org'

Bundle edge Rails instead: gem 'rails', github: 'rails/rails'

gem 'rails', '4.0.3'

Use sqlite3 as the database for Active Record

gem 'sqlite3'

Use SCSS for stylesheets

gem 'sass-rails', '~> 4.0.0'

Use Uglifier as compressor for JavaScript assets

gem 'uglifier', '>= 1.3.0'

Use CoffeeScript for .js.coffee assets and views

gem 'coffee-rails', '~> 4.0.0' gem 'carrierwave' gem 'rmagick'

See https://github.com/sstephenson/execjs#readme for more supported runtimes

gem 'therubyracer', platforms: :ruby

Use jquery as the JavaScript library

gem 'jquery-rails'

Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks

gem 'turbolinks'

Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder

gem 'jbuilder', '~> 1.2'

group :doc do

bundle exec rake doc:rails generates the API under doc/api.

gem 'sdoc', require: false end

gem 'spree', github: 'spree/spree', branch: '2-2-stable' gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-2-stable' gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-2-stable' gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-2-stable'

nishant-cyro commented 10 years ago

@christygithub - Fixed! Please use the new version for spree 2.2.