Dear Javier, I have this error message and not to sure what to do;-
[root@snode10 market]# su - oneadmin [oneadmin@snode10 ~]$ cd /usr/lib/one/ruby/oneapps/market [oneadmin@snode10 market]$ sudo gem install mime-types --version '< 2.0' Successfully installed mime-types-1.25.1 Installing ri documentation for mime-types-1.25.1 /usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block /usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block Done installing documentation for mime-types after 0 seconds 1 gem installed [oneadmin@snode10 market]$ sudo bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from http://rubygems.org/......... Fetching additional metadata from http://rubygems.org/.. Resolving dependencies... Using bcrypt 3.1.7 Using bcrypt-ruby 3.1.5 Using bson 1.10.2 Using bson_ext 1.10.2 Using diff-lcs 1.2.5 Using tilt 1.4.1 Using haml 4.0.5 Using json 1.8.1 Gem::InstallError: mime-types requires Ruby version >= 1.9.2. An error occurred while installing mime-types (2.3), and Bundler cannot continue. Make sure that `gem install mime-types -v '2.3'` succeeds before bundling. [oneadmin@snode10 market]$ you kindly help much appreciate Regards & Best Wishes, *.: Amier Anis :.* Mobile: +6012-260-0819 ------------------------------ IMPORTANT: This e-mail (including any attachment hereto) is intended solely for the addressee and is confidential and privileged. If this should have been sent to you in error, you are not to reproduce, distribute or take any action in reliance on it. Kindly notify us and delete the e-mail and all attachments immediately. As e-mail and/or attachments may contain viruses and other interfering or damaging elements, the receipt and/or downloading of e-mail and/or attachments will be at your own risk and we accept no liability for any damage sustained as a result of any such viruses; you should carry out your own virus checks before opening any attachment. On Wed, Jun 25, 2014 at 6:10 PM, Javier Fontan <jfon...@opennebula.org> wrote: > You can try installing a mime-types gem compatible with 1.8.7 before > executing bundle install: > > $ sudo gem install mime-types --version '< 2.0' > > After that bundle install should not complain about the version. > > > On Wed, Jun 25, 2014 at 4:02 AM, Amier Anis <myma...@gmail.com> wrote: > >> *Dear List,* >> >> My current production env using OpenNebula 4.6.2 (centos 6.5). >> >> I tried to install AppMarket Server but failed with >> >> Gem::InstallError: mime-types requires Ruby version >= 1.9.2. >> An error occurred while installing mime-types (2.3), and Bundler cannot >> continue. >> Make sure that `gem install mime-types -v '2.3'` succeeds before bundling. >> >> any one can help me how to upgrade ruby from 1.8.7 to 1.9.2? >> >> Thanks you. >> >> Regards & Best Wishes, >> >> >> *.: Amier Anis :.* >> Mobile: +6012-260-0819 >> ------------------------------ >> IMPORTANT: >> This e-mail (including any attachment hereto) is intended solely for the >> addressee and is confidential and privileged. If this should have been sent >> to you in error, you are not to reproduce, distribute or take any action in >> reliance on it. Kindly notify us and delete the e-mail and all attachments >> immediately. >> >> As e-mail and/or attachments may contain viruses and other interfering or >> damaging elements, the receipt and/or downloading of e-mail and/or >> attachments will be at your own risk and we accept no liability for any >> damage sustained as a result of any such viruses; you should carry out your >> own virus checks before opening any attachment. >> >> _______________________________________________ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > > -- > Javier Fontán Muiños > Developer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | @OpenNebula | github.com/jfontan >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org