diff --git a/Gemfile b/Gemfile index c1b7050d2..d8b882f06 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,7 @@ gem 'json' # Gems used only for assets and not required # in production environments by default. group :assets do - gem 'sass-rails' + gem 'sass-rails', github: 'rails/sass-rails' gem 'coffee-rails' gem 'uglifier' end diff --git a/README.md b/README.md index e42ffcc81..a2149ca5b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Getting Started ``` zammad@shell> cd zammad - zammad@shell> gem install rails + zammad@shell> gem install rails zammad@shell> vi Gemfile # enable libv8, execjs and therubyracer if needed! zammad@shell> sudo bundle install ``` diff --git a/script/install.sh b/script/install.sh new file mode 100644 index 000000000..aee26438a --- /dev/null +++ b/script/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash +get_distro(){ + arch=$(uname -m) + kernel=$(uname -r) + if [ -f /etc/lsb-release ]; then + os=$(lsb_release -s -d) + elif [ -f /etc/debian_version ]; then + os="Debian $(cat /etc/debian_version)" + elif [ -f /etc/redhat-release ]; then + os=`cat /etc/redhat-release` + else + os="$(uname -s) $(uname -r)" + fi +} +