Great catch with the umask setting! My shell login script sets my umask to 077, and the umask setting does carry iteself into the pfexec command. The lesson to be learned, apparently, is that if one uses a highly restrictive umask setting, to change it back to the less restrictive 022 setting prior to executing the commands to install rails.
% umask 022 % pfexec pkg refresh --full % pfexec pkg install gcc-dev ss-dev ruby-dev webstackui % pfexec gem update % pfexec gem install rails --include-dependencies % pfexec ln -s /usr/ruby/1.8/bin/rails /usr/bin/rails % pfexec ln -s /usr/ruby/1.8/bin/rake /usr/bin/rake % export GEM_HOME=/var/ruby/1.8/gem_home % cd ~ % rails test-rails This message posted from opensolaris.org