Return to Snippet

Revision: 6251
at May 12, 2008 17:52 by cczona


Initial Code
export RUBYLIB=$RUBYLIB:/home/foo/ruby/mylib

Initial URL

                                

Initial Description
Suppose you created a script chart.rb in /home/foo/ruby/mylib direcory. Now, you want to use this in the app.rb located in /home/foo/ruby/scripts. In ~/.bash_profile:

Initial Title
Add paths to Ruby 'require'

Initial Tags
path, ruby

Initial Language
Bash