[Locomotive-users] general frustration

Jay Craig jaywcraig at mac.com
Thu Jan 25 23:07:25 GMT 2007


Ray,

Rails is really simple and clean compared to other web development  
platforms, but there is still a vast ocean of underlying technology  
beneath the surface that you really need to know something about. Buy  
a copy of Agile Web Development with Rails by Dave Thomas and Rails  
creator David Heinemeier Hansson and work through it. Chapter 3 will  
answer your setup questions and get you headed straight.

--Jay

On Jan 25, 2007, at 3:29 PM, ray palermo wrote:

> Hello,
>
> How do I set that database up? I thought that was the purpose of  
> the migrate step? I revised line 29. That seemed to help. Is it  
> necessary to restart the application (using Mongrel) every time you  
> revise something? I made a whole new application and I am still  
> having the same problems (except for "line 29" - I also changed  
> "line 39" to be consistent or it that the wrong thing to do?).
>
> Ray
>
>
> On Jan 25, 2007, at 4:01 PM, Daniel Torrey wrote:
>
>> 1) Can't help you here.  :-)
>>
>> 2) Ignore it, it's only a whine - the thing is working as it  
>> should.  Or open config/boot.rb, go to line 29, and change  
>> "require_gem" to "gem".
>>
>> 3) Have you set up the database that Rails is looking for in  
>> config/database.yml?  You have to create the database, set up  
>> privileges for the username/password in database.yml, etc.
>>
>> -daniel
>>
>> On Jan 25, 2007, at 4:48 PM, ray palermo wrote:
>>
>>> Hello,
>>>
>>> I am running Locomotive2 and am essentially stuck at "go" on  
>>> several newbie issues:
>>>
>>> 1) The "help" instructions for getting up and running are missing  
>>> some steps(?), specifically the one about adding dynamic content  
>>> to the hello controller.
>>>
>>> 2) When I try to generate a controller I got this message excerpt:
>>> ray$ ruby script/generate controller Say
>>> ./script/../config/boot.rb:29:Warning: require_gem is obsolete.   
>>> Use gem instead.
>>>       exists  app/controllers/
>>>       exists  app/helpers/
>>>       create  app/views/say
>>>       exists  test/functional/
>>>       create  app/controllers/say_controller.rb
>>>       create  test/functional/say_controller_test.rb
>>>       create  app/helpers/say_helper.rb
>>> ray-palermos-Computer:~/ruby_work/kit ray$
>>>
>>> (This is after updating not only Locomotive but also the Standard  
>>> bundle as separate installs).
>>>
>>> 3) There appear to be other problems as well as I can't even get  
>>> to the scaffolding without getting this message repeatedly:
>>>
>>> ray$ ruby script/generate migration add_monkeys_table
>>> ./script/../config/boot.rb:29:Warning: require_gem is obsolete.   
>>> Use gem instead.
>>>       create  db/migrate
>>>       create  db/migrate/001_add_monkeys_table.rb
>>> ray-palermos-Computer:~/ruby_work/kit ray$ edit db/migrate/ 
>>> 001_add_monkeys_table.rb
>>> ray-palermos-Computer:~/ruby_work/kit ray$ rake migrate
>>> /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/ 
>>> powerpc/bin/rake:17:Warning: require_gem is obsolete.  Use gem  
>>> instead.
>>> (in /Users/ray/ruby_work/kit)
>>> /Users/ray/ruby_work/fkit/config/boot.rb:29:Warning: require_gem  
>>> is obsolete.  Use gem instead.
>>> rake aborted!
>>> Unknown database 'kit_development'
>>>
>>> (See full trace by running task with --trace)
>>> ray-palermos-Computer:~/ruby_work/kit ray$
>>>
>>>
>>> Can you please help? So far Locomotive (and Rails by extension)  
>>> has been a bust. I would appreciate any help that can get me past  
>>> being a newbie.
>>>
>>> Thanks,
>>> Ray Palermo
>>> 812.423.5680
>>> signorray at sbcglobal.net
>>>
>>>
>>>
>>> _______________________________________________
>>> Locomotive-users mailing list
>>> Locomotive-users at lists.raaum.org
>>> http://lists.raaum.org/mailman/listinfo/locomotive-users
>>
>> _______________________________________________
>> Locomotive-users mailing list
>> Locomotive-users at lists.raaum.org
>> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
> Ray Palermo
> 812.423.5680
> signorray at sbcglobal.net
>
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070125/f79ed593/attachment-0001.htm


More information about the Locomotive-users mailing list