I have been using Netbeans 6.5 recently – it complains (on startup, and if I try to run a unit test):
‘Rails requires RubyGems >= 1.3.1 (you have 1.0.1). Please gem update --system and try again.’
Yet from the command line ‘gem –version’ : 1.3.1
any ideas? why does netbeans not realise I have gems 1.3.1 ?
Netbeans has per project options for which platform you use. It defaults to JRuby which may not have the same gems as your ruby install. Try right clicking on your project and selecting properties then check that the platform listed is the one you want to use. If it isn’t listed you will need to select Manage and add it.