RubyKube Workbench on Google Cloud Platform

Hi,

I am deploying RubyKube Workbench on Google Cloud Platform. I am following the below tutorial.

I am getting one issue while running one command i.e make build. I am getting the below error while executing the command.

ERROR: Service ‘trading_ui’ failed to build

Check Screenshot: http://prntscr.com/nqtp52

Please let me know what should I need to do. I have changed many versions for the bundler also but nothing works.

Please help and respond to my request ASAP.

Thanks

There was an exploit in 3.2.0.2, so it was yanked.

cd app/trading-ui && vim Gemfile

Change the bootstrap version to 3.4 and you should pass this step. However, you will then get an error that the Gemfile.lock file doesn’t have write permission.

I then found solution for Gemfile.lock not writable. Within the trading-ui folder:

rm Gemfile.lock && touch Gemfile.lock && chmod a+w Gemfile.lock && vim Gemfile.lock

In the vim editor paste the following code. This should lead to a successful build!

GEM
  remote: https://rubygems.org/
  specs:
    actioncable (5.1.6)
      actionpack (= 5.1.6)
      nio4r (~> 2.0)
      websocket-driver (~> 0.6.1)
    actionmailer (5.1.6)
      actionpack (= 5.1.6)
      actionview (= 5.1.6)
      activejob (= 5.1.6)
      mail (~> 2.5, >= 2.5.4)
      rails-dom-testing (~> 2.0)
    actionpack (5.1.6)
      actionview (= 5.1.6)
      activesupport (= 5.1.6)
      rack (~> 2.0)
      rack-test (>= 0.6.3)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.2)
    actionview (5.1.6)
      activesupport (= 5.1.6)
      builder (~> 3.1)
      erubi (~> 1.4)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.3)
    activejob (5.1.6)
      activesupport (= 5.1.6)
      globalid (>= 0.3.6)
    activemodel (5.1.6)
      activesupport (= 5.1.6)
    activerecord (5.1.6)
      activemodel (= 5.1.6)
      activesupport (= 5.1.6)
      arel (~> 8.0)
    activesupport (5.1.6)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
    arel (8.0.0)
    bootstrap-sass (3.2.0.2)
      sass (~> 3.2)
    bourbon (4.3.4)
      sass (~> 3.4)
      thor (~> 0.19)
    builder (3.2.3)
    byebug (10.0.2)
    coderay (1.1.2)
    coffee-rails (4.2.2)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0)
    coffee-script (2.4.1)
      coffee-script-source
      execjs
    coffee-script-source (1.12.2)
    concurrent-ruby (1.0.5)
    crass (1.0.3)
    ejs (1.1.1)
    erubi (1.7.1)
    execjs (2.7.0)
    faraday (0.14.0)
      multipart-post (>= 1.2, < 3)
    ffi (1.9.23)
    figaro (1.1.1)
      thor (~> 0.14)
    font-awesome-sass (5.0.9)
      sass (>= 3.2)
    globalid (0.4.1)
      activesupport (>= 4.2.0)
    http_accept_language (2.1.1)
    i18n (1.0.0)
      concurrent-ruby (~> 1.0)
    jquery-rails (4.3.1)
      rails-dom-testing (>= 1, < 3)
      railties (>= 4.2.0)
      thor (>= 0.14, < 2.0)
    libv8 (6.3.292.48.1)
    listen (3.1.5)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
      ruby_dep (~> 1.2)
    loofah (2.2.2)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    mail (2.7.0)
      mini_mime (>= 0.1.1)
    method_source (0.9.0)
    mini_mime (1.0.0)
    mini_portile2 (2.3.0)
    mini_racer (0.1.15)
      libv8 (~> 6.3)
    minitest (5.11.3)
    momentjs-rails (2.20.1)
      railties (>= 3.1)
    multipart-post (2.0.0)
    nio4r (2.3.0)
    nokogiri (1.8.2)
      mini_portile2 (~> 2.3.0)
    pry (0.11.3)
      coderay (~> 1.1.0)
      method_source (~> 0.9.0)
    pry-byebug (3.6.0)
      byebug (~> 10.0)
      pry (~> 0.10)
    puma (3.11.3)
    rack (2.0.5)
    rack-test (1.0.0)
      rack (>= 1.0, < 3)
    rails (5.1.6)
      actioncable (= 5.1.6)
      actionmailer (= 5.1.6)
      actionpack (= 5.1.6)
      actionview (= 5.1.6)
      activejob (= 5.1.6)
      activemodel (= 5.1.6)
      activerecord (= 5.1.6)
      activesupport (= 5.1.6)
      bundler (>= 1.3.0)
      railties (= 5.1.6)
      sprockets-rails (>= 2.0.0)
    rails-dom-testing (2.0.3)
      activesupport (>= 4.2.0)
      nokogiri (>= 1.6)
    rails-html-sanitizer (1.0.4)
      loofah (~> 2.2, >= 2.2.2)
    railties (5.1.6)
      actionpack (= 5.1.6)
      activesupport (= 5.1.6)
      method_source
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rake (12.3.1)
    rb-fsevent (0.10.3)
    rb-inotify (0.9.10)
      ffi (>= 0.5.0, < 2)
    ruby_dep (1.5.0)
    sass (3.5.6)
      sass-listen (~> 4.0.0)
    sass-listen (4.0.0)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    sass-rails (5.0.7)
      railties (>= 4.0.0, < 6)
      sass (~> 3.1)
      sprockets (>= 2.8, < 4.0)
      sprockets-rails (>= 2.0, < 4.0)
      tilt (>= 1.1, < 3)
    sprockets (3.7.2)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    sprockets-rails (3.2.1)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)
    thor (0.20.0)
    thread_safe (0.3.6)
    tilt (2.0.8)
    tzinfo (1.2.5)
      thread_safe (~> 0.1)
    uglifier (4.1.8)
      execjs (>= 0.3.0, < 3)
    websocket-driver (0.6.5)
      websocket-extensions (>= 0.1.0)
    websocket-extensions (0.1.3)

PLATFORMS
  ruby

DEPENDENCIES
  bootstrap-sass (~> 3.2.0.2)
  bourbon (~> 4.3)
  coffee-rails (~> 4.2)
  ejs (~> 1.1)
  faraday (~> 0.12)
  figaro (~> 1.1)
  font-awesome-sass (~> 5.0)
  http_accept_language (~> 2.1)
  jquery-rails (~> 4.3)
  listen (>= 3.0.5, < 3.2)
  mini_racer (~> 0.1)
  momentjs-rails (~> 2.17)
  pry-byebug (~> 3.5)
  puma (~> 3.7)
  rails (~> 5.1.5)
  sass-rails (~> 5.0)
  sprockets (~> 3.7.2)
  uglifier (~> 4.1)

BUNDLED WITH
   1.16.2