Ruby on Rails Thursday, December 1, 2011

OK folks

I may have resolved this. There is information on installing node.js
here:

http://cedricdussud.com/2011/11/installing-node-js-on-windows/

"Install Node

The simplest way is to download the Windows installer from the Node
site. Since they update quickly I won't bother to put a direct link —
it's every easy to find from the home page. Two things to keep in
mind:

Be SURE to get a verision of Node >= 0.6.3.
Use the .msi to install. Otherwise you won't get npm

The installer simply copies Node.exe to a folder inside the Program
Files directory and updates your Path environment variable to point to
it.

If you want to put Node elsewhere you can move the folder from Program
Files, drop it where you like, and update the Path environment
variable.

Setting the Path variable is important, so here's how to do it
manually: go to System Properties in the Control Panel, Advanced, and
hit the Environment Variables button. Scroll down under 'System
variables' to Path. Hit edit, and add your directory (say C:\bin
\node) to it. Be sure to separate it from the previous entry with a
semicolon."

The windows MSI installs to a directory below c:\Program Files and it
seems to be the space in the file path that causes the problem. I have
moved the nodejs directory to the root and updated the PATH variable
accordingly.

Good night

On Dec 2, 3:44 am, Ted Finch <li...@ruby-forum.com> wrote:
> Any further help on this.
>
> It is very frustrating as the error message is not pointing at a
> solution. Does any one know what is causing the error?
>
> What actually happens from this line?
>
> <%= javascript_include_tag "application" %>
>
> Thanks
>
> Ted Finch wrote in post #1034656:
>
>
>
>
>
>
>
>
>
>
>
> >> Reinstall node into a directory without spaces.
>
> >> As for no JScript support, does invoking cscript.exe from the command  line
> works?
>
> >> --
> >> Luis Lavena
>
> > Luis
>
> > good evening
>
> > cscript.exe does run from the command line from the application
> > directory
>
> > I have run this:
> > C:\Sites\blog>gem install node
> > Successfully installed node-0.0.2
> > 1 gem installed
> > Installing ri documentation for node-0.0.2...
> > Installing RDoc documentation for node-0.0.2...
>
> > can you tell what programme or file is being looked for from line #6
> >  <%= javascript_include_tag "application" %>
>
> > Ted
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment