Charlie and I spent a couple of hours on Ruby/Rails and simply understanding the Ruby model and "way of doing things" on Friday.
Time Spent : 2 Hrs x 2 Dudes
Investment: $24 (Mommy did'nt give us lunch money)
I am now setting up Ruby and the base infrastructure to get a Hello World App running.
Here are some quick hits:
- Install RUBY
- I use fedora so I use YUM
- yum install ruby ruby-devel rdoc irb
- Install RubyGems (Ruby Package Manager -- Similar to yum, apt-get etc.)
- tar -xvzf rubygems*; cd rubygems*;ruby setup.rb [Do this as root]
- Install Rails (the framework)
- gem install rails --include-dependencies [Do this as root]
- I had some weird errors crop up, but nothing seemed too dangerous
Time Spent: 20 Mins
Investment: $1.24 (1 Starbucks Mocha from my fridge)
Ok, I FuBar'd -- I forgot I had IPtables installed on my dev, box and it took me some time to open up port 3000. I first thought that WEBrick was only listening on the localhost interface, and went down a rathole of trying to get WEBrick to listen on all the interfaces on the box. But then I found out it was IPtables -- Opened up Port 3000. Game ON....
1 comment:
Good job, you are making a lot of progress.
Post a Comment