Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
merb-gen very_flat problem?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
IndianGuru  
View profile   Translate to Translated (View Original)
 More options Nov 23 2008, 10:51 pm
From: IndianGuru <satish.ta...@gmail.com>
Date: Sun, 23 Nov 2008 19:51:22 -0800 (PST)
Local: Sun, Nov 23 2008 10:51 pm
Subject: merb-gen very_flat problem?
I am using the following configuration -

Windows XP with SP2 box
Ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
Ruby Gem 1.3.1
Merb 1.0.1
SQLite 3.6.6
do_sqlite3-0.9.7
Mongrel 1.1.5

I created a very_flat app by typing:
C:\> merb-gen very_flat ruby-hello
Generating with very_flat generator:
←[32m     [ADDED]←[0m  .gitignore
←[32m     [ADDED]←[0m  merb.thor
←[32m     [ADDED]←[0m  ruby-hello.rb
←[32m     [ADDED]←[0m  Rakefile
←[32m     [ADDED]←[0m  spec
C:\>

To run my app, I did:
E:\ruby-hello>merb -I ruby-hello.rb
Loading init file from ruby-hello.rb
merb : worker (port 4000) ~ Starting Mongrel at port 4000
merb : worker (port 4000) ~ Successfully bound to port 4000

I pointed my web browser to http://localhost:4000/ but that threw a
page full of errors on the browser window. On the Mongrel window, I
got:
merb : worker (port 4000) ~ Started request handling: Mon Nov 24
09:20:39 +0530 2008
merb : worker (port 4000) ~ Controller class not found for controller
`ruby-hello'

What's the solution?

Thanks.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yehuda Katz  
View profile   Translate to Translated (View Original)
 More options Nov 23 2008, 11:47 pm
From: "Yehuda Katz" <wyc...@gmail.com>
Date: Sun, 23 Nov 2008 20:47:31 -0800
Local: Sun, Nov 23 2008 11:47 pm
Subject: Re: [merb] merb-gen very_flat problem?

very_flat apps use the app name as the controller, so you shouldn't use
hyphens in them (because hyphens are not valid in class names).
-- Yehuda

2008/11/23 IndianGuru <satish.ta...@gmail.com>

--
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
IndianGuru  
View profile   Translate to Translated (View Original)
 More options Nov 23 2008, 11:53 pm
From: IndianGuru <satish.ta...@gmail.com>
Date: Sun, 23 Nov 2008 20:53:28 -0800 (PST)
Local: Sun, Nov 23 2008 11:53 pm
Subject: Re: merb-gen very_flat problem?
"because hyphens are not valid in class names" - Obvious. Wonder, what
I was thinking then!!

Thanks Yehuda for the quick reply.

On Nov 24, 9:47 am, "Yehuda Katz" <wyc...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google