I just successfully updated my dev env to Rails 1.0. I then wanted to
get .rjs templates working and followed Cody’s instructions at
. However, when I try to run ‘rake test’ I get the following error:
require': No such file to load -- action_controller (LoadError) from ./test/controller/../abstract_unit.rb:10 from ./test/controller/new_render_test.rb:1:inrequire’
load' from /opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5 from /opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:ineach’
Command failed with status (1): [/opt/local/bin/ruby -Ilib:lib
I have Ruby and Gems installed via Darwinports and my environment (even
w/lighttpd) works fine. However, it seems like the above is not able to
find the action_controller file(s), which are clearly available and
found by my app.
Anyone have any experiences with something similar to this and know of a
possible solution? I’m trying to figure out if there’s something I
forgot to set somewhere, but am drawing blanks. One thing I did do way
symlink my /usr/bin/ruby -> /opt/local/bin/ruby so I wouldn’t get
further problems when I upgraded any of the Rails libs.