Coder Social home page Coder Social logo

Comments (7)

ctran avatar ctran commented on May 18, 2024

Does your app start normally?

from annotate_models.

kuroda avatar kuroda commented on May 18, 2024

Yes, I think so.

Here is full backtrace:

/usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate activesupport (= 2.2.2, runtime), already activated activesupport-2.3.2 (Gem::Exception)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem'
from ./config/boot.rb:59:in `load_rails_gem'
from ./config/boot.rb:53:in `load_initializer'
from ./config/boot.rb:38:in `run'
from ./config/boot.rb:11:in `boot!'
from ./config/boot.rb:109
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 ./Rakefile:4
from /usr/lib/ruby/gems/1.8/gems/ctran-annotate-2.0.0/lib/annotate.rb:9:in `load'
from /usr/lib/ruby/gems/1.8/gems/ctran-annotate-2.0.0/lib/annotate.rb:9
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 /usr/lib/ruby/gems/1.8/gems/ctran-annotate-2.0.0/bin/annotate:4
from /usr/bin/annotate:19:in `load'
from /usr/bin/annotate:19

Thanks for your reply.

from annotate_models.

kuroda avatar kuroda commented on May 18, 2024

I confirmed that my app starts normally on another machine.

I have installed two versions of Rails:

$ gem list rails
*** LOCAL GEMS ***

rails (2.3.2, 2.2.2)

My app started normally:
$ ./script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
** Rails signals registered. HUP => reload (without restart). It might not work well.
** Mongrel 1.1.5 available at 0.0.0.0:3000
** Use CTRL-C to stop.

from annotate_models.

ctran avatar ctran commented on May 18, 2024

I was able to replicate this on my machine.

from annotate_models.

ctran avatar ctran commented on May 18, 2024

Can you give it a try by installing from this branch?

http://github.com/ctran/annotate_models/tree/v2_0_2

from annotate_models.

ctran avatar ctran commented on May 18, 2024

I pushed out a 2.0.2 version to rubyforge so give it a try. Don't know when github will rebuild the gem.

from annotate_models.

ctran avatar ctran commented on May 18, 2024

I assume this is already working for you. Closing.

from annotate_models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.