View Review Details
| Book: |
|
Ruby on Rails: Up and Running |
| Subject: |
|
Can't Follow Along |
| Date: |
|
2008-06-27 14:14:33 |
| From: |
|
RayP
|
|
|
Only chapters 3 through 7 are on line. The books starts with running the code for chapter 1, "rails chapter-1".
There are many different options for installing Rails. The author does not recommend one that he recommends for following along.
When I try ruby script\server for the chapter 3 source code, I get an error that I need to used the previous version of Rails. So I do gem install -v=1.1.2 rails I run ruby script\server again and get a cryptic
C:\rails\src-start-chapter-4\photos>ruby script\server
./script/../config/boot.rb:28: undefined method `require_gem' for main:Object (NoMethodError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from script/server:2
This all very annoying. I'm going to look else where to getting "Up and Running" with Rails. If I can find the receipt, I'll return the book. This is an unusually book O'Reilly Book.
|
-
Re: Can't Follow Along, September 13 2008
Submitted by Anonymous Reader [Respond | View]
kindly update gems, may be your problem will get solved
|
| |