This tool looks great, but the install is difficult. Suggest you fire up a new Ubuntu 14.04 VM, update fully, then give it a shot.
Specifically I had trouble:
- Installing json gem (got it eventually)
- Installing eventmachine gem (something to do with OpenSSL I think). This is where I gave up.
I suspect some additional packages are required, but I'm not an ubuntu or Ruby expert.
Error from a referenced error file: package configuration for openssl is not found
Trace of trying to install
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/.
Resolving dependencies...
Using rake 11.3.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.1
Using thread_safe 0.3.5
Using builder 3.2.2
Using arel 6.0.3
Using addressable 2.3.8
Using backports 3.6.8
Using coderay 1.1.1
Using cookiejar 0.3.3
Using safe_yaml 1.0.4
Using diff-lcs 1.2.5
Using dotenv 2.1.1
Installing eventmachine 1.2.0.1 with native extensions
Installing http_parser.rb 0.6.0 with native extensions
Using thor 0.19.1
Using tilt 2.0.5
Using hashdiff 0.3.0
Using multi_xml 0.5.5
Using multi_json 1.12.1
Using mime-types-data 3.2016.0521
Using method_source 0.8.2
Installing pg 0.18.1 with native extensions
Using slop 3.6.0
Using rack 1.6.5
Using slack-notifier 1.5.1
Using rspec-support 3.5.0
Using bundler 1.13.6
Using tzinfo 1.2.2
Using crack 0.4.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.3.0/gems/eventmachine-1.2.0.1/ext
/usr/bin/ruby2.3 -r ./siteconf20161116-15126-1aza4q0.rb extconf.rb
checking for main() in -lcrypto... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)2.3
--with-ssl-dir
--without-ssl-dir
--with-ssl-include
--without-ssl-include=${ssl-dir}/include
--with-ssl-lib
--without-ssl-lib=${ssl-dir}/lib
--with-openssl-config
--without-openssl-config
--with-pkg-config
--without-pkg-config
--with-cryptolib
--without-cryptolib
/usr/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/lib/ruby/2.3.0/mkmf.rb:541:in try_link0'
from /usr/lib/ruby/2.3.0/mkmf.rb:556:in try_link' from /usr/lib/ruby/2.3.0/mkmf.rb:765:in try_func'
from /usr/lib/ruby/2.3.0/mkmf.rb:997:in block in have_library' from /usr/lib/ruby/2.3.0/mkmf.rb:942:in block in checking_for'
from /usr/lib/ruby/2.3.0/mkmf.rb:350:in block (2 levels) in postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /usr/lib/ruby/2.3.0/mkmf.rb:350:in block in postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /usr/lib/ruby/2.3.0/mkmf.rb:346:in postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:941:in checking_for'
from /usr/lib/ruby/2.3.0/mkmf.rb:992:in have_library' from extconf.rb:8:in block in check_libs'
from extconf.rb:8:in each' from extconf.rb:8:in all?'
from extconf.rb:8:in check_libs' from extconf.rb:95:in
'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/eventmachine-1.2.0.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.3.0/gems/eventmachine-1.2.0.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/eventmachine-1.2.0.1/gem_make.out
An error occurred while installing eventmachine (1.2.0.1), and Bundler cannot continue.
Make sure that gem install eventmachine -v '1.2.0.1' succeeds before bundling.
This tool looks great, but the install is difficult. Suggest you fire up a new Ubuntu 14.04 VM, update fully, then give it a shot.
Specifically I had trouble:
I suspect some additional packages are required, but I'm not an ubuntu or Ruby expert.
Error from a referenced error file: package configuration for openssl is not found
Trace of trying to install
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/.
Resolving dependencies...
Using rake 11.3.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.1
Using thread_safe 0.3.5
Using builder 3.2.2
Using arel 6.0.3
Using addressable 2.3.8
Using backports 3.6.8
Using coderay 1.1.1
Using cookiejar 0.3.3
Using safe_yaml 1.0.4
Using diff-lcs 1.2.5
Using dotenv 2.1.1
Installing eventmachine 1.2.0.1 with native extensions
Installing http_parser.rb 0.6.0 with native extensions
Using thor 0.19.1
Using tilt 2.0.5
Using hashdiff 0.3.0
Using multi_xml 0.5.5
Using multi_json 1.12.1
Using mime-types-data 3.2016.0521
Using method_source 0.8.2
Installing pg 0.18.1 with native extensions
Using slop 3.6.0
Using rack 1.6.5
Using slack-notifier 1.5.1
Using rspec-support 3.5.0
Using bundler 1.13.6
Using tzinfo 1.2.2
Using crack 0.4.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.3 -r ./siteconf20161116-15126-1aza4q0.rb extconf.rb
checking for main() in -lcrypto... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
'--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)2.3
--with-ssl-dir
--without-ssl-dir
--with-ssl-include
--without-ssl-include=${ssl-dir}/include
--with-ssl-lib
--without-ssl-lib=${ssl-dir}/lib
--with-openssl-config
--without-openssl-config
--with-pkg-config
--without-pkg-config
--with-cryptolib
--without-cryptolib
/usr/lib/ruby/2.3.0/mkmf.rb:456:in
try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/lib/ruby/2.3.0/mkmf.rb:541:intry_link0'from /usr/lib/ruby/2.3.0/mkmf.rb:556:in
try_link' from /usr/lib/ruby/2.3.0/mkmf.rb:765:intry_func'from /usr/lib/ruby/2.3.0/mkmf.rb:997:in
block in have_library' from /usr/lib/ruby/2.3.0/mkmf.rb:942:inblock in checking_for'from /usr/lib/ruby/2.3.0/mkmf.rb:350:in
block (2 levels) in postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:320:inopen'from /usr/lib/ruby/2.3.0/mkmf.rb:350:in
block in postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:320:inopen'from /usr/lib/ruby/2.3.0/mkmf.rb:346:in
postpone' from /usr/lib/ruby/2.3.0/mkmf.rb:941:inchecking_for'from /usr/lib/ruby/2.3.0/mkmf.rb:992:in
have_library' from extconf.rb:8:inblock in check_libs'from extconf.rb:8:in
each' from extconf.rb:8:inall?'from extconf.rb:8:in
check_libs' from extconf.rb:95:inTo see why this extension failed to compile, please check the mkmf.log which can be found here:
/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/eventmachine-1.2.0.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.3.0/gems/eventmachine-1.2.0.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/eventmachine-1.2.0.1/gem_make.out
An error occurred while installing eventmachine (1.2.0.1), and Bundler cannot continue.
Make sure that
gem install eventmachine -v '1.2.0.1'succeeds before bundling.