[Backgroundrb-devel] Noob needs help installing backgroundrb on Windows XP

Derek Doda derek at caffeinedreams.ca
Wed Nov 29 12:28:05 EST 2006


Hey Guys,

In the readme for Backgroundrb it says that windows support has been 
depcreated for this version, but then it goes on to mention how to use 
it in Windows.  So I'm not sure if it should be running on windows or 
not, so I'll ask anyway.  Also, I'm new to ruby and I'm also new to 
server administration, so I apologize if my questions are pretty simple. 

I've tried to install backgroundrb on windows by doing the following:

Installed slave 1.0.0 by using 'gem install slave' which seemed to work
Installed daemons 1.0.3. by using 'gem install daemons' which also 
seemed to work

I downloaded backgroundrb via SVN into the vendor/plugin/backgroundrb 
vendor plugin.
Did a 'rake backgroundrb:setup'

When I try to view a page it only renders "<h2>Application 
error</h2>Rails application failed to start properly".

These are the errors that I got from Apache 2.2

Premature end of script headers: dispatch.cgi
C:/ruby/lib/ruby/1.8/pathname.rb:341:in `lstat': Invalid argument - 
/C:/work/websites/cms/build1/cms/public/C:/work/websites/cms/build1/cms/public/../config 
(Errno::EINVAL)\r
\tfrom C:/ruby/lib/ruby/1.8/pathname.rb:341:in `realpath'\r
 \tfrom 
C:/work/websites/cms/build1/cms/public/../config/../vendor/plugins/backgroundrb/lib/middleman_rails_init.rb:2\r
 \tfrom C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in 
`require'\r
 \tfrom 
C:/work/websites/cms/build1/cms/public/../config/../vendor/plugins/backgroundrb/init.rb:2:in 
`load_plugin'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in 
`load_plugin'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in 
`silence_warnings'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in 
`load_plugin'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in 
`load_plugins'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in 
`load_plugins'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:102:in 
`process'\r
 \tfrom 
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run'\r
 \tfrom C:/work/websites/cms/build1/cms/public/../config/environment.rb:13\r
 \tfrom C:/work/websites/cms/build1/cms/public/dispatch.cgi:3\r

Any help would be appreciated

Cheers,
-Derek



More information about the Backgroundrb-devel mailing list