[rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Jason Nah
Howdy Guys, I'm in the midst of trying to find out why the selenium driver doesn't seem to work with my setup. That being: - Rails3 - Cucumber 0.10.0 - Capybara 0.4.1.2 - Selenium WebDriver 0.1.2 - Launchy 0.3.7 - And I have libffi installed - MacOSX 10.6.6 - Ruby 1.8.7 p3

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Gregory McIntyre
If it were me, I'd drop this line inside env.rb: require 'ruby-debug'; debugger or in a Before hook, use n and s to get a feel for what it's doing, set break breakpoints in cuke files at places I think it's going to start failing and hit c, etc. I use Before and After hooks to add more logging

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Warren Seen
Jason, can you post the actual scenario you're testing with? And your env.rb too? In my experience, Firefox will only start when you hit a step that uses Capybara/Selenium, so if your scenario fails on a Given step which doesn't require the browser, then it would exhibit the same behaviour you

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Gregory McIntyre
Also, tried with --format pretty and maybe --expand ? -- Gregory McIntyre -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com. To unsubscribe from this group, send email

[rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Rich@thelogicbox
Sure you couldn't be tempted stateside? Targeted recruitment for Aussie Rail's devs. http://www.seek.com.au/Job/move-to-new-york-10-x-aussie-software-engineers-asap-with-pivotal-labs/in/melbourne/18983303 Good to see to new found pivotal revenue stream is being put to good use. Rich On Feb 12, 11

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Jason Nah
I've found the root cause of my problem. Thanks Gregory for the tip. I went with that approach to diagnose the problem. I stuck a breakpoint in a Before do end statement and then did the following: - cat StandardError (to breakpoint when a cucumber error was thrown) - cont Turns out, that

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Tim McEwan
At first I thought they must be so keen to employ us because we're cheaper (are we?). But they want to pair. I wonder why they're so keen to pair with Aussies... Maybe there's just no American devs left - maybe @github has finally succeeded. -- Tim McEwan On Wednesday, 16 February 2011 at 00:

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Chris Herring
It's the accent. Has to be. On Wednesday, 16 February 2011 at 9:53 AM, Tim McEwan wrote: > At first I thought they must be so keen to employ us because we're cheaper > (are we?). But they want to pair. I wonder why they're so keen to pair with > Aussies... Maybe there's just no American devs lef

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Warren Seen
This is most likely a clear sign that there's a shortage of competent Ruby devs in NY as well as Chicago (see: http://nuts.redsquirrel.com/post/2680658687/chicagos-ruby-developer-crisis) - time to raise my hourly rate again! All jokes aside, maybe it's because E3 visas are easier to deal with t

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Pat Allan
It seems there's generally a Ruby developer shortage - NYC, Chicago, London, Melbourne, Sydney... at what point does such an unbalanced employment market become a liability? -- Pat On 16/02/2011, at 10:31 AM, Warren Seen wrote: > This is most likely a clear sign that there's a shortage of com

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Julio Cesar Ody
Though the Sydney shortage seems to be for Ruby/Java/Ajax/JavaScript/.NET/HTML5/HTML4/HTML3/Linux sort of gig. Just saying. On Wed, Feb 16, 2011 at 10:46 AM, Pat Allan wrote: > It seems there's generally a Ruby developer shortage - NYC, Chicago, > London, Melbourne, Sydney... at what point doe

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Bodaniel Jeanes
It's worth keeping in mind that they aren't "targeting aussies". It just happens that they are advertising positions for Australians because it's on an Australian site. My money says that if you check on a british or canadian equivalent of seek.com.au there would be ads encouraging them to appl

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Pat Allan
Hah, fair point. I don't really hear about demand beyond Ruby work, so my view of the bigger picture is definitely flawed. -- Pat On 16/02/2011, at 10:47 AM, Julio Cesar Ody wrote: > Though the Sydney shortage seems to be for > Ruby/Java/Ajax/JavaScript/.NET/HTML5/HTML4/HTML3/Linux sort of gi

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Matt Allen
On Wed, Feb 16, 2011 at 10:46 AM, Pat Allan wrote: > It seems there's generally a Ruby developer shortage - NYC, Chicago, London, > Melbourne, Sydney... at what point does such an unbalanced employment market > become a liability? I'd say that we're slap bang in the middle of lag that happens w

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Bodaniel Jeanes
IMO it's worth considering how we can bring in more talent into our industry though. Not enough that we put ourselves out of the fortunate situation of being in-demand, but enough that the lag doesn't cause a major crash if/when companies have to abandon Rails because they can't find anyone to

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Julio Cesar Ody
My point is that my impression about work in Sydney at the moment is that gigs usually require you to work with Ruby and . And by the way, that's for next week. I might be operating at a different level from some perhaps. But I'm hugely disappointed with the local market at the moment, more so bec

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Warren Seen
On 16/02/2011, at 10:47 AM, Bodaniel Jeanes wrote: > It's worth keeping in mind that they aren't "targeting aussies". It just > happens that they are advertising positions for Australians because it's on > an Australian site. My money says that if you check on a british or canadian > equivalen

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Bodaniel Jeanes
The company that hired me has advertised on GitHub jobs (I think) and definitely TopRubyJobs, saying that they'd hire remotely and pay relocation costs. It wasn't targeted at foreigners, but definitely inclusive of them. I'm not sure about others, though... ---

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Warren Seen
I tend to agree, this is probably also the point before the market gets flooded with cut-price ex-PHP devs :) The bigger liability I would say is the chance of another bubble - I'd much prefer steady growth than a massive boom/bust cycle. A developer shortage may be a symptom of a coming bubble

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Gregory McIntyre
Ah yes. My project has a non-standard database configuration (two database connections) and I did not find DatabaseCleaner useful, so I do not require 'cucumber/rails/active_record' in my env.rb and everything works just fine (I do my own database cleaning in Before/After hooks). It's a perfectly

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Chris Herring
You can pass -b I believe to Cucumber and it will throw a backtrace on failure. On Wednesday, 16 February 2011 at 9:43 AM, Jason Nah wrote: > I've found the root cause of my problem. > > Thanks Gregory for the tip. I went with that approach to diagnose the > problem. I stuck a breakpoint in a Be

Re: [rails-oceania] Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Jason Nah
-b didn't do a thing for me in this case. The error didn't produce any backtraces at all. Using the debugger was the only way to go. On 16 February 2011 14:37, Chris Herring wrote: > You can pass -b I believe to Cucumber and it will throw a backtrace on > failure. > > On Wednesday, 16 February

[rails-oceania] Re: Cucumber, Capybara - troubleshooting what on earth is going on...

2011-02-15 Thread Ryan Bigg
I had this happen before and I think the --format pretty option made it show the error. It's been a while, so it may be just all muddled up in the maelstrom. -- Ryan Bigg On Wednesday, 16 February 2011 at 3:41 PM, Jason Nah wrote: > -b didn't do a thing for me in this case. The error didn't pr

[rails-oceania] writing a Gem for a non Rails REST API

2011-02-15 Thread Abhinav Keswani
Hi there, I'm researching the ins and outs of writing a (open source) Gem that delivers an API library for a REST API that is provided by a non Rails app. I'd love for this to ultimately have the same outcome as if one used ActiveResource to map Rails REST API endpoints/resources as models in you