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.
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: