Hello all,
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
http://www.codyfauser.com/articles/2005/12/02/rails-rjs-templates-plugin
. However, when I try to run ‘rake test’ I get the following error:
(in
/Users/jason/projects/workarea/biolexis/trunk/rails/vendor/plugins/javascript_generator_templates)
/opt/local/bin/ruby -Ilib:lib
“/opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb”
“test/controller/new_render_test.rb”
./test/controller/…/abstract_unit.rb:10:in require': No such file to load -- action_controller (LoadError) from ./test/controller/../abstract_unit.rb:10 from ./test/controller/new_render_test.rb:1:in
require’
from ./test/controller/new_render_test.rb:1
from
/opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:in
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:in
each’
from
/opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/opt/local/bin/ruby -Ilib:lib
"/opt/local/…]
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.
Thanks,
- jason