Ouch. I got a new error, and being a Ruby newb, I not only don’t know what it means, but am not sure how to pick up installation where it left off if I fix it.
It looks like its unable to compile the json gem, which strikes me as mildly astonishing on an up to date linux:
Setup the game.
Fetching gem metadata from http://rubygems.org/…
Fetching rake 10.4.2
Installing rake 10.4.2
Fetching i18n 0.6.11
Installing i18n 0.6.11
Fetching json 1.8.3
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
/home/ares/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180317-12836-7mowmm.rb extconf.rb
creating Makefile
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
make “DESTDIR=” clean
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
make “DESTDIR=”
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only once for each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
generator.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target ‘generator.o’ failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3 for inspection.
Results logged to /home/ares/.rvm/gems/ruby-2.4.1/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that gem install json -v '1.8.3' succeeds before bundling.
In Gemfile:
activesupport was resolved to 4.1.16, which depends on
json
Could not find json-1.8.3 in any of the sources
Run bundle install to install missing gems.
Could not find json-1.8.3 in any of the sources
Run bundle install to install missing gems.
Setup the web portal.
Node for Ember
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12540 100 12540 0 0 12540 0 0:00:01 --:–:-- 0:00:01 87083
=> Downloading nvm from git to ‘/home/ares/.nvm’
=> Cloning into ‘/home/ares/.nvm’…
remote: Counting objects: 264, done.
remote: Compressing objects: 100% (229/229), done.
remote: Total 264 (delta 31), reused 106 (delta 25), pack-reused 0
Receiving objects: 100% (264/264), 116.46 KiB | 8.32 MiB/s, done.
Resolving deltas: 100% (31/31), done.
Note: checking out ‘7ad6d98cedde01809e32d56ab8ced064f6f28175’.
You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
=> Compressing and cleaning up git repository
=> Appending nvm source string to /home/ares/.bashrc
=> Appending bash_completion source string to /home/ares/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR=“$HOME/.nvm”
[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh” # This loads nvm
[ -s “$NVM_DIR/bash_completion” ] && . “$NVM_DIR/bash_completion” # This loads nvm bash_completion
Downloading and installing node v9.8.0…
Downloading https://nodejs.org/dist/v9.8.0/node-v9.8.0-linux-x64.tar.xz…
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v9.8.0 (npm v5.6.0)
Creating default alias: default → node (-> v9.8.0)
Ember CLI
/home/ares/.nvm/versions/node/v9.8.0/bin/ember → /home/ares/.nvm/versions/node/v9.8.0/lib/node_modules/ember-cli/bin/ember
spawn-sync@1.0.15 postinstall /home/ares/.nvm/versions/node/v9.8.0/lib/node_modules/ember-cli/node_modules/spawn-sync
node postinstall
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/ember-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
-
ember-cli@3.0.1
added 740 packages in 22.843s
Bower for web dependencies
npm WARN deprecated bower@1.8.2: …psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: How to migrate away from Bower? · Bower blog
/home/ares/.nvm/versions/node/v9.8.0/bin/bower → /home/ares/.nvm/versions/node/v9.8.0/lib/node_modules/bower/bin/bower
-
bower@1.8.2
added 1 package in 2.774s
Creating game dir link.
Starting game
Fetching gem metadata from http://rubygems.org/…
Using rake 10.4.2
Using i18n 0.6.11
Fetching json 1.8.3
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
/home/ares/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180317-13991-12597pv.rb extconf.rb
creating Makefile
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
make “DESTDIR=” clean
current directory: /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3/ext/json/ext/generator
make “DESTDIR=”
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only once for each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
generator.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target ‘generator.o’ failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/ares/.rvm/gems/ruby-2.4.1/gems/json-1.8.3 for inspection.
Results logged to /home/ares/.rvm/gems/ruby-2.4.1/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that gem install json -v '1.8.3' succeeds before bundling.
In Gemfile:
activesupport was resolved to 4.1.16, which depends on
json
Done!