Project

General

Profile

Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools.

Added by Alex Guzun over 12 years ago

I always do Upgrading from a SVN
so hit
svn update
then
bundle install --without development test
but ended with:

C:\redmine>bundle install --without development test
Fetching gem metadata from http://rubygems.org/.......
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.5)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey (1.0.3)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.3)
Using actionpack (3.2.3)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.4)
Using actionmailer (3.2.3)
Using arel (3.0.2)
Using tzinfo (0.3.33)
Using activerecord (3.2.3)
Using activeresource (3.2.3)
Using bundler (1.1.3)
Using cgi_multipart_eof_fix (2.5.0)
Using coderay (1.0.6)
Using fastercsv (1.5.4)
Using gem_plugin (0.2.3)
Installing json (1.6.6)
Gem::InstallError: The 'json' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
An error occured while installing json (1.6.6), and Bundler cannot continue.
Make sure that `gem install json -v '1.6.6'` succeeds before bundling.

C:\redmine>

Damn, what next, please?
Thanks


Replies (8)

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

So installed DevKit using - https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
then
C:\redmine>bundle install --without development test rmagick

moved C:/redmine/vendor/plugins to C:/redmine/plugins

and got:

C:\redmine>rake db:migrate RAILS_ENV=production
rake aborted!
undefined method `read_inheritable_attribute' for ActiveRecord::Base:Class

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

or

C:\redmine>rake db:migrate RAILS_ENV=production --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `read_inheritable_attribute' for ActiveRecord::Base:Class
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:50:in `method_missing'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb:21:in `scopes'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb:88:in `named_scope'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb:15:in `included'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb:13:in `class_eval'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb:13:in `included'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb:20:in `include'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb:20
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb:19:in `class_eval'
C:/redmine/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb:19
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/redmine/plugins/awesome_nested_set/rails/init.rb:1
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/redmine/plugins/awesome_nested_set/init.rb:1
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
C:/redmine/lib/redmine/plugin.rb:129:in `load'
C:/redmine/lib/redmine/plugin.rb:120:in `each'
C:/redmine/lib/redmine/plugin.rb:120:in `load'
C:/redmine/config/initializers/30-redmine.rb:13
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/engine.rb:588
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/engine.rb:587:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/engine.rb:587
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `run_initializers'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `send'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
C:/redmine/config/environment.rb:14
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:103:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:103:in `require_environment!'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:292:in `initialize_tasks'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
C:/Ruby/bin/rake:19:in `load'
C:/Ruby/bin/rake:19
Tasks: TOP => db:migrate => environment

What is wrong now, please?

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

ok, this helped me:
http://www.redmine.org/boards/2/topics/30665

Why don't you guys update Upgrade wiki page to include all this?

We do not need to run:
rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production
rake db:migrate_plugins RAILS_ENV=production

getting: Don't know how to build task '' and asks

But need:
rake redmine:plugins:migrate

even then:

C:\redmine>rake redmine:plugins:migrate
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)

Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

I have deleted all plugins from C:/redmine/plugins (core plugins are within c:\redmine\lib\plugins\)

and after restart:
The connection was reset
The connection to the server was reset while the page was loading.

Using mongrel (and yes i have added gem "mongrel" into new Gemfile)

:(

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

just adding:

C:\redmine>rake redmine:plugins:migrate --trace
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql_adapter.rb:396:in `real_connect'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql_adapter.rb:396:in `connect'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql_adapter.rb:131:in `initialize'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `new'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `mysql_connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:303:in `send'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:303:in `new_connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:313:in `checkout_new_connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:232:in `loop'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:232:in `checkout'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:229:in `checkout'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:95:in `connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `retrieve_connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connecti
on'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:308:in `clear_cache!'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/railtie.rb:91:in `_callback_before_3'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:418:in `_run__2496503__prepare__4__callbacks'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `send'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `send'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-3.2.3/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-3.2.3/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application/finisher.rb:47
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `run_initializers'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `send'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
C:/redmine/config/environment.rb:14
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:103:in `require'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:103:in `require_environment!'
C:/Ruby/lib/ruby/gems/1.8/gems/railties-3.2.3/lib/rails/application.rb:292:in `initialize_tasks'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
C:/Ruby/bin/rake:19:in `load'
C:/Ruby/bin/rake:19
Tasks: TOP => redmine:plugins:migrate => environment

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

mongrel.log

** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
Storing outgoing emails configuration in config/email.yml is deprecated. You should now store it in config/configuration.yml using the email_delivery setting.
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': no such file to load -- dispatcher (LoadError)
    from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
    from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
    from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:148:in `rails'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:113:in `cloaker_'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:149:in `call'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:149:in `listener'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:99:in `cloaker_'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:50:in `call'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:50:in `initialize'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:84:in `new'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:84:in `run'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:in `run'
    from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
    from C:/Ruby/bin/mongrel_rails:19:in `load'
    from C:/Ruby/bin/mongrel_rails:19
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
Storing outgoing emails configuration in config/email.yml is

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

production.log

Processing WelcomeController#index (for 10.0.0.147 at 2012-05-28 14:28:39) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 78ms (View: 56, DB: 11) | 200 OK [http://redmine.domain.com/]
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :open. Overwriting existing method Version.open.
Creating scope :active. Overwriting existing method User.active.
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at C:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at C:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
Creating scope :open. Overwriting existing method Issue.open.
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :active. Overwriting existing method User.active.
Creating scope :open. Overwriting existing method Version.open.
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at c:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at c:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
Creating scope :open. Overwriting existing method Issue.open.
OpenIdAuthentication.store is nil. Using in-memory store.
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :active. Overwriting existing method User.active.
Creating scope :open. Overwriting existing method Version.open.
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at c:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at c:/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58)
Creating scope :open. Overwriting existing method Issue.open.
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :active. Overwriting existing method User.active.
Creating scope :open. Overwriting existing method Version.open. 
.
.
.
.

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

latest observation:

i stopped redmine service and tried:
ruby script/rails server webrick -e production
and not
ruby script/server webrick -e production
like it was for 1.x

and now redmine is running

Please, update Upgrade wiki.

RE: Redmine 1.6 to 2.0 -> Gem::InstallError: The 'json' native gem requires installed build tools. - Added by Alex Guzun over 12 years ago

Please what to change in old service (path to executable)
"C:/Ruby/bin/mongrel_service.exe" single -e production -p 3000 -a 0.0.0.0 -l "log/mongrel.log" -P "log/mongrel.pid" -c "c:/redmine" -t 0 -r "public" -n 1024

to run redmine as service again?

Thanks

    (1-8/8)