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

The bundle currently has rails locked at 6.0.4.1. #54

Closed
x1wins opened this issue Aug 26, 2021 · 1 comment
Closed

The bundle currently has rails locked at 6.0.4.1. #54

x1wins opened this issue Aug 26, 2021 · 1 comment
Assignees
Labels
dependencies Pull requests that update a dependency file rails 6.1 rails version upgrade system-error

Comments

@x1wins
Copy link
Owner

x1wins commented Aug 26, 2021

i got error message when update rails 6.0 to 6.1

 % docker-compose --env-file .env.dev.s3 up --build -d
Creating network "cw-ovp_cw_ovp_network" with driver "bridge"
Building web
[+] Building 104.7s (14/18)                                                                                                                                                                                 
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 37B                                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 34B                                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/ruby:2.6.3                                                                                                                                          0.0s
 => [ 1/14] FROM docker.io/library/ruby:2.6.3                                                                                                                                                          0.0s
 => [internal] load build context                                                                                                                                                                     47.4s
 => => transferring context: 1.50GB                                                                                                                                                                   47.0s
 => CACHED [ 2/14] RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&     echo "deb https://dl.yarnpkg.com/debia  0.0s
 => CACHED [ 3/14] RUN apt-get update &&     apt-get install -y         python3         python3-pip         python3-setuptools         groff         less     && pip3 install --upgrade pip     && ap  0.0s
 => CACHED [ 4/14] RUN pip3 --no-cache-dir install --upgrade awscli                                                                                                                                    0.0s
 => CACHED [ 5/14] RUN mkdir /myapp                                                                                                                                                                    0.0s
 => CACHED [ 6/14] RUN mkdir /storage                                                                                                                                                                  0.0s
 => CACHED [ 7/14] WORKDIR /myapp                                                                                                                                                                      0.0s
 => [ 8/14] COPY . /myapp                                                                                                                                                                             43.8s
 => [ 9/14] RUN gem update --system                                                                                                                                                                    7.1s
 => ERROR [10/14] RUN bundle install                                                                                                                                                                   6.2s 
------                                                                                                                                                                                                      
 > [10/14] RUN bundle install:                                                                                                                                                                              
#14 2.947 Fetching gem metadata from https://rubygems.org/............                                                                                                                                      
#14 6.073 You have requested:                                                                                                                                                                               
#14 6.073   rails ~> 6.1, >= 6.1.4.1                                                                                                                                                                        
#14 6.073 
#14 6.073 The bundle currently has rails locked at 6.0.4.1.
#14 6.073 Try running `bundle update rails`
#14 6.073 
#14 6.073 If you are updating multiple gems in your Gemfile at once,
#14 6.073 try passing them all to `bundle update`
------
executor failed running [/bin/sh -c bundle install]: exit code: 7
ERROR: Service 'web' failed to build : Build failed
@x1wins
Copy link
Owner Author

x1wins commented Aug 26, 2021

Solution

% rm -rf Gemfile.lock 

@x1wins x1wins closed this as completed Aug 26, 2021
@x1wins x1wins self-assigned this Aug 26, 2021
@x1wins x1wins added dependencies Pull requests that update a dependency file rails 6.1 rails version upgrade system-error labels Aug 26, 2021
x1wins added a commit that referenced this issue Aug 26, 2021
- % rm -rf Gemfile.lock
- #54
cool1209 pushed a commit to cool1209/cw_ovp that referenced this issue Jan 24, 2023
- % rm -rf Gemfile.lock
- x1wins/CW-OVP#54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rails 6.1 rails version upgrade system-error
Projects
None yet
Development

No branches or pull requests

1 participant