Ruby Development Enviroment

Hey,
as you may have read, I own a webhost. This question is related to that
fact.

I’m currently working on a PHP Developer service and I’m wondering if a
similar idea could be used for Ruby.

You can read the idea here (.doc):
www.its-explosive.net/~davey/Product-Spec-PHP.doc
or here (.txt):
www.its-explosive.net/~davey/Product-Spec-PHP.txt

Please read one of those, so you have a good idea of what I’m planning.

Now my question is, what would you require to provide the ideal Ruby
development environment, where you can develop and distribute your
applications.

I need to know such things as what modules do you want etc.

Assume I don’t have any ruby support at all. So you would need to
think about what version(s) of ruby itself you’d like, eRuby, mod_ruby,
everything.

Based on this feedback, I will try to put out a product that the
community as a whole can benefit from.
Just remember, I don’t know ruby, which is why this help is crucial to
me. I do know PHP very well however, so any links that you can make (for
example between mod_ruby and mod_php) are welcome.

I look forward to the feedback and to hopefully providing something that
will only help to push ruby into the limelight it deserves.

  • Davey

Davey wrote:

Now my question is, what would you require to provide the ideal Ruby
development environment, where you can develop and distribute your
applications.

Vim is quite cool; among endless great features: I can execute snippets,
and I’ll check out pairing via screen -x. I’d consider using an IDE for
quick GUI development, if Vim can be selected as main editor.

Tobi

···


http://www.pinkjuice.com/

Please read one of those, so you have a good idea of what I’m planning.

OK …

Now my question is, what would you require to provide the ideal Ruby
development environment, where you can develop and distribute your
applications.

Free coffee would be a feature :slight_smile:

I need to know such things as what modules do you want etc.

mod_ruby
eruby

All the Ruby XML/XSLT stuff, like REXML, the Sablotron bindings (plus, of
course Sablotron), libxml, expat w/ Ruby bindings, Ruby SAX, SVG, XML-RPC,
SOAP4R.

MySQL and PostgreSql, and Ruby bindings

Ruby DBI

An option to run under either the latest stable release or a development
version of Ruby.

James

oops; you asked about a hosting package? I’m sorry, I thought with “Ruby
development environment” you meant an IDE.

···

Vim is quite cool


http://www.pinkjuice.com/

You got me curious. Care to explain a bit more?

I use screen everyday, and apart from that I’ve experimented with
broadcasting Emacs screens over LANs and Internet with just nc, tee,
and a FIFO, but of course the receiver’s side was read only. What
does the screen -x trick do?

Massimiliano

···

On Sun, Jul 07, 2002 at 05:05:09AM +0900, Tobias Reif wrote:

Vim is quite cool; among endless great features: I can execute snippets,
and I’ll check out pairing via screen -x. I’d consider using an IDE for
quick GUI development, if Vim can be selected as main editor.

Please read one of those, so you have a good idea of what I’m planning.

OK …

Now my question is, what would you require to provide the ideal Ruby
development environment, where you can develop and distribute your
applications.

Free coffee would be a feature :slight_smile:

Heh, don’t we all wish? :smiley:

I need to know such things as what modules do you want etc.

mod_ruby
eruby

Versions? Links to homepages?

All the Ruby XML/XSLT stuff, like REXML, the Sablotron bindings (plus, of
course Sablotron), libxml, expat w/ Ruby bindings, Ruby SAX, SVG, XML-RPC,
SOAP4R.

As above :slight_smile:

MySQL and PostgreSql, and Ruby bindings

Got those, will add the bindings (links?, once again)

Ruby DBI

WTH is a DBI? Anywho, link me and I’ll look at it

An option to run under either the latest stable release or a development
version of Ruby.

Yup, thought of that :slight_smile:

James

Just a further note on the subject, whilst installing the PHP service I
have come across something that needs an answer for the Ruby version too…

Now, I’m assuming that mod_ruby and eRuby mean that Apache will parse
Ruby within HTML pages and such so long as they have one of the Ruby
extensions, without a Shebang. So that you can use two versions of the
Ruby Parser, you would need to access the second one (and we will
provide the first aswell this way) through normal CGI. Now because of
the fact that we have mod_ruby and eRuby we need to designate a
ScriptAlias’ed directory, for the PHP one, I have chosen to have both
/php-bin and /cgi-bin by default you can add others of every make /
the script alias using .htaccess, what folders would you like? /ruby-bin
and /cgi-bin?

In case you want to see the versioning of the PHP one in use:
http://www.its-explosive.net/info.php - Normal Apache module (latest
stable release)
http://www.its-explosive.net/php-bin/info42.php - Same version, CGI install
http://www.its-explosive.net/php-bin/info43.php - Latest development release

Only difference between the last two scripts is the shebang line points
to a different cgi binary.

  • Davey

Massimiliano,

You got me curious. Care to explain a bit more?

If you email me offlist, we can both telnet into the same (remote)
account on the same machine (eg Linux), then we can share one Vim. I
only recently got the tip on the vim list, and successfully tried it out
with two local telnet consoles and a remote account, so it should work
with one remote terminal as well.

Both ssh or telnet into the same Unix machine and account.
One types screen, then the other types screen -x.
Then both can type vim. (ctrl-d to exit screen)

Tobi

···


http://www.pinkjuice.com/

Slight correction: either person can type vim.

“screen -x” allows concurrent attaching to the same screen
session. Probably the best feature of screen, yet.

– Dossy

···

On 2002.07.07, Tobias Reif tobiasreif@pinkjuice.com wrote:

Both ssh or telnet into the same Unix machine and account.
One types screen, then the other types screen -x.
Then both can type vim. (ctrl-d to exit screen)


Dossy Shiobara mail: dossy@panoptic.com
Panoptic Computer Network web: http://www.panoptic.com/
“He realized the fastest way to change is to laugh at your own
folly – then you can let go and quickly move on.” (p. 70)

Dossy wrote:

Slight correction: either person can type vim.

thx; although two of two people got it to work with the old
instructions, here’s the new version:

" Remote pair programming: (share one Vim)
" Both ssh or telnet into the same (remote) Unix machine and account.
" One enters screen, [space], vim,
" then the other enters screen -x.
" (ctrl-d to exit screen)

Since I put it on my site; does it work for everyone who cared to try?

Tobi

···


http://www.pinkjuice.com/

Since I put it on my site; does it work for everyone who cared to try?

I tried it on one of my home PCs, and it works just as you said.

James

···

Tobi


http://www.pinkjuice.com/

James,

I tried it on one of my home PCs, and it works just as you said.

thx :slight_smile:

Tobi

···


http://www.pinkjuice.com/