Comments (7)
Does your app start normally?
from annotate_models.
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.
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.
I was able to replicate this on my machine.
from annotate_models.
Can you give it a try by installing from this branch?
http://github.com/ctran/annotate_models/tree/v2_0_2
from annotate_models.
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.
I assume this is already working for you. Closing.
from annotate_models.
Related Issues (20)
- Next release? HOT 2
- Active Admin not working when running migrations
- Is there any way to ignore attributes?
- Reformat Column comments HOT 1
- Allowing --frozen to show the diff in the CI
- Unable to annotate: ActiveRecord::Encryption::Errors::Decryption HOT 4
- Annotate gem does not support Rails autoloader collapsed directories HOT 4
- Please add a ruby version constraint to gemfile
- How should I set up a CI job to ensure that annotations are up to date? HOT 3
- Column wrongly mistaken as a geometric point
- Fix code scanning alert - Polynomial regular expression used on uncontrolled data
- Rails 7, annotate --routes failed HOT 5
- Can't execute `annotate` or `bundle exec annotate` commands HOT 2
- Unable to annotate a single model HOT 1
- Make `with_comment_column` work with `Annotate.set_defaults` HOT 7
- Configuration for custom spec directory
- Does not find factories with default suffix example
- annotate_models doesn't auto-annotate on down / rollback migrations in multi-DB environments
- Throws error when using composite primary keys (supported natively by rails 7.1) HOT 1
- Output columns in database schema order, not A-Z order. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotate_models.