takeno / vagrant4siw Goto Github PK
View Code? Open in Web Editor NEWVagrant experiment with Tomee, PostgreSQL, Ruby, RoR
Vagrant experiment with Tomee, PostgreSQL, Ruby, RoR
Output error (on Lubuntu 32 bit):
[2014-03-08T19:04:21+00:00] INFO: *** Chef 10.14.2 ***
[2014-03-08T19:04:24+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[openssl]", "recipe[java]", "recipe[postgresql]", "recipe[postgresql::server]", "recipe[rvm]", "recipe[rvm::system]", "recipe[rvm::vagrant]", "recipe[nodejs]", "recipe[tomee]"] from JSON
[2014-03-08T19:04:24+00:00] INFO: Run List is [recipe[apt], recipe[openssl], recipe[java], recipe[postgresql], recipe[postgresql::server], recipe[rvm], recipe[rvm::system], recipe[rvm::vagrant], recipe[nodejs], recipe[tomee]]
[2014-03-08T19:04:24+00:00] INFO: Run List expands to [apt, openssl, java, postgresql, postgresql::server, rvm, rvm::system, rvm::vagrant, nodejs, tomee]
[2014-03-08T19:04:24+00:00] INFO: Starting Chef Run for precise32
[2014-03-08T19:04:24+00:00] INFO: Running start handlers
[2014-03-08T19:04:24+00:00] INFO: Start handlers complete.
================================================================================
Error executing action `install` on resource 'chef_gem[rvm]'
================================================================================
NoMethodError
-------------
undefined method `full_name' for nil:NilClass
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb:21:in `from_file'
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb
20: # install rvm api gem during chef compile phase
21: chef_gem 'rvm' do
22: action :install
23: version '>= 1.11.3.6'
24: end
25: require 'rvm'
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb:21:in `from_file'
chef_gem("rvm") do
retry_delay 2
version ">= 1.11.3.6"
retries 0
recipe_name "default"
action [:install]
cookbook_name :rvm
package_name "rvm"
provider Chef::Provider::Package::Rubygems
end
================================================================================
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb
================================================================================
NoMethodError
-------------
chef_gem[rvm] (rvm::default line 21) had an error: NoMethodError: undefined method `full_name' for nil:NilClass
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb:21:in `from_file'
Relevant File Content:
----------------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/recipes/default.rb:
1: #
2: # Cookbook Name:: rvm
3: # Recipe:: default
4: #
5: # Copyright 2010, 2011, Fletcher Nichol
6: #
7: # Licensed under the Apache License, Version 2.0 (the "License");
8: # you may not use this file except in compliance with the License.
9: # You may obtain a copy of the License at
[2014-03-08T19:04:56+00:00] ERROR: Running exception handlers
[2014-03-08T19:04:56+00:00] ERROR: Exception handlers complete
[2014-03-08T19:04:57+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-03-08T19:04:57+00:00] FATAL: NoMethodError: chef_gem[rvm] (rvm::default line 21) had an error: NoMethodError: undefined method `full_name' for nil:NilClass
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
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.