Please make Ruby 1.9.3 the default in Precise

Bug #974829 reported by Khairul Aizat Kamarudzzaman
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ruby-defaults (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When installing ruby-default an older version of Ruby is installed by default. This breaks many application that require recent versions of Ruby (>1.9). Please also note ruby1.8 will be no longer supported after june 2013.

Step to reproduce:
1) sudo gem install ./hpfog-0.0.14.gem
2) sudo gem install ./hpcloud-0.0.14.gem
3) run command : hpcloud

$ hpcloud
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': /var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud/commands/securitygroups/rules/add.rb:19: syntax error, unexpected '=', expecting '|' (SyntaxError)
..., ip_protocol, port_range_str=nil, ip_address=nil|
                              ^
/var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud/commands/securitygroups/rules/add.rb:19: Can't assign to nil
..._protocol, port_range_str=nil, ip_address=nil|
                              ^
/var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud/commands/securitygroups/rules/add.rb:53: syntax error, unexpected kEND, expecting $end
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud/commands/securitygroups/rules.rb:2
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud/commands/securitygroups.rb:3
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /var/lib/gems/1.8/gems/hpcloud-0.0.14/lib/hpcloud.rb:30
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /var/lib/gems/1.8/gems/hpcloud-0.0.14/bin/hpcloud:10
        from /usr/local/bin/hpcloud:19:in `load'
        from /usr/local/bin/hpcloud:19

Revision history for this message
Fabián Rodríguez (magicfab) wrote :
summary: - HPcloud CLI require ruby1.9.2 and above
+ Please make Ruby 1.9.3 the default in Precise
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ruby-defaults (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

won't happen for 12.04, done in 14.04

Changed in ruby-defaults (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.