try check sudo echo $PATH sudo which bluepill On Jun 7, 1:19 pm, tispratik <[email protected]> wrote: > I have ruby normal edition installed in /usr/bin > REE in /opt/ruby-enterprise-1.8.7-2010.01/bin > I have all my application gems installed in /opt/ruby- > enterprise-1.8.7-2010.01/bin > but still when i run any gem related command, say "sudo bluepill > status", it looks for the executable in normal ruby edition instead of > REE > > Any ideas? > > ubuntu > echo $PATH > /opt/ruby-enterprise-1.8.7-2010.01/bin > /usr/local/sphinx/bin > /usr/local/sbin > /usr/local/bin > /usr/sbin > /usr/bin > /sbin > /bin > > ubuntu > bluepill > You must run bluepill as root. > > ubuntu > sudo bluepill status > sudo: bluepill: command not found > > ubuntu > which bluepill > bluepill is /opt/ruby-enterprise-1.8.7-2010.01/bin/bluepill > > ubuntu > whereis bluepill > bluepill: /opt/ruby-enterprise-1.8.7-2010.01/bin/bluepill > > ubuntu > ruby -v > ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux], MBARI 0x6770, > Ruby Enterprise Edition 2010.01 > > ubuntu > rails -v > Rails 2.3.5 > > ubuntu > gem -v > 1.3.5 > > ubuntu > gem list > actionmailer (2.3.5) > actionpack (2.3.5) > activerecord (2.3.5) > activeresource (2.3.5) > activesupport (2.3.5) > blankslate (2.1.2.3) > bluepill (0.0.38) > daemons (1.0.10) > eventmachine (0.12.10) > fastthread (1.0.7) > mysql (2.8.1) > passenger (2.2.14) > rack (1.0.1) > rails (2.3.5) > rake (0.8.7) > state_machine (0.9.2) > thin (1.2.7) > > ubuntu > /usr/bin/gem list > actionmailer (2.3.5) > actionpack (2.3.5) > activerecord (2.3.5) > activeresource (2.3.5) > activesupport (2.3.5) > rubygems-update (1.3.7) > rack (1.0.1) > rails (2.3.5) > rake (0.8.7)
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

