Heh.. seems you have problem with RVM load? As your RVM installed in systemwide maner check that your `$HOME/.bashrc` file have this line at the end: source '/usr/local/rvm/scripts/rvm'
If not then add and reload terminal. Then.. 1. Navigate to folder with your script and type that: rvm --create --rvmrc 1.9.3@test_sctipt 2. Then install all needed gems 3. And replace that: #!/usr/bin/ruby1.9.2 #!/opt/framework3/ruby/bin/ruby -w #!/usr/bin/ruby -w with this one: #!/usr/bin/env ruby On Friday, March 23, 2012 12:08:30 AM UTC+2, Ruby-Forum.com User wrote: > > Here is the o/p of gem list > > > # gem list -d actionpack > /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/yaml.rb:56:in `<top > (required)>': > It seems your ruby installation is missing psych (for YAML output). > To eliminate this warning, please install libyaml and reinstall your > ruby. > > *** LOCAL GEMS *** > > actionpack (3.2.2) > Author: David Heinemeier Hansson > Homepage: http://www.rubyonrails.org > Installed at: /usr/local/rvm/gems/ruby-1.9.3-p125 > > Web-flow and rendering framework putting the VC in MVC (part of > Rails). > > # gem list -d action_pack > /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/yaml.rb:56:in `<top > (required)>': > It seems your ruby installation is missing psych (for YAML output). > To eliminate this warning, please install libyaml and reinstall your > ruby. > > *** LOCAL GEMS *** > > -- > Posted via http://www.ruby-forum.com/. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/y0zQoyZrHkMJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.