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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:24:51+00:00 2026-05-30T19:24:51+00:00

I have cloned a rails project from Ryan Bates (complex forms samples) and am

  • 0

I have cloned a rails project from Ryan Bates (complex forms samples) and am having a problem with rake. I titled the question generally because I suspect it’s an issue with my setup/usage rather than the project itself.

The project I am trying to use is:

I am using RVM on OSX and my default ruby is ruby-1.9.2-p290.

Here are the steps I am doing in a terminal (starting in a new empty directory):

git clone https://github.com/ryanb/complex-form-examples.git

–Created the project without error

The first time I did this, after I changed dir to the “complex-forms-examples“, I got an RVM warning which I had not seen before. It was asking for some sort of permission which I granted. It does not do this anymore when I repeat the clone in a new empty directory.

The warning mentioned that there is an .rvmrc file in the directory. The contents are as follows (one line):

rvm 1.9.2@complex-form-examples --create

I then run ‘bundle’ and have no errors.

Then I try to run “rake db:migrate” and I get the following error:

-bash: /Users/ken/.rvm/gems/ruby-1.9.2-p290@global/bin/rake: /Users/ken/.rvm/rubies/ruby-1.9.2-p136/bin/ruby: bad interpreter: No
such file or directory

I get the same error when I run rake by itself or with any other parameter.

I have no ruby 1.9.2-p136 so I don’t know why it is trying to use that ruby.

'rails s' is starting the server without error

I am only having problems with this project (i.e. rake is still working fine in my other rails projects).

Can anyone tell me what I’m missing?

Thanks

  • 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-30T19:24:52+00:00Added an answer on May 30, 2026 at 7:24 pm

    It could be broken migration/upgrade of ruby, try this:

    rvm 1.9.2@global,1.9.2@complex-form-examples do gem pristine
    rvm 1.9.2@global do gem pristine rake
    

    make sure there is no error reported, in case of errors you need to pristine all gems manually (like in the second line)

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

Sidebar

Related Questions

I have a repository which I have already cloned from Subversion. I've been doing
I have repository at github for ruby on rails project. First time i did
Initial Problem I was using yaml_db in a Rails project, but it seems the
I have a Rails 2.2 project in which I want to override the functionality
macbook air bought yesterday. Installed homebrew, xcode, rails, git, cloned out my project fine.
Hi friends i came with a new problem. In my rails app i have
I have a data object that is deep-cloned using a binary serialization. This data
I have a file input element that needs to be cloned after the user
Hi I have a master and cloned TClientData set CdsCloned.CloneCursor(CdsMaster,true); CdsMaster has two Fields
I have two git repositories: report.git (Master on remote location) cloned.git (Local) I lost

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.