Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Anmol Anand
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-30 03:27
Thanks for help.
I have posted the problem on Ruby Gems' mailing list and hope to get a solution.

Meanwhile, I will try installing Rmagick on Windows.

Thanks for help, Once again!!!!

By: Tim Hunter
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 15:21
I don't know what error code 256 means. What error messages were there?

By: Anmol Anand
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 15:00
thanks,earlier i was getting error code 256 while installing rmagick gem from rmagick tarball. It was also a gem error or not ?

thanks

By: Tim Hunter
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 14:53
This error is coming from RubyGems, not RMagick. Please contact the RubyGems developers for help.

By: Anmol Anand
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 14:41
thanks for a reply :)

I am using Ubuntu 8.04

I refered to these two tutorials
1) http://snippets.dzone.com/posts/show/4140
2) http://blogs.gerbilsofwar.com/limi/2008/11/03/rmagick-and-ruby-gem-on-ubuntu-ibex/

I followed entered these commands in the following order:

1) sudo apt-get remove --purge librmagick-ruby-doc librmagick-ruby1.8

2) sudo apt-get install libmagick9-dev ruby1.8-dev

3) sudo apt-get install libmagick++9-dev

4) sudo gem install rmagick

The last command i.e. "sudo gem install rmagick", I am posting it below :

/usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `initialize': wrong number of arguments (1 for 0) (ArgumentError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `new'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `configuration'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:520:in `path'
from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:66:in `installed_spec_directories'
from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:56:in `from_installed_gems'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:736:in `source_index'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_path_searcher.rb:86:in `init_gemspecs'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_path_searcher.rb:21:in `initialize'
... 6 levels...
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:8:in `require'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:8
from /usr/bin/gem:10:in `require'
from /usr/bin/gem:10
anmol@anmol-laptop:~$ sudo gem install rmagick
/usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `initialize': wrong number of arguments (1 for 0) (ArgumentError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `new'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:274:in `configuration'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:520:in `path'
from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:66:in `installed_spec_directories'
from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:56:in `from_installed_gems'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:736:in `source_index'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_path_searcher.rb:86:in `init_gemspecs'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_path_searcher.rb:21:in `initialize'
... 6 levels...
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:8:in `require'
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:8
from /usr/bin/gem:10:in `require'
from /usr/bin/gem:10

Earlier I had done the installation by following the tutorials on http://rmagick.rubyforge.org/install2-linux.html and http://www.imagemagick.org/script/install-source.php#unix

thanks :)

By: Tim Hunter
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 13:49
Did you see this post from fmh fat? http://rubyforge.org/forum/forum.php?thread_id=30542&forum_id=33.

By: Anmol Anand
RE: install rmagick on linux(ubunut) [ reply ]  
2008-12-29 07:02
i am also facing problem regarding installation on my Ubuntu 8.04 OS. I had earlier installed Rmagick on my Kubuntu 8.04 but I am unable to instal it on Ubuntu.

Please help!!!!
Thanks

By: fmh fat
install rmagick on linux(ubunut) [ reply ]  
2008-12-23 11:33
rmagick is fantastic, but
it is very hard to install on Linux distribution.