Ticket #454 (closed defect: duplicate)

Opened 11 months ago

Last modified 10 months ago

merb -i loads test environment

Reported by: tonguer..@gmail.com Assigned to:
Priority: major Milestone: The Future
Component: Merb Keywords:
Cc:

Description

$ merb -i

always seems to load the test environment

Attachments

config.patch (4.1 kB) - added by smartoc..@gmail.com on 01/17/08 08:26:53.

Change History

01/17/08 07:07:22 changed by smartoc..@gmail.com

Seems to be development for me...

01/17/08 08:26:53 changed by smartoc..@gmail.com

  • attachment config.patch added.

01/17/08 08:27:20 changed by smartoc..@gmail.com

I have created a patch for this, basically there were some commands at the end of parse_args that needed to be called in order to get variables into @configuration.

I moved these into a function, and now call it in the -i case as well as at the end of the parse_args function

The one thing I noticed though that was because -i stops the function and loads into IRB, you must specify -e and other options before it.

02/11/08 13:34:45 changed by shayarne..@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.