Trying to setup Redmin: Error executing rake generate_session_store

I am trying to setup redmine on OSX Lion with ruby1.9.2 with rvm.

mythlabs:redmine-1.3.2 myth$ rake generate_session_store

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.

Gem.source_index called from /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/railties/lib/rails/gem_dependency.rb:21.

NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.

Gem::SourceIndex#initialize called from /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.

Gem::SourceIndex#add_spec called from /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91.

WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require ‘rdoc/task’ (in RDoc 2.4.2+)’ instead.

at /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rdoctask.rb

/Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rdoc/task.rb:30: warning: already initialized constant Task

/Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/yard-0.7.5/lib/yard.rb:38: [BUG] Bus Error

ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]

– control frame ----------

c:0039 p:---- s:0137 b:0137 l:000136 d:000136 CFUNC :callcc

c:0038 p:0080 s:0134 b:0134 l:001e30 d:001e30 TOP /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/yard-0.7.5/lib/yard.rb:38

c:0037 p:---- s:0131 b:0131 l:000130 d:000130 FINISH

c:0036 p:---- s:0129 b:0129 l:000128 d:000128 CFUNC :require

c:0035 p:0071 s:0125 b:0125 l:002098 d:000ea0 BLOCK /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59

c:0034 p:0175 s:0122 b:0122 l:002098 d:002098 METHOD /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35

c:0033 p:0012 s:0115 b:0115 l:002150 d:001198 BLOCK /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:182

c:0032 p:0055 s:0113 b:0113 l:002220 d:002220 METHOD /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:547

c:0031 p:0041 s:0105 b:0105 l:002150 d:002150 METHOD /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:182

c:0030 p:0013 s:0099 b:0099 l:002688 d:002688 TOP /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/lib/tasks/yardoc.rake:2

c:0029 p:---- s:0097 b:0097 l:000096 d:000096 FINISH

c:0028 p:---- s:0095 b:0095 l:000094 d:000094 CFUNC :load

c:0027 p:0015 s:0091 b:0091 l:0022e0 d:0017d8 BLOCK /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:171

c:0026 p:0055 s:0089 b:0089 l:0023b0 d:0023b0 METHOD /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:547

c:0025 p:0041 s:0081 b:0081 l:0022e0 d:0022e0 METHOD /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:171

c:0024 p:0012 s:0075 b:0075 l:002428 d:002490 BLOCK /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/railties/lib/tasks/rails.rb:14

c:0023 p:---- s:0072 b:0072 l:000071 d:000071 FINISH

c:0022 p:---- s:0070 b:0070 l:000069 d:000069 CFUNC :each

c:0021 p:0219 s:0067 b:0067 l:002428 d:002428 TOP /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/vendor/rails/railties/lib/tasks/rails.rb:14

c:0020 p:---- s:0063 b:0063 l:000062 d:000062 FINISH

c:0019 p:---- s:0061 b:0061 l:000060 d:000060 CFUNC :require

c:0018 p:0174 s:0057 b:0057 l:002518 d:002518 METHOD /Users/myth/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55

c:0017 p:0092 s:0050 b:0050 l:0007d8 d:0007d8 TOP /Users/myth/Learn/Code/GSOC 2012/redmine-1.3.2/Rakefile:15

c:0016 p:---- s:0048 b:0048 l:000047 d:000047 FINISH

c:0015 p:---- s:0046 b:0046 l:000045 d:000045 CFUNC :load

c:0014 p:0013 s:0042 b:0042 l:0025c0 d:0025c0 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25

c:0013 p:0274 s:0038 b:0038 l:002638 d:002638 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:501

c:0012 p:0009 s:0033 b:0033 l:000e98 d:001568 BLOCK /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:82

c:0011 p:0009 s:0031 b:0031 l:000010 d:000010 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133

c:0010 p:0011 s:0027 b:0027 l:000e98 d:000e98 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:81

c:0009 p:0019 s:0024 b:0024 l:000da8 d:001ff8 BLOCK /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:65

c:0008 p:0009 s:0022 b:0022 l:000100 d:000100 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133

c:0007 p:0011 s:0018 b:0018 l:000da8 d:000da8 METHOD /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:63

c:0006 p:0060 s:0015 b:0015 l:0000c8 d:0000c8 TOP /Users/myth/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/bin/rake:33

c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH

c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load

c:0003 p:0127 s:0007 b:0007 l:000918 d:001280 EVAL /Users/myth/.rvm/gems/ruby-1.9.2-p290/bin/rake:19

c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH

c:0001 p:0000 s:0002 b:0002 l:000918 d:000918 TOP

What version of redmine do you use? if is not trunk redmine 1.3.x not supported ruby 1.9.2

please follow the guide http://www.redmine.org/projects/redmine/wiki/RedmineInstall

I am facing issues with mysql when I use redmine from trunk. Which one should be easier to work on with?

obviously you have no luck with trunk, switch back to 1.8.7 and use last stable http://www.redmine.org/projects/redmine/wiki/Download

Thanks! I got it running! :slight_smile: