Displaying 1 result from an estimated 1 matches for "tom_requir".
Did you mean:
tom_require
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
Hi,
I am using ruby 1.9.2 and rails 3 for my application.
I have written a bash script which I want to run in cron.
If I directly run the bash file it runs. If I run it through the cron I
get the following error:-
"/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'': no such file to load -- rails/commands/runner (LoadError)
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require''
from runner:10:in `<main>''
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/...