Markus Kolb wrote:
> Markus Kolb wrote:
>>     Web-application framework with template engine, control-flow layer,
>>         from /usr/lib/ruby/1.8/rubygems.rb:37:in `require_gem_with_options'
>>         from /usr/lib/ruby/1.8/rubygems.rb:31:in `require_gem'
>>         from ruby/bin/rails:17
>> 
>> 
>> 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?
> 
> Some additional info:
> 
> $ irb
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require_gem 'rake'
> Gem::LoadError: Could not find RubyGem rake (> 0.0.0)
> 
>         from /usr/lib/ruby/1.8/rubygems.rb:204:in 
> `report_activate_error'
>         from /usr/lib/ruby/1.8/rubygems.rb:141:in `activate'
>         from /usr/lib/ruby/1.8/rubygems.rb:37:in 
> `require_gem_with_options'
>         from /usr/lib/ruby/1.8/rubygems.rb:31:in `require_gem'
>         from (irb):2
> irb(main):003:0> require 'rake'
> => true
> irb(main):004:0>
> 
> So rake.rb is found but require_gem doesn't find gem rake?!
> 
> Please, please, help me ;)

Perhaps rake is also installed as a non-gem?

Add a list of user repositories to the GEM_PATH environment variable.

--
-- Jim Weirich

-- 
Posted via http://www.ruby-forum.com/.