Commit 7d1781cfdf580932782572a963d814970bd71445
1 parent
69ad3872
Exists in
master
and in
1 other branch
better rubaidh installation
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
script/create_project
... | ... | @@ -65,15 +65,18 @@ end |
65 | 65 | |
66 | 66 | run("sudo rake gems:install RAILS_ENV=development") |
67 | 67 | run("sudo rake gems:install RAILS_ENV=test") |
68 | -run("sudo rake gems:install RAILS_ENV=production") | |
69 | 68 | run("sudo rake gems:install RAILS_ENV=cucumber") |
70 | 69 | |
70 | +# can't install cucumber via rake gems:install because | |
71 | +# it is considered a "framework" gem | |
71 | 72 | if not_installed?("cucumber") |
72 | 73 | run "sudo gem install cucumber --version='0.3.11'" |
73 | 74 | end |
74 | 75 | |
75 | -if not_installed?("webrat") | |
76 | - run "sudo gem install webrat --version='0.4.4'" | |
76 | +# can't install rubaidh-google_analytics via rake gems:install because | |
77 | +# it is a production gem and we don't have a production database | |
78 | +if not_installed?("rubaidh-google_analytics") | |
79 | + run "sudo gem install rubaidh-google_analytics --version='1.1.4'" | |
77 | 80 | end |
78 | 81 | |
79 | 82 | run("sudo touch log/development.log") | ... | ... |