diff --git a/README.md b/README.md index 498963e5..1c6b9681 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,27 @@ Applymyride ================ -although the app doesn't use ruby, build process requires haml rubygem installed. (works with ruby version 2.2.2) +The app doesn't use ruby directly, but the build process requires the haml rubygem be installed as haml is used to create the html views. (This should work with ruby version > 2.1 and < 3.0, but see below* if < 2.5) -You may need to install node.js first. +You may need to install node.js first (e.g. `brew install node` on Mac, the latest version should run correctly now). -+ sudo gem install haml ++ `sudo gem install haml -v '~> 4.0'` (haml 5 will not work) -+ sudo gem install compass ++ `sudo gem install compass` -+ npm install ++ `npm install` -+ sudo npm install -g grunt ++ `sudo npm install -g grunt` -+ sudo npm install -g bower ++ `sudo npm install -g bower` -+ bower install ++ `bower install` -+ grunt serve (to test if it's working) ++ `grunt serve` (to test if it's working) +\* If your ruby version is < 2.5, you'll need to first install libssl 1.0: `brew install rbenv/tap/openssl@1.0`, then you'll need to install your version of ruby with the correct command depending on whether you use rbenv or rvm: ++ ``rvm install 2.3.8 -C --with-openssl-dir=`brew --prefix openssl@1.0\` `` ++ RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.0)" rbenv install 2.3.8 Deploy ================ diff --git a/app/index.html b/app/index.html index 42fce592..070447a2 100644 --- a/app/index.html +++ b/app/index.html @@ -39,7 +39,7 @@
-