Project

General

Profile

Actions

Defect #19419

closed

MinGW Ruby 2.2: NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper

Added by j j over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

I'm setting up to my computer
I'm at Step 5 - Session store secret generation
when i type
bundle exec rake generate_secret_token
then error like:

rake aborted!
Name error: uninitialized constant ActionView::Helpers::ActionModeHelper
C:/Ruby22/redmine/config/application.rb:5:in '<top'
C:/Ruby22/redmine/Rakefile :5:in 'require'
C:/Ruby22/redmine/Rakefile :5:in '<top'
LoadError: cannot load such file -- actionpack-action_caching
C:/Ruby22/redmine/config/application.rb:5:in '<top'
C:/Ruby22/redmine/Rakefile :5:in 'require'
C:/Ruby22/redmine/Rakefile :5:in '<top'
<See full trace by running task with --trace>

You can see clearly in my attached file


Files

Capture.PNG (36.6 KB) Capture.PNG j j, 2015-03-19 08:39

Related issues

Related to Redmine - Defect #19952: Redmine is in error with Fedora 22Closed

Actions
Has duplicate Redmine - Defect #20285: Redmine installation is not working : NameError: uninitialized constant ActionView::Helpers::ActiveModelHelperClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 9 years ago

  • Category deleted (Wiki)
Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Subject changed from Error when installing redmine to Mingw Ruby 2.2: NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper
  • Status changed from New to Confirmed
Actions #3

Updated by Toshi MARUYAMA over 9 years ago

$ ruby --version
ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Actions #4

Updated by Toshi MARUYAMA over 9 years ago

$ rake -T
rake aborted!
LoadError: cannot load such file -- nokogiri/nokogiri
c:/workdir/hg-workdir/REDMINE/all/config/application.rb:5:in `<top (required)>'
c:/workdir/hg-workdir/REDMINE/all/Rakefile:5:in `<top (required)>'
LoadError: cannot load such file -- nokogiri/2.2/nokogiri
c:/workdir/hg-workdir/REDMINE/all/config/application.rb:5:in `<top (required)>'
c:/workdir/hg-workdir/REDMINE/all/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Actions #5

Updated by Toshi MARUYAMA over 9 years ago

Actions #6

Updated by Toshi MARUYAMA over 9 years ago

  • Subject changed from Mingw Ruby 2.2: NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper to MinGW Ruby 2.2: NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper

It seems because nokogiri does not support MinGW Ruby 2.2.
https://github.com/sparklemotion/nokogiri/issues/1256

Depending:

actionpack (4.2.1) -> rails-html-sanitizer (~> 1.0, >= 1.0.1) -> loofah (~> 2.0) -> nokogiri (>= 1.5.9)

Actions #7

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Invalid

We cannot do anything.
I have updated RedmineInstall to ver. 235.

Actions #8

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #19952: Redmine is in error with Fedora 22 added
Actions #9

Updated by Toshi MARUYAMA over 9 years ago

  • Related to deleted (Defect #19952: Redmine is in error with Fedora 22)
Actions #10

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #19952: Redmine is in error with Fedora 22 added
Actions #11

Updated by Toshi MARUYAMA over 9 years ago

  • Has duplicate Defect #20285: Redmine installation is not working : NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper added
Actions #12

Updated by Toshi MARUYAMA about 9 years ago

  • Resolution changed from Invalid to Wont fix
Actions

Also available in: Atom PDF