[Locomotive-users] general frustration

ray palermo signorray at sbcglobal.net
Thu Jan 25 22:29:30 GMT 2007


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



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


More information about the Locomotive-users mailing list