If you generated your rails project with 2.1.1 then maybe there are still some code and scripts there that are 2.1.1 specific. If it is not a big issue, maybe you can start again with a fresh rails 2.1.0 project and proceed from there.
I too had 2.1.1 from a fresh ubuntu install. I installed 2.1.0 thru gems install rails --version 2.1.0 then I had two versions of the gems. To generate a project with 2.1.0 (rails project_name would use the latest by default): rails _2.1.0_ project_name Did this and CE worked fine. If you want, you can freeze the rails version to vendor so that you'll avoid running into version problems when you move you project. On Sep 26, 2:23 pm, Jonathan <[EMAIL PROTECTED]> wrote: > Getting the same error as above, even after uninstalling Rails 2.1.1 > and replacing it with 2.1.0 - Guessing that is not the issue then? > > On Sep 26, 3:54 am, Jonathan <[EMAIL PROTECTED]> wrote: > > > Many thanks. > > > On Sep 26, 3:41 am, "Bruno Bornsztein" <[EMAIL PROTECTED]> > > wrote: > > > > gem uninstall -h > > > gem install -h > > > > On Thu, Sep 25, 2008 at 1:40 PM, Jonathan <[EMAIL PROTECTED]> wrote: > > > > > Hrm, I see. Forgive me if this is a stupid question (being a RoR > > > > newbie) - is it possible roll back my version of Rails to 2.1.0? > > > > > On Sep 26, 3:30 am, "Bruno Bornsztein" <[EMAIL PROTECTED]> > > > > wrote: > > > > > You're using Rails 2.1.1: CE is not yet compatible with that version > > > > (we're > > > > > still on 2.1.0). Also, I think the Engines plugin hasn't been > > > > > upgraded to > > > > > that version yet. > > > > > > On Thu, Sep 25, 2008 at 1:28 PM, Jonathan <[EMAIL PROTECTED]> wrote: > > > > > > > Did a search before posting this, but didn't see anything that > > > > > > addressed this particular issue. I'm getting the following error > > > > > > when > > > > > > running the "script/generate plugin_migration" command: > > > > > > > /home/nimblecraft/public_html/nimbleSNS/vendor/plugins/engines/lib/ > > > > > > engines/rails_extensions/routing.rb:69:in `from_plugin': You have a > > > > > > nil object when you didn't expect it! (NoMethodError) > > > > > > The error occurred while evaluating nil.routes_path from /home/ > > > > > > nimblecraft/public_html/nimbleSNS/config/routes.rb:39 > > > > > > from /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/ > > > > > > action_controller/routing/route_set.rb:207:in `draw' > > > > > > from > > > > > > /home/nimblecraft/public_html/nimbleSNS/config/routes.rb:1 > > > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ > > > > > > active_support/dependencies.rb:503:in `load' > > > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ > > > > > > active_support/dependencies.rb:503:in `load' > > > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ > > > > > > active_support/dependencies.rb:355:in `new_constants_in' > > > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ > > > > > > active_support/dependencies.rb:503:in `load' > > > > > > from /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/ > > > > > > action_controller/routing/route_set.rb:253:in `load_routes!' > > > > > > ... 9 levels... > > > > > > from > > > > > > /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/commands/generate.rb: > > > > > > 1 > > > > > > from > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > > > > > `gem_original_require' > > > > > > from > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > > > > > `require' > > > > > > from script/generate:3 > > > > > > > Thoughts? Suggestions? Not sure what to do at this point. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
