Roll back RhoConnect version on Ubuntu

M Mark Mayer 3 years 5 months ago
0 2 0

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?

Please Register or Login to post a reply

2 Replies

M 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 `'

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 `'

M Mark Mayer

line 36 from customer_require.rb is "gem_original_require path" and extconf.rb is a file I cannot find but grep finds a string match:

./1.9.1/rubygems/installer.rb:496:  # Builds extensions.  Valid types of extensions are extconf.rb files,
./1.9.1/rubygems/installer.rb:510:                when /extconf/ then

CONTACT
Can’t find what you’re looking for?