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

docker-compose configuration out of date #2108

Closed
ghost opened this issue Feb 28, 2021 · 3 comments
Closed

docker-compose configuration out of date #2108

ghost opened this issue Feb 28, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 28, 2021

Unable to run simple-server with current docker-compose config, which still based on ruby:2.5.1

$ docker-compose up
Your Ruby version is 2.5.1, but your Gemfile specified 2.6.6
ERROR: Service 'server' failed to build: The command '/bin/sh -c bundle _1.17.3_ install' returned a non-zero code: 18

After setting specified ruby 2.6.6 version, docker-compose setup almost finished except the following error:

server_1    | Seeding Facilities: |==========================================================|
server_1    | ⭐️  Seed complete! Elasped time less than a minute ⭐️
server_1    | rails aborted!
server_1    | ArgumentError: invalid uri scheme ''
server_1    | /usr/local/bundle/gems/redis-4.1.4/lib/redis/client.rb:439:in `_parse_options'
server_1    | /usr/local/bundle/gems/redis-4.1.4/lib/redis/client.rb:83:in `initialize'
server_1    | /usr/local/bundle/gems/redis-4.1.4/lib/redis.rb:44:in `new'
server_1    | /usr/local/bundle/gems/redis-4.1.4/lib/redis.rb:44:in `initialize'

server_1    | Tasks: TOP => db:refresh_materialized_views
server_1    | (See full trace by running task with --trace)

Seems like REDIS_URL isn't set properly or missing.

@benryder1988
Copy link
Contributor

Thanks for raising the issue - I have some time this week and will look into it!

@benryder1988
Copy link
Contributor

benryder1988 commented Jul 21, 2021

This should now have been fixed in the following pull request: #2739

benryder1988 added a commit to benryder1988/simple-server that referenced this issue Jul 21, 2021
@rsanheim
Copy link
Contributor

Fixed in #2739. Thanks!

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

2 participants