New Code

12 views
Skip to first unread message

Scott Willson

unread,
Oct 16, 2009, 2:23:32 PM10/16/09
to racing-...@googlegroups.com
Hi everyone,

I've pushed a large commit of new code to the GitHub repository. I've only deployed it the OBRA site so far, but will update the ABA, ATRA, and WSBA sites in the next week.

Developers, if you could pull the code and test locally, that would be a great help. Please let me know if you find anything amiss.

Here's a summary:
  • Self-service member accounts. People can edit their own contact information. By default, this is hidden; we'll need to add "create account" link like on https://obra.org/logout to enable it.
  • HTTPS for admin pages and person account pages (optional)
  • Show big results pages faster and more efficiently
  • Fix some IE layout issues
  • Update Rails to 2.3.4 (security and bug fixes)
  • Update spreadsheet-reading plugins (speed and correctness)
  • Admins can now create races from the web interface, not just from Excel file import
  • Added emergency contact information for people

Finally, a shout out to Ryan for improving the competition code, and Al for adding USAC import tests.

Thanks,
Scott

Al Pendergrass

unread,
Oct 30, 2009, 11:26:54 PM10/30/09
to racing-...@googlegroups.com
Hi Scott,

I'm finally getting around to doing this (some very appealing changes in there, by the way) but when I run rake I get

Missing these required gems:
  pdf-writer  

You're running:
  ruby 1.8.7.72 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  rubygems 1.3.5 at /Users/al/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.


The last time I had this problem I updated rake and the problem went away, but not this time, rake is up to date. And I see that my default ruby is now 1.8.7, I guess I got that with Snow Leopard, though I have not seen any other issues with Racing on Rails since I installed SL. Is 1.8.6 required? Any ideas off the top of your head?

- Al

Scott Willson

unread,
Oct 31, 2009, 12:03:20 AM10/31/09
to racing-...@googlegroups.com
Hi Al,

Gosh, I'm not sure. pdf-writer should be in vendor/gems, and I just tried running the tests with Rubygems version 1.3.1 and 1.3.5. I've been running Ruby 1.8.7 for a while now. Sometimes it seems that gem errors like this pop up because a dependency isn't loaded. Say: the "color" gem is a dependency of pdf-writer, and the color gem isn't installed. Though all the dependencies should be vendored, too …

Can you try rake --trace? Or maybe remove the config.gem "pdf-writer" line and see if that helps?

Here's what I have installed, in case something jumps out at you:
actionmailer (2.3.4, 2.3.2, 2.2.2, 1.3.6)
actionpack (2.3.4, 2.3.2, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.4, 2.3.2, 2.2.2, 1.15.6)
activeresource (2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.4, 2.3.2, 2.2.2, 1.4.4)
acts_as_ferret (0.4.4, 0.4.3)
archive-tar-minitar (0.5.2)
authlogic (2.1.2)
capistrano (2.5.9, 2.5.2)
cgi_multipart_eof_fix (2.5.0)
curb (0.5.4.0, 0.5.1.0)
curl-multi (0.2)
daemons (1.0.10)
dnssd (1.3.1, 1.3, 0.6.0)
fastercsv (1.5.0)
fastthread (1.0.7, 1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
highline (1.5.1, 1.5.0)
hoe (2.3.3)
hpricot (0.8.1, 0.6.164)
json_pure (1.1.9)
libxml-ruby (1.1.3, 1.1.2)
mocha (0.9.8)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
mysql (2.8.1)
needle (1.3.0)
net-scp (1.0.2, 1.0.1)
net-sftp (2.0.2, 2.0.1, 1.1.1)
net-ssh (2.0.15, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.1, 1.0.0)
newgem (1.5.2)
nokogiri (1.3.3)
rack (1.0.1)
rails (2.3.4, 2.3.2, 2.2.2, 1.2.6)
rake (0.8.7, 0.8.3)
RedCloth (4.2.2, 4.1.1)
request-log-analyzer (1.4.2)
rubigen (1.5.2)
ruby-openid (2.1.7, 2.1.2)
ruby-prof (0.7.3)
ruby-yadis (0.3.4)
rubyforge (2.0.3, 1.0.5)
rubygems-update (1.3.5)
RubyInline (3.8.3)
rubynode (0.1.5)
selenium-client (1.2.17)
sqlite3-ruby (1.2.5, 1.2.4)
syntax (1.0.0)
termios (0.9.4)
tidy (1.1.2)
xmpp4r (0.5, 0.4)
ZenTest (4.1.4)

Al Pendergrass

unread,
Oct 31, 2009, 9:15:21 AM10/31/09
to racing-...@googlegroups.com
Scott,

I didn't have json_pure installed which was revealed when I removed config.gem "pdf-writer". Tests are running now. Thanks for the suggestion.

- Al

Scott Willson

unread,
Oct 31, 2009, 10:35:25 AM10/31/09
to racing-...@googlegroups.com
Aha! Bizarre. I guess I should add that to the vendored gems, no?
Reply all
Reply to author
Forward
0 new messages