Search code examples
buildrakeprototypejssprockets

How to build PrototypeJS from source?


I cloned prototype.js repository, but when i trying to build, i get the error:

rake aborted!
uninitialized constant Sprockets::Secretary

What is the reason?


Solution

  • I was also having this problem.

    Try using a different version of sprockets.

    gem uninstall sprockets, gem install sprockets --version 1.0.2
    

    1.0.2 was the version that worked for me.