create hotfix for smartos and update to set config_option as resource attribute

Hi,
I wrote 2 updates.

- FIx for smartos
    - Joyent SmartOS doesn't have `/etc/profile.d` directory. I would like to create it.
- Add  config_opts resource attribute to `rbenv_ruby`.
    - When I build 2.0.0 or newer on the smartos, I often need some  Environment variables from `RUBY_CONFIGURE_OPTS` such as '--disable-dtrace'.