I am new to ruby and gem and I have installed a few gems (rails and
deps) in userdir.
$ HOME=$HOME/html gem list rails
*** LOCAL GEMS ***
Web-application framework with template engine, control-flow layer,
So gem seems to find the installed rails but:
$ HOME=$HOME/html ruby/bin/rails
report_activate_error': Could not find RubyGem rails (> 0) (Gem::LoadError) from /usr/lib/ruby/1.8/rubygems.rb:141:inactivate’
require_gem_with_options' from /usr/lib/ruby/1.8/rubygems.rb:31:inrequire_gem’
In $HOME/html is a .gemrc file with configured gemhome and gempath.
So what I have to do so that the gem is found at execution?