Stick to rails 2.1.0 using :

gem install rails -v2.1.0 --include-dependencies --no-rdoc --no-ri

Sam.


On Nov 7, 4:02 am, Levi Rosol <[EMAIL PROTECTED]> wrote:
> I ended up blowing away Ruby completely from my system and
> reinstalling. I think the ultimate issue was pathing for where gems
> were located.
>
> I did have an issue getting the tests to run, but that seems pretty
> reasonable to fix
>
> Levi
>
> On Nov 5, 10:55 am, "Levi Rosol" <[EMAIL PROTECTED]> wrote:
>
> > thanks for the info. I think tonight I will try wiping ruby from my machine
> > completely, and starting fresh. I've seen some emails going around talking
> > about version of ruby or rails that works best with CE. What version of
> > Ruby, and what version of Rails should I use? Will 1.8.7 and 2.1.2 work?
>
> > Levi Rosol
>
> > On Wed, Nov 5, 2008 at 11:03 AM, Bruno Bornsztein <
>
> > [EMAIL PROTECTED]> wrote:
> > > This is an Engines thing; Engines is actually not yet compatible with
> > > 2.2.0, despite the message which says it can use anything after 
> > > 2.1.1.Look at the comment on this page [
> > >http://github.com/lazyatom/engines/commit/55b9489bd1d8c62a0ad13f2fc8b...]
> > > and you'll see what I mean. I think by "Rails 2.1.1" or greater, he means
> > > "Rails 2.1.x". Confusing, I know.
>
> > > Try uninstalling 2.2.0, or setting RAILS_GEM_VERSION = '2.1.2' in your
> > > environment.rb
>
> > > On Tue, Nov 4, 2008 at 10:14 PM, Levi Rosol <[EMAIL PROTECTED]> wrote:
>
> > >> first some background. I was able to get CE up and running on my windows
> > >> box w/o issue. I have decided to use ubuntu as my development environment
> > >> now, and am stuck on this issue. I have researched this for the last 
> > >> couple
> > >> nights and am still stuck.
>
> > >> What happens is, when i get to this step:
>
> > >>    1.
>
> > >>    Generate the community engine migrations:
>
> > >>    $ script/generate plugin_migration
>
> > >> *I get the following error:*
>
> > >> [EMAIL PROTECTED]:~/Projects/MyProject$ script/generate plugin_migration
> > >> /home/myuser/Projects/MyProject/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:31:in
> > >> `gem_original_require'
> > >>     from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >>     from /home/myuser/Projects/MyProject/config/environment.rb:12
> > >>     from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `gem_original_require'
> > >>     from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >>     from
> > >> /home/myuser/Projects/MyProject/vendor/rails/railties/lib/commands/generate.rb:1
> > >>     from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `gem_original_require'
> > >>     from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > >> `require'
> > >>     from script/generate:3
>
> > >> *Here's my version of ruby*:
>
> > >> [EMAIL PROTECTED]:~/Projects/MyProject$ ruby -v
> > >> ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
>
> > >> *and my installed gems:*
>
> > >> [EMAIL PROTECTED]:~/Projects/MyProject$ gem list
>
> > >> *** LOCAL GEMS ***
>
> > >> actionmailer (2.2.0, 2.1.2, 2.1.1)
> > >> actionpack (2.2.0, 2.1.2, 2.1.1)
> > >> activerecord (2.2.0, 2.1.2, 2.1.1)
> > >> activeresource (2.2.0, 2.1.2, 2.1.1)
> > >> activesupport (2.2.0, 2.1.2, 2.1.1)
> > >> aws-s3 (0.5.1)
> > >> builder (2.1.2)
> > >> capistrano (2.5.0)
> > >> cgi_multipart_eof_fix (2.5.0)
> > >> daemons (1.0.10)
> > >> fastthread (1.0.1)
> > >> gem_plugin (0.2.3)
> > >> haml (2.0.4)
> > >> highline (1.4.0)
> > >> hpricot (0.6.164)
> > >> htmlentities (4.0.0)
> > >> mime-types (1.15)
> > >> mongrel (1.1.5)
> > >> net-scp (1.0.1)
> > >> net-sftp (2.0.1)
> > >> net-ssh (2.0.4)
> > >> net-ssh-gateway (1.0.0)
> > >> *rails (2.2.0, 2.1.2, 2.1.1)*  <--- clearly I have rails 2.1.1 or greater
> > >> rake (0.8.3)
> > >> RedCloth (4.1.0)
> > >> rmagick (2.7.1)
> > >> sqlite3-ruby (1.2.4)
> > >> xml-simple (1.0.11)
>
> > >> Yes, I have way more gems than i need for CE, but in trying to track this
> > >> down, this is what i ended up with. I have a sneaking suspicion that
> > >> whatever the issue is, it's dumb and i should of caught it. But at this
> > >> point, I've grown very frustrated with what was a simple process on an XP
> > >> box.
>
> > >> Help would be appreciated.
>
> > >> Thanks!
>
> > >> Levi Rosol
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to