FGDB: Difference between revisions
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==FreeGeek DataBase in RuBy - aka fgdb.rb== | ==FreeGeek DataBase in RuBy - aka fgdb.rb== | ||
This is a Rails application maintained by Ryan Niebur of FreeGeek PDX. | This is a Rails application maintained by Ryan Niebur of FreeGeek PDX. | ||
*Its url is http://db.freegeekseattle.org/ | *Its url is http://db.freegeekseattle.org/ | ||
Line 96: | Line 95: | ||
/var/www/fgdb.rb$ | /var/www/fgdb.rb$ | ||
[[Category:Software]] | |||
[[Category:Acronyms]] |
Latest revision as of 10:38, 19 July 2013
FreeGeek DataBase in RuBy - aka fgdb.rb[edit]
This is a Rails application maintained by Ryan Niebur of FreeGeek PDX.
- Its url is http://db.freegeekseattle.org/
- It is currently installed to /var/www via git
- The git repo is at git://git.freegeek.org/git/fgdb.rb
The blog I have been keeping of progress in installing the application is at http://freegeek-seattle-tech.blogspot.com/ I'm going to eventually transfer any useful information in that blog here.
The application belongs to the group fgdb-admins. If you want to hack on it and are not a sudoer you'll need to contact Mark or me to be added to the group. Currently I'm the sole member of the group.
The application is in a broken state as of August 20 2011. The rake task db:schema:load fails with a 'stack level too deep' error. This may indicate a runaway recursion in the task. It may be fixed by now as there is a more recent commit. I will check this later.
Problem persists after 'git fetch'. Trace follows:
/var/www/fgdb.rb$ rake db:schema:load --trace (in /var/www/fgdb.rb) ** Invoke db:schema:load (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! stack level too deep /var/www/fgdb.rb/vendor/plugins/vhosting_routes/lib/action_controller/routing/vhosting_routes.rb:9:in `recognition_conditions_without_vhosting' /var/www/fgdb.rb/vendor/plugins/vhosting_routes/lib/action_controller/routing/vhosting_routes.rb:9:in `recognition_conditions' /usr/lib/ruby/1.8/action_controller/routing/route.rb:201:in `write_recognition!' /usr/lib/ruby/1.8/action_controller/routing/route.rb:118:in `freeze' /usr/lib/ruby/1.8/action_controller/routing/builder.rb:178:in `build' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:309:in `add_route' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:317:in `add_named_route' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:33:in `named_route' /usr/lib/ruby/1.8/active_support/option_merger.rb:20:in `__send__' /usr/lib/ruby/1.8/active_support/option_merger.rb:20:in `method_missing' /usr/lib/ruby/1.8/action_controller/resources.rb:654:in `map_resource_routes' /usr/lib/ruby/1.8/action_controller/resources.rb:606:in `map_default_collection_actions' /usr/lib/ruby/1.8/action_controller/resources.rb:536:in `map_resource' /usr/lib/ruby/1.8/active_support/core_ext/object/misc.rb:78:in `with_options' /usr/lib/ruby/1.8/action_controller/resources.rb:528:in `map_resource' /usr/lib/ruby/1.8/action_controller/resources.rb:447:in `resources' /usr/lib/ruby/1.8/action_controller/resources.rb:447:in `each' /usr/lib/ruby/1.8/action_controller/resources.rb:447:in `resources' /var/www/fgdb.rb/config/routes.rb:2 /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:226:in `draw' /var/www/fgdb.rb/config/routes.rb:1 /usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load_without_new_constant_marking' /usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load' /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in' /usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:286:in `load_routes!' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:286:in `each' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:286:in `load_routes!' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:266:in `reload!' /var/www/fgdb.rb/config/../vendor/rails/railties/lib/initializer.rb:537:in `initialize_routing' /var/www/fgdb.rb/config/../vendor/rails/railties/lib/initializer.rb:188:in `process' /var/www/fgdb.rb/config/../vendor/rails/railties/lib/initializer.rb:113:in `send' /var/www/fgdb.rb/config/../vendor/rails/railties/lib/initializer.rb:113:in `run' /var/www/fgdb.rb/config/environment.rb:12 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in' /usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require' /var/www/fgdb.rb/vendor/rails/railties/lib/tasks/misc.rake:4 /usr/lib/ruby/1.8/rake.rb:636:in `call' /usr/lib/ruby/1.8/rake.rb:636:in `execute' /usr/lib/ruby/1.8/rake.rb:631:in `each' /usr/lib/ruby/1.8/rake.rb:631:in `execute' /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:in `each' /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:583:in `invoke' /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /usr/lib/ruby/1.8/rake.rb:2029:in `each' /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:2023:in `top_level' /usr/lib/ruby/1.8/rake.rb:2001:in `run' /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1998:in `run' /usr/bin/rake:28
Per Mark's suggestion I tried increasing stack size via ulimit:
~$ ulimit -s unlimited ~$ cd /var/www/fgdb.rb/ /var/www/fgdb.rb$ rake db:schema:load (in /var/www/fgdb.rb) Killed /var/www/fgdb.rb$