Re: webvz - 3 new messages in 2 topics - digest

1 view
Skip to first unread message

Gabor Laszlo

unread,
Mar 16, 2009, 10:50:38 AM3/16/09
to webvz group
> Hi there
>
> Thanks for your email
> The fact is that webvz does not run on latest ruby on rails version. I am
> working on updating it. There will be a release soon.
>
> The tutorial lets u install the latest ruby. I will make my development
> faster so as to solve this issue.
>
> Thanks

I just installed WebVZ on a brand new Debian with latest Ruby, I
dumped the relevant bits of my console log below.

apt-get install ruby rubygems libsqlite3-ruby sqlite3 irb1.8
libopenssl-ruby1.8 libreadline-ruby1.8 rdoc1.8 nano
ruby setup.rb
gem install -v=2.1.0 rails
vi /usr/bin/gem

<code>
#!/usr/bin/env ruby
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++
require 'rubygems'
require 'rubygems/gem_runner'
require 'rubygems/open-uri'
Gem.manage_gems
required_version = Gem::Version::Requirement.new(">= 1.8.0")
unless required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION))
puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}"
exit(1)
end
# We need to preserve the original ARGV to use for passing gem options
# to source gems. If there is a -- in the line, strip all options after
# it...its for the source building process.
args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")]
Gem::GemRunner.new.run(args)
</code>

gem update --system
gem install open-uri
ln -s /usr/bin/irb1.8 /usr/bin/irb
mkdir /etc/sysconfig
ln -s /etc/vz/conf /etc/sysconfig/vz-scripts
cd /var/www/
wget http://downloads.sourceforge.net/webvz/webvz.2.0.tar.gz?use_mirror=mesh
gunzip webvz.2.0.tar.gz
tar xf webvz.2.0.tar
ln -s webvz.2.0 webvz
vi /etc/init.d/vz

<code>
cd /var/www/webvz && ruby script/server &
}

stop()
</code>

This last bit starts your WebVZ server together with OpenVZ.
Let me know if it works for you.

Regards
Gabor Laszlo
--
We are born wet, naked and hungry.
Then things get worse.

Shuaib Zahda

unread,
Mar 16, 2009, 6:31:28 PM3/16/09
to we...@googlegroups.com

Hi guys

I would like to announce that webvz now meets the rails 2.2.2. which is the latest version

please at the moment download it from github.com at the following link

http://github.com/shuaibzahda/webvz/tree/master

Please choose download and download the file, extract it and run it as usual

Wait the new webvz with more interesting features

Thanks
--
Shuaib Zahda
www.shobiddak.com
Reply all
Reply to author
Forward
0 new messages