-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot install bundler & rake #56
Comments
+1 I get the same error. |
me too, looks like it's not ready for the -pre tag |
I even tried explicitly
which should override any other setting but still the same error |
All right, I'm zeroing in. Looks like RVM is getting ready for version 1.10. Don't think the My guess is that locking down your installed version of RVM to 1.9.2 should keep things deploying: node['rvm']['version'] = 1.9.2 I'll update this issue with more details... |
I can verify that the above workaround does the job for the moment. Thanks for the quick investigation. |
I'll ping @mpapis on #rvm to see what they think about changing the versioning from |
Oh, and this feels like a release-worthy fix :) |
You might want to attach the other pull request I sent you before a B |
Noted, and pulled! |
We should be good now, but please reopen if not. Thanks all for your feedback and help |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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'
The text was updated successfully, but these errors were encountered: