Forum: Ruby on Rails Load script in console

Posted by Learn by Doing (learnbydoing)
on 2009-07-03 07:24
I find myself retyping statements in the console all the time.  Is there
a way to put all these statements in the script and at the console, just
run it?  Thanks.
Posted by Andrew Timberlake (andrewtimberlake)
on 2009-07-03 08:34
(Received via mailing list)
On Fri, Jul 3, 2009 at 7:24 AM, Learn by
Doing<rails-mailing-list@andreas-s.net> wrote:
>
> I find myself retyping statements in the console all the time.  Is there
> a way to put all these statements in the script and at the console, just
> run it?  Thanks.

Put them in ~/.irbrc

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.