Rails 1.1: fix to 'rake rails:freeze:gems'

I’ve noticed that after upgrading rails to 1.1, the ‘freeze_gems’ task
fails due to an error.

I have no idea how to submit a fix, but wanted to post it here in case
anyone else is having this issue.

You’ll have to navigate to the folder that is appropriate for your

Go to “/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/tasks”

Open up ‘framework.rake’, and look for the line reading:

“version ||= rails.version”

Change this to:

“version = rails.version”

Now you’re good to go.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs