MagLev / maglev

GemStone Maglev Ruby Repository
http://maglev.github.io
517 stars 41 forks source link

update.sh seems unable to create a maglev stone #86

Closed Monty closed 13 years ago

Monty commented 13 years ago

When I clone a MagLev repo and run update.sh I get a "Cannot create stone maglev: the conf file already exists"

$ git clone --depth 1 https://github.com/MagLev/maglev.git MagLev-27184.Linux-x86_64 ... $ cd MagLev-27184.Linux-x86_64 $ ./update.sh [Info] Starting upgrade to GemStone-27184.Linux-x86_64 on congo ... Submodule path 'spec/rubyspec': checked out 'de08d233229b5aef06cca7b06e527771c8e23591' [Info] Building new extent0.ruby.dbf from gemstone/bin/extent0.dbf (in /congo1/users/monty/MagLev/MagLev-27184.Linux-x86_64) ... ==== maglev: Copying new extent to /congo1/users/monty/MagLev/MagLev-27184.Linux-x86_64/bin/extent0.ruby.dbf Creating server "maglev" [Info] Creating new default 'maglev' repository rake aborted! Cannot create stone maglev: the conf file already exists in /congo1/users/monty/MagLev/MagLev-27184.Linux-x86_64/etc/conf.d /congo1/users/monty/MagLev/MagLev-27184.Linux-x86_64/Rakefile:108 (See full trace by running task with --trace) [Info] Generating the MagLev HTML documentation [Info] Finished upgrade to GemStone-27184.Linux-x86_64 on congo

timfel commented 13 years ago

Yes, that happens because the "rake build:maglev" step already creates one, and then the update.sh tries to run stone:create again. It's not fatal, but it should be fixed.