Tweaks for ubuntu precise #49

Merged
merged 2 commits into from Aug 24, 2012
Commits on Aug 22, 2012
  1. Fix a warning issued by a ruby extension on 12.04

    hmalphettes committed Aug 22, 2012
    On ubuntu-precise when running a ruby extension the console shows:
        root@precise64:~# sm bosh-solo status
        __sm.extension.actions.type:43: scalar parameter binary created globally in
        function
Commits on Aug 23, 2012
  1. Only add existing files to the ruby requires

    hmalphettes committed Aug 23, 2012
    This is a guard to not add to the list files that don't exist.
    When sm is installed for the root user, those files are
    
        /opt/sm/core/sm/shell/ruby/core/functions.rb
        /opt/sm/core/sm/shell/ruby/core/initialize.rb
    
    They look like core sm files: this fix is not the definitive one.
    Are these files located elsewhere?
    Should this block of code be entirely removed?