Script/console LoadError - 'no such file to load'

Hello,

When I enter the command “ruby script/console”, instead of an irb
session beginning, I get the following error:

c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in 
'require__': No such file to load -- 
./script/../config/../config/environment (LoadError)

I’m a little new to Rails, but it appears to me that the path to the
required file is incorrect. The ‘environmennt.rb’ file is inside the
config folder, which is a sibling to the script folder, while the error
states that rails is looking for a config folder that is two levels up
from the script folder. Does this seem to be the case to anyone else? If
so, what can be done about this?

For reference, I’m running Rails 1.1.2 w/ Ruby 1.8.2 on an win32 machine
(for development).

Thanks,
Aaron

On 6/5/06, Aaron C. [email protected] wrote:

I’m a little new to Rails, but it appears to me that the path to the
required file is incorrect. The ‘environmennt.rb’ file is inside the
config folder, which is a sibling to the script folder, while the error
states that rails is looking for a config folder that is two levels up
from the script folder. Does this seem to be the case to anyone else? If
so, what can be done about this?

For reference, I’m running Rails 1.1.2 w/ Ruby 1.8.2 on an win32 machine
(for development).

You wouldn’t happen to have any command-prompt customizations
installed, such as XPize, would you?