Ubuntu

Please make Ruby 1.9.3 the default in Precise

Reported by Khairul Aizat Kamarudzzaman on 2012-04-06
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ruby-defaults (Ubuntu)
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

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
Launchpad Janitor (janitor) wrote :

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

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

Duplicates of this bug

Other bug subscribers