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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:22:58+00:00 2026-05-19T16:22:58+00:00

Hello I am currently using: Ubuntu 10.04LTS Netbeans 6.9.1 (with embedded JRuby 1.5.1) JDK6u17

  • 0

Hello
I am currently using:

  • Ubuntu 10.04LTS
  • Netbeans 6.9.1 (with embedded JRuby 1.5.1)
  • JDK6u17
  • GlassFish Gem 1.0.2

I am using a old JDK because of this bug:
http://jira.codehaus.org/browse/JRUBY-4785

I have partially completed application, but i want migrate to rails 3(currently application is in rails 2.3.8).

So i go to:
$HOME/netbeans-6.9.1/ruby/jruby-1.5.1/bin and type: jruby gem install rails -v=3.0.3. Everything is OK.

Then i create a sample RoR project and use some simple scaffold. Works.

But when i choose in Netbeans rake db:migrate it shows me message: "db:migrate" taks does not exist.

Any idea how to fix that?

I would be grateful for the help.

UPDATE

I have tested this in Ubuntu and it works fine.
But in Mac OS X this trick don’t work.
So I made a symbolic link called jrake to jruby/bin/rake

cd /bin
ln -s /Applications/NetBeans/NetBeans\ 6.9.1.app/Contents/Resources/NetBeans/ruby/jruby-1.5.1/bin/rake jrake

and I just type jrake db:migrate in project Directory and it works.

  • 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-19T16:22:58+00:00Added an answer on May 19, 2026 at 4:22 pm

    Does this link help?:

    http://www.blakes-site.co.uk/blog/13/Fix-NetBeans-dbmigrate-task-does-not-exists-error/

    UPDATE

    Link broken – From the Google Cache of Blake Simpson’s blog:

    I have recently reinstalled Ruby on Rails 3.0.0 and created a new
    Rails project in NetBeans 9.6.1

    I could not migrate my database, or any other rake tasks for that
    matter. I kept getting the error:

     "db:migrate" task does not exist
    

    The solution is to right click your project select “Run/Debug Rake
    Task”
    and then click the button titled “Refresh Tasks”.

    Once this is done you should see a list of all your rake tasks. After
    this you can simply re-run the db:migrate task and it will work.

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

Sidebar

Related Questions

Hello my friend is currently development an application using SOA Architecture, He sent me
Hello I currently have this code checking if a cookie exists, it works all
Hello I'm currently on Day 2 of Jeffrey Way's Codeigniter tutorial. In this screencast
Currently I am doing this: I have text that looks like: Hello ${user.name}, this
I am currently using NetBeans IDE with Jython 2.5.1 When debugging my project step
Hello I am writing a site using Aptana Studio 3 I at this stage
Hello I am currently using the smoothZoom plugin in a project (http://codecanyon.net/item/smooth-zoom-pan-jquery-image-viewer/511142). I have
Currently using Telerik ASP .NET MVC Controls version 2011.2.712 Hello all, I am trying
I am currently using ProcessBuilder to run commands from a java server. This server
Hello Every Developer out there...!!!! I m currently using Phonegap 1.4.0 on iphone and

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.