Path: csiph.com!2.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Sebastian Christ Newsgroups: comp.lang.ruby Subject: Re: Using functions to return something Date: Wed, 20 Apr 2016 15:42:39 +0200 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: References: <69f480e7-0d0b-4fc7-bd69-49fc2f6540c4@googlegroups.com> <3d74ad52-d0db-4902-82d1-35c4f502b3ab@googlegroups.com> NNTP-Posting-Host: fGpK5fCdZh0seASrtEKZmQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:ZC+n4earelMwYqu1FHUrGn6/DVg= X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.ruby:7239 If you know that you've saved your file in "mystuff", how comes that you're puzzled by this? On 2016-04-19 22:28, Cai Gengyang wrote: > Then I tried to run it : > > CaiGengYangs-MacBook-Pro:~ CaiGengYang$ ruby ex50.rb > > But I got this error message : > > ruby: No such file or directory -- ex50.rb (LoadError) -- Sebastian (Rudolfo) Christ http://rudolfochrist.github.io GPG Fingerprint: 306D 8FD3 DFB6 4E44 5061 CE71 6407 D6F8 2AC5 55DD