We try to run this recipe on Ubuntu machine with this:
include_recipe "rvm::system"
and this node configuration:
"rvm": { "install_rubies": true, "rubies": ["1.9.2"] }
However, we are running into this:
rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) had an error: Malformed version number string 1.10.0-pre
Perhaps this may help you imagine what happening:
[Mon, 28 Nov 2011 12:15:09 +0000] INFO: Processing rvm_gem[bundler] action install (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) has had an error [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_global_gem[bundler] (rvm::system line 36) has had an error [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_global_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/recipes/system.rb:36:in 'from_file') had an error: rvm_global_gem[bundler] (rvm::system line 36) had an error: rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) had an error: Malformed version number string 1.10.0-pre /usr/local/lib/site_ruby/1.8/rubygems/version.rb:187:in 'initialize' /home/internal/chef-dir/cookbooks/rvm/libraries/chef_rvm_set_helpers.rb:6:in 'new' /home/internal/chef-dir/cookbooks/rvm/libraries/chef_rvm_set_helpers.rb:6:in 'rvm_do' /home/internal/chef-dir/cookbooks/rvm/libraries/rvm_rubygems_package.rb:52:in 'gem_paths'
Don't know why 1.10.0-pre is there, since the latest version of bundler should be '1.1.rc'
We try to run this recipe on Ubuntu machine with this:
include_recipe "rvm::system"
and this node configuration:
"rvm": { "install_rubies": true, "rubies": ["1.9.2"] }
However, we are running into this:
rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) had an error: Malformed version number string 1.10.0-pre
Perhaps this may help you imagine what happening:
[Mon, 28 Nov 2011 12:15:09 +0000] INFO: Processing rvm_gem[bundler] action install (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) has had an error [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_global_gem[bundler] (rvm::system line 36) has had an error [Mon, 28 Nov 2011 12:15:09 +0000] ERROR: rvm_global_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/recipes/system.rb:36:in 'from_file') had an error: rvm_global_gem[bundler] (rvm::system line 36) had an error: rvm_gem[bundler] (/home/internal/chef-dir/cookbooks/rvm/providers/global_gem.rb line 76) had an error: Malformed version number string 1.10.0-pre /usr/local/lib/site_ruby/1.8/rubygems/version.rb:187:in 'initialize' /home/internal/chef-dir/cookbooks/rvm/libraries/chef_rvm_set_helpers.rb:6:in 'new' /home/internal/chef-dir/cookbooks/rvm/libraries/chef_rvm_set_helpers.rb:6:in 'rvm_do' /home/internal/chef-dir/cookbooks/rvm/libraries/rvm_rubygems_package.rb:52:in 'gem_paths'
Don't know why 1.10.0-pre is there, since the latest version of bundler should be '1.1.rc'