#70 ✓resolved
vma

Freezed copy of adhearsion not loaded

Reported by vma | May 13th, 2009 @ 10:58 AM

I have a version of adhearsion installed through gem and I want to make a specific changes in just one app.

So I have made a copy of the adhearsion lib/ folder in adhearsion foldler inside my app as said in config/startup.rb :

# If you wish to freeze a copy of Adhearsion to this app, simply place a copy of Adhearsion # into a folder named "adhearsion" within this app's main directory.

But when I start my app with ahn start, it uses the global lib instead of the one in my app folder.

This makes sense as the local version is only loaded if 'Adhearsion' is not defined (unless defined? Adhearsion) but it looks like ahn itself loads adhearsion gem (the global one) so the object is already defined.

Comments and changes to this ticket

  • Jay Phillips

    Jay Phillips June 4th, 2009 @ 04:02 PM

    • State changed from “new” to “resolved”

    Don't copy the lib folder of Adhearsion. Stick the entire directory there as if you did:

    ahn create foobar
    cd foobar
    git clone git://github.com/jicksta/adhearsion.git
    ahn start .
    

    This should use the cloned version.

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 ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages