Giter VIP home page Giter VIP logo

ruby_build's Introduction

ruby-build Chef Cookbook

Cookbook Version OpenCollective License

Description

Manages the ruby-build framework and its installed Rubies, through custom resources.

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If youโ€™d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Usage

It is for use in standalone mode. If you wish to use ruby-build with rbenv, please use the rbenv cookbook.

Requirements

Chef

  • Chef 15+

Supported Platforms

  • Ubuntu 16.04+
  • MacOS
  • debian 8+
  • FreeBSD 9+
  • RedHat 6+

Usage

# metadata.rb
depends 'ruby_build'
# default.rb
ruby_build_install ''

ruby_build_definition '2.6.0'

# build 2.6.0 with a patch that lives in your cookbook's files/default dir
ruby_build_definition '2.6.0' do
  patch 'foobar.patch'
end

Resources

License and Author

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Sponsors

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

ruby_build's People

Contributors

adammck avatar aried3r avatar atheiman avatar axelrtgs avatar bendilley avatar benlangfeld avatar damacus avatar danehammer avatar fnichol avatar h3poteto avatar johnroesler avatar josephholsten avatar kitchen-porter avatar majormoses avatar pdohertybcov avatar pduersteler avatar powerschill avatar ramereth avatar renovate[bot] avatar sabajamalian avatar sabat avatar seansith avatar sekrett avatar tas50 avatar tsabat avatar xorima avatar xorimabot avatar ziggythehamster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby_build's Issues

LWRP always builds ruby

Cookbook version

1.1.0

Chef-client version

Chef: 14.8.12

Platform Details

Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux via test kitchen

Scenario:

I'm building ruby 2.4.4 via the LWRP. The ruby is completely built on every chef-client run instead of only once (as the ruby version is already built and present).

Steps to Reproduce:

Using the following two lines inside a recipe:

include_recipe 'ruby_build'
ruby_build_ruby '2.4.4'

Expected Result:

The ruby is only built if not present.

Actual Result:

The ruby is built on every chef-client run, which can be monitored by e.g. watching the processes in top.

Fails with FATAL: NameError: uninitialized constant Chef::Rbenv::ScriptHelpers

Thanks for this chef-ruby_build cookbook but when i run it with chef solo, it fails. The stack-trace of the error is shown below. please note that i am trying to run two of your cookbooks ie chef-rbenv and chef-ruby_build and this is the error i get.

Thanks for helping.

this is my dna.json file:
{
"run_list": [
"recipe[chef-ruby_build::default]",
"recipe[chef-rbenv::system_install]"
]
}

The Stacktrace
[Thu, 22 Dec 2011 01:22:46 +0000] INFO: *** Chef 0.10.8 ***
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Setting the run_list to ["recipe[chef-ruby_build::default]", "recipe[chef-rbenv:system_install]"] from JSON
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Run List is [recipe[chef-ruby_build::default], recipe[chef-rbenv:system_install]]
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Run List expands to [chef-ruby_build::default, chef-rbenv:system_install]
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Starting Chef Run for dav.localdomain
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Running start handlers
[Thu, 22 Dec 2011 01:22:50 +0000] INFO: Start handlers complete.
[Thu, 22 Dec 2011 01:22:50 +0000] WARN: Missing gem 'right_aws'
[Thu, 22 Dec 2011 01:22:50 +0000] ERROR: Running exception handlers
[Thu, 22 Dec 2011 01:22:50 +0000] ERROR: Exception handlers complete
[Thu, 22 Dec 2011 01:22:50 +0000] FATAL: Stacktrace dumped to /var/chef-solo/chef-stacktrace.out
[Thu, 22 Dec 2011 01:22:50 +0000] FATAL: NameError: uninitialized constant Chef::Rbenv::ScriptHelpers

/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:42:in <class:RbenvRubygems>' /var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:25:inclass:Package'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:24:in <class:Provider>' /var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:23:inclass:Chef'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:22:in <top (required)>' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:82:inload'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:82:in block in load_libraries' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:120:incall'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:120:in block (2 levels) in foreach_cookbook_load_segment' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:119:ineach'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:119:in block in foreach_cookbook_load_segment' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:117:ineach'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:117:in foreach_cookbook_load_segment' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:80:inload_libraries'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:57:in load' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:195:insetup_run_context'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:159:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:inblock in run_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in loop' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:inrun_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in<top (required)>'
/usr/bin/chef-solo:19:in load' /usr/bin/chef-solo:19:in

'

Can't install ruby 2.3.0

I'm trying install ruby 2.3.0 on centos 7, but got this error:

* ruby_build_ruby[2.3.0] action reinstall
           * execute[ruby-build[2.3.0]] action run

             ================================================================================
             Error executing action `run` on resource 'execute[ruby-build[2.3.0]]'
             ================================================================================

             Mixlib::ShellOut::ShellCommandFailed
             ------------------------------------
             Expected process to exit with [0], but received '1'
             ---- Begin output of /usr/local/bin/ruby-build "2.3.0" "/usr/" ----
             STDOUT: 
             STDERR: Downloading ruby-2.3.0.tar.bz2...
             -> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2
             Installing ruby-2.3.0...

             BUILD FAILED (CentOS Linux 7 using ruby-build 20160228)

             Inspect or clean up the working tree at /tmp/ruby-build.20160328202211.27456
             Results logged to /tmp/ruby-build.20160328202211.27456.log

             Last 10 log lines:
                from /tmp/ruby-build.20160328202211.27456/ruby-2.3.0/lib/rubygems/specification.rb:742:in `each'
                from /tmp/ruby-build.20160328202211.27456/ruby-2.3.0/lib/rubygems/specification.rb:742:in `block in each_gemspec'
                from /tmp/ruby-build.20160328202211.27456/ruby-2.3.0/lib/rubygems/specification.rb:741:in `each'
                from /tmp/ruby-build.20160328202211.27456/ruby-2.3.0/lib/rubygems/specification.rb:741:in `each_gemspec'
                from /tmp/ruby-build.20160328202211.27456/ruby-2.3.0/lib/rubygems/specification.rb:819:in `each_spec'
                from ./tool/rbinstall.rb:751:in `block in <main>'
                from ./tool/rbinstall.rb:801:in `block in <main>'
                from ./tool/rbinstall.rb:798:in `each'
                from ./tool/rbinstall.rb:798:in `<main>'
             make: *** [do-install-all] Error 1
             ---- End output of /usr/local/bin/ruby-build "2.3.0" "/usr/" ----

Other versions were installed without errors.

Wrong libgdbm version for debian 10

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

When running the recipe on debian 10, required packages can't be installed as there is no candidate version available for libgdbm.

๐Ÿฅž Cookbook version

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

Chef Infra Client, version 15.4.45

๐ŸŽฉ Platform details

Debian Buster (10)

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add ruby_build to a Berksfile of a cookbook and run berks install
  2. Include ruby_build recipe and build a ruby version (in my case, 2.6.5)
  3. Converge the cookbook
  4. Converging fails because libgdbm can't be found for installing (different version for 1.2.0 and master at b7a969c)

๐Ÿš“ Expected behavior

The recipe installs the correct libgdbm version based on the debian version.

โž• Additional context

  • For debian 9, libgdbm3 is being installed properly ๐Ÿ˜ƒ
  • On v1.2.0 with debian 10, the recipe wants to install libgdbm3 which is not available ๐Ÿ˜ฆ
  • On master at b7a969c with debian 10, the recipe wants to install libgdbm5 which is not available ๐Ÿ˜ฆ

The correct package for debian 10 would be libgdbm6

dependencies for installing ruby

the dependencies for installing Ruby on Debian
are outdated as on Debian 7.4 aka Wheezy

am trusting rvm and using the following dependencies
in my wrapper cookbook

package "g++"
package "autoconf"
package "bison"
package "build-essential"
package "libtool"
package "libgdbm-dev"
package "gcc"
package "make"
package "libc6-dev"
package "pkg-config"
package "libffi-dev"

package "libssl-dev"
package "libyaml-dev"
package "libreadline6"
package "libreadline6-dev"
package "zlib1g"
package "zlib1g-dev"
package "libncurses5-dev"

package "openssl"
package "ca-certificates"

can see them at https://github.com/wayneeseguin/rvm/blob/5924a2fd1f57e277947087171aa237fa1d9ad6be/scripts/functions/requirements/ubuntu#L107

had asked a question on stackoverflow at http://stackoverflow.com/questions/13641163/what-are-the-dependencies-given-on-rvm-requirements-useful-for as well

Git package is always installed by default

Earlier in the same run the git::source recipe ran ( I needed 1.8.0 + which wasn't available via yum )

       [2013-01-04T23:50:16+00:00] INFO: remote_file[/tmp/vagrant-chef-1/git-1.8.0.2.tar.gz] updated
       [2013-01-04T23:50:16+00:00] INFO: remote_file[/tmp/vagrant-chef-1/git-1.8.0.2.tar.gz] mode changed to 644
       [2013-01-04T23:50:16+00:00] INFO: Processing execute[Extracting and Building Git 1.8.0.2 from Source] action run (git::source line 40)
       [2013-01-04T23:51:15+00:00] INFO: execute[Extracting and Building Git 1.8.0.2 from Source] ran successfully

Later the package was installed via yum. Git should be in the path at this point.

       [2013-01-04T23:52:53+00:00] INFO: Processing package[curl] action install (ruby_build::default line 34)
       [2013-01-04T23:52:53+00:00] INFO: Processing package[git] action install (ruby_build::default line 34)
       [2013-01-04T23:52:53+00:00] INFO: package[git] installing git-1.7.1-2.el6_0.1 from base repository
       [2013-01-04T23:53:00+00:00] INFO: Processing execute[Install ruby-build] action nothing (ruby_build::default line 38)
       [2013-01-04T23:53:00+00:00] INFO: Processing directory[/tmp/vagrant-chef-1] action create (ruby_build::default line 48)

Here we see both installs of git

[vagrant@web-centos6 ~]$ ls -la /usr/bin/git
-rwxr-xr-x 105 root root 1138048 Jun 25  2011 /usr/bin/git
[vagrant@web-centos6 ~]$  /usr/bin/git --version
git version 1.7.1
[vagrant@web-centos6 ~]$ which git
/usr/local/bin/git
[vagrant@web-centos6 ~]$ git --version
git version 1.8.0

Error in curl recipe

I'm using this recipe in Vagrant, and I'm getting this error:

apt-get -q -y install curl=7.19.7-1ubuntu1.1 returned 100, expected 0

Is it something that got deprecated?

Add Patch Option

Cookbook version

1.1.0

Platform Details

All

Scenario:

Patch a ruby before installing should be possible.

PR #13 should help fix this.
closed #13 down as it's out of date, but a good start.

Update Changelog

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

Update all CHANGELOGs to follow standard defined at https://keepachangelog.com/

Issue sprouted from sous-chefs/meta/issues/101. If not applicable then issue should be closed.

Remove .rubocop.yml with Dangerfile

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

If the only thing in the .rubocop/yml is Dangerfile
Run the latest cookstyle
Remove .rubpopo.yml

Issue sprouted from sous-chefs/meta/issues/108. If not applicable then issue should be closed.

Upgrade strategy

A better upgrade strategy would be to verify ruby versions from ruby executable, something like:

"ruby -e 'RUBY_VERSION' | grep #{@rubie}"

That way we could rip off the "upgrade strategy = none" hack and have a working upgrade strategy.

Default ruby_build recipe failing on Vagrant Lucid with "NameError: wrong constant name Ruby-buildRuby"

I'm trying to build a recipe to install my environment on a Vagrant virtual machine. I'm trying to install ruby_build, but I'm getting this exception NameError: wrong constant name Ruby-buildRubywhen running Chef-Solo with this run list:

{
  "run_list": [
    "recipe[ruby_build]"
  ]
}

You can find a repo with everything you should need to try: Vagrant config, librarian Cheffile, the Chef Solo config file, etc.

This is what I get:

MacBook:ruby_build_test me$ vagrant ssh
$ vagrant@lucid32:~$ cd /vagrant
$ vagrant@lucid32:/vagrant$ sudo chef-solo -c chef_solo_config.rb -j dna.json 
[Thu, 17 May 2012 20:43:44 +0200] INFO: *** Chef 0.10.8 ***
[Thu, 17 May 2012 20:43:45 +0200] INFO: Setting the run_list to ["recipe[ruby_build]"] from JSON
[Thu, 17 May 2012 20:43:45 +0200] INFO: Run List is [recipe[ruby_build]]
[Thu, 17 May 2012 20:43:45 +0200] INFO: Run List expands to [ruby_build]
[Thu, 17 May 2012 20:43:45 +0200] INFO: Starting Chef Run for lucid32
[Thu, 17 May 2012 20:43:45 +0200] INFO: Running start handlers
[Thu, 17 May 2012 20:43:45 +0200] INFO: Start handlers complete.
[Thu, 17 May 2012 20:43:45 +0200] ERROR: Running exception handlers
[Thu, 17 May 2012 20:43:45 +0200] ERROR: Exception handlers complete
[Thu, 17 May 2012 20:43:45 +0200] FATAL: Stacktrace dumped to /tmp/chef/chef-stacktrace.out
[Thu, 17 May 2012 20:43:45 +0200] FATAL: NameError: wrong constant name Ruby-buildRuby
vagrant@lucid32:/vagrant$ 

I'm newbie on Vagrant and Chef, so I may be doing a stupid mistake. I apologize in advance if that's the case, and thanks for your help!

OpenJDK doesn't install properly on Debian-10

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

OpenJDK doesn't install peroperly on Debian-10

๐Ÿฅž Cookbook version

Latest

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

15+

๐ŸŽฉ Platform details

Debian 10

Steps To Reproduce

Steps to reproduce the behavior:

dokken test debian-10

๐Ÿš“ Expected behavior

A version of openjdk is installed and JRuby works

โž• Additional context

PR #80 is waiting on this issue to be resolved

Fails with: the enclosing directory /root/.chef/state/cache does not exist

I bootstrap rbenv+ruby+bundler+chef as a user install under /root/.rbenv, then invoke a chef-solo run to install system wide.
The apt cache-client recipe installs fine, so chef seems to run fine fine.

At the ruby_build install stage this happens:

[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing package[tar] action install (ruby_build::default line 34)
[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing package[bash] action install (ruby_build::default line 34)
[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing package[curl] action install (ruby_build::default line 34)
[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing package[git-core] action install (ruby_build::default line 34)
[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing execute[Install ruby-build] action nothing (ruby_build::default line 38)
[Thu, 09 Feb 2012 12:28:45 +1100] INFO: Processing git[/root/.chef/state/cache/ruby-build] action checkout (ruby_build::default line 48)
[Thu, 09 Feb 2012 12:28:45 +1100] ERROR: git[/root/.chef/state/cache/ruby-build] (ruby_build::default line 48) has had an error
[Thu, 09 Feb 2012 12:28:45 +1100] ERROR: git[/root/.chef/state/cache/ruby-build] (/home/hedge/personal-chef/cookbooks/ruby_build/recipes/default.rb:48:in `from_file') had an error:
git[/root/.chef/state/cache/ruby-build] (ruby_build::default line 48) had an error: Chef::Exceptions::MissingParentDirectory: Cannot clone git[/root/.chef/state/cache/ruby-build] to /root/.chef/state/cache/ruby-build, the enclosing directory /root/.chef/state/cache does not exist
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/provider/git.rb:81:in `assert_target_directory_valid!'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/provider/git.rb:39:in `action_checkout'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource.rb:440:in `run_action'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:45:in `run_action'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:81:in `each'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:81:in `block in converge'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/resource_collection.rb:92:in `execute_each_resource'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/runner.rb:76:in `converge'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:312:in `converge'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:160:in `run'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:in `block in run_application'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `loop'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `run_application'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in `run'
/home/hedge/personal-chef/vendor/ruby/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in `<top (required)>'
/home/hedge/personal-chef/vendor/ruby/1.9.1/bin/chef-solo:19:in `load'
/home/hedge/personal-chef/vendor/ruby/1.9.1/bin/chef-solo:19:in `<main>'
[Thu, 09 Feb 2012 12:28:45 +1100] ERROR: Running exception handlers
[Thu, 09 Feb 2012 12:28:45 +1100] ERROR: Exception handlers complete
[Thu, 09 Feb 2012 12:28:45 +1100] FATAL: Stacktrace dumped to /root/.chef/state/cache/chef-stacktrace.out
[Thu, 09 Feb 2012 12:28:45 +1100] FATAL: Chef::Exceptions::MissingParentDirectory: git[/root/.chef/state/cache/ruby-build] (ruby_build::default line 48) had an error: Chef::Exceptions::MissingParentDirectory: Cannot clone git[/root/.chef/state/cache/ruby-build] to /root/.chef/state/cache/ruby-build, the enclosing directory /root/.chef/state/cache does not exist

shorter description to make the web page look good

In my configuration, Chrome on a 13" MacBook Pro with the window maximized and the bookmark bar showing, the sidebar overlaps the text "Hosted on GitHub Pages". This turns an otherwise beautiful web page into one that looks slightly off. If you make the description just a bit shorter, this visual glitch would go away.

screen shot 2014-06-04 at 7 38 03 pm

chefspec fails on `git --version >/dev/null`

Failure/Error: chef_run.converge(described_recipe)
     ChefSpec::Error::CommandNotStubbed:
       Executing a real command is disabled. Unregistered command: `command("git --version >/dev/null")`"

       You can stub this command with:

         stub_command("git --version >/dev/null").and_return(...)

Relevant code: https://github.com/fnichol/chef-ruby_build/blob/d2d8e21709088871e5263257967c8909b5bd5090/recipes/default.rb#L39

Array(node['ruby_build']['install_git_pkgs']).each do |pkg|
  package pkg do
    not_if "git --version >/dev/null"
  end
end

Just need to do the following in chefspec, but am not sure if more could be done to prevent the error in the first place.:

describe 'role[some_role]' do
  before do
    stub_command('git --version >/dev/null').and_return()
  end
end

Update builds to be parallel

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

As part of our build process we should build each possible operating system separately

  1. Ensure you have dokken setup and working:
  2. dokken: aliased to KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen
  3. run dokken list, you should see a list of builds with dokken as the provider
  4. download: https://github.com/sous-chefs/repo-management/blob/master/scripts/circleci_maker.rb and make this executable
  5. run: dokken list -j | ./circleci_maker.rb > .circleci/config.yml

Issue sprouted from sous-chefs/meta/issues/112. If not applicable then issue should be closed.

C Ruby dependencies don't get installed ruby 2.1.x

the regex in install_ruby_dependencies

      when /^\d\.\d\.\d-/, /^rbx-/, /^ree-/

doesn't match the MRI ruby patterns in ruby_build without a patch level, e.g. 2.1.3 and therefore the packages don't get installed.

Removing the trailing slash should cover it as I don't see an other ruby versions using that pattern.

Unable to use ruby_build_definition

๐Ÿ‘ป Brief Description

Using ruby_build_definition raises an ArgumentError and fails.

๐Ÿฅž Cookbook version

master@ec52a6c

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

ChefDK version: 4.7.73
Chef Infra Client version: 15.7.32
Chef InSpec version: 4.18.51
Test Kitchen version: 2.3.4

๐ŸŽฉ Platform details

Experienced this issue on

  • debian 10 (buster) in kitchen dokken
  • debian 10 on a virtual machine (testing environment for cookbooks)

Steps To Reproduce

Steps to reproduce the behavior:

  1. Create a new cookbook
  2. Add ruby_build cookbook as dependency in Berksfile and metadata.rb, and run berks
  3. Add ruby_build_install and ruby_build_definition lines to cookbook recipe
  4. Converge cookbook in test kitchen or on a virtual machine
  5. See ArgumentError for ruby_build_definition

๐Ÿš“ Expected behavior

ruby_build_definition to build the expected ruby version.

โž• Additional context

Having a look at https://github.com/sous-chefs/ruby_build/blob/master/libraries/package_deps.rb#L30 the method is called with arguments from https://github.com/sous-chefs/ruby_build/blob/master/resources/definition.rb#L22 though it does not take any arguments.

I added a short example at https://github.com/pduersteler/ruby_build_issue_110

Wrong version of libgdbm and libssl-dev required for Ubuntu 19.x

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

Chef fails to build Ruby on a clean install of Ubuntu 19.10 because it attempts to install outdated versions of the libgdbm and libssl-dev packages.

Ubuntu 19.04 (disco) and 19.10 (eoan) provide libgdbm6 and libssl-dev, but the default attributes require libgdbm3 and libssl1.0-dev (the latter error is fixed on master).

๐Ÿฅž Cookbook version

1.2.0 (and I've also tried master).

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

15.6.10

๐ŸŽฉ Platform details

~  % lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.10
Release:	19.10
Codename:	eoan
~  % cat /proc/version
Linux version 5.3.0-24-generic (buildd@lgw01-amd64-035) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019

Steps To Reproduce

  1. Create a minimal recipe like so:

    include_recipe 'ruby_build'
    
    package 'rbenv'
    package 'ruby-build'
    
    ruby_build_ruby '2.7.0'
    
  2. Invoke chef-client:

    % sudo chef-client --minimal-ohai
    
  3. Get error similar to this one. Here's the relevant bit:

    * ruby_build_ruby[2.7.0] action install
      * apt_package[autoconf, bison, build-essential, libssl1.0-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libsqlite3-dev, libxml2-dev, libxslt1-dev, libc6-dev, libffi-dev, libgdbm5, libgdbm-dev] action install
        * No candidate version available for libssl1.0-dev, libgdbm5
        ================================================================================
        Error executing action `install` on resource 'apt_package[autoconf, bison, build-essential, libssl1.0-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libsqlite3-dev, libxml2-dev, libxslt1-dev, libc6-dev, libffi-dev, libgdbm5, libgdbm-dev]'
        ================================================================================
    
        Chef::Exceptions::Package
        -------------------------
        No candidate version available for libssl1.0-dev, libgdbm5
    

๐Ÿš“ Expected behavior

  • Ruby 2.7.0 is successfully installed.
  • Output resembles:
    Converging 8 resources
    Recipe: git::package
      * git_client[default] action install
        * apt_package[default :create git] action install (up to date)
         (up to date)
    Recipe: ruby_build::default
      * apt_package[tar, bash, curl] action install (up to date)
      * execute[Install ruby-build] action nothing (skipped due to action :nothing)
      * directory[/var/chef/cache] action create (up to date)
      * git[/var/chef/cache/ruby-build] action checkout
        - clone from https://github.com/rbenv/ruby-build.git into /var/chef/cache/ruby-build
        - checkout ref 732d48331883446d802d08572845825f0fdb2b16 branch master
      * execute[Install ruby-build] action run
        - execute ./install.sh
    Recipe: htpc::ruby
      * apt_package[ruby-build] action install
        - install version 20170726-1 of package ruby-build
      * apt_package[rbenv] action install (up to date)
      * ruby_build_ruby[2.7.0] action install
        * apt_package[autoconf, bison, build-essential, libc6-dev, libffi-dev, libgdbm-dev, libgdbm6, libreadline6-dev, libsqlite3-dev, libssl-dev, libxml2-dev, libxslt1-dev, libyaml-dev, zlib1g-dev] action install (up to date)
        * execute[ruby-build[2.7.0]] action run
          - execute /usr/local/bin/ruby-build "2.7.0" "/usr/local/ruby/2.7.0"
    

โž• Additional context

Workaround

You can override the list of dependencies in your recipe like so:

include_recipe 'ruby_build'

node.override[:ruby_build][:install_pkgs_cruby] = %w(
  autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev
  zlib1g-dev libsqlite3-dev libxml2-dev libxslt1-dev
  libc6-dev libffi-dev libgdbm6 libgdbm-dev
)

package 'rbenv'
package 'ruby-build'

ruby_build_ruby '2.7.0'

Pull request

Submitted as #103.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • sous-chefs/.github 3.1.1
  • actions/checkout v4
  • actions/checkout v4
.github/workflows/stale.yml
  • actions/stale v9

  • Check this box to trigger a request for Renovate to run again on this repository

Using file cache path causing issues with vagrant cachier

I use the vagrant-cachier plugin (https://github.com/fgrehm/vagrant-cachier). By default, this plugin does not clear the chef file cache, which is shared between different VMs. Consequently, ruby-build can only be installed once per host machine without manually clearing the cache in between vagrant up/vagrant destroy commands. It would be helpful if the command to install ruby-build wasn't triggered by the absence of the ruby-build directory in the chef cache.

/usr/local/bin/ruby-build: No such file or directory

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    execute[ruby-build[1.9.3-p551]] (/home/vagrant/chef-solo/cookbooks-2/ruby_build/providers/ruby.rb line 52) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
    ---- Begin output of /usr/local/bin/ruby-build "1.9.3-p551" "/home/user/ruby" ----
    STDOUT:
    STDERR: sh: /usr/local/bin/ruby-build: No such file or directory
    ---- End output of /usr/local/bin/ruby-build "1.9.3-p551" "/home/user/ruby" ----
    Ran /usr/local/bin/ruby-build "1.9.3-p551" "/home/user/ruby" returned 127

Automatic Upgrades to ruby-build cannot see new Ruby definitions

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

When a new release of ruby-build is released, this cookbook helpfully updates the ruby-build git repo in /var/cinc/cache, but when ruby_build_definition goes to run, it cannot see newly released versions of Ruby.

๐Ÿฅž Cookbook version

2.2.2

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

Cinc-Client 16.18.0

๐ŸŽฉ Platform details

Ubuntu 20.04

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have an existing server utilizing the ruby_build cookbook and a previous version of the ruby-build software installed.
  2. Create recipe with the following:
ruby_build_install
ruby_build_definition '3.1.2'
  1. Chef Client runs, updates ruby-build, attempts to install Ruby 3.1.2 (which was new as of the updated version of ruby-build).

Fails with 'cannot find definition for 3.1.2'

๐Ÿš“ Expected behavior

Ruby 3.1.2 is installed successfully.

โž• Additional context

I believe that because of the not_if here, the install.sh script is not run when the cached ruby-build git repository gets upgraded, which keeps /usr/local/bin/ruby-build from being updated. This keeps it from seeing the new definitions.

Updating ruby_build with rbenv cookbook

Hi,

I can't find a way to update a server ruby-build version with a recipe using you're rbenv cookbook.
What is the best way to do that?

By advance thanks.

Version 1.1.0 of cookbook cannot be converged

Cookbook version

1.1.0

Chef-client version

Chef Development Kit Version: 2.0.28
chef-client version: 13.2.20
delivery version: master (17c1b0fed9be4c70f69091a6d21a4cbf0df60a23)
berks version: 6.2.0
kitchen version: 1.16.0
inspec version: 1.31.1

Platform Details

vagrant version: 1.9.7
vagrant box: ubuntu/xenial64

Scenario:

I am not able to require (and thus use) the ruby_build (v. 1.1.0) cookbook.

Steps to Reproduce:

Assumptions:

  • Ruby 2.3.4 or 2.4.0 are installed (though likely fine for any recent version of Ruby)
  • Bundler is installed
  • Vagrant is installed
  • Virtualbox is installed

Steps:

  1. $ git clone [email protected]:jamesconant/broken_berks.git
  2. $ cd broken_berks
  3. $ bundle install --path vendor/bundle
  4. $ bundle exec kitchen test

Expected Result:

I expect the convergence to complete with a clean exit. Version 1.0.0 does appear to converge just fine. I've seen no other cookbooks have this problem either, nor have I had problems with the ruby_build cookbook in the past.

Actual Result:

I receive the following...

error:

-----> Converging <server-ubuntu-xenial64>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 6.2.1...
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Failed to complete #converge action: [undefined method `name' for nil:NilClass] on server-ubuntu-xenial64
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

log (gist):

$ cat .kitchen/logs/kitchen.log
I, [2017-08-02T08:55:36.872728 #16206]  INFO -- Kitchen: -----> Starting Kitchen (v1.16.0)
I, [2017-08-02T08:55:37.594299 #16206]  INFO -- Kitchen: -----> Cleaning up any prior instances of <server-ubuntu-xenial64>
I, [2017-08-02T08:55:37.594685 #16206]  INFO -- Kitchen: -----> Destroying <server-ubuntu-xenial64>...
I, [2017-08-02T08:55:41.266007 #16206]  INFO -- Kitchen: -----> Testing <server-ubuntu-xenial64>
I, [2017-08-02T08:55:41.266076 #16206]  INFO -- Kitchen: -----> Creating <server-ubuntu-xenial64>...
I, [2017-08-02T08:57:36.296138 #16206]  INFO -- Kitchen: -----> Converging <server-ubuntu-xenial64>...
E, [2017-08-02T08:57:38.404382 #16206] ERROR -- Kitchen: ------Exception-------
E, [2017-08-02T08:57:38.404822 #16206] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2017-08-02T08:57:38.404842 #16206] ERROR -- Kitchen: Message: 1 actions failed.
>>>>>>     Failed to complete #converge action: [undefined method `name' for nil:NilClass] on server-ubuntu-xenial64
E, [2017-08-02T08:57:38.404853 #16206] ERROR -- Kitchen: ----------------------
E, [2017-08-02T08:57:38.404862 #16206] ERROR -- Kitchen: ------Backtrace-------
E, [2017-08-02T08:57:38.404871 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:183:in `report_errors'
E, [2017-08-02T08:57:38.404880 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:174:in `run_action'
E, [2017-08-02T08:57:38.404889 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command/test.rb:42:in `block in call'
E, [2017-08-02T08:57:38.404898 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2017-08-02T08:57:38.404906 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command/test.rb:38:in `call'
E, [2017-08-02T08:57:38.404915 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/cli.rb:53:in `perform'
E, [2017-08-02T08:57:38.404923 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/cli.rb:234:in `test'
E, [2017-08-02T08:57:38.404932 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
E, [2017-08-02T08:57:38.404941 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
E, [2017-08-02T08:57:38.404949 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/cli.rb:334:in `invoke_task'
E, [2017-08-02T08:57:38.404958 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
E, [2017-08-02T08:57:38.404966 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
E, [2017-08-02T08:57:38.404975 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/bin/kitchen:13:in `block in <top (required)>'
E, [2017-08-02T08:57:38.404984 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/errors.rb:171:in `with_friendly_errors'
E, [2017-08-02T08:57:38.404992 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/bin/kitchen:13:in `<top (required)>'
E, [2017-08-02T08:57:38.405001 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/bin/kitchen:22:in `load'
E, [2017-08-02T08:57:38.405020 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/bin/kitchen:22:in `<top (required)>'
E, [2017-08-02T08:57:38.405031 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'
E, [2017-08-02T08:57:38.405041 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
E, [2017-08-02T08:57:38.405049 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'
E, [2017-08-02T08:57:38.405058 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'
E, [2017-08-02T08:57:38.405066 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
E, [2017-08-02T08:57:38.405075 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
E, [2017-08-02T08:57:38.405083 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
E, [2017-08-02T08:57:38.405092 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'
E, [2017-08-02T08:57:38.405100 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
E, [2017-08-02T08:57:38.405109 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'
E, [2017-08-02T08:57:38.405117 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'
E, [2017-08-02T08:57:38.405126 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
E, [2017-08-02T08:57:38.405134 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'
E, [2017-08-02T08:57:38.405143 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/bin/bundle:22:in `load'
E, [2017-08-02T08:57:38.405151 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/bin/bundle:22:in `<main>'
E, [2017-08-02T08:57:38.405159 #16206] ERROR -- Kitchen: ----End Backtrace-----
E, [2017-08-02T08:57:38.405167 #16206] ERROR -- Kitchen: -Composite Exception--
E, [2017-08-02T08:57:38.405175 #16206] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2017-08-02T08:57:38.405183 #16206] ERROR -- Kitchen: Message: Failed to complete #converge action: [undefined method `name' for nil:NilClass] on server-ubuntu-xenial64
E, [2017-08-02T08:57:38.405191 #16206] ERROR -- Kitchen: ----------------------
E, [2017-08-02T08:57:38.405199 #16206] ERROR -- Kitchen: ------Backtrace-------
E, [2017-08-02T08:57:38.405207 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:80:in `block in resolve'
E, [2017-08-02T08:57:38.405215 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `each'
E, [2017-08-02T08:57:38.405224 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `inject'
E, [2017-08-02T08:57:38.405232 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `resolve'
E, [2017-08-02T08:57:38.405241 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve.rb:64:in `it!'
E, [2017-08-02T08:57:38.405249 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/resolver.rb:78:in `resolve'
E, [2017-08-02T08:57:38.405261 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/installer.rb:181:in `install_from_universe'
E, [2017-08-02T08:57:38.405270 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/installer.rb:43:in `run'
E, [2017-08-02T08:57:38.405279 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:426:in `install'
E, [2017-08-02T08:57:38.405287 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:635:in `block in vendor'
E, [2017-08-02T08:57:38.405296 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
E, [2017-08-02T08:57:38.405304 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:633:in `vendor'
E, [2017-08-02T08:57:38.405312 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/berkshelf.rb:66:in `block in resolve'
E, [2017-08-02T08:57:38.405321 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
E, [2017-08-02T08:57:38.405329 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/berkshelf.rb:61:in `resolve'
E, [2017-08-02T08:57:38.405337 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:329:in `block in resolve_with_berkshelf'
E, [2017-08-02T08:57:38.405346 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:326:in `synchronize'
E, [2017-08-02T08:57:38.405355 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:326:in `resolve_with_berkshelf'
E, [2017-08-02T08:57:38.405363 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:260:in `prepare_cookbooks'
E, [2017-08-02T08:57:38.405371 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:48:in `populate'
E, [2017-08-02T08:57:38.405380 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef_base.rb:130:in `create_sandbox'
E, [2017-08-02T08:57:38.405388 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef_solo.rb:46:in `create_sandbox'
E, [2017-08-02T08:57:38.405396 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/base.rb:65:in `call'
E, [2017-08-02T08:57:38.405404 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:384:in `block in converge_action'
E, [2017-08-02T08:57:38.405413 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:527:in `synchronize_or_call'
E, [2017-08-02T08:57:38.405449 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:489:in `block in action'
E, [2017-08-02T08:57:38.405466 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2017-08-02T08:57:38.405475 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:488:in `action'
E, [2017-08-02T08:57:38.405484 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:380:in `converge_action'
E, [2017-08-02T08:57:38.405492 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:359:in `block in transition_to'
E, [2017-08-02T08:57:38.405500 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `each'
E, [2017-08-02T08:57:38.405509 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `transition_to'
E, [2017-08-02T08:57:38.405517 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:157:in `verify'
E, [2017-08-02T08:57:38.405525 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:186:in `block in test'
E, [2017-08-02T08:57:38.405533 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2017-08-02T08:57:38.405542 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:182:in `test'
E, [2017-08-02T08:57:38.405550 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `public_send'
E, [2017-08-02T08:57:38.405558 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `run_action_in_thread'
E, [2017-08-02T08:57:38.405567 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
E, [2017-08-02T08:57:38.405575 #16206] ERROR -- Kitchen: ----End Backtrace-----
E, [2017-08-02T08:57:38.405583 #16206] ERROR -- Kitchen: ---Nested Exception---
E, [2017-08-02T08:57:38.405591 #16206] ERROR -- Kitchen: Class: Kitchen::ActionFailed
E, [2017-08-02T08:57:38.405599 #16206] ERROR -- Kitchen: Message: Failed to complete #converge action: [undefined method `name' for nil:NilClass]
E, [2017-08-02T08:57:38.405608 #16206] ERROR -- Kitchen: ----------------------
E, [2017-08-02T08:57:38.405615 #16206] ERROR -- Kitchen: ------Backtrace-------
E, [2017-08-02T08:57:38.405623 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:80:in `block in resolve'
E, [2017-08-02T08:57:38.405632 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `each'
E, [2017-08-02T08:57:38.405640 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `inject'
E, [2017-08-02T08:57:38.405649 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve/ruby_solver.rb:79:in `resolve'
E, [2017-08-02T08:57:38.405657 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/solve-3.1.0/lib/solve.rb:64:in `it!'
E, [2017-08-02T08:57:38.405667 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/resolver.rb:78:in `resolve'
E, [2017-08-02T08:57:38.405676 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/installer.rb:181:in `install_from_universe'
E, [2017-08-02T08:57:38.405685 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/installer.rb:43:in `run'
E, [2017-08-02T08:57:38.405693 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:426:in `install'
E, [2017-08-02T08:57:38.405701 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:635:in `block in vendor'
E, [2017-08-02T08:57:38.405709 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
E, [2017-08-02T08:57:38.405718 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/berkshelf-6.2.1/lib/berkshelf/berksfile.rb:633:in `vendor'
E, [2017-08-02T08:57:38.405726 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/berkshelf.rb:66:in `block in resolve'
E, [2017-08-02T08:57:38.405734 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/shell/basic.rb:20:in `mute'
E, [2017-08-02T08:57:38.405742 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/berkshelf.rb:61:in `resolve'
E, [2017-08-02T08:57:38.405750 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:329:in `block in resolve_with_berkshelf'
E, [2017-08-02T08:57:38.405758 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:326:in `synchronize'
E, [2017-08-02T08:57:38.405767 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:326:in `resolve_with_berkshelf'
E, [2017-08-02T08:57:38.405775 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:260:in `prepare_cookbooks'
E, [2017-08-02T08:57:38.405783 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef/common_sandbox.rb:48:in `populate'
E, [2017-08-02T08:57:38.405791 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef_base.rb:130:in `create_sandbox'
E, [2017-08-02T08:57:38.405799 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/chef_solo.rb:46:in `create_sandbox'
E, [2017-08-02T08:57:38.405808 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/provisioner/base.rb:65:in `call'
E, [2017-08-02T08:57:38.405816 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:384:in `block in converge_action'
E, [2017-08-02T08:57:38.405824 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:527:in `synchronize_or_call'
E, [2017-08-02T08:57:38.405834 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:489:in `block in action'
E, [2017-08-02T08:57:38.405843 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2017-08-02T08:57:38.405851 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:488:in `action'
E, [2017-08-02T08:57:38.405860 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:380:in `converge_action'
E, [2017-08-02T08:57:38.405868 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:359:in `block in transition_to'
E, [2017-08-02T08:57:38.405876 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `each'
E, [2017-08-02T08:57:38.405884 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `transition_to'
E, [2017-08-02T08:57:38.405892 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:157:in `verify'
E, [2017-08-02T08:57:38.405901 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:186:in `block in test'
E, [2017-08-02T08:57:38.405909 #16206] ERROR -- Kitchen: /opt/rbenv/versions/2.3.4/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2017-08-02T08:57:38.405917 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:182:in `test'
E, [2017-08-02T08:57:38.405926 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `public_send'
E, [2017-08-02T08:57:38.405934 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `run_action_in_thread'
E, [2017-08-02T08:57:38.405942 #16206] ERROR -- Kitchen: /home/jconant/projects/todoo.fun/broken_berks/vendor/bundle/ruby/2.3.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
E, [2017-08-02T08:57:38.405950 #16206] ERROR -- Kitchen: ----End Backtrace-----

Including ruby_buil cookbook in the berksfile gives CookBookNotFound

I am including your cookbook in my recipe to install ruby. While the install works wonder, I am having trouble with running tests. I have included 'ruby_build' as a dependency in metadata.rb and hence had to include in Berksfile too. Following is what I have included in my berksfile.

site :opscode

metadata

cookbook 'ruby_build', git:'https://github.com/fnichol/chef-ruby_build.git', rel:'cookbooks/ruby_build'

I wanted to know if thats the correct way of doing it, as its confusing since cloning the repo gives chef-ruby_build folder name and the metadata of the cookbook says the name to be 'ruby_build'.

I have also tried it with this
cookbook 'ruby_build', git:'https://github.com/fnichol/chef-ruby_build.git', rel:'chef-ruby_build'
Can you please clarify why was the renaming done and if my approach in specifying in berksfile is correct.

Run latest cookstyle

๐Ÿ—ฃ๏ธ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

๐Ÿ‘ป Brief Description

Chef have released updated cookstyle rules, we should therefore run the auto fix against the cookbook

  1. Ensure you are on the latest stable chef-workstation
  2. Run cookstyle -a

Issue sprouted from sous-chefs/meta/issues/111. If not applicable then issue should be closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.