s.ross
2009-Feb-16 22:17 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
It seems there''s a known anomaly between rspec-rails and Rails 2.3. That causes the error "uninitialized constant ActionController::UrlEncodedPairParser". I know there is a fix in somebody''s repo, but what''s the best way to get a working gem version of webrat/cucumber/rspec/rspec-rails that will work with 2.2.2 and 2.3? Scrubbing the gems off and installing the latest release gems don''t pull in the fix. Thanks
David Chelimsky
2009-Feb-16 22:28 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
Sent from my iPhone On Feb 16, 2009, at 4:17 PM, "s.ross" <cwdinfo at gmail.com> wrote:> It seems there''s a known anomaly between rspec-rails and Rails 2.3. > That causes the error "uninitialized constant > ActionController::UrlEncodedPairParser". I know there is a fix in > somebody''s repo, but what''s the best way to get a working gem > version of webrat/cucumber/rspec/rspec-rails that will work with > 2.2.2 and 2.3? Scrubbing the gems off and installing the latest > release gems don''t pull in the fix.The latest gems from github work with rails 2.3: gem install dchelimsky-rspec-rails (that will pull rspec as a dependency as well)> Thanks > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Mike Gaffney
2009-Feb-16 22:42 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
They are now using using the parser in Rack. Likely Rspec doesn''t have this yet on a release or possibly even master. Take a look at: http://webrat.lighthouseapp.com/projects/10503/tickets/161-urlencodedpairparser-removed-in-edge-rails For a similar patch. -Mike s.ross wrote:> It seems there''s a known anomaly between rspec-rails and Rails 2.3. > That causes the error "uninitialized constant > ActionController::UrlEncodedPairParser". I know there is a fix in > somebody''s repo, but what''s the best way to get a working gem version > of webrat/cucumber/rspec/rspec-rails that will work with 2.2.2 and > 2.3? Scrubbing the gems off and installing the latest release gems > don''t pull in the fix. > > Thanks > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Josh Knowles
2009-Feb-16 22:57 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
On Mon, Feb 16, 2009 at 5:28 PM, David Chelimsky <dchelimsky at gmail.com> wrote:> The latest gems from github work with rails 2.3:The problem is in Webrat. I have a hack in my fork, but we need to figure out a longer-term solution. Bug is open, hopefully we can knock it out this week. Patches welcome. -- Josh Knowles phone: 509-979-1593 email: joshknowles at gmail.com web: http://joshknowles.com
David Chelimsky
2009-Feb-16 23:23 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
Sent from my iPhone On Feb 16, 2009, at 4:42 PM, Mike Gaffney <mr.gaffo at gmail.com> wrote:> They are now using using the parser in Rack. > > Likely Rspec doesn''t have this yet on a release or possibly even > master.Actually we do. Grab the latest!> Take a look at: > > http://webrat.lighthouseapp.com/projects/10503/tickets/161-urlencodedpairparser-removed-in-edge-rails > > For a similar patch. > > -Mike > > s.ross wrote: >> It seems there''s a known anomaly between rspec-rails and Rails 2.3. >> That causes the error "uninitialized constant >> ActionController::UrlEncodedPairParser". I know there is a fix in >> somebody''s repo, but what''s the best way to get a working gem >> version of webrat/cucumber/rspec/rspec-rails that will work with >> 2.2.2 and 2.3? Scrubbing the gems off and installing the latest >> release gems don''t pull in the fix. >> >> Thanks >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
s.ross
2009-Feb-16 23:29 UTC
[rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser
Applying this patch to webrat: http://webrat.lighthouseapp.com/attachments/87914/lh_161.diff did the trick for 2.2.2 and 2.3. Eek! :) On Feb 16, 2009, at 2:57 PM, Josh Knowles wrote:> On Mon, Feb 16, 2009 at 5:28 PM, David Chelimsky > <dchelimsky at gmail.com> wrote: >> The latest gems from github work with rails 2.3: > > The problem is in Webrat. I have a hack in my fork, but we need to > figure out a longer-term solution. Bug is open, hopefully we can > knock it out this week. Patches welcome. > > -- > Josh Knowles > phone: 509-979-1593 > email: joshknowles at gmail.com > web: http://joshknowles.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users