Shekharrajak/daru_examples_io_view_rails

RSRuby gem installation on Heroku

Open

#11 aperta il 20 ago 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Ruby (4 fork)github user discovery
help wanted

Metriche repository

Star
 (3 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor