Skip to content

Instantly share code, notes, and snippets.

@atz
Created March 28, 2016 21:55
Show Gist options
  • Save atz/fa1a2c48431e584f5af9 to your computer and use it in GitHub Desktop.
Save atz/fa1a2c48431e584f5af9 to your computer and use it in GitHub Desktop.
Engine cart generate errors in hydra-editor
Administrators-MacBook-Pro-9:hydra-editor atz$ rake engine_cart:clean
Removing sample rails app
Administrators-MacBook-Pro-9:hydra-editor atz$ rm Gemfile.lock
Administrators-MacBook-Pro-9:hydra-editor atz$ bundle
[EngineCart] Unable to find test application dependencies in /Users/atz/repos/hydra-editor/.internal_test_app/Gemfile, using placeholder dependencies
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...................................
Using rake 11.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types-data 3.2016.0221
Using multi_json 1.11.2
Using link_header 0.0.8
Using htmlentities 4.3.4
Using tilt 2.0.2
Using sxp 0.1.5
Using addressable 2.4.0
Using net-http-persistent 2.9.4
Using multipart-post 2.0.0
Using http_logger 0.5.1
Using slop 3.6.0
Using daemons 1.2.3
Using stomp 1.3.5
Using xml-simple 1.1.5
Using arel 6.0.3
Using execjs 2.6.0
Using bcrypt 3.1.11
Using sass 3.4.21
Using bundler 1.11.2
Using thor 0.19.1
Using concurrent-ruby 1.0.1
Using cancancan 1.13.1
Using orm_adapter 0.5.0
Using diff-lcs 1.2.5
Using ruby-progressbar 1.7.5
Using rspec-support 3.4.1
Using rubyzip 1.2.0
Using sqlite3 1.3.11
Using bcp47 0.3.3
Using tzinfo 1.2.2
Using rsolr 1.0.13
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using warden 1.2.6
Using mime-types 3.0
Using rdf 1.99.1
Using haml 4.0.7
Using faraday 0.9.2
Using autoprefixer-rails 6.3.5
Using sprockets 3.5.2
Using fcrepo_wrapper 0.3.4
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using solr_wrapper 0.7.3
Using activesupport 4.2.6
Using loofah 2.0.3
Using equivalent-xml 0.6.0
Using xpath 2.0.0
Using mail 2.6.4
Using json-ld 1.99.2
Using rdf-aggregate-repo 1.99.0
Using rdf-isomorphic 1.99.0
Using rdf-json 1.99.0
Using rdf-xsd 1.99.0
Using rdf-n3 1.99.0
Using ebnf 1.0.0
Using rdf-vocab 0.8.7.1
Using rdf-trix 1.99.0
Using sparql-client 1.99.0
Using bootstrap-sass 3.3.6
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.6
Using deprecation 0.2.2
Using nom-xml 0.5.4
Using solrizer 3.4.0
Using factory_girl 4.5.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.6.2
Using rdf-microdata 2.0.2
Using rdf-rdfa 1.99.0
Using rdf-turtle 1.99.0
Using rdf-tabular 0.3.0
Using sparql 1.99.1
Using rails-dom-testing 1.0.7
Using activejob 4.2.6
Using activerecord 4.2.6
Using om 3.1.0
Using rdf-rdfxml 1.99.0
Using rdf-reasoner 0.3.0
Using rdf-trig 1.99.0.1
Using actionview 4.2.6
Using linkeddata 1.99.0
Using actionpack 4.2.6
Using active-triples 0.7.5
Using ldp 0.5.0
Using actionmailer 4.2.6
Using kaminari 0.16.3
Using railties 4.2.6
Using sprockets-rails 3.0.4
Using simple_form 3.1.1
Using active-fedora 9.10.4
Using jquery-rails 4.1.1
Using responders 2.1.2
Using factory_girl_rails 4.6.0
Using rspec-rails 3.4.2
Using rails 4.2.6
Using sass-rails 5.0.4
Using twitter-typeahead-rails 0.11.1
Using devise 3.5.6
Using engine_cart 0.8.0
Using hydra-editor 1.2.0 from source at `/Users/atz/repos/hydra-editor`
Using blacklight 6.0.2
Using blacklight-access_controls 0.3.0
Using hydra-access-controls 9.9.0
Using hydra-core 9.9.0
Using hydra-head 9.9.0
Bundle complete! 13 Gemfile dependencies, 117 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Administrators-MacBook-Pro-9:hydra-editor atz$ rake engine_cart:generate
test_app
gemfile blacklight
gemfile hydra-head
run bundle install from "."
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...........
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
hydra-head was resolved to 3.0.0, which depends on
active-fedora (~> 3.0.7)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rails":
In snapshot (Gemfile.lock):
rails (= 4.2.6)
In Gemfile:
rails (= 4.2.6)
hydra-editor was resolved to 1.2.0, which depends on
rails (~> 4.1)
hydra-head was resolved to 3.1.1, which depends on
rails (~> 3.0.10)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.1.3, which depends on
hydra-core (= 9.1.3) was resolved to 9.1.3, which depends on
hydra-access-controls (= 9.1.3) was resolved to 9.1.3, which depends on
blacklight (~> 5.10) was resolved to 5.10.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
warning GENERATING BL
generate blacklight:install --devise
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-head was resolved to 5.4.1, which depends on
hydra-core (= 5.4.1) was resolved to 5.4.1, which depends on
active-fedora (~> 5.3)
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.5.0, which depends on
hydra-access-controls (= 9.5.0) was resolved to 9.5.0, which depends on
blacklight (~> 5.16) was resolved to 5.18.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
gsub app/controllers/application_controller.rb
warning GENERATING Hydra
generate hydra:head -f
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-head was resolved to 5.4.1, which depends on
hydra-core (= 5.4.1) was resolved to 5.4.1, which depends on
active-fedora (~> 5.3)
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.5.0, which depends on
hydra-access-controls (= 9.5.0) was resolved to 9.5.0, which depends on
blacklight (~> 5.16) was resolved to 5.18.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
rake db:migrate
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-head was resolved to 5.4.1, which depends on
hydra-core (= 5.4.1) was resolved to 5.4.1, which depends on
active-fedora (~> 5.3)
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.5.0, which depends on
hydra-access-controls (= 9.5.0) was resolved to 9.5.0, which depends on
blacklight (~> 5.16) was resolved to 5.18.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
rake db:test:prepare
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-head was resolved to 5.4.1, which depends on
hydra-core (= 5.4.1) was resolved to 5.4.1, which depends on
active-fedora (~> 5.3)
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.5.0, which depends on
hydra-access-controls (= 9.5.0) was resolved to 9.5.0, which depends on
blacklight (~> 5.16) was resolved to 5.18.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
insert config/routes.rb
insert app/models/ability.rb
/Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `binread': No such file or directory @ rb_sysopen - /Users/atz/repos/hydra-editor/.internal_test_app/app/models/ability.rb (Errno::ENOENT)
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in `replace!'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:in `invoke!'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/actions.rb:94:in `action'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:in `insert_into_file'
from /Users/atz/repos/hydra-editor/.internal_test_app/lib/generators/test_app_generator.rb:42:in `add_create_ability'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/generators.rb:157:in `invoke'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/generate.rb:13:in `<top (required)>'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:50:in `generate'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Bundler could not find compatible versions for gem "active-fedora":
In snapshot (Gemfile.lock):
active-fedora (= 9.10.4)
In Gemfile:
hydra-head was resolved to 5.4.1, which depends on
hydra-core (= 5.4.1) was resolved to 5.4.1, which depends on
active-fedora (~> 5.3)
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rsolr":
In snapshot (Gemfile.lock):
rsolr (= 1.1.1)
In Gemfile:
hydra-editor was resolved to 1.2.0, which depends on
active-fedora (>= 9.0.0) was resolved to 9.10.4, which depends on
rsolr (>= 1.0.10, ~> 1.0)
hydra-head was resolved to 9.5.0, which depends on
hydra-access-controls (= 9.5.0) was resolved to 9.5.0, which depends on
blacklight (~> 5.16) was resolved to 5.18.0, which depends on
rsolr (~> 1.0.11)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Done generating test app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment