Okay I am lost

244 views
Skip to first unread message

Ralph Pombo

unread,
Sep 23, 2012, 10:48:06 AM9/23/12
to railsin...@googlegroups.com
I have watched the video but I cannot get past the creation of the new instance, railsinstaller_demo. Here is a screen print, http://screencast.com/t/uxDoZURS.
thank you,
Ralph

Luis Lavena

unread,
Sep 23, 2012, 11:07:57 AM9/23/12
to railsin...@googlegroups.com
Two possible causes:

DEP protection:
https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-dep_segfault

You're running FRAPS:
https://github.com/oneclick/rubyinstaller/issues/102

--
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

Ralph Pombo

unread,
Sep 23, 2012, 8:26:50 PM9/23/12
to railsin...@googlegroups.com
Okay let's pretend that I have no clue what these links are referring to. I am a true novice and this is being used for a new class that I am taking. Is there any instruction that I can used to help bypass these errors? I need this installed for class tomorrow and just received the instruction to load RoR today. How can I fix this so that it is somehow usable? Is there a cloud version anywhere that can be used? Please help!

Luis Lavena

unread,
Sep 23, 2012, 8:49:01 PM9/23/12
to railsin...@googlegroups.com
On Sun, Sep 23, 2012 at 9:26 PM, Ralph Pombo <ral...@gmail.com> wrote:
> Okay let's pretend that I have no clue what these links are referring to. I
> am a true novice and this is being used for a new class that I am taking. Is
> there any instruction that I can used to help bypass these errors? I need
> this installed for class tomorrow and just received the instruction to load
> RoR today. How can I fix this so that it is somehow usable? Is there a cloud
> version anywhere that can be used? Please help!
>

Do you have FRAPS installed in your computer? Any software that does
screen capture or that can affect loading programs?

Do you have any antivirus software installed that is blocking
execution of programs?

If following the instructions in the links provided is not something
that you can do, then there is nothing I can do to help you because
I'm not in front of your computer to do it myself.

When programming you will need to deal with more complicated stuff
than just this, if you're not making the effort to follow these
instructions and understand the problem, then I'm sorry.

Ralph Pombo

unread,
Sep 23, 2012, 8:59:02 PM9/23/12
to railsin...@googlegroups.com
I appreciate the help that you are giving. Please do not misread me, thinking that I was in some way not grateful. I am just in desperate need of help right this minute. The first link did not pertain to my Win7 operating system. In the description, a link to a Windows Support page is given. I have contacted them and they are telling me that this has nothing to do with my Windows installation. That leaves the second link. I had never heard the acronym FRAPS previously. I did a little research and disabled all antivirus programs and anything that could remotely be considered to be a screen capture program. Do I need to uninstall all of these programs to get RoR to install? Is there a cloud version that can be used that would save me from all of these system modifications? I hate to dig into the core files of Windows unless it is really a necessity.


On Sunday, September 23, 2012 7:48:07 AM UTC-7, Ralph Pombo wrote:

Tami

unread,
Sep 23, 2012, 9:05:39 PM9/23/12
to railsin...@googlegroups.com
Don't despair!  I'm a newby on this as well...  Not sure about your background but this newby has a C.S. degree and tons of programming experience and I've been working to try to get this bad baby setup as a development environment on my laptop for MONTHS without success...so you are so not alone!

I did, however, get the demo application running and found that the RailsInstaller 'book' version worked better for me then the video demos.  If you haven't gone in that direction here is a link to the book:   http://ruby.railstutorial.org/ruby-on-rails-tutorial-book 

I wish I could offer you more help but my 'help' would probably just send you down a rabbit hole!

Hang in there!

Tami


On Sunday, September 23, 2012 7:48:07 AM UTC-7, Ralph Pombo wrote:

Ralph Pombo

unread,
Sep 23, 2012, 9:16:08 PM9/23/12
to railsin...@googlegroups.com
Thank you so much Tami. I was starting to think very poorly of myself. I also have a CS degree and I am currently taking classes at both MIT and UC Berkeley online. The criticism aimed at me was taken with a grain of salt since I know that people do not know me on the forum yet. My experience consists of over 25 years programming but there have been 0 years with RoR. To be fair, most of my experience is quite dated since I have been captured within the walls of a very large institution for so long. That is okay, just dusting off the cobwebs and learning a few new tricks to the trade to support my new business ventures.
Thanks again for the kind words.


On Sunday, September 23, 2012 7:48:07 AM UTC-7, Ralph Pombo wrote:

Tami

unread,
Sep 23, 2012, 9:24:05 PM9/23/12
to railsin...@googlegroups.com
Us 'newbies' have to stick together!  Good Luck!


On Sunday, September 23, 2012 7:48:07 AM UTC-7, Ralph Pombo wrote:

Evan Machnic

unread,
Sep 23, 2012, 10:52:37 PM9/23/12
to railsin...@googlegroups.com

Ralph/Tami,

If you or anyone else wants help in real-time, feel free to reach out to me personally. If I'm online #railsinstaller on IRC or as evan.ey on Skype, I am always happy to answer questions or work through problems.

Thanks,
Evan

Luis Lavena

unread,
Sep 24, 2012, 12:14:16 AM9/24/12
to railsin...@googlegroups.com
On Sun, Sep 23, 2012 at 9:59 PM, Ralph Pombo <ral...@gmail.com> wrote:
> I appreciate the help that you are giving. Please do not misread me,
> thinking that I was in some way not grateful. I am just in desperate need of
> help right this minute. The first link did not pertain to my Win7 operating
> system. In the description, a link to a Windows Support page is given. I
> have contacted them and they are telling me that this has nothing to do with
> my Windows installation. That leaves the second link. I had never heard the
> acronym FRAPS previously. I did a little research and disabled all antivirus
> programs and anything that could remotely be considered to be a screen
> capture program.

From the error message you show to us in the first post:

193: %1 is not a valid Win32 application. -
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so
(LoadError)

Everything points to the error described here:

https://github.com/oneclick/rubyinstaller/issues/102

Which means something (an antivirus or another software) is breaking
how Ruby loads it's extensions. A second option was the DEP protection
issue that I've also linked.

To solve that, I've pointed you two possible places that could be the
issue: either DEP protection is blocking loading of extensions (which
you can disable to test out) or there is another software that is
affecting.

Since I don't have access to your computer I don't know what you have
installed and the lack of context information you provided about your
environment make it harder to determine if DEP was enabled or not,
leaving me with no other answer to help *us* figure out what is going
on on your system.

There could be a virus that has corrupted the binary extensions (.so)
and that is breaking things to load. There could be another file in
your system that is affecting Ruby from starting up.

But again, due the lack of context and more information about your
environment except from the first screenshot, I'm shooting darts in
the dark.

Without knowing what is your system, what you have installed as AV
software (or any other software) there isn't a lot I can do.

And don't get me wrong, I've been helping out folks for the past 6
years with issues about Ruby and Windows but I can't do magic, I need
more information.

So:

- What version of Windows are you using? (versions, bits,
starter/pro/ultimate, etc)
- What software (besides RailsInstaller) do you have installed?
- Do you have anything like a screen recording software (FRAPS is one,
there are others like Camtasia Studio)
- Have you tried to remove and install RailsInstaller again?
- What is the environment PATH from a normal command? (Start Command
Prompt, then type "SET PATH")
- If you open a simple command prompt, what the following code produces?

gem help commands

- Can you uninstall RailsInstaller and try a simple Ruby installation?
Please download RubyInstaller from http://rubyinstaller.org, Version
1.9.3-p194.

After installation, open "Start Command Prompt with Ruby", and type
the same command shown above (gem help commands)

Does it work? or it fails? Fails with the same error as before?

Help us help you, acting desperate do not help us determine the cause
issue, it only shares your frustration with others which do not lead
to a solution.

Patience is the key, also use of a logic process.

Thank you.

Tami

unread,
Sep 24, 2012, 3:35:03 AM9/24/12
to railsin...@googlegroups.com
Thank you Evan...much appreciated!

Ralph Pombo

unread,
Sep 24, 2012, 9:54:17 AM9/24/12
to railsin...@googlegroups.com
Luis,
Here is a partial listing of what you are asking. I cannot list every program on this machine since there are literally hundreds. It is easy to do when you have more than 4 Tb of space to work with. Also, I am going to try to load this on one of my laptops instead. If I don't have a problem using it there, then it will just be easier than trying to hack this machine.
Win7 Ultimate
Railsinstaller reloaded several times
Railsinstaller uninstalled several times
Camtasia, Jing, Screencast have all been uninstalled
results: http://screencast.com/t/xRYqh00p

Note: I reinstalled Jing to get the screen print
Thank you

Ralph Pombo

unread,
Sep 24, 2012, 10:00:03 AM9/24/12
to railsin...@googlegroups.com
thank you Evan. I may take you up on that if I can't make any progress in the next couple of hours.


On Sunday, September 23, 2012 7:48:07 AM UTC-7, Ralph Pombo wrote:

Luis Lavena

unread,
Sep 24, 2012, 10:06:31 AM9/24/12
to railsin...@googlegroups.com
On Mon, Sep 24, 2012 at 10:54 AM, Ralph Pombo <ral...@gmail.com> wrote:
> Luis,
> Here is a partial listing of what you are asking. I cannot list every
> program on this machine since there are literally hundreds. It is easy to do
> when you have more than 4 Tb of space to work with. Also, I am going to try
> to load this on one of my laptops instead. If I don't have a problem using
> it there, then it will just be easier than trying to hack this machine.
> Win7 Ultimate
> Railsinstaller reloaded several times
> Railsinstaller uninstalled several times
> Camtasia, Jing, Screencast have all been uninstalled
> results: http://screencast.com/t/xRYqh00p
>
> Note: I reinstalled Jing to get the screen print

You can use Snipping Tool and then use something like imgur to upload.

I see that RailsInstaller is mixed in your environment (see it before
and after C:\Windows\system32 entry) which might be caused by the
several attempts to install/uninstall.

Definitely there is something in your computer that interferes with
Ruby loading extensions.

If you don't mind, I would like we use TeamViewer and schedule a
session so we can figure out what is the reason this is failing on
your computer.

Please download free TeamViewer (even the portable version will do)
and ping me over GTalk at luislavena at gmail dot com.

I'll be around the next few hours.

Luis Lavena

unread,
Sep 24, 2012, 12:16:11 PM9/24/12
to railsin...@googlegroups.com
Hello Folks,

A follow up on the issue Ralph was experiencing:

We setup a TeamViewer session where I was able to confirm that
RailsInstaller 2.1.0 failed to load digest/md5.so extension, which is
used by RubyGems/Bundler and also openssl.so extension.

Installer were once again downloaded and verified (beyond the
self-check the installer performs) without issues. Installer size was
correct.

We installed side-by-side RubyInstaller to confirm if the same issue
happened with it, and it didn't. RubyInstaller 1.9.3 was able to load
digest/md5.so and openssl.so extension without problems.

After closer inspection, the file size of these extensions differ considerably:

RailsInstaller:

Directory of C:\RailsInstaller\Ruby1.9.3\lib\ruby\1.9.1\i386-mingw32\digest

09/24/2012 08:35 AM <DIR> .
09/24/2012 08:35 AM <DIR> ..
02/16/2012 11:31 AM 9,216 bubblebabble.so
02/16/2012 11:31 AM 8,192 md5.so
02/16/2012 11:31 AM 8,192 rmd160.so
02/16/2012 11:31 AM 8,192 sha1.so
02/16/2012 11:31 AM 8,704 sha2.so
5 File(s) 42,496 bytes


And RubyInstaller:

Directory of C:\Ruby193\lib\ruby\1.9.1\i386-mingw32\digest

09/24/2012 08:38 AM <DIR> .
09/24/2012 08:38 AM <DIR> ..
04/21/2012 10:36 AM 55,092 bubblebabble.so
04/21/2012 10:36 AM 52,934 md5.so
04/21/2012 10:36 AM 53,524 rmd160.so
04/21/2012 10:36 AM 53,490 sha1.so
04/21/2012 10:36 AM 56,742 sha2.so
5 File(s) 271,782 bytes


Indicating that somehow those were corrupt.

The only AV software running was BitDefender, but the issue can't be
attributed to it since things were working for RubyInstaller even when
we installed and removed it several times, but consistently failing
for RailsInstaller one.

We decided to extract RubyInstaller binary package on top of
RailsInstaller installation, which solved all the gem/bundler issues
mentioned before.

After this, I've required to re-install DevKit using "ruby dk.rb
install --force" inside DevKit directory to ensure the right compiler
paths were used.

When attempted to verify DevKit installation by performing "gem
install json" we exposed another failure:

make
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0xD00000, BaseAddress 0xDA0000, RegionSize 0x22F000, State 0x1000

C:\RailsInstaller\DevKit\bin\make.exe: *** Couldn't reserve space for
cygwin's heap, Win32 error 0

This failure is caused by msys-1.0.dll when attempts to load it in the
same memory address that another DLL is allocated. Normally this
wouldn't be a problem, but seems msys-1.0.dll lacks relocation
information so Windows can't perform that operation dynamically.

Since this is a not-so-common but known issue, we followed the
instructions already mentioned in RubyInstaller group:

https://groups.google.com/forum/?hl=en_US&fromgroups=#!msg/rubyinstaller/yQSsX-Gv008/7TyKpn7dn1sJ

- Download rebase.exe
- cd into DevKit\bin directory
- perform "rebase -b 0x30000000 msys-1.0.dll"

After this, make.exe started to work normally and "gem install json" succeeded.

Posting this here for future references.

Regards,

Alex Chaffee

unread,
Sep 24, 2012, 12:51:29 PM9/24/12
to railsin...@googlegroups.com
Luis, you are my hero. I don't want to embarrass you but your patience and dedication are an inspiration.

- A
Reply all
Reply to author
Forward
0 new messages