[Rails] Re: REE and ruby PATH problem
Thanks Ivan, but it still dosent work :(
ubuntu > sudo bluepill status
sudo: bluepill: command not found
-Pratik
On Jun 7, 1:24 am, Ivan Nastyukhin <dieinz...@me.com> wrote:
> sudo ln -s /opt/ruby-enterprise-1.8.7-2010.01/bin/ruby /usr/bin/ruby
> sudo ln -s /opt/ruby-enterprise-1.8.7-2010.01/bin/gem /usr/bin/gem
> sudo ln -s /opt/ruby-enterprise-1.8.7-2010.01/bin/rake /usr/bin/rake
>
> Ivan Nastyukhin
> dieinz...@me.com
>
> On Jun 7, 2010, at 10:19 AM, tispratik 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 torubyonrails-talk@googlegroups.com.> To unsubscribe from this group, send email torubyonrails-talk+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home