rinruby
rinruby copied to clipboard
rinruby cant find R
using bundler, when calling my rackup script. /home/user/.rvm/rubies/ruby-2.2.3/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/user/.rvm/gems/ruby-2.2.3/gems/ruby-debug-ide-0.4.24/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 33242 --dispatcher-port 43995 -- /home/user/.rvm/rubies/ruby-2.2.3/bin/rake test:drip RACK_ENV=test
the rinruby script will generate this cmd on debian:
R --interactive --slave
for some reason the shell does not have the right path to R and the execution fails. I find that calling
/usr/bin/R --interactive --slave
will fix the issue but its a temporary fix.
any idea what to do to make sure the paths are correct?