I have been using lampp for quite a while but unfortunately the script/console in lampp rails doesn't seem to be working properly. Everytime I try it, it gives the following error:
- Code: Select all
/opt/lampp/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/console.rb:25:in `exec': No such file or directory - irb -r irb/completion -r script/../config/../config/environment -r console_app -r console_with_helpers --simple-prompt (Errno::ENOENT)
from /opt/lampp/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/console.rb:25
from /opt/lampp/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
from /opt/lampp/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
from script/console:3
Any ideas what is causing this problem.
Thanks for any help.