Re: WinRoR (Grrr) Have a new candidate for one step installer: bitnami ruby stack

4 views
Skip to first unread message

Thomas Porter

unread,
Jun 25, 2010, 5:40:46 PM6/25/10
to techva...@googlegroups.com
As far as native extensions in Windows goes, perhaps running a JRuby
based stack will solve this as many gems come with JRuby alternative
versions that do not require native extensions. I recall getting gems
like hpricot installed in windows more easily using JRuby than MRI.

See http://www.ozmox.com/2009/12/12/rails-on-windows-with-jruby/ for a
relatively recent write up.

More useful:

The bitnami full stack is a great option, too.
http://bitnami.org/stack/rubystack It takes a while to install but
seems really nice! Here are the gems it comes installed with out of
the box:

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
after_commit (1.0.6)
bluecloth (2.0.7)
builder (2.1.2)
capistrano (2.5.18)
cgi_multipart_eof_fix (2.5.0)
cucumber (0.6.4)
daemons (1.0.10)
delayed_job (2.0.3)
diff-lcs (1.1.2)
echoe (4.3)
eventmachine (0.12.10)
gem_plugin (0.2.3)
gemcutter (0.5.0)
gruff (0.3.6)
highline (1.5.2)
hoe (2.3.3)
hpricot (0.8.2)
json (1.2.4)
json_pure (1.2.4)
memcache-client (1.8.2)
mini_magick (1.2.5)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
mongrel_service (0.3.4)
mysql (2.8.1)
needle (1.3.0)
net-scp (1.0.2)
net-sftp (2.0.4)
net-ssh (2.0.21)
net-ssh-gateway (1.0.1)
nokogiri (1.4.1)
polyglot (0.3.1)
rack (1.0.1)
rack-test (0.5.3)
rails (2.3.5)
rails_analyzer_tools (1.4.0)
rake (0.8.7)
rcov (0.8.1.2.0)
RedCloth (4.2.3)
riddle (1.0.10)
rmagick (2.12.0)
rspec (1.3.0)
rspec-rails (1.3.0)
rubyforge (2.0.4)
sqlite3-ruby (1.2.5)
SyslogLogger (1.4.0)
term-ansicolor (1.0.4)
thin (1.2.7)
thinking-sphinx (1.3.16)
treetop (1.4.5)
webrat (0.7.0)\win32-service (0.5.2)
ZenTest (4.1.4)

I installed rspec and cucumber on it with no problems. Had to install
other dependant gems and then win32-service and win32console gems as
well to get cucumber/capybara to work. it installs apache and mysql
by default and offers ways to manage from a PHP console, but you don't
have to do this. 'ruby script/server' works just fine. Ctrl-C does
not shut down the server, had to kill the dos box.

Only trick is that to do commandline stuff you have to pick the 'Use
Bitnami Ruby Stack' entry from the start menu program group for the
bitnami stack.

This really works quite well. Ruby 1.8.7 rails 2.3.5, which I upgraded
to 2.3.8 using gem command. Needs internet conenction, natch.

Tom P.

Mark Menard

unread,
Jun 25, 2010, 6:11:32 PM6/25/10
to techva...@googlegroups.com
On Fri, Jun 25, 2010 at 5:40 PM, Thomas Porter <tom.x....@gmail.com> wrote:
> As far as native extensions in Windows goes, perhaps running a JRuby
> based stack will solve this as many gems come with JRuby alternative
> versions that do not require native extensions.  I recall getting gems
> like hpricot installed in windows more easily using JRuby than MRI.
>
> See http://www.ozmox.com/2009/12/12/rails-on-windows-with-jruby/ for a
> relatively recent write up.

I thought about taking the JRuby route. I use it on OS X a lot. And we
have two production applications that run on JRuby. So, I'm pretty
familiar with it.

The thing that kept me from going down that route was the lack of a
"built-in" database option like SQLite. There is JavaDB which comes
with Java 6. So, I'm going to look at that.

> More useful:
>
> The bitnami full stack is a great option, too.
> http://bitnami.org/stack/rubystack  It takes a while to install but
> seems really nice!  Here are the gems it comes installed with out of
> the box:
>

> I installed rspec and cucumber on it with no problems.  Had to install
> other dependant gems and then win32-service and win32console gems as
> well to get cucumber/capybara to work.  it installs apache and mysql
> by default and offers ways to manage from a PHP console, but you don't
> have to do this.  'ruby script/server' works just fine.  Ctrl-C does
> not shut down the server, had to kill the dos box.
>
> Only trick is that to do commandline stuff you have to pick the 'Use
> Bitnami Ruby Stack' entry from the start menu program group for the
> bitnami stack.
>
> This really works quite well. Ruby 1.8.7 rails 2.3.5, which I upgraded
> to 2.3.8 using gem command.  Needs internet conenction, natch.

That's pretty cool, but the download is HUGE! Anyway, it's more to look at.

Mark

--
Mark Menard
518.369.7356
http://www.vitarara.net/
Twitter: @mark_menard
AIM: MJFXMenard

Reply all
Reply to author
Forward
0 new messages