{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/2323","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/2323/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/2323/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/2323/events","html_url":"https://github.com/projecthydra/sufia/issues/2323","id":164117134,"number":2323,"title":"Cannot run sufia:install generator in Sufia 7.0.0.beta4","user":{"login":"electrickite","id":3449824,"avatar_url":"https://avatars.githubusercontent.com/u/3449824?v=3","gravatar_id":"","url":"https://api.github.com/users/electrickite","html_url":"https://github.com/electrickite","followers_url":"https://api.github.com/users/electrickite/followers","following_url":"https://api.github.com/users/electrickite/following{/other_user}","gists_url":"https://api.github.com/users/electrickite/gists{/gist_id}","starred_url":"https://api.github.com/users/electrickite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrickite/subscriptions","organizations_url":"https://api.github.com/users/electrickite/orgs","repos_url":"https://api.github.com/users/electrickite/repos","events_url":"https://api.github.com/users/electrickite/events{/privacy}","received_events_url":"https://api.github.com/users/electrickite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T16:21:45Z","updated_at":"2016-07-06T16:39:58Z","closed_at":null,"body":"### Descriptive summary\r\n\r\nCannot run sufia:install generator in Sufia 7.0.0.beta4 or latest Sufia 7 HEAD. \r\n\r\n### Expected behavior\r\n\r\nRun `rails generate sufia:install -f`\r\nGenerator runs successfully with no errors.\r\n\r\n### Actual behavior\r\n\r\nGenerator throws several errors while running, from the noid rake task.\r\n\r\n```rake aborted!\r\nNoMethodError: undefined method `gem_dir' for nil:NilClass\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/sufia-7.0.0.beta4/tasks/noid.rake:3:in `<top (required)>'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/sufia-7.0.0.beta4/lib/sufia/engine.rb:24:in `block in <class:Engine>'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/railtie.rb:237:in `instance_exec'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/railtie.rb:237:in `block in run_tasks_blocks'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/railtie.rb:245:in `each'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/railtie.rb:245:in `each_registered_block'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/railtie.rb:237:in `run_tasks_blocks'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/engine.rb:657:in `run_tasks_blocks'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/application.rb:451:in `block in run_tasks_blocks'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/engine/railties.rb:13:in `each'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/engine/railties.rb:13:in `each'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/application.rb:451:in `run_tasks_blocks'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/railties-4.2.6/lib/rails/engine.rb:453:in `load_tasks'\r\n/Users/hinshaw.25/projects/dcs/Rakefile:6:in `<top (required)>'\r\n/Users/hinshaw.25/.gem/ruby/2.3.1/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'\r\n(See full trace by running task with --trace)```\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. `rails new sufia7`\r\n2. `cd sufia7`\r\n3. `echo \"gem 'sufia', '7.0.0.beta4'\" >> Gemfile`\r\n4. `bundle install`\r\n5. `rails generate sufia:install -f`\r\n\r\n### Related work\r\n\r\nBecause the `active_fedora-noid` gem is specified with a pre-release version (2.0.0.beta1), this may be related to a Rubygems bug: https://github.com/rubygems/rubygems/issues/988"},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/230831332","html_url":"https://github.com/projecthydra/sufia/issues/2323#issuecomment-230831332","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/2323","id":230831332,"user":{"login":"electrickite","id":3449824,"avatar_url":"https://avatars.githubusercontent.com/u/3449824?v=3","gravatar_id":"","url":"https://api.github.com/users/electrickite","html_url":"https://github.com/electrickite","followers_url":"https://api.github.com/users/electrickite/followers","following_url":"https://api.github.com/users/electrickite/following{/other_user}","gists_url":"https://api.github.com/users/electrickite/gists{/gist_id}","starred_url":"https://api.github.com/users/electrickite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrickite/subscriptions","organizations_url":"https://api.github.com/users/electrickite/orgs","repos_url":"https://api.github.com/users/electrickite/repos","events_url":"https://api.github.com/users/electrickite/events{/privacy}","received_events_url":"https://api.github.com/users/electrickite/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T16:39:58Z","updated_at":"2016-07-06T16:39:58Z","body":"A workaround is to specify that `active_fedora-noid` is pulled from git in your `Gemfile`. Right now, the version is 2.0.0.beta1, which is commit 8107a47\r\n\r\n`gem 'active_fedora-noid', :git => 'https://github.com/projecthydra-labs/active_fedora-noid.git', ref: '8107a47121919ab250784b22e6ee7b066fa711db'`"}}
{"actor":{"display_login":"electrickite"}}