Hi folks,

I Have a problem depending on RubyGems.

I have installed ruby 1.8.7 with macports.

which ruby /opt/local/bin/ruby

ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]

Now my rubygems says:

which gem /usr/bin/gem

gem env RubyGems Environment:   - RUBYGEMS VERSION: 1.3.5   - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]   - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8   - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby   - EXECUTABLE DIRECTORY: /usr/bin   - RUBYGEMS PLATFORMS:     - ruby     - universal-darwin-9   - GEM PATHS:      - /Library/Ruby/Gems/1.8      - /Users/fuerst/.gem/ruby/1.8

so it still holds the default ruby by osx in RUBY EXECUTABLE path. How can i change this path? However when i select this "ruby 1.8.7" platform in netbeans project config for a RailsApp it says: <RubyGems are not installed for this platform>

i think im doin something horribly wrong. Please Help me :slight_smile:

You have 2 different ruby installs, but only the system provided one has rubygems installed. Since your two installs are distinct you need to install rubygems in your macports installed one too.