On 4 September 2012 05:49, Balaji G. <[email protected]> wrote:
> balaji@balaji-desktop:~$ cd myrails
> balaji@balaji-desktop:~/myrails$ cd gmaps
> balaji@balaji-desktop:~/myrails/gmaps$ rails s
> /usr/local/lib/ruby/1.8/webrick/httpservlet/cgihandler.rb:20: Use
> RbConfig instead of obsolete and deprecated Config.
> => Booting WEBrick
> => Rails 3.2.8 application starting in development on
> http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins!
> Support for these plugins will be removed in Rails 4.0. Move them out
> and bundle them in your Gemfile, or fold them in to your app as
> lib/myplugin/* and config/initializers/myplugin.rb. See the release
> notes for more on this:
> http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released.
> (called from /home/balaji/myrails/gmaps/config/environment.rb:5)
> [2012-09-04 10:10:59] INFO  WEBrick 1.3.1
> [2012-09-04 10:10:59] INFO  ruby 1.8.8 (2012-07-27) [i686-linux]
> [2012-09-04 10:11:04] INFO  WEBrick::HTTPServer#start: pid=2278
> port=3000
>
>
> Started GET "/assets/rails.png" for 127.0.0.1 at Tue Sep 04 10:12:53
> +0530 2012
> Connecting to database specified by database.yml
> Served asset /rails.png - 200 OK (14ms)
>
>
> Started GET "/locations" for 127.0.0.1 at Tue Sep 04 10:13:03 +0530 2012
>
> SyntaxError (/home/balaji/myrails/gmaps/app/models/location.rb:7: syntax
> error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
>             directly a db column, you can dry your code, see wiki

Did you not see this error?  You have a syntax error at line 7 of location.rb

Colin

-- 
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 https://groups.google.com/groups/opt_out.


Reply via email to