#306 open
Noel Gomez

Add Bundler Support

Reported by Noel Gomez | January 29th, 2012 @ 04:09 AM | in 1.4

Add Bundler to ease setup

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis February 12th, 2012 @ 10:49 AM

    • State changed from “new” to “open”
    • Assigned user changed from “Kete” to “Walter McGinnis”
    • Milestone set to 1.4
    • Milestone order changed from “46” to “0”

    Now that the basics of the Gemfile have been added there are a some more things to be done:

    • eliminate redundant gem file stuff in config/required_software.yml (move management_gems to development group in Gemfile first), meaning management_gems, testing_gems, and gems parts of the yml can go away

    • update corresponding rake tasks in lib/tasks/manage_gems.rake to return "This rake task has been replaced by Bundler, please use 'bundle install' or 'bundle update' instead."

    • rework code or references to manage_gems to take advantage of bundler instead under test and lib directories (prep_app is unused code, but the start of something, take out manage_gems references, and have it return "this is placeholder code, doesn't currently do anything.")

    Finally, after the we are finished with coding and using bundler is in the master branch, we will want to update the Installation Guide to make note of any reference to manage_gems to say basically point the installer at manage_gems if installing 1.3 or before and if master branch or 1.4 or later, use bundle install (http://kete.net.nz/documentation/topics/show/121 in particular, but also the Debian and Mac OS X required software topics may need revision, too).

  • Walter McGinnis

    Walter McGinnis February 12th, 2012 @ 11:20 AM

    Noel, there is one other issue to deal with.

    Kete uses a customized oai gem that is under vendor/gems. Currently the Gemfile doesn't take that into account and installs and uses the non-customized oai gem that it installs.

    Please adjust the Gemfile to use the customized gem instead.

    You can test that this is working by doing the following:

    • "bundle show oai" should be the path under vendor/gems (until that is the case, you might as well not continue with the rest of the test)
    • visit Administrator's Toolbox > reconfigure site
    • click on Advanced Options
    • change the "Provide OAI PMH Repository" setting from false to true and click "Save" button
    • click "Restart Server" button
    • visit "http://[you_site]/oai_pmh_repository?verb=identify and you should get back some XML, not an error


Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket