Hello list.
Some time ago I tried to install Trema on a fresh Ubuntu 14.04 PC. The instructions from the README didn't work but after looking through the recent issues on GitHub I figured it out how to make it work using the default ruby version (1.9.1). Today I tried to setup another Trema controller on another Ubuntu 14.04 host and it failed because trema/pio now requires ruby 2.0.
I hope this will be eventually fixed and/or documented, meanwhile let me share the commands that made it work for me, maybe it will save somebody an hour.
(as root)
apt-get --yes install gcc make ruby2.0 ruby2.0-dev libsqlite3-dev libpcap-dev libglib2.0-dev
for f in erb gem irb rake rdoc ri ruby testrb; do rm /usr/bin/$f; ln -s ${f}2.0 /usr/bin/$f; done
gem install rubygems-update
update_rubygems
gem install bundler
ln -s /usr/include/x86_64-linux-gnu/ruby-2.0.0/ruby/config.h /usr/include/ruby-2.0.0/ruby/
(as user)
git clone git://
github.com/trema/trema
cd trema
bundle install
rake
--
Denis Ovsienko