I am still trying to deploy my first ruby on rails application, using the sitepoint book. Now that I have successfully completed the 'rake db:schema:load ......' command when I try this : ruby script/console production I get this error message
firstname.lastname@example.org [~/public_html/youtour]# ruby script/console production
Loading production environment (Rails 2.0.2)
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start'
mongrel_rails start -e production, I get
I think Mongrel is installed, but I can check with the server people.Code:
email@example.com [~/public_html/youtour]# mongrel_rails start -e production
-bash: mongrel_rails: command not found
Appreciate any help received.