geerlingguy / demo-rails-app Goto Github PK
View Code? Open in Web Editor NEWDemonstration Ruby on Rails app for Ansible for DevOps
Demonstration Ruby on Rails app for Ansible for DevOps
Something super basic, but:
TASK [Install required dependencies with bundler.] *****************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "bundle install --path vendor/bundle", "delta": "0:00:04.892550", "end": "2019-01-09 03:11:00.525158", "msg": "non-zero return code", "rc": 5, "start": "2019-01-09 03:10:55.632608", "stderr": "", "stderr_lines": [], "stdout": "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 rake 10.4.2
Installing rake 10.4.2
Fetching i18n 0.7.0
Installing i18n 0.7.0
Fetching json 1.8.2
Installing json 1.8.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/opt/demo-rails-app/vendor/bundle/ruby/2.6.0/gems/json-1.8.2/ext/json/ext/generator
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.6.0 -r
./siteconf20190109-17765-o7jztz.rb extconf.rb
creating Makefile
current directory:
/opt/demo-rails-app/vendor/bundle/ruby/2.6.0/gems/json-1.8.2/ext/json/ext/generator
make \"DESTDIR=\" clean
current directory:
/opt/demo-rails-app/vendor/bundle/ruby/2.6.0/gems/json-1.8.2/ext/json/ext/generator
make \"DESTDIR=\"
compiling generator.c
generator.c: In function 'generate_json':
generator.c:867:25: error: 'rb_cFixnum' undeclared (first use in this function);
did you mean 'mFixnum'?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:867:25: note: each undeclared identifier is reported only once for
each function it appears in
generator.c:869: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-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1: warning: unrecognized command line option '-Wno-cast-function-type'
Makefile:243: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/opt/demo-rails-app/vendor/bundle/ruby/2.6.0/gems/json-1.8.2 for inspection.
Results logged to
/opt/demo-rails-app/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-1.8.2/gem_make.out
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2' --source 'http://rubygems.org/'`
succeeds before bundling.
So... for the purposes of Ansible for DevOps, I may need to rebuild the demo app and use a new series of tags, e.g. 2.0.0, 2.0.1, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.