Shekharrajak/daru_examples_io_view_rails

RSRuby gem installation on Heroku

Open

#11 建立於 2017年8月20日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Ruby (4 fork)github user discovery
help wanted

倉庫指標

Star
 (3 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

The rsruby gem is required for RDS Exporter showcase. Here's the Travis CI equivalent for installing the rsruby gem -

sudo apt-get install -y libgsl0-dev r-base r-base-dev
sudo Rscript -e "install.packages(c('Rserve','irr'),,'http://cran.us.r-project.org')"
R CMD Rserve
export R_HOME=/usr/lib/R
gem install rsruby -- --with-R-dir=$R_HOME --with-R-include=/usr/share/R/include --with_cflags="-fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wall -fno-strict-aliasing"

However, the above doesn't seem to work with heroku run <statement> console calls.

貢獻者指南