diff --git a/manifest.toml b/manifest.toml index df5b963..13a13c5 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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] diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2 index 2c56495..d70e5e2 100644 --- a/scripts/ynh_install_ruby__2 +++ b/scripts/ynh_install_ruby__2 @@ -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