Ruby-on-rails – Start the Rails server with absolute path

I am trying to make a script to run my Rails development server, but the absolute path does not want to work.

This is what I have;

p>

/home/me/dev/app/script/rails server>> /var/log/rails.output.log

It just throws an error saying,

< p>

“configuration /home/me/config.ru not found”

It seems that Rails uses the current working directory to get its path instead of Script location.

Is there a way to force the application path?

try:

cd / home / me / dev / app&& script / rails server>> /var/log/rails.output.log

I am trying to make a script to run my Rails development server, but the absolute path does not want Works.

This is what I have;

/home/me/dev/app/script/rails server>> /var/log/rails.output. log

It just throws an error saying,

“configuration /home/me/config.ru not found”

It seems that Rails uses the current working directory to get its path, not the script location.

Is there a way to force the application path?

Try:

cd / home / me / dev / app&& script / rails server>> /var/log/ rails.output.log

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3319 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.