I tried installing build-essential, g++ now getting this error from ~/.rvm/log/configure.log
[2016-12-17 14:17:50] ./configure current path: /home/myusername/.rvm/src/ruby-2.3.3 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/myusername/.rvm/bin command(4): ./configure --prefix=/home/myusername/.rvm/rubies/ruby-2.3.3 --disable-install-doc --enable-shared checking for ruby... false checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in /home/myusername/.rvm/src/ruby-2.3.3': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'. See `config.log' for more details -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7fb22fea-5a3f-49a4-ad09-8f70f6f1d2ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.