[Locomotive-users] From Newbie: Running commands usingTerminalwith Locomoti

Fresh Air freshair0000 at hotmail.com
Tue Nov 28 07:12:08 GMT 2006


Dear Guys,

Thank you for your help!  Problem solved!  I restarted the app and opened 
Terminal from Locomotive and everything works fine now!

MZ

>From: "Ryan Raaum" <ryan.raaum at gmail.com>
>Reply-To: locomotive-users at lists.raaum.org
>To: locomotive-users at lists.raaum.org
>Subject: Re: [Locomotive-users] From Newbie: Running commands 
>usingTerminalwith Locomoti
>Date: Mon, 27 Nov 2006 22:25:01 -0500
>
>On 11/27/06, Fresh Air <freshair0000 at hotmail.com> wrote:
>>
>>Dear Richard,
>>
>>Thank you for your prompt response.  I wasn't opening Terminal from
>>Locomotive, but now that I am, I am getting the following error message
>>(see
>>below)
>
>
>
>Make sure your database.yml file has no tabs in it.  YAML can be very
>sensitive to small syntax errors.
>
>-r
>
>Thanks,
>>
>>MZ
>>
>>
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in
>>`load': syntax error on line 17, col 2: `  host: localhost'
>>(ArgumentError)
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in
>>`load'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-
>>1.1.6/lib/initializer.rb:459:in
>>`database_configuration'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-
>>1.1.6/lib/initializer.rb:181:in
>>`initialize_database'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-
>>1.1.6/lib/initializer.rb:84:in
>>`process'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-
>>1.1.6/lib/initializer.rb:42:in
>>`run'
>>         from ./script/../config/../config/environment.rb:13
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
>>`require'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-
>>1.3.1/lib/active_support/dependencies.rb:147:in
>>`require'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-
>>1.1.6/lib/commands/generate.rb:1
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
>>`require'
>>         from
>>
>>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-
>>1.3.1/lib/active_support/dependencies.rb:147:in
>>`require'
>>         from script/generate:3
>>
>>
>>
>> >From: Richard Sandilands <richard at infoarts.info>
>> >Reply-To: locomotive-users at lists.raaum.org
>> >To: locomotive-users at lists.raaum.org
>> >Subject: Re: [Locomotive-users] From Newbie: Running commands using
>> >Terminalwith Locomotive
>> >Date: Tue, 28 Nov 2006 07:05:40 +1100
>> >
>> >On 28/11/2006, at 3:09 AM, Fresh Air wrote:
>> >
>> >>However, I cannot use Terminal to run commands like: "ruby script/
>> >>generate controller say"
>> >
>> >Are you opening the Terminal session from within
>>Locomotive?  Applications
>> >menu => "Open in Terminal"
>> >
>> >--
>> >Richard Sandilands
>> >_______________________________________________
>> >Locomotive-users mailing list
>> >Locomotive-users at lists.raaum.org
>> >http://lists.raaum.org/mailman/listinfo/locomotive-users
>>
>>_________________________________________________________________
>>Get free, personalized commercial-free online radio with MSN Radio powered
>>by Pandora http://radio.msn.com/?icid=T002MSN03A07001
>>
>>_______________________________________________
>>Locomotive-users mailing list
>>Locomotive-users at lists.raaum.org
>>http://lists.raaum.org/mailman/listinfo/locomotive-users
>>
>
>
>
>--
>Ryan Raaum
>http://raaum.org
>http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X


>_______________________________________________
>Locomotive-users mailing list
>Locomotive-users at lists.raaum.org
>http://lists.raaum.org/mailman/listinfo/locomotive-users

_________________________________________________________________
Talk now to your Hotmail contacts with Windows Live Messenger. 
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview



More information about the Locomotive-users mailing list