Ruby install

Tried to install ruby 1.8.4 (the lastest) - I think some of their programs need updating - may check with them later in the week. So far it occupies ~18meg before compiling. Tell me to stop if the objects.

PS: This is my audit trail - no need to comment unless you are an outsider who has the answer.

Tags

  1. ruby
  2. installed

Comments


Mark de LA says
The compile from source (so far the only way to install on Linux) bombs out at the start of the script. On my local machine it works fine. I have Linux FC4 and Spry has Redhat Linux 9 . I will have to call next week & see what they say. I have installed it both on Windows & linux locally.

Seth says
How is the install going? How do we use it ?

Seth says
i dont think there is aprob with 18meg

Mark de LA says
seth 2006-01-31 13:55:49 2644
interesting ... but can't shed any light on it 
Wasn't asking the .  I have a current ticket out with Spry.  I have gotten past the missing stringio and now it compiles, issues a successful completion message and then refuses to execute. That problem is waiting for Spry to solve.

Mark de LA says
rubygems is now causing problems which is needed to do the final install of rubyonrails.
See my latest adventure here


Mark de LA says
seth 2006-01-31 04:01:13 2644
so how do you run it from a html page ?
That's mostly what Rails is about.

Mark de LA says
Ruby 1.8.4 is installed.  You should be able to run the interactive command line by typing in irb to the command prompt. If you want to run a program in the current directory type in "ruby program-name.rb"
I put the yetz.rb program in the root of fastblogit.  You should be able to type ruby yetz.rb from that location and it will give you a blank like waiting for a word.  Type in any word such as your name and it will come out with the yetziratick number corresponding to it. Eg. Seth will yield the following:

seth
The number for seth is 574
Total modulo 55 is 24
Total modulo 42 is 28
Total modulo 9 is 7
Total modulo 10 is 4
Total modulo 64 is 62

enjoy! I will put rails & gems(ruby updates) in there tomorrow.



Mark de LA says
seth 2006-01-31 14:17:55 2644
So is ruby installed, but not rails?
yep - waiting for Spry on some answers.

Mark de LA says
Well, Ruby, Rails & RubyGems are installed.  I am now using the book Agile Web Development with Rails to prove it is working. Later when that is validated I will have to tweek Apache to work with it. There is a supplied server for testing without Apache.


Mark de LA says
seth 2006-02-01 09:10:40 2644
For me, i'll get my warm fuzzy when i see a hyperlink to a page on fbi that takes data from a database and displays it on the page. 
I will take that on as my goal. That depends on the of energy levels & focus.  The book is ~8megs(pdf)- prolly too much to post. I will do some of their demos first before attempting to get to the fbi database.

Mark de LA says
the preliminary hello world apps & variations work so I am reasonably confident that tomorrow I can install a new shopping cart application. I will be creating some databases and making a application around it.

Seth says
are you saying that ruby or rails requires a different server than the apache? What is the WebRick server ?

Mark de LA says
seth 2006-02-04 17:39:52 2644
are you saying that ruby or rails requires a different server than the apache? What is the WebRick server ?
While I am running through the tutorial I will use their "imbedded" web server. When I get to the section marked "deployment" I will configure Apache to work with it.

Mark de LA says
MR 2006-02-04 15:49:54 2644
Well, the first piece of the application from the tutorial is there.  You can see it from uri http://icybermind.net:3000/admin when the WebRick server is up.  I will leave it on for a few minutes, but will probably cut it off after 5:ooPM.   It is an application to manage products in a mysql database.  There are only 3 products & 3 pictures, but they can be added as much as wanted.
BTW, most of this is generated. There is a little bit to setup the databases & tables, and a little tweek to about 3 other text files.  The exercise is Task A, CHapter 6 of the book I referred you to this AM.


Mark de LA says
M 2006-02-10 11:15:20 2644
M 2006-02-10 11:12:26 2644
The test nUnit is delivered with the software. Pointers are here at uri http://www.rubygarden.org/ruby?RubyUnit
  got eaten by the uc/lc bug in the wiki references The link is here.
The irony of this is that it is a url for a real wiki page reference that caused the problem!

Mark de LA says
M 2006-02-10 11:12:26 2644
The test nUnit is delivered with the software. Pointers are here at uri http://www.rubygarden.org/ruby?RubyUnit
  got eaten by the uc/lc bug in the wiki references The link is here.

Seth says
the ruby wiki, here, is very slow.  fbi running on php is much faster.   makes one think about whether ruby is more practical or not. 


Seth says
M 2006-02-10 12:52:17 2644
seth 2006-02-10 11:38:44 2644
the ruby wiki, here, is very slow.  fbi running on php is much faster.   makes one think about whether ruby is more practical or not. 
I'm not sure you can compare apples and oranges & get something meaningful out of the experience.  RubyGarden probably has a few more visitors than we do.  In any case we don't know what their setup is etc.  If you really want to optimize server performance you might write it in perl.  Our former perl wiki was very fast!
I know there are a lot of variables.  Show me a set of ruby sites and check how fast they respond.  When a site is that slow, there is probably a reason for it.  I don't remember ever seeing a php site that slow.

Mark de LA says
seth 2006-02-10 11:38:44 2644
the ruby wiki, here, is very slow.  fbi running on php is much faster.   makes one think about whether ruby is more practical or not. 
I'm not sure you can compare apples and oranges & get something meaningful out of the experience.  RubyGarden probably has a few more visitors than we do.  In any case we don't know what their setup is etc.  If you really want to optimize server performance you might write it in perl.  Our former perl wiki was very fast!

Mark de LA says
seth 2006-02-10 13:16:25 2644
M 2006-02-10 12:52:17 2644
seth 2006-02-10 11:38:44 2644
the ruby wiki, here, is very slow.  fbi running on php is much faster.   makes one think about whether ruby is more practical or not. 
I'm not sure you can compare apples and oranges & get something meaningful out of the experience.  RubyGarden probably has a few more visitors than we do.  In any case we don't know what their setup is etc.  If you really want to optimize server performance you might write it in perl.  Our former perl wiki was very fast!
I know there are a lot of variables.  Show me a set of ruby sites and check how fast they respond.  When a site is that slow, there is probably a reason for it.  I don't remember ever seeing a php site that slow.
For one thing we don't know if the RubyGarden is written with Ruby or Rails.  I wrote the webmaster about the latency and will post the reply here if I get one.

Mark de LA says

Thanks Chad for the favor of a reply on the RubyGarden website:

source: It's an old Wiki (http://www.usemod.com) written in Perl (we put it up before there were actually any Wikis written in Ruby). It's also running on an overworked server, which is the main reason it's slow.

Sorry if I offended you with the spam question. It was an honest question. It's just that your card is huge and dwarfed the text of your message.

Chad

On Feb 10, 2006, at 6:39 PM, Mark wrote:

No it is NOT - I gave you my card as I sign most of my professional stuff that way. Can you answer the question ? Is the RubyGarden wiki written with Ruby on Rails ?

From: Chad Fowler [mailto:chad@chadfowler.com]
Sent: Friday, February 10, 2006 3:33 PM
To: Mark
Subject: Re: Ruby Garden website seem slow to respond sometimes

Is this message spam?

On Feb 10, 2006, at 2:46 PM, Mark wrote:

Is it written in Ruby or Ruby on Rails ? Some would say that if that is so, then it seems to be a poor example of how those systems work on the web. What say You ?
<mr.mountaincard.2.jpg>


Mark de LA says
FYI this is probably chad's website: uri http://www.chadfowler.com/

Mark de LA says
Here is Instiwiki wiki written in Ruby. Apparently if you look through wish lists for new features you will see that they prolly haven't solved the spam problem like we have yet - so I will not install it. (Besides we have FastBlogIt anyway). 


See Also

  1. Thought Concept Net with 8 viewings related by tag "ruby".
  2. Thought about: try ruby! (in your browser) with 1 viewings related by tag "ruby".