Ok. NORMALMENETE, para el desarrollo en Rails no usas un IDE que te muestre el resultado de lo que programas, lo que usualmente se usa es un browser.<br><br>Cuando estas tu prompt y arracas el server con <br><br>> rails server<br>
<br>vas a ver que al final te dice que esta correiendo en el puerto 3000, mas o menos asi<br><br>javier@javier-laptop:~/Projects/rubynow/RubyNow-V3/rubynow$ rails s<br>=> Booting WEBrick<br>=> Rails 3.0.9 application starting in development on <a href="http://0.0.0.0:3000">http://0.0.0.0:3000</a><br>
=> Call with -d to detach<br>=> Ctrl-C to shutdown server<br>[2011-07-18 12:29:50] INFO  WEBrick 1.3.1<br>[2011-07-18 12:29:50] INFO  ruby 1.9.2 (2011-02-18) [x86_64-linux]<br><span style="background-color: rgb(255, 255, 153);">[2011-07-18 12:29:50] INFO  WEBrick::HTTPServer#start: pid=10711 port=3000</span><br>
<br>eso quiere decir que hay un servidor web escuchando en ese puerto, lo que normalmente se hace es que usando algun browser pones la direccion<br><br><a href="http://localhost:3000">http://localhost:3000</a> o <a href="http://127.0.0.1:3000">http://127.0.0.1:3000</a><br>
<br>alli se mostrara lo que has programado. Si haces algun cambio solo le das F5 para que refresque y el te muestra el cambio.<br><br>digamos que hiciste un recurso para empleados eso normalmente te deberia quedar en<br><br>
<a href="http://localhost:3000/empleados">http://localhost:3000/empleados</a><br><br>te queda un poco mas claro? si no cualquier onda no dejes de preguntar.<br><br><br clear="all">Javier Alvarez Samayoa (@JManGt)<br>Free culture advocate and Ruby on Rails Developer<br>
<a href="http://guateonrails.com" target="_blank">http://guateonrails.com</a> | <a href="http://twitter.com/jmangt" target="_blank">http://twitter.com/jmangt</a><br>
<br><br><div class="gmail_quote">2011/7/18 Mario Sagüil <span dir="ltr"><<a href="mailto:saguil000@hotmail.com">saguil000@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
se crea una base de datos con los datos<br>
nombre direccion sueldo y con la condicion que si no se llena el campo no permitir<br>
que se grabe dicha informacion. y luego reutilizar el codigo y cambiar y lograr asociar un dato<br>
de la informacion para que se pueda hacer consultas y que se pueda mostrar en la pagina web y modificaciones<br>
<br>
<br>
<br>
> Date: Mon, 18 Jul 2011 12:23:14 -0600<br>
<div><div></div><div class="h5">> From: <a href="mailto:jalvarezsamayoa@gmail.com">jalvarezsamayoa@gmail.com</a><br>
> To: <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> Subject: Re: [ubuntu-gt soporte] FW: consulta<br>
><br>
> Podrias darme un ejemplo algo que te hayan dado en clase, de esa manera te<br>
> puedo guiar mejor para lo que estas buscando.<br>
><br>
><br>
> Javier Alvarez Samayoa (@JManGt)<br>
> Free culture advocate and Ruby on Rails Developer<br>
> <a href="http://guateonrails.com" target="_blank">http://guateonrails.com</a> | <a href="http://twitter.com/jmangt" target="_blank">http://twitter.com/jmangt</a><br>
><br>
><br>
> 2011/7/18 Mario Sagüil <<a href="mailto:saguil000@hotmail.com">saguil000@hotmail.com</a>><br>
><br>
> ><br>
> > Consulto que programa me permitiria usar ruby y tener vista  en html<br>
> ><br>
> > ya que como mi ING de la Universidad nos a mostrado que uso  Ruby aparece<br>
> > en D.O.S y luego aparece un editor que muestra el codigo de programa y nos<br>
> > permite ver en html<br>
> > lo que programamos.<br>
> ><br>
> > Gracias<br>
> ><br>
> ><br>
> ><br>
> > > Date: Mon, 18 Jul 2011 12:08:19 -0600<br>
> > > From: <a href="mailto:jalvarezsamayoa@gmail.com">jalvarezsamayoa@gmail.com</a><br>
> > > To: <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > Subject: Re: [ubuntu-gt soporte] FW: consulta<br>
> > ><br>
> > > Ok. Solo para aclarar.<br>
> > ><br>
> > > Ruby es un lenguage de scripting que puede hacer un resto de cosas pero<br>
> > que<br>
> > > directamente no te genera html.<br>
> > ><br>
> > > Con ruby se han desarrollado muchos framework para desarrollo web, entre<br>
> > > ellos Ruby on Rails (<a href="http://www.rubyonrails.org" target="_blank">www.rubyonrails.org</a>), Sinatra (<br>
> > > <a href="http://www.sinatrarb.com/" target="_blank">http://www.sinatrarb.com/</a>)  y otro monton mas.<br>
> > ><br>
> > > El mas popular es Ruby on Rails. Si queres aprender a usarlo podes ver el<br>
> > > sitio <a href="http://ruby.railstutorial.org/ruby-on-rails-tutorial-book" target="_blank">http://ruby.railstutorial.org/ruby-on-rails-tutorial-book</a> o buscar<br>
> > el<br>
> > > libro <a href="http://pragprog.com/book/rails3/agile-web-development-with-rails" target="_blank">http://pragprog.com/book/rails3/agile-web-development-with-rails</a> .<br>
> > ><br>
> > > Sin embargo antes de entrarle a algunos de estos framework te recomiendo<br>
> > > encarecidamente aprender Ruby. En mi sitio podes econtrar los videos de<br>
> > un<br>
> > > curso de Ruby que di ya hace algun tiempo.<br>
> > ><br>
> > > <a href="http://guateonrails.com/category/cursos/" target="_blank">http://guateonrails.com/category/cursos/</a><br>
> > ><br>
> > > Y si queres sobre Rails, justamente estamos iniciando un nuevo curso de<br>
> > Ruby<br>
> > > on Rails desde cero. Ya pronto pondre los videos en el sitio.<br>
> > ><br>
> > > Para mientras podes unirte al grupo de facebook de Rails Guatemala (<br>
> > > <a href="http://www.facebook.com/group.php?gid=53771752321" target="_blank">http://www.facebook.com/group.php?gid=53771752321</a> ) donde he incluido el<br>
> > > primer video de esta serie para que lo descargues.<br>
> > ><br>
> > > Cualquier otra onda avisamos y vemos como te echamos la mano.<br>
> > ><br>
> > > Javier Alvarez Samayoa (@JManGt)<br>
> > > Free culture advocate and Ruby on Rails Developer<br>
> > > <a href="http://guateonrails.com" target="_blank">http://guateonrails.com</a> | <a href="http://twitter.com/jmangt" target="_blank">http://twitter.com/jmangt</a><br>
> > ><br>
> > ><br>
> > > 2011/7/18 Mario Sagüil <<a href="mailto:saguil000@hotmail.com">saguil000@hotmail.com</a>><br>
> > ><br>
> > > ><br>
> > > > En si es para poder programar y que estas se puedan visualizar en<br>
> > > > html,php,xhtml.<br>
> > > > Lo quen no  se que componentes mas necesita ruby 2.3.8 para que pueda<br>
> > > > mostrar pas visualizacion la informacion<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > > Date: Mon, 18 Jul 2011 11:43:19 -0600<br>
> > > > > From: <a href="mailto:jalvarezsamayoa@gmail.com">jalvarezsamayoa@gmail.com</a><br>
> > > > > To: <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > > Subject: Re: [ubuntu-gt soporte] FW: consulta<br>
> > > > ><br>
> > > > > Podrias ser mas especifico de que es lo que necesita hacer tu<br>
> > aplicacion?<br>
> > > > ><br>
> > > > > A que te referis con paginas index? :)<br>
> > > > ><br>
> > > > > Javier Alvarez Samayoa (@JManGt)<br>
> > > > > Free culture advocate and Ruby on Rails Developer<br>
> > > > > <a href="http://guateonrails.com" target="_blank">http://guateonrails.com</a> | <a href="http://twitter.com/jmangt" target="_blank">http://twitter.com/jmangt</a><br>
> > > > ><br>
> > > > ><br>
> > > > > 2011/7/18 Mario Sagüil <<a href="mailto:saguil000@hotmail.com">saguil000@hotmail.com</a>><br>
> > > > ><br>
> > > > > ><br>
> > > > > > Buenos dias<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > El dia de hoy es unicamente para consultar que aplicaciones puedo<br>
> > usar<br>
> > > > con<br>
> > > > > > el Programa Ruby en linux ya que debe que crear archivos index para<br>
> > > > paginas<br>
> > > > > > web  y que me funcione<br>
> > > > > > sin problema, la unica informacion que posee es que debo que<br>
> > instalara<br>
> > > > Ruby<br>
> > > > > > 2.3.8 pero no se que aplicaciones debo descargar como complementos<br>
> > a la<br>
> > > > > > misma..<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > Gracias<br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > > Date: Mon, 18 Jul 2011 10:37:45 -0600<br>
> > > > > > > From: <a href="mailto:ferlegend@gmail.com">ferlegend@gmail.com</a><br>
> > > > > > > To: <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > > > > Subject: Re: [ubuntu-gt soporte] consulta<br>
> > > > > > ><br>
> > > > > > > te recomiendo  la distribucion llamada TRISQUEL que esta basada<br>
> > en<br>
> > > > ubuntu<br>
> > > > > > es<br>
> > > > > > > lo mismo verdada pero para las caracteristicas de tu maquina esta<br>
> > > > > > perfecta<br>
> > > > > > > m/3utuxg2rj6p"/><br>
> > > > > > > ------------ próxima parte ------------<br>
> > > > > > > Se ha borrado un adjunto en formato HTML...<br>
> > > > > > > URL: <<br>
> > > > > ><br>
> > > ><br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/abc5c9b3/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/abc5c9b3/attachment.html</a><br>

> > > > > > ><br>
> > > > > > > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > > > > Modificar opciones o dessuscribirse:<br>
> > > > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> > > > > ><br>
> > > > > > ------------ próxima parte ------------<br>
> > > > > > Se ha borrado un adjunto en formato HTML...<br>
> > > > > > URL: <<br>
> > > > > ><br>
> > > ><br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/6ea35a2f/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/6ea35a2f/attachment.html</a><br>

> > > > > > ><br>
> > > > > > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > > > Modificar opciones o dessuscribirse:<br>
> > > > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> > > > > ><br>
> > > > > ------------ próxima parte ------------<br>
> > > > > Se ha borrado un adjunto en formato HTML...<br>
> > > > > URL: <<br>
> > > ><br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/e244b2cf/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/e244b2cf/attachment.html</a><br>

> > > > ><br>
> > > > > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > > Modificar opciones o dessuscribirse:<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> > > ><br>
> > > > ------------ próxima parte ------------<br>
> > > > Se ha borrado un adjunto en formato HTML...<br>
> > > > URL: <<br>
> > > ><br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b6704ee3/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b6704ee3/attachment.html</a><br>

> > > > ><br>
> > > > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > > Modificar opciones o dessuscribirse:<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> > > ><br>
> > > ------------ próxima parte ------------<br>
> > > Se ha borrado un adjunto en formato HTML...<br>
> > > URL: <<br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b5755b95/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b5755b95/attachment.html</a><br>

> > ><br>
> > > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > > Modificar opciones o dessuscribirse:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> ><br>
> > ------------ próxima parte ------------<br>
> > Se ha borrado un adjunto en formato HTML...<br>
> > URL: <<br>
> > <a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/e5ced5fd/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/e5ced5fd/attachment.html</a><br>

> > ><br>
> > <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> > Modificar opciones o dessuscribirse:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
> ><br>
> ------------ próxima parte ------------<br>
> Se ha borrado un adjunto en formato HTML...<br>
</div></div>> URL: <<a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b71e5ed3/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/b71e5ed3/attachment.html</a>><br>

<div class="im">> <a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
> Modificar opciones o dessuscribirse: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
<br>
------------ próxima parte ------------<br>
Se ha borrado un adjunto en formato HTML...<br>
</div>URL: <<a href="https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/23be3219/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-gt/attachments/20110718/23be3219/attachment.html</a>><br>

<div><div></div><div class="h5"><a href="mailto:ubuntu-gt@lists.ubuntu.com">ubuntu-gt@lists.ubuntu.com</a><br>
Modificar opciones o dessuscribirse: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-gt</a><br>
</div></div></blockquote></div><br>