[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
Sorry , I was wrong , it should be: [[ -s /Users/scriptfans/.rvm/scripts/rvm ]] && TERM=xterm-256color source /Users/scriptfans/.rvm/scripts/rvm -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
the new version of CodeRunner now can recognition of user's PATH variables, so I edited the Run Command back to 'ruby $filename', but when I run ruby code it's still output the message. and it causes the problem in all other languages snippets output, etc the Python, ObjectiveC. Then, I try to edit

[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
Unfortunately, the new version of CodeRunner Will still output the error message 'tput: No value for $TERM and no -T specified', if you update the RVM to 1.10.1 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rai

Re: [Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread Walter Lee Davis
New version of CodeRunner just released through the MAS, it works perfectly with gems and RVM, with no fussing in the path preferences. I edited it back to 'ruby $filename' and all's right with the world. Walter On Jan 12, 2012, at 12:33 PM, Walter Lee Davis wrote: > The issue I am trying to s

Re: [Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread Walter Lee Davis
The issue I am trying to solve is the gem loading. If I want to run a simple snippet such as the one you showed, I agree, it works perfectly. But anything fancier than that fails. I can load a standard library like Time, but anything from gem (besides rubygems itself) seems to fail. Walter On

[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
with 1.10.1 Attachments: http://www.ruby-forum.com/attachment/6897/Untitled.rb.jpg -- 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 post to this group, send email to rubyonrails-talk@googleg

[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
Version 1.10.1 of RVM can also work, but it will output the error message: 'tput: No value for $TERM and no -T specified', at the console's top. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group

[Rails] Re: [OT] CodeRunner and RVM

2012-01-12 Thread ruijie chen
It's seem to the latest version of rvm (1.10.1) has some problem, you can install the 1.10.0 version through the command: rvm get 1.10.0 then try to re-run your code snippets. sorry for my bad english, i am a chinese. -- Posted via http://www.ruby-forum.com/. -- You received this message be

Re: [Rails] Re: [OT] CodeRunner and RVM

2012-01-11 Thread Walter Lee Davis
Yes, and yes, I already tried that first. I get the correct ruby in any script I run in there, but I don't see the nokogiri gem, even though it's listed correctly in gem list. Walter On Jan 11, 2012, at 1:58 PM, Michal Papis wrote: > are you sure you run stable rvm ? > >rvm get stable >

[Rails] Re: [OT] CodeRunner and RVM

2012-01-11 Thread Michal Papis
are you sure you run stable rvm ? rvm get stable also you can use one of rubies listed by: ls -1 $rvm_path/wrappers/*/ruby just put the full path instead of ruby in the 'Run Command': ruby $filename On Jan 11, 6:24 pm, Walter Lee Davis wrote: > On Jan 10, 2012, at 10:54 PM, ruij

Re: [Rails] Re: [OT] CodeRunner and RVM

2012-01-11 Thread Walter Lee Davis
On Jan 10, 2012, at 10:54 PM, ruijie chen wrote: > hello, you can change the Languages preferences 'Run Command' from: > ruby $filename > to: > [[ -s /Users/__yourname__/.rvm/scripts/rvm ]] && source > /Users/__yourname__/.rvm/scripts/rvm && ruby $filename > > pls change __yourname__ to your h

[Rails] Re: [OT] CodeRunner and RVM

2012-01-10 Thread ruijie chen
hello, you can change the Languages preferences 'Run Command' from: ruby $filename to: [[ -s /Users/__yourname__/.rvm/scripts/rvm ]] && source /Users/__yourname__/.rvm/scripts/rvm && ruby $filename pls change __yourname__ to your home folder name :) -- Posted via http://www.ruby-forum.com/. -