Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6943679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:11:15+00:00 2026-05-27T13:11:15+00:00

My Rake tasks log to development just fine but when I go to run

  • 0

My Rake tasks log to development just fine but when I go to run my app via Passenger nothing shows up in the log.

To answer a few common questions for people when this comes up:

I chmod 777 the log directory so access should not be an issue

My Passenger config is set to Development… at least I hope so

<VirtualHost *:80>
        ServerAdmin blah@blah.blah

        ServerName blah.blah.blah
        DocumentRoot /var/www/qadashboard/public
        <Directory /var/www/qadashboard/public>
                Options Indexes FollowSymLinks -MultiViews
                AllowOverride all
                Order allow,deny
                allow from all
        </Directory>
        RailsEnv development
        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined

        RailsBaseURI /crbagenda
        <Directory /var/www/crbagenda>
                Options -MultiViews
        </Directory>
</VirtualHost>

Here is my Gemfile

gem 'mysql'  
gem 'rack-flash' 
gem 'rest-client' 
gem 'builder' 
gem 'chronic', "0.6.4" 
gem 'crack' 
gem 'nokogiri' 
gem 'jira4r' 
gem 'prawn' 
gem 'prawnto' #gem install may need to edit the date in rack-cache 1.0.3 gemspec 
gem 'websnap' 
gem 'whenever' #For cron jobs for the rake tasks 
gem 'execjs' 
gem 'therubyracer'  
gem 'jquery-rails'

gem 'json'

group :development, :test do   
     gem 'rspec-rails'   
     gem 'rspec'   
     gem 'ruby-breakpoint'   
     gem 'ruby-debug' 
end    

group :assets do
  gem 'sass-rails', "  ~> 3.1.0"
  gem 'coffee-rails', "~> 3.1.0"
  gem 'uglifier'
end

What else can I add?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:11:15+00:00Added an answer on May 27, 2026 at 1:11 pm

    So… I rm -rf the log directory and then mkdir log… now it works. Probably would have been a lot easier if I had been using Capistrano on this and not just copied the folder structure over. Been on Windows too long. Sigh.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Everything was working fine before upgrading but now I can't run rake tasks.. any
I want to setup rake tasks to run via cron. That is easy, but
I just found a bug in one of the rake tasks shipped with Rails.
When I execute a rake task manually, it works fine but when I put
I have a rails rake task which runs just fine. I want this task
I have rake tasks which i want to run in proper sequence. I want
I just got the last month heroku bill, and the scheduled rake tasks were
I have the rake tasks in my rails application. i want to run a
I have seen some apps that have a few rake tasks included to load
I have several rake tasks combined into one rake command. Just wondering is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.