henry sztul

henry sztul

Physicist. Entrepreneur. Dad.
more about me @ henry.sztul.com


Getting RVM + Ruby 1.9.2 + Textmate to Play Nice

As I am getting a new dev environment setup this is something thats been bothering me on my old setup… below is the fix! 

You’re going to want to replace: ~/.rvm/bin/textmate_ruby

Here are the steps to do so: 

  1. cd ~/.rvm/bin
  2. mv textmate_ruby old.textmate_ruby
  3. Create a shell script called textmate_ruby in the same directory to replace the soft-link, using the following contents:
    #!/usr/bin/env sh 
    source ~/.rvm/scripts/rvm 
    cd . 
    exec ruby "$@" 
    
  4. chmod +x textmate_ruby

That should do it!


    (Source: stackoverflow.com)

    Interesting ruby script to search WHOIS for free domain names

    domain-naminator

    HTTParty

    Uber powerful looking Ruby gem

    Top