4 Replies Latest reply on Jul 23, 2014 10:16 AM by Mark Mayer

    Roll back RhoConnect version on Ubuntu

    Mark Mayer

      I've installed RhoConnect v5.0.0 on an Ubuntu server via "deb http://rhoconnect.s3.amazonaws.com/packages/deb rhoconnect main" in my sources.list, ideally I'd like RhoConnect v4.1.0, is there a way to roll back from 5 to 4.1?

        • Re: Roll back RhoConnect version on Ubuntu
          Mark Mayer

          Note: "sudo /opt/rhoconnect/bin/gem uninstall rhoconnect" does not give me a version to remove, it just uninstalls v5.0

           

          Also, if I purge rhoconnect "sudo apt-get purge rhoconnect" and download the rhoconnect-4.1.0.gem from the bucket listing at http://rhomobile-suite.s3.amazonaws.com/index.html and then try to install it (with ruby installed after the purge) "gem install rhoconnect-4.1.0.gem", this is my output:

           

           

          root@RHO4QUA:/home/uhsmobile# gem install rhoconnect-4.1.0.gem

          Building native extensions.  This could take a while...

          ERROR:  Error installing rhoconnect-4.1.0.gem:

                  ERROR: Failed to build gem native extension.

           

                  /usr/bin/ruby1.9.1 extconf.rb

          /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)

                  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'

                  from extconf.rb:1:in `<main>'

           

           

          Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.8.1 for inspection.

          Results logged to /var/lib/gems/1.9.1/gems/json-1.8.1/ext/json/ext/generator/gem_make.out

           

          and here is the log file contents:

           

          root@RHO4QUA:/var/lib/gems/1.9.1/gems/json-1.8.1/ext/json/ext/generator# cat gem_make.out

          /usr/bin/ruby1.9.1 extconf.rb

          /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)

                  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'

                  from extconf.rb:1:in `<main>'