zena init and RedCloth error

65 views
Skip to first unread message

histfak

unread,
Apr 8, 2012, 4:40:40 PM4/8/12
to zena
Hi all.
I'm getting "ImageMagick not found" and the following error when I
try to execute "zena init"

Gem::SourceIndex#initialize called from /usr/local/lib/ruby/gems/1.8/
gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100.
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/
gem_dependency.rb:277:in `==': undefined method `name' for
"RedCloth":String (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
217:in `==='
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
217:in `matching_specs'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `find_all'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
specification.rb:410:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
specification.rb:409:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
216:in `find_all'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
216:in `matching_specs'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
238:in `to_specs'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:
256:in `to_spec'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in
`gem'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/
gem_dependency.rb:75:in `add_load_paths'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:301:in `add_gem_load_paths'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:301:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:301:in `add_gem_load_paths'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:132:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:113:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
initializer.rb:113:in `run'
from /home/val/via/config/environment.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/
lib/active_support/dependencies.rb:182:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/
lib/active_support/dependencies.rb:547:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/
lib/active_support/dependencies.rb:182:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/
commands/server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:36:in `require'
from script/server:3


there is output of "gem list --local"

*** LOCAL GEMS ***

actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
authlogic (2.1.3)
bundler (1.1.3)
crack (0.1.8)
daemon_controller (0.2.6)
daemons (1.1.8)
differ (0.1.2)
fast_gettext (0.4.17)
fastthread (1.0.7)
gem_plugin (0.2.3)
gettext (2.1.0)
git (1.2.5)
hpricot (0.8.6)
httparty (0.7.8)
jeweler (1.8.3)
json (1.5.1)
locale (2.0.5)
mysql (2.8.1)
open4 (1.3.0)
passenger (3.0.11)
property (2.2.0)
querybuilder (1.1.0)
rack (1.3.6, 1.1.3)
rails (2.3.11)
rake (0.9.2.2)
rdoc (3.12)
rdoc-data (3.12)
RedCloth (3.0.4)
ruby-mysql (2.9.4)
ruby-recaptcha (1.0.3)
ruby_parser (2.3.1)
rubyless (0.8.6)
sexp_processor (3.1.0)
shoulda (2.10.3)
sqlite3 (1.3.5)
syntax (1.0.0)
tzinfo (0.3.33)
uuidtools (2.0.0)
versions (0.3.1)
will_paginate (2.3.16)
yamltest (0.7.0)
zafu (0.8.4)
zena (1.1.3)


i,e, clean install ( + passenger with dependencies ). I'm using
ImageMagick installed from ports on BSD and I have not had any
problems with it before.

Best regards, Val.

Gaspard Bucher

unread,
Apr 9, 2012, 5:59:19 AM4/9/12
to zena...@googlegroups.com
Hi there !

Hmmm, strange. It used to work without rmagick. Try to install rmagick:

$ sudo gem install rmagick --version=2.13.1

By the way, I have a long waiting 1.2.0 release with lots of improvements and bug fixes (the latest being a grid.js to edit tabular data).

I will run all the tests on the latest head and release 1.2.0 this evening. This will probably be one of the last feature releases before migrating to rails 3.x.

And then I should find some time to update the videos (they are really out of touch now).

The 1.2.0 branch has been running in production for more then 6 months now, it's really time to roll it out. By the way, we are approaching 100k entries in the versions table (70k nodes) in one of our clients ERP and Zena is really fast thanks to the MySQL folks. I know a lot of people argue against this database, but it is really doing a great job for us.

Cheers,

Gaspard


--
_______________________________________________
zena mailing list
ze...@zenadmin.org
http://zenadmin.org/en/community



--

                                                               Gaspard

histfak

unread,
Apr 9, 2012, 3:16:09 PM4/9/12
to zena...@googlegroups.com, gas...@teti.ch
Hi, Gaspard.

I installed Ubuntu Server from scratch + all build tools and dev libraries and I'm having absolutely  the same error even with rmagick installed. I have no idea what should I do now to try zena, I'll wait 1.2.0 =)

Best regards, Val

histfak

unread,
Apr 9, 2012, 7:26:25 PM4/9/12
to zena...@googlegroups.com, gas...@teti.ch
I found the source of my problem - with rubygems 1.8.* I see many errors related to deprecated methods. After installing rubygems 1.3.7 it works fine.

Gaspard Bucher

unread,
Apr 10, 2012, 6:49:52 AM4/10/12
to histfak, zena...@googlegroups.com
Hi Histfak,

I am working on the 1.2.0 release. I had some issues running the tests with rbenv (incorrect start '*' shell expansion). I found a couple of broken tests that I need to investigate and fix. I'll keep you posted.

Gaspard
Reply all
Reply to author
Forward
0 new messages