When your http://localhost:3000 comes up, what do you see if you
follow the link "About_your_application's_environment"?

I get:

Ruby version    1.8.7 (powerpc-darwin9.7.0)
RubyGems version        1.3.4
Rack version    1.0
Rails version   2.3.3
Active Record version   2.3.3
Action Pack version     2.3.3
Active Resource version 2.3.3
Action Mailer version   2.3.3
Active Support version  2.3.3
Application root        /Users/rick/hello
Environment     development
Database adapter        sqlite3
Database schema version 0

Also, using your app_controller.rb and views/app/greeting.rhtml in
this environment does the right thing in response to 
http://localhost:3000/app/greeting.


On Aug 19, 3:05 pm, mgpowers <[email protected]> wrote:
> C:\Ruby\hello>rake routes
> (in C:/Ruby/hello)
>   /:controller/:action/:id
>   /:controller/:action/:id(.:format)
>
> On Aug 19, 2:25 pm,Rick<[email protected]> wrote:
>
> > ok, so just to be complete, what do you get when you type:
>
> > rake routes
>
> > On Aug 19, 2:13 pm, mgpowers <[email protected]> wrote:
>
> > > I've changed the view name to greeting.html.erb as suggested
> > > but SAME results..
>
> > > I was jusing the book Beginging Ruby on Rails and
> > > looking at the online documentation.
>
> > > Any other suggestions ?
>
> > > On Aug 19, 1:46 pm, Marnen Laibow-Koser <[email protected]> wrote:
>
> > > > On Aug 19, 1:42 pm, mgpowers <[email protected]> wrote:
>
> > > > > Using rails 2.3.3
>
> > > > > I've put greeting.rhtml in both
>
> > > > > app\views\app
>
> > > > > and
>
> > > > > app\views\application
>
> > > > > SAME result....Any other ideas ?
>
> > > > As I said before, it should be greeting.html.erb , not
> > > > greeting.rhtml .  Why are you using .rhtml ?  That hasn't been correct
> > > > for a long time, and it makes me think that you may be following a
> > > > tutorial for an older version.
>
> > > > > I've tried starting it in console mode but it just says Load Develope
> > > > > Env >>
>
> > > > Yes, that's what it should say.  What's the problem?
>
> > > > > I'm trying to stay positive about Rails but am a little discouraged
> > > > > that
> > > > > I can get my first controller/view working  :<
>
> > > > What documentation have you been using?
>
> > > > Best,
> > > > --
> > > > Marnen Laibow-Koserhttp://www.marnen.org
> > > > [email protected] Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to