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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:46:06+00:00 2026-06-06T00:46:06+00:00

I am trying to install RedMine on a server. During the procedures as explained

  • 0

I am trying to install RedMine on a server.

During the procedures as explained here i am supposed to run

rake generate_secret_token

However, i am getting this error:

(in /home/var/redmine)
rake aborted!
uninitialized constant Rake::DSL
/home/var/redmine/Rakefile:7
(See full trace by running task with --trace)

After some research i discovered that rake 0.8.7 is supposedly having problems with this (that, at least, is how i understood it) and that i am supposed to use rake 0.9.2.2

I tried adding

gem 'rake', '0.9.2.2'

to my Gemfile.

I checked

rake --version

And get

rake, version 0.8.7

I ran

gem uninstall rake

Which succeeded, according to the output.

Then i ran

gem install rake -v=0.9.2.2

And the output was

Successfully installed rake-0.9.2.2
1 gem installed
Installing ri documentation for rake-0.9.2.2...
Installing RDoc documentation for rake-0.9.2.2...

However, when then calling

rake --version

I still get

rake, version 0.8.7

I also experimented with adding

gem 'rake', '0.8.7'

to my Gemfile for redmine. However, then i get this response when running rake

You have requested:
rake = 0.8.7

The bundle currently has rake locked at 0.9.2.2.
Try running `bundle update rake`

What am i doing wrong here?

  • 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-06-06T00:46:08+00:00Added an answer on June 6, 2026 at 12:46 am

    I was able to fix this strange issue by following these steps:

    gem uninstall rake
    

    Then

    bundle update rake
    

    This gave me the response that rake is already up-to-date, but still, i list it here – just in case.

    Then

    gem install rake -v=0.8.7
    

    Furthermore in my Gemfile i had this configuration

    source 'http://rubygems.org'
    gem 'rails', '3.2.6'
    gem 'rake', '0.8.7'
    

    (In that order)

    After doing all this i was able to run

    rake generate_secret_token
    

    successfully.

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

Sidebar

Related Questions

Trying to install pear package and keep getting this strange error. Can you shed
I was trying to install bundler in Linux Mint. but I'm getting this error
I'm trying to install redmine on a Centos server. I already have PHP and
Today I was trying to install Redmine on my shared hosting following this guide:
Trying to install SQL Server 2012 Developer Edition on my laptop. I keep getting
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running
Currently I'm trying to install PHP 5.3.0 on some Linux testing server. As we've
I'm trying to install the Google Web Toolkit for Eclipse (Ganymede), and I'm getting
I'm trying to install Redmine, and I am having trouble making Phusion Passenger work

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.