public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
bug in cluster task
automatthew (author)
Wed Jul 09 09:29:39 -0700 2008
commit  6a9e69ed813f0401aa1bf1f2b90cf59305df898d
tree    f0b91c756ae975ed17f52cd9793a5bd37f219693
parent  d0b39731347148eef7dc1b663570d2552b1f508b
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ namespace :cluster do
0
 
0
   desc 'Start a cluster of waves applications.'
0
   task :start do |task|
0
- using_waves_src = defined?(WAVES) || ENV['WAVES'] || File.exist( File.dirname(__FILE__) / :waves )
0
+ using_waves_src = defined?(WAVES) || ENV['WAVES'] || File.exist?( File.dirname(__FILE__) / :waves )
0
     script = using_waves_src ? :bin / 'waves-server' : 'waves-server'
0
     ( Waves::Console.config.ports || [ Waves::Console.config.port ] ).each do |port|
0
       cmd = "#{script} -p #{port} -c #{ENV['mode']||'development'} -d"

Comments

    No one has commented yet.