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

./bin/seed errors out when trying to get bucket #2

Open
rberger opened this issue Apr 3, 2016 · 1 comment
Open

./bin/seed errors out when trying to get bucket #2

rberger opened this issue Apr 3, 2016 · 1 comment

Comments

@rberger
Copy link

rberger commented Apr 3, 2016

When I try to run ./bin/seed for the first time it errors out:

[InfraRepo]: Write stable asset to bucket... writing
/Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-aws-0.3.2/lib/miasma/contrib/aws/storage.rb:164:in `join': no implicit conversion of nil into String (TypeError)
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-aws-0.3.2/lib/miasma/contrib/aws/storage.rb:164:in `bucket_endpoint'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-aws-0.3.2/lib/miasma/contrib/aws/storage.rb:223:in `block in file_all'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-aws-0.3.2/lib/miasma/contrib/aws/storage.rb:33:in `all_result_pages'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-aws-0.3.2/lib/miasma/contrib/aws/storage.rb:219:in `file_all'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/models/storage/files.rb:50:in `perform_population'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/types/collection.rb:22:in `block in all'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/bogo-0.2.4/lib/bogo/memoization.rb:64:in `memoize'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/types/collection.rb:21:in `all'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/types/collection.rb:108:in `perform_get'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/types/collection.rb:40:in `block in get'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/bogo-0.2.4/lib/bogo/memoization.rb:64:in `memoize'
    from /Users/rberger/.rvm/gems/ruby-2.3.0/gems/miasma-0.3.2/lib/miasma/types/collection.rb:39:in `get'
    from ./bin/seed:201:in `<main>'
@rberger
Copy link
Author

rberger commented Apr 5, 2016

Looks like something in the infrastructure-repository bin/seed doen't like miasma-aws > 0.2.x.

I locked the Gemfile entry for miasma-aws to 0.2.4 (the last release before 0.3) and it works fine.

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