Hey Jim,
Im not to sure what this require'desert' means , i have put the
require boot lines into the environment.rb,
Im getting this error when i try to pligun_migrate.
[code]
-bash-3.2$ script/generate plugin_migration
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': /home/aptana/homes/sc2chat/mysite/config/
environment.rb:49: syntax error, unexpected $end, expecting kEND
(SyntaxError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
commands/generate.rb:1
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
from script/generate:3
[/code]
Any tips,
Thanks
On Jul 6, 11:37 am, Jim Ruther Nill <[email protected]> wrote:
> dont forget the
>
> require 'desert'
>
> line in your config/environment.rb file.
>
>
>
> On Sat, Jul 4, 2009 at 6:57 AM, dekhaus <[email protected]> wrote:
>
> > Hi All
>
> > I'm new to CE and trying to install/configure the sample app for the
> > first time.
>
> > I carefully followed the directions on this page ...
>
> > http://www.communityengine.org/documentation.html
>
> > and am now at the point in the install/configuration when I'm
> > instructed to run this command ...
>
> > script/generate plugin_migration
>
> > when I do - I get this error ...
>
> > > script/generate plugin_migration
> > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/dependencies.rb:105:in `const_missing': uninitialized
> > constant Rails::Plugin::Desert (NameError)
> > from /Users/dekhaus/projects/rails/ce-sample-app/vendor/plugins/
> > community_engine/init.rb:3:in `evaluate_init_rb'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/
> > plugin.rb:146:in `evaluate_init_rb'
> > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/
> > plugin.rb:142:in `evaluate_init_rb'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/
> > plugin.rb:48:in `load'
> > from /Users/dekhaus/projects/rails/ce-sample-app/config/../vendor/
> > plugins/engines/lib/engines/plugin.rb:44:in `load'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/
> > loader.rb:38:in `load_plugins'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/
> > loader.rb:37:in `each'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/
> > loader.rb:37:in `load_plugins'
> > from
> > /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:
> > 348:in `load_plugins'
> > from
> > /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:
> > 163:in `process'
> > from
> > /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:
> > 113:in `send'
> > from
> > /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:
> > 113:in `run'
> > from /Users/dekhaus/projects/rails/ce-sample-app/config/
> > environment.rb:10
> > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > 31:in `gem_original_require'
> > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > 31:in `require'
> > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/
> > generate.rb:1
> > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > 31:in `gem_original_require'
> > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > 31:in `require'
> > from script/generate:3
>
> > In case you're wondering - here's the list of gem's installed ...
>
> > > gem list
>
> > *** LOCAL GEMS ***
>
> > actionmailer (2.3.2)
> > actionpack (2.3.2)
> > activerecord (2.3.2)
> > activeresource (2.3.2)
> > activesupport (2.3.2)
> > aws-s3 (0.6.2)
> > builder (2.1.2)
> > desert (0.5.0)
> > haml (2.0.9)
> > hpricot (0.8.1)
> > htmlentities (4.0.0)
> > mime-types (1.16)
> > mysql (2.7)
> > rails (2.3.2)
> > rake (0.8.7)
> > rmagick (2.10.0)
> > sqlite3-ruby (1.2.4)
> > xml-simple (1.0.12)
>
> > I'm really hoping that someone can help me with this error as I'm
> > really hoping that CE is as good as it looks.
>
> > Thanks
> > Dave
>
> --
> "We do not believe in ourselves until someone reveals that deep inside us is
> valuable, worth listening to, worthy of our trust, sacred to our touch." -
> E. E. Cummings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CommunityEngine" 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 this group at
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---