Shekharrajak/daru_examples_io_view_rails

RSRuby gem installation on Heroku

Open

#11 opened on 2017年8月20日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Ruby (4 forks)github user discovery
help wanted

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド