# Using the newest Ruby after installing Locomotive

**URL:** <https://www.ruby-forum.com/t/using-the-newest-ruby-after-installing-locomotive/115113>\
**Category:** Ruby\
**Created:** [September 20, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/using-the-newest-ruby-after-installing-locomotive/115113 "2007-09-20T18:40:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [September 20, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/using-the-newest-ruby-after-installing-locomotive/115113/1 "2007-09-20T18:40:04Z")

</div>

after installing Locomotive on Mac, both the shell (Terminal) and  
TextMate still would run with the Ruby 1.8.2 that shipped with the Mac.

I wonder how it would be to make the shell and Textmate work with 1.8.6  
that came with Locomotive?

---

<div class="post-metadata">

**Author:** ![winterheat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Post date:** [September 20, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/using-the-newest-ruby-after-installing-locomotive/115113/2 "2007-09-20T18:59:59Z")

</div>

On Sep 20, 2007, at 11:40 AM, SpringFlowers AutumnMoon wrote:

> after installing Locomotive on Mac, both the shell (Terminal) and  
> TextMate still would run with the Ruby 1.8.2 that shipped with the  
> Mac.
> 
> I wonder how it would be to make the shell and Textmate work with  
> 1.8.6  
> that came with Locomotive?

For the shell, you will need to set your PATH environment variable  
correctly. On Mac OS X this is typically done in ~/.profile.

For TextMate read the “Important” paragraph on this page:

[http://macromates.com/textmate/manual/shell\_commands#search\_path](http://macromates.com/textmate/manual/shell_commands#search_path)

James Edward G. II
