You have to run gem install rails before running setup On 11/22/08, alexnesbitt <[EMAIL PROTECTED]> wrote: > > I ran the CommunityEngineServer image set up at EC2 and tried running > communityengine-setup. I get a problem with the errors focused on > requiring rails 2.1.1 > > Any ideas how to resolve this? > > Here's a copy of the output: > > > [EMAIL PROTECTED]:~# git clone > git://github.com/bborn/communityengine-setup.git > Initialized empty Git repository in /root/communityengine-setup/.git/ > remote: Counting objects: 30, done. > remote: Compressing objects: 100% (28/28), done. > remote: Total 30 (delta 9), reused 0 (delta 0) > Receiving objects: 100% (30/30), 7.00 KiB, done. > Resolving deltas: 100% (9/9), done. > [EMAIL PROTECTED]:~# cd communityengine-setup > [EMAIL PROTECTED]:~/communityengine-setup# ruby ce_setup.rb > Please enter the name of your application (must be less than 16 > characters, no spaces or special chars): > xxxxxx > Enter a database password to be used with this application: > yyyyyy > Please enter the absolute path where you want to store your repository > (defaults to /mnt/git/): > > [CE SETUP] Setting up the system for CE installation > > [CE SETUP] Creating empty git repository in /mnt/git/xxxxxx.git > > [CE SETUP] Initalizing blank Rails app in /mnt/git/xxxxxx.git > > [CE SETUP] Adding .gitignore file > > [CE SETUP] Committing to repository ... > > [CE SETUP] Adding Engines plugin and CE plugin > > Plugins will be installed using http > git clone --depth 1 git://github.com/lazyatom/engines.git "/mnt/git/ > xxxxxx.git/vendor/plugins/engines" > removing: /mnt/git/xxxxxx.git/vendor/plugins/engines/.git > Initialized empty Git repository in /mnt/git/xxxxxx.git/vendor/plugins/ > engines/.git/ > remote: Counting objects: 279, done. > remote: Compressing objects: 100% (198/198), done. > remote: Total 279 (delta 72), reused 152 (delta 22) > Receiving objects: 100% (279/279), 61.78 KiB, done. > Resolving deltas: 100% (72/72), done. > Initialized empty Git repository in /mnt/git/xxxxxx.git/vendor/plugins/ > community_engine/.git/ > remote: Counting objects: 6384, done. > remote: Compressing objects: 100% (3262/3262), done. > remote: Total 6384 (delta 3497), reused 5511 (delta 2865) > Receiving objects: 100% (6384/6384), 3.23 MiB | 378 KiB/s, done. > Resolving deltas: 100% (3497/3497), done. > Submodule 'vendor/plugins/community_engine' (git://github.com/bborn/ > communityengine.git) registered for path 'vendor/plugins/ > community_engine' > [CE SETUP] Committing to repository ... > > [CE SETUP] Modifying your environment.rb and environments files to > work with CE > > [CE SETUP] Modifying environment files ... > > Enter the hostname where you will be deploying this application (i.e. > example.com). If you're using this on EC2, enter the EC2 instance > hostname (i.e. ec2-000-000-000-000.compute-1.amazonaws.com): > ec2-75-101-251-182.compute-1.amazonaws.com > [CE SETUP] Adding CE routes to the application > > [CE SETUP] Adding application.yml file > > [CE SETUP] Committing to repository ... > > [CE SETUP] Committing to repository ... > > [CE SETUP] Generating CE plugin migrations > > /mnt/git/xxxxxx.git/config/../vendor/plugins/engines/boot.rb:4: This > version of the engines plugin requires Rails 2.1.1 or later! > (RuntimeError) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `require' > from /mnt/git/xxxxxx.git/config/environment.rb:12 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `require' > from /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/ > generate.rb:1 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `require' > from script/generate:3 > [CE SETUP] Committing to repository ... > > [CE SETUP] Migrating > > (in /mnt/git/xxxxxx.git) > rake aborted! > This version of the engines plugin requires Rails 2.1.1 or later! > > (See full trace by running task with --trace) > [CE SETUP] Setting up deployment > > [add] writing `./Capfile' > [add] writing `./config/deploy.rb' > [done] capified! > (in /mnt/git/xxxxxx.git) > rake aborted! > This version of the engines plugin requires Rails 2.1.1 or later! > > (See full trace by running task with --trace) > [CE SETUP] Committing to repository ... > > Deploy application? (Y/N): > y > Generate root ssh keys for deployment? If on an EC2 > CommunityEngineServer instance, type Y, else, N.) (Y/N): > y > [CE SETUP] generating ssh keys > > Generating public/private rsa key pair. > Your identification has been saved in /root/.ssh/id_rsa. > Your public key has been saved in /root/.ssh/id_rsa.pub. > The key fingerprint is: > d8:8f:53:25:98:fe:5e:0d:f5:82:17:f8:dd:75:1e:30 > [EMAIL PROTECTED] > [CE SETUP] Adding ssh key to authorized_keys > > [CE SETUP] Deploying > > * executing `deploy:setup' > * executing "sudo -p 'sudo password: ' mkdir -p /u/apps/set your > application name here /u/apps/set your application name here/releases / > u/apps/set your application name here/shared /u/apps/set your > application name here/shared/system /u/apps/set your application name > here/shared/log /u/apps/set your application name here/shared/pids && > sudo -p 'sudo password: ' chmod g+w /u/apps/set your application name > here /u/apps/set your application name here/releases /u/apps/set your > application name here/shared /u/apps/set your application name here/ > shared/system /u/apps/set your application name here/shared/log /u/ > apps/set your application name here/shared/pids" > servers: ["your db-server here", "your web-server here", "your app- > server here"] > connection failed for: your web-server here (SocketError: getaddrinfo: > Name or service not known), your db-server here (SocketError: > getaddrinfo: Name or service not known), your app-server here > (SocketError: getaddrinfo: Name or service not known) > [EMAIL PROTECTED]:~/communityengine-setup# > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
