Update docker images for dev enviroment. Ruby is 2.7.1. #54

Closed
opened 2021-02-11 14:05:01 +00:00 by kawaiipunk · 3 comments
Owner

autonomiczone_jekyll_1 is out of date?

I'm getting this:

docker-compose up
Starting autonomiczone_jekyll_1 ... done
Attaching to autonomiczone_jekyll_1
jekyll_1  | ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl]
jekyll_1  | /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/definition.rb:495:in `validate_ruby!': Your Ruby version is 2.7.1, but your Gemfile specified 2.7.2 (Bundler::RubyVersionMismatch)
jekyll_1  | 	from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/definition.rb:470:in `validate_runtime!'
jekyll_1  | 	from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler.rb:143:in `setup'
jekyll_1  | 	from /usr/gem/gems/jekyll-4.1.0/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
jekyll_1  | 	from /usr/gem/gems/jekyll-4.1.0/exe/jekyll:11:in `<top (required)>'
jekyll_1  | 	from /usr/gem/bin/jekyll:23:in `load'
jekyll_1  | 	from /usr/gem/bin/jekyll:23:in `<main>'
autonomiczone_jekyll_1 exited with code 1
autonomiczone_jekyll_1 is out of date? I'm getting this: ``` docker-compose up Starting autonomiczone_jekyll_1 ... done Attaching to autonomiczone_jekyll_1 jekyll_1 | ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl] jekyll_1 | /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/definition.rb:495:in `validate_ruby!': Your Ruby version is 2.7.1, but your Gemfile specified 2.7.2 (Bundler::RubyVersionMismatch) jekyll_1 | from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler/definition.rb:470:in `validate_runtime!' jekyll_1 | from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/lib/bundler.rb:143:in `setup' jekyll_1 | from /usr/gem/gems/jekyll-4.1.0/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler' jekyll_1 | from /usr/gem/gems/jekyll-4.1.0/exe/jekyll:11:in `<top (required)>' jekyll_1 | from /usr/gem/bin/jekyll:23:in `load' jekyll_1 | from /usr/gem/bin/jekyll:23:in `<main>' autonomiczone_jekyll_1 exited with code 1 ```
kawaiipunk added the
bug
label 2021-02-11 14:05:01 +00:00
kawaiipunk changed title from Update docker images for dev enviroment to Update docker images for dev enviroment. Ruby is 2.7.1. 2021-02-11 14:05:53 +00:00
Owner

Hey you might still have the old images? Run docker-compose down and then run the up command. Also make you have a fresh copy with a git pull. The gemfile/ruby version out-of-sync issues were fixed recently.

Hey you might still have the old images? Run `docker-compose down` and then run the `up` command. Also make you have a fresh copy with a `git pull`. The gemfile/ruby version out-of-sync issues were fixed recently.
Author
Owner

so I tried that and it didn't help.

Error now:

docker-compose up
Starting autonomiczone_jekyll_1 ... done
Attaching to autonomiczone_jekyll_1
jekyll_1  | Your Ruby version is 2.7.1, but your Gemfile specified 2.7.2
autonomiczone_jekyll_1 exited with code 18

However I just realised I had only master branch recently and not main.

so I tried that and it didn't help. Error now: ``` docker-compose up Starting autonomiczone_jekyll_1 ... done Attaching to autonomiczone_jekyll_1 jekyll_1 | Your Ruby version is 2.7.1, but your Gemfile specified 2.7.2 autonomiczone_jekyll_1 exited with code 18 ``` However I just realised I had only `master` branch recently and not `main`.
Author
Owner

That worked!

Just ran:
git checkout main
git branch -d master

Closing.

That worked! Just ran: `git checkout main` `git branch -d master` Closing.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/autonomic.zone#54
No description provided.