title: Ruby Install Puppet Vagrant
body: <p>I tried to install ruby on my vagrant machine with puppet, in the puppet file define a ruby class with package ruby:</p>
  
  <pre><code>class ruby {
  package { "ruby":
      ensure =&gt; '1.9.1'
  }
  </code></pre>
  
  <p>But when run the vagrant machine, get error that the version is not found and installs 1.8.7.</p>
  
  <p>When i run  <code>ralsh package</code> list the version of ruby:</p>
  
  <pre><code>package { 'ruby1.8':
   ensure =&gt; '1.8.7.352-2ubuntu1.6',
  }
  </code></pre>
  
  <p>So, how can upgrade my ruby version? I'm new in this stuff of puppet &amp; vagrant. Is there a way within vagrant or puppet?</p>
  
  <p>Thanks.</p>