mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Add ruby deps, verbose install
This commit is contained in:
parent
0d6a2ab4ad
commit
6134e71dd6
2 changed files with 27 additions and 14 deletions
|
@ -71,24 +71,36 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
|
|||
|
||||
[resources.apt]
|
||||
packages = [
|
||||
"ntp",
|
||||
"ntpdate",
|
||||
"tzdata",
|
||||
"curl",
|
||||
"git",
|
||||
"imagemagick",
|
||||
"tzdata",
|
||||
"libc-dev",
|
||||
"zlib1g-dev",
|
||||
"xz-utils",
|
||||
"postgresql",
|
||||
"postgresql-common",
|
||||
"postgresql-client",
|
||||
"libidn11-dev",
|
||||
"redis-server",
|
||||
"build-essential",
|
||||
"patch",
|
||||
"libpq-dev",
|
||||
"ntp",
|
||||
"ntpdate",
|
||||
"patch",
|
||||
"postgresql-client",
|
||||
"postgresql-common",
|
||||
"postgresql",
|
||||
"redis-server",
|
||||
"tzdata",
|
||||
"xz-utils",
|
||||
|
||||
# For Ruby
|
||||
|
||||
"libjemalloc-dev",
|
||||
"curl",
|
||||
"build-essential",
|
||||
"libreadline-dev",
|
||||
"zlib1g-dev",
|
||||
"libsqlite3-dev",
|
||||
"libssl-dev",
|
||||
"libxml2-dev",
|
||||
"libxslt-dev",
|
||||
"autoconf",
|
||||
"automake",
|
||||
"bison",
|
||||
"libtool",
|
||||
]
|
||||
|
||||
[resources.apt.extras.yarn]
|
||||
|
|
|
@ -216,7 +216,8 @@ ynh_install_ruby () {
|
|||
final_ruby_version=$ruby_version
|
||||
fi
|
||||
ynh_print_info --message="Installing Ruby-$final_ruby_version"
|
||||
CONFIGURE_OPTS="--disable-install-doc --with-jemalloc" MAKE_OPTS="-j2" rbenv install --skip-existing $final_ruby_version > /dev/null 2>&1
|
||||
CONFIGURE_OPTS="--disable-install-doc --with-jemalloc" MAKE_OPTS="-j2" rbenv install --skip-existing $final_ruby_version
|
||||
# > /dev/null 2>&1
|
||||
|
||||
# Store ruby_version into the config of this app
|
||||
ynh_app_setting_set --app=$YNH_APP_INSTANCE_NAME --key=ruby_version --value=$final_ruby_version
|
||||
|
|
Loading…
Add table
Reference in a new issue