search for: middleman_rails_init

Displaying 4 results from an estimated 4 matches for "middleman_rails_init".

2007 Oct 25
3
Mocking Workers in Backgroundrb
Hi Has anyone mocked a call like the following for backgroundrb? MiddleMan.new_worker(:class => :admin_email_worker, :args => params [:email]) I cannot seem to find the correct manner to do it. Would have liked to be able to do MiddleMan.should_receive (:new_worker).with(:class => :admin_email_worker, :args => {"body" => "my message"}) Cheers Shane
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
.../lib/ruby/1.8/drb/drb.rb:1627:in `new'' /usr/lib/ruby/1.8/drb/drb.rb:1627:in `start_service'' /var/www/apps/arts/releases/20100227000015/vendor/plugins/backgroundrb/ lib/backgroundrb.rb:67:in `init'' /var/www/apps/arts/releases/20100227000015/vendor/plugins/backgroundrb/ lib/middleman_rails_init.rb:11:in `init'' /var/www/apps/arts/releases/20100227000015/vendor/plugins/backgroundrb/ lib/middleman_rails_init.rb:14 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require''...
2006 Dec 14
5
Is there a way to make backgroundrb 0.2.1 fail silently on win32?
After upgrading to backgroundrb 0.2.x, Rails barfs lstat errors left and right when using the console or webrick or mongrel on win32. We run our site on a Linux server, so I''m not trying to get backgroundrb to work on a win32 machine. I just want to quietly stop loading itself if it detects that it''s on a win32 machine so that the rest of Rails can continue to load. Most of
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
...39;': 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/plugin...