Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Redmine
  3. Gem installation problem.

Gem installation problem.

Scheduled Pinned Locked Moved Solved Redmine
28 Posts 3 Posters 5.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girishG girish

      @neluser mm, I thought I had fixed this one already but clearly not. Let me try to reproduce this and get back.

      N Offline
      N Offline
      Neluser
      wrote on last edited by
      #3

      @girish OK thanks.
      I was also able to reproduce this problem on my.demo.cloudron.io

      1 Reply Last reply
      0
      • jegillikin 0J Offline
        jegillikin 0J Offline
        jegillikin 0
        wrote on last edited by
        #4

        +1 for reproducing this problem in the wild.

        1 Reply Last reply
        0
        • girishG girish

          @neluser mm, I thought I had fixed this one already but clearly not. Let me try to reproduce this and get back.

          N Offline
          N Offline
          Neluser
          wrote on last edited by
          #5

          @girish Hello, I saw that a new version of Redmine 4.2.2 (2021-08-01) has been released.
          Perhaps updating to the latest package will help fix the problem with the gems.

          girishG 1 Reply Last reply
          0
          • N Neluser

            @girish Hello, I saw that a new version of Redmine 4.2.2 (2021-08-01) has been released.
            Perhaps updating to the latest package will help fix the problem with the gems.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            @neluser I am working on the update. Should be out this week.

            N 2 Replies Last reply
            1
            • girishG girish

              @neluser I am working on the update. Should be out this week.

              N Offline
              N Offline
              Neluser
              wrote on last edited by
              #7

              @girish Ok, Thanks!

              1 Reply Last reply
              0
              • girishG girish

                @neluser I am working on the update. Should be out this week.

                N Offline
                N Offline
                Neluser
                wrote on last edited by
                #8

                @girish Hello, how is the update going? Is there an improvement in installing gems correctly?

                girishG 1 Reply Last reply
                0
                • N Neluser

                  @girish Hello, how is the update going? Is there an improvement in installing gems correctly?

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  @neluser apologies, I haven't forgotten this. I will work on this tomorrow.

                  N 1 Reply Last reply
                  0
                  • girishG girish

                    @neluser apologies, I haven't forgotten this. I will work on this tomorrow.

                    N Offline
                    N Offline
                    Neluser
                    wrote on last edited by
                    #10

                    @girish Hello again, how are the redmine updates progressing?

                    girishG 1 Reply Last reply
                    0
                    • N Neluser

                      @girish Hello again, how are the redmine updates progressing?

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #11

                      @neluser I have pushed out update to 4.2.2. But I don't think the redmine version upgrade will fix the gem installation problem. I made some progress today with trying to figure how to get gems to install out of the plugin directory that redmine can also use. I will continue the work tomorrow.

                      N 1 Reply Last reply
                      0
                      • girishG girish

                        @neluser I have pushed out update to 4.2.2. But I don't think the redmine version upgrade will fix the gem installation problem. I made some progress today with trying to figure how to get gems to install out of the plugin directory that redmine can also use. I will continue the work tomorrow.

                        N Offline
                        N Offline
                        Neluser
                        wrote on last edited by
                        #12

                        @girish Hello, unfortunately the update did not bring any improvements.
                        If this information helps, then the latest version on which the gems worked properly is, "Package Version org.redmine.coudronapp@1.6.2 ".
                        98e890ad-3162-4c69-a8fc-10685625810d-image.png

                        I have suspicions. that the problem might be with the Ruby version.
                        Because the latest working version of Redmine is installed with the Ruby version: "ruby 2.5.1". And the problems with gems started with the version: "ruby 2.7.0"

                        girishG 1 Reply Last reply
                        1
                        • N Neluser

                          @girish Hello, unfortunately the update did not bring any improvements.
                          If this information helps, then the latest version on which the gems worked properly is, "Package Version org.redmine.coudronapp@1.6.2 ".
                          98e890ad-3162-4c69-a8fc-10685625810d-image.png

                          I have suspicions. that the problem might be with the Ruby version.
                          Because the latest working version of Redmine is installed with the Ruby version: "ruby 2.5.1". And the problems with gems started with the version: "ruby 2.7.0"

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          @neluser thanks for the hint. Let me see if downgrading ruby will help, but it's a bit complicated because the default ruby on ubuntu 20 is ruby 2.7. Maybe I can try via rvm but I would rather not use older ruby if we can avoid it.

                          N 1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            Neluser
                            wrote on last edited by
                            #14
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • girishG girish

                              @neluser thanks for the hint. Let me see if downgrading ruby will help, but it's a bit complicated because the default ruby on ubuntu 20 is ruby 2.7. Maybe I can try via rvm but I would rather not use older ruby if we can avoid it.

                              N Offline
                              N Offline
                              Neluser
                              wrote on last edited by Neluser
                              #15

                              @girish Hello! Are there improvements in the bug fixes?
                              The Redmine website states that Ruby 2.7 is not supported. Need to use Ruby 2.7.2 or higher.
                              (Redmine 4.2 does not support Ruby 2.7.0 and 2.7.1. Use Ruby 2.7.2 or higher )
                              https://www.redmine.org/projects/redmine/wiki/RedmineInstall#fn1

                              c5f6ac72-22f8-457d-ae11-0a3d4c5bb565-image.png

                              girishG 2 Replies Last reply
                              0
                              • N Neluser

                                @girish Hello! Are there improvements in the bug fixes?
                                The Redmine website states that Ruby 2.7 is not supported. Need to use Ruby 2.7.2 or higher.
                                (Redmine 4.2 does not support Ruby 2.7.0 and 2.7.1. Use Ruby 2.7.2 or higher )
                                https://www.redmine.org/projects/redmine/wiki/RedmineInstall#fn1

                                c5f6ac72-22f8-457d-ae11-0a3d4c5bb565-image.png

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #16

                                @neluser you are right, the current app docker is not correct and should be updated to use rvm to install a more recent ruby. Looks like ubuntu 20 has ruby 2.7.0 out of the box.

                                root@6fb7aad07e35:/# ruby2.7 --version
                                ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
                                

                                I pushed the update to 4.2.3 already, I am updating it to use rvm now.

                                1 Reply Last reply
                                0
                                • girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #17

                                  Looks like https://www.brightbox.com/docs/ruby/ubuntu/#installation is easier

                                  1 Reply Last reply
                                  0
                                  • N Neluser

                                    @girish Hello! Are there improvements in the bug fixes?
                                    The Redmine website states that Ruby 2.7 is not supported. Need to use Ruby 2.7.2 or higher.
                                    (Redmine 4.2 does not support Ruby 2.7.0 and 2.7.1. Use Ruby 2.7.2 or higher )
                                    https://www.redmine.org/projects/redmine/wiki/RedmineInstall#fn1

                                    c5f6ac72-22f8-457d-ae11-0a3d4c5bb565-image.png

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #18

                                    @neluser I have fixed the ruby version issue now. On to the gem installation issue. I get the same error as you:

                                    root@e6152e31-acac-4353-a1c4-8ceab636eed8:/app/code# bundle exec rake redmine:plugins RAILS_ENV=production
                                    Could not find gem 'redmine_crm' in locally installed gems.
                                    Run `bundle install` to install missing gems.
                                    root@e6152e31-acac-4353-a1c4-8ceab636eed8:/app/code# bundle exec rake redmine:plugins NAME=redmine_contacts RAILS_ENV=production
                                    Could not find gem 'redmine_crm' in locally installed gems.
                                    Run `bundle install` to install missing gems.
                                    
                                    N 1 Reply Last reply
                                    0
                                    • girishG girish

                                      @neluser I have fixed the ruby version issue now. On to the gem installation issue. I get the same error as you:

                                      root@e6152e31-acac-4353-a1c4-8ceab636eed8:/app/code# bundle exec rake redmine:plugins RAILS_ENV=production
                                      Could not find gem 'redmine_crm' in locally installed gems.
                                      Run `bundle install` to install missing gems.
                                      root@e6152e31-acac-4353-a1c4-8ceab636eed8:/app/code# bundle exec rake redmine:plugins NAME=redmine_contacts RAILS_ENV=production
                                      Could not find gem 'redmine_crm' in locally installed gems.
                                      Run `bundle install` to install missing gems.
                                      
                                      N Offline
                                      N Offline
                                      Neluser
                                      wrote on last edited by
                                      #19

                                      @girish Hi, I also tried to change Ruby version via brightbox to 2.6. But after every reboot of the application, Ruby reverts to version 2.7.0.😕

                                      girishG 1 Reply Last reply
                                      0
                                      • N Neluser

                                        @girish Hi, I also tried to change Ruby version via brightbox to 2.6. But after every reboot of the application, Ruby reverts to version 2.7.0.😕

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #20

                                        @neluser It's not a ruby version issue, it's to do with gem locations. I am still debugging why it can't find the gem anymore, because this used to work before.

                                        N 1 Reply Last reply
                                        0
                                        • girishG girish

                                          @neluser It's not a ruby version issue, it's to do with gem locations. I am still debugging why it can't find the gem anymore, because this used to work before.

                                          N Offline
                                          N Offline
                                          Neluser
                                          wrote on last edited by Neluser
                                          #21

                                          @girish I noticed that the path has changed in the new version.
                                          Before update
                                          ced67517-9a20-48e1-ad2d-9577aac64fb5-image.png
                                          after update
                                          d87a686b-ac9e-4939-a6a1-1a931f708270-image.png

                                          1 Reply Last reply
                                          1
                                          • girishG Offline
                                            girishG Offline
                                            girish
                                            Staff
                                            wrote on last edited by
                                            #22

                                            Alright, I am back on this case now. It seems I have re-learn how ruby/gems are deployed each time I investigate this. So, I will leave some notes this time around to help us all later.

                                            1 Reply Last reply
                                            1
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search