227 - Installing Ruby in Less Than 30 Minutes
Ruby installs quicker than Scoffield breaks out of prison. Less than half an hour, and Ruby with Rails is installed and running on my Powerbook. For the most part I used default options since I’m not sure about package choices and what not yet. That should come with time.
Installation Notes:
1) Start at the Ruby on Rails site. Download Ruby 1.8.4 as suggested.
2) Follow the Install directions in the README file. I had to run /configure twice, making both times, as I got a message at the end of the first make telling me my Tk and Ruby were not running compatible versions of pthreads and lockups could occur. I don’t anticipate using Tk, but you never know, so I re-ran configure as suggested by the message at the end of the make so I don’t run into problems later. I did uncomment some modules in the ext/Setup file before running make. I may not have needed to. More later.
3) Back to the RoR site, and its instructions for Gems and Rails. I ran all commands from the downloaded directory.
4) Create the path and start the server like the RoR site explains.
Process Notes:
1) Run install commands as su – including the ruby make install and the gems and rails commands.
Points for down the road:
1) I’ll likely find a nice location on my laptop for the SVN and CVS repositories so I can create a batch file to auto checkout files, compile, and install newer versions if either updates are needed, or I need to add in packages I didn’t know about. I’ll publish this batch file if I ever create it.
2) Look at plugins.
3) Create an alias for starting the server in the background.
4) Running like suggested pops logging to stdout – the terminal. Need to narrow down better logging mechanism.
5) Follow directions on the rails server’s site – create DB, etc
I’ve got my install, my next round of tasks, and my project. Next – design phase and some more setup.
Fun fact: It took me longer to write this post than it did to do everything described in it. Hot damn.
226 - links for 2006-05-02
-
@toread
-
Flash based player so you have to have a connection at the time to watch, but at least it works cross platform.
Powered by Wordpress and based on the Subnixus theme as modified by Blue Needle












