Maybe the new installed ruby is not in the path for oneadmin user and
it is using an older ruby installation without rubygems. Can you check
that?

2011/11/3 刘德伟 <liude...@neusoft.com>
>
>
> Hi,
> ozones-server start is running in OpenNebula3.0.
> Before installation, perform commands are error.
> ruby1.9 installed by Ozones-server document  explain.
> Wget < http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz >
> Decompression and compiles ruby
> Tar ZXVF ruby-1.9.2-p290. Tar. Gz
> CD ruby-1.9.2-p290
> . / configure-prefix = / usr/local/ruby192
> make
> Make install
> In/etc/profile finally add
> Export PATH = / usr/local/ruby192 / bin: $PATH
> Save, executive
> Source/etc/profile
> Check ruby version
> Ruby-v  is ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
> Download rubygems1.8.10
> Wget < http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz >
> Decompression and install rubygems
> Tar ZXVF rubygems-1.8.10. TGZ
> CD rubygems-1.8.10
> Ruby setup. Rb
> After installation with gem-v can check version is 1.8.11
> The above process installation termination 。
>
> Executive onevdc onezone or command prompts the following error :
> opt/nebula/ONE/lib/ruby/OZonesClient.rb:195: warning: parenthesize argument(s) for future version
> /opt/nebula/ONE/lib/ruby/OZonesClient.rb:17:in `require': no such file to load -- rubygems (LoadError)
> from /opt/nebula/ONE/lib/ruby/OZonesClient.rb:17
> from /opt/nebula/ONE/lib/ruby/cli/ozones_helper.rb:1:in `require'
> from /opt/nebula/ONE/lib/ruby/cli/ozones_helper.rb:1
> from /opt/nebula/ONE/lib/ruby/cli/ozones_helper/zones_helper.rb:1:in `require'
> from /opt/nebula/ONE/lib/ruby/cli/ozones_helper/zones_helper.rb:1
> from /opt/nebula/ONE/bin/onezone:15:in `require'
> from /opt/nebula/ONE/bin/onezone:15
>
> How to solve this problem ?
> Hope to get your reply as soon as possible!
>
> regards!
> thanks!
>
>
> 2011-11-03
> ________________________________
> yotta
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any 
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be 
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
> this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, 
> disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this 
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original 
> message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to