librelist archives

« back to archive

Installation on Windows 7

Installation on Windows 7

From:
Jesper Mortensen
Date:
2012-08-01 @ 19:54
Hi,

I’m new to this, and trying to install the current Rubygems Nesta release 
on Windows 7, with RubyInstaller 1.9.3-p194.

The Quick Start says: “Windows you’ll need to substitute shotgun for 
rackup as shotgun doesn’t run on Windows”.

I take that to mean I need to run:
$ rackup config.ru

I can't find a rackup command in my Ruby command line, and also can't find
a rackup on Rubygems.

What am I missing?  :-)


--
Kind Regards,

Jesper Mortensen

________________________________________
Uddannelse i virkeligheden
University College Nordjylland arbejder med uddannelse, udvikling og 
innovation inden for fire hovedområder: det sundhedsfaglige, det 
pædagogiske, det tekniske og business. UCN har ca. 7000 studerende på 
erhvervsakademi- og professionsbacheloruddannelser, over 9000 kursister og
studerende på efter- og videreuddannelse og ca. 750 ansatte.

University College of Northern Denmark works with education, development 
and innovation within four main fields: healthcare, education, technology 
and business. We have approximately 7000 students in AP and BA degree 
programmes, more than 9000 course participants and students undergoing 
continuing and further education and training. We have about 750 
employees.

Re: [nesta] Installation on Windows 7

From:
Graham Ashton
Date:
2012-08-01 @ 19:58
On 1 Aug 2012, at 20:54, Jesper Mortensen wrote:

> I can't find a rackup command in my Ruby command line, and also can't 
find a rackup on Rubygems.
> 
> What am I missing?  :-)

My Ruby advice for Windows is weak, but rackup will be in the rack gem. If
you type `gem contents rack` you should get a list of files, one of them 
will contain "bin/rackup". That's the script you want; I'm not sure if 
rubygems will arrange to put it in your PATH on windows (but it looks like
not, as the rack gem should be installed if you've got nesta installed).

Cheers,
Graham

--
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton


Re: [nesta] Installation on Windows 7

From:
Brian Gonzalez
Date:
2012-08-01 @ 20:19
Jesper,

This may not answer your question directly, but you'll greatly benefit from
launching a Linux-flavored virtual machine in
VirtualBox<https://www.virtualbox.org/wiki/Downloads> and
running nesta from there. Poke around on the command-line, fire up servers,
etc.

You'll find that it's nice to have the same technologies locally that you
have on your server, which are primarily Linux-based (at least the cheap
ones).

--
Brian G.
briangonzalez.org

On Wed, Aug 1, 2012 at 12:58 PM, Graham Ashton <graham@effectif.com> wrote:

> On 1 Aug 2012, at 20:54, Jesper Mortensen wrote:
>
> > I can't find a rackup command in my Ruby command line, and also can't
> find a rackup on Rubygems.
> >
> > What am I missing?  :-)
>
> My Ruby advice for Windows is weak, but rackup will be in the rack gem. If
> you type `gem contents rack` you should get a list of files, one of them
> will contain "bin/rackup". That's the script you want; I'm not sure if
> rubygems will arrange to put it in your PATH on windows (but it looks like
> not, as the rack gem should be installed if you've got nesta installed).
>
> Cheers,
> Graham
>
> --
> Graham Ashton
> Founder, The Agile Planner
> http://theagileplanner.com | @agileplanner | @grahamashton
>
>
>
>

SV: [nesta] Installation on Windows 7

From:
Jesper Mortensen
Date:
2012-08-01 @ 21:21
Thanks to both of you. :-)

`gem contents rack` does list the path to rackup, and it gets executed 
when I call it with the proper path. But it fails and dumps a trace to the
screen.

I'm going in another direction and not using Windows with Nesta. :-)


--
Best Regards,

Jesper Mortensen


Fra: nesta@librelist.com [mailto:nesta@librelist.com] På vegne af Brian Gonzalez
Sendt: 1. august 2012 22:19
Til: nesta@librelist.com
Emne: Re: [nesta] Installation on Windows 7

Jesper,

This may not answer your question directly, but you'll greatly benefit 
from launching a Linux-flavored virtual machine in VirtualBox and running 
nesta from there. Poke around on the command-line, fire up servers, etc.

You'll find that it's nice to have the same technologies locally that you 
have on your server, which are primarily Linux-based (at least the cheap 
ones).

--
Brian G.
briangonzalez.org

On Wed, Aug 1, 2012 at 12:58 PM, Graham Ashton <graham@effectif.com> wrote:
On 1 Aug 2012, at 20:54, Jesper Mortensen wrote:

> I can't find a rackup command in my Ruby command line, and also can't 
find a rackup on Rubygems.
>
> What am I missing?  :-)
My Ruby advice for Windows is weak, but rackup will be in the rack gem. If
you type `gem contents rack` you should get a list of files, one of them 
will contain "bin/rackup". That's the script you want; I'm not sure if 
rubygems will arrange to put it in your PATH on windows (but it looks like
not, as the rack gem should be installed if you've got nesta installed).

Cheers,
Graham

--
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton




________________________________________
Uddannelse i virkeligheden
University College Nordjylland arbejder med uddannelse, udvikling og 
innovation inden for fire hovedområder: det sundhedsfaglige, det 
pædagogiske, det tekniske og business. UCN har ca. 7000 studerende på 
erhvervsakademi- og professionsbacheloruddannelser, over 9000 kursister og
studerende på efter- og videreuddannelse og ca. 750 ansatte.

University College of Northern Denmark works with education, development 
and innovation within four main fields: healthcare, education, technology 
and business. We have approximately 7000 students in AP and BA degree 
programmes, more than 9000 course participants and students undergoing 
continuing and further education and training. We have about 750 
employees.