[Backgroundrb-devel] Noob needs help installing backgroundrb on Windows XP
Ezra Zygmuntowicz
ezmobius at gmail.com
Wed Nov 29 15:04:33 EST 2006
Hey Derek-
Yeah the new version does not currently work on windows because
slave does a lot of fork'ing which doesn't work seamlessly on
windows. There is talk of working towards a windows version of slave
that would allow backgroundrb 0.2.x to work on windows. But for now
your options on windows is to use the new bdrb under cygwin, or use
the older version of the plugin from the svn at rubyforge. That
version still works fine and will work on windows.
Cheers-
-Ezra
On Nov 29, 2006, at 9:28 AM, Derek Doda wrote:
> 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
>
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
More information about the Backgroundrb-devel
mailing list