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 6026929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:30:59+00:00 2026-05-23T04:30:59+00:00

Problem solved. Deprec is not related to the application. Its function is to prepare

  • 0

Problem solved.

Deprec is not related to the application. Its function is to prepare the server to accept the application. Removing deprec from my gemfile solved this problem.

I can’t answer my own question within 8 hours, so I’m putting it here.


I have recently setup capistrano and deprec for my Rails 3 app, but now Rake no longer works.

I guess the problem is coming from deprec, but I’m not sure why deprec is involved with a Rake task.

Any help here would be greatly appreciated.

Thanks,
Jon

jon@prm01:~/id$ rake --trace 

(in /home/jon/id) rake aborted! Please require this file from within a Capistrano recipe

/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.6.0/lib/capistrano/configuration/loading.rb:18:in `instance' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/deprec-2.1.19/lib/deprec/recipes/canonical.rb:10 /home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in `new_constants_in' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency'  
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/deprec-2.1.19/lib/deprec/recipes_minus_rails.rb:5 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in `new_constants_in' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/deprec-2.1.19/lib/deprec/recipes.rb:6     
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in `new_constants_in' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in `load_dependency' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/deprec-2.1.19/lib/deprec.rb:7 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require'    
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.10/lib/bundler.rb:120:in `require' 
/home/jon/id/config/application.rb:7 
/home/jon/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require' 
/home/jon/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' 
/home/jon/id/Rakefile:4 /home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2383:in `load' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2000:in `run' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:1998:in `run' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/bin/rake:31 
/home/jon/.rvm/gems/ruby-1.8.7-p334/bin/rake:19:in `load' 
/home/jon/.rvm/gems/ruby-1.8.7-p334/bin/rake:19

Here are the relevant files:

Rakefile:

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require 'rake'

Id::Application.load_tasks

Application.rb:

require File.expand_path('../boot', __FILE__)

require 'rails/all'

# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)

module Id
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Configure the default encoding used in templates for Ruby 1.9.
    config.encoding = "utf-8"

    # Configure sensitive parameters which will be filtered from the log file.
    config.filter_parameters += [:password]
  end
end

Gemfile:

source 'http://rubygems.org'

gem 'rails', '3.0.5'
gem 'mysql2'
gem 'haml'
gem 'devise'
gem 'carrierwave', :git => 'https://github.com/jnicklas/carrierwave.git' 
gem 'rmagick'
gem 'face'
gem 'capistrano'
gem 'deprec'
  • 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-23T04:31:00+00:00Added an answer on May 23, 2026 at 4:31 am

    Deprec is not related to the application. Its function is to prepare the server to accept the application. Removing deprec from my gemfile solved this problem.

    I am adding this, just to close out the question

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

Sidebar

Related Questions

I'm sure this problem has been solved before and I'm curious how its done.
PROBLEM SOLVED. Special thanks to Andrew Noyes for explaining its not a class but
This problem has been solved thanks to your suggestions. See the bottom for details.
The responses I've got to this question have solved the problem I had in
PROBLEM SOLVED: I was overlooking a very simple issue, and that is that this
EDIT: Problem solved. This was (yet another) situation where the problem wasn't really where
EDIT: Problem solved by using $i+1 in function call. I have trouble using variables
Problem solved: Thanks guys, see my answer below. I have a website running in
Removed link, problem solved The menu at the top is supposed to be a
So the transparent background problem is solved. Now, every time I show the form

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.