-
-
Save shirkevich/70116 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: run all the commands prefixed with "$" from the command-line. | |
0) Make sure sake is installed: | |
$ sudo gem install sake | |
1) Make sure you've applied this patch to sake: | |
http://err.lighthouseapp.com/attachments/50325/sake_rake_0.8.2.patch | |
This fixes a bug that would cause the error "can't convert true into String" to | |
be shown everytime you attempt to use a sake command. | |
(I do not know why there has not been a sake release with this fix baked in) | |
2) Run the following command to clean out any old dm related tasks: | |
$ sake -T | egrep '^sake (dm:|strip\b)' | cut -d" " -f2 | xargs sake -u | |
This should only need to be done one time. The reason for this is that | |
the tasks reference URLs on datamapper.org which no longer work. Since | |
I don't (yet) control datamapper.org I can't really fix this problem. | |
Sam and I are in the process of transfering the domain. | |
3) Install the latest DM sake tasks: | |
$ sake -i http://github.com/dkubb/dm-dev/raw/master/dm-dev.sake | |
4) Use the following command to download the git repo, and install the | |
latest DataMapper source from the "master" branches: | |
$ sake dm:gems:refresh | |
NOTE: this will uninstall all existing DataMapper, DO and Extlib | |
gems on you system. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment