Error starting config app: `join': can't convert nil into String (TypeError)

541 views
Skip to first unread message

Julio Napurí Carlos

unread,
Sep 9, 2011, 4:59:55 PM9/9/11
to railsin...@googlegroups.com
Hi

Download and install the new version RailsInstaller 2 uploaded by
Wayne, after a report that Rails was outdated. (3.1.0 rc6)

I finish installation and I check option:
Configure git and ssh when installation has completed.

But when the script started I get the following:

c:/RailsInstaller/scripts/config_check.rb:12:in `join': can't convert
nil into String (TypeError)
from c:/RailsInstaller/scripts/config_check.rb:12:in `<main>'
c:\Sites>_

NOTE:
I removed previous install version (RailsInstaller 2)

PATH:
C:\Users\Julius>set %PATH%
Variable de entorno C:\RailsInstaller\Git\cmd;C:\RailsInstaller\Ruby1.9.2\bin;C:
\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:
\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:
\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\;C:\Pytho
n27;C:\Python27\Scripts no definida

C:\Users\Julius>%COMSPEC%
Microsoft Windows [Versión 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.

Installation path: c:/RailsInstaller


--
Twitter: http://twitter.com/julionc

Julio Napurí Carlos

unread,
Sep 9, 2011, 5:28:12 PM9/9/11
to railsin...@googlegroups.com
grrr forget It. I just removed and restart.
Download and Install again... now It works again! :S

Luis Lavena

unread,
Sep 9, 2011, 5:28:43 PM9/9/11
to railsin...@googlegroups.com
2011/9/9 Julio Napurí Carlos <jul...@gmail.com>:
> Hi
>

Hello,

> Download and install the new version RailsInstaller 2 uploaded by
> Wayne, after a report that Rails was outdated. (3.1.0 rc6)
>

This means you were one of the first downloading the installer.

> I finish installation and I check option:
> Configure git and ssh when installation has completed.
>
> But when the script started I get the following:
>
> c:/RailsInstaller/scripts/config_check.rb:12:in `join': can't convert
> nil into String (TypeError)
>        from c:/RailsInstaller/scripts/config_check.rb:12:in `<main>'
> c:\Sites>_
>

This error happens because your system/configuration lacks either
HOMEDRIVE or HOMEPATH environment variables.

You can check that opening a new command prompt (not the
RailsInstaller one) and do:

SET HOMEDRIVE
SET HOMEPATH

If one of those is undefined, that is the reason of the error.

Now, Since Windows 2000 these variables are present, and if they
aren't something is corrupt on your system.

Can you tell us what is the output of the following command?

SET USER

You should see something like this:

USERDOMAIN=KEORE
USERNAME=Luis
USERPROFILE=C:\Users\Luis

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Reply all
Reply to author
Forward
0 new messages