Displaying 20 results from an estimated 7000 matches similar to: "Are shared libraries being loaded in some other context?"
2007 Dec 13
0
Errors building RMagick on Linux
Here are the sequence of commands that I''ve done running CentOS 4.3.
When I do the very last command ''make'', I get the errors below. Any
ideas? thanks! chirag
cd /usr/local/src
wget http://image_magick.veidrodis.com/image_magick/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick-X.Y.Z
./configure --disable-static --with-modules --without-perl \
2008 Jul 03
1
halp! howto config env.rb to look for rmagick gem?
hi,
my rails application is having trouble locating rmagick to use with acts
as attachment. my host put the gem in
/home/myaccount/ruby/gems/gems/rmagick. how do i tell my rails app
rmagick is located there?
i tried
require "/home/myaccount/ruby/gems/gems/rmagick", but that was crashing
my rails app.
and
ENV[''GEM_PATH''] =
2009 Oct 01
2
Installing RMagick on UBUNTU 9.04
I installed ImageMagick 6.5.6 and all seems to be installed ok.
I downloaded ImageMagick 6.5.6
I entered
$ ./configure
and everything seems OK. When I enter
$ identify -version
I get
Version: ImageMagick 6.5.6-6 2009-09-30 Q8 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
I then enter
$ sudo gem install rmagick
I get
Building native extensions.
2007 Nov 22
0
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2.
I have downloaded the Windows binary version of RMagick from the RubyForge
page.
Specifically, I have downloaded:
1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4)
RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip
I have removed any older versions of RMagick using:
gem uninstall RMagick
I have updated my version of rubygems.
I
2006 May 01
3
RMagick question ?
I have a file rmg.rb:
require ''RMagick''
include Magick
cat = ImageList.new("prod.jpg")
cat.display
exit
The file prod.jpg is in the same directory as this file above.
I execute the following:
ruby rmg.rb
I get the following output:
/usr/lib/ruby/1.8/RMagick.rb:1377:in `read'': unable to open image `'': No
such file or directory:
2007 Nov 22
7
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2.
I have downloaded the Windows binary version of RMagick from the
RubyForge page.
Specifically, I have downloaded:
1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4)
RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip
I have removed any older versions of RMagick using:
gem uninstall RMagick
I have updated my version of rubygems.
I
2008 Feb 04
7
Problems installing Rmagick on Ubuntu
I want to install Rmagick on Ubuntu 7.10, but i am getting this error
when running gem install rmagick:
Can''t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later.
(I installed imagemagick and libmagick9-dev prior to that)
I installed rmagick through Synaptic, and it says that i have version
7:6.2.4.5.dfsg1-2ubuntu1 installed (by the way, what does the 7
mean?). What should
2007 Jun 05
1
My RMagick sucks under windowsXP
Hi,I plan to use rmagick for my rails app,however it can not work
normally under windowsXP platform:
I have installed ruby1.8.5,and then rmagick-1.14.1 and
ImageMagick-6.3.0-7-Q8-windows-dll,which can be got from the url:
http://rubyforge.org/frs/download.php/15132/RMagick-1.14.1_IM-6.3.0-7-Q8.zip
after my installation,and when i run a rmagick test under
2005 Dec 18
2
EdgeRails with other Gems like RMagick
I am using EdgeRails, and have some of the plugin''s using gems such as
Rmagick which are included through a command similar to "require_gems
''rmagick''".
Curious how to handle such attempts at inclusion when I am no longer bound
to the system gems and am using the code strictly within vendor/rails and
such.
Is there a way to point require_gems to another
2007 Feb 08
1
mongrel cluster and local gems loading problem
Hello,
I''m trying to augment the GEM_PATH to load gems from ~/.gem/ using this
at the begging of the rails application config/environment.rb file:
ENV[''GEM_PATH''] = File.expand_path(''~/.gem'')
This works fine from within script/console:
$ script/console
>> require ''pdf/writer''
=> true
But when I try to run:
2009 Mar 25
0
RMagick LoadError
I installed RMagick 2.9.1 and tried to test RMagick code below.
irb -rubygems -r RMagick
But I got an error like below.
/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so:
libMagickCore.so.2: cannot open shared object file: No such file or
directory - /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so
(LoadError)
from
2007 May 13
0
Problems with RMagick libraries
Hi, I''m trying to use File_colum plugin
(rails/../plugin/trunk)
with RMagick.
When I use in the model:
class Usuario < ActiveRecord::Base
file_column :image
...rest of the code....
end
There''s no problem, images are uploaded and all is working ok. The
problem comes when I try to use:
class Usuario < ActiveRecord::Base
file_column :image, :magick => { :geometry =>
2006 Mar 12
3
Setting environment variable for Rails app?
Greetings! I''m trying to set an environment variable in Rails. Why? I
can''t use RMagick unless I do so. I can do it from the shell, run irb,
and then require ''RMagick'' works. So far so good. But how can I do
this from my application?
I''m on a shared host so I''ve put in a ticket to have something like
this added to httpd.conf:
SetEnv
2006 Apr 10
0
Gems on custom dir are ignored
Hi:
Im working on my hosting linux platform and Im trying to use custom gems
not that default installed on /usr/lib/ruby/gems/1.8
I installed gems on $HOME/apps/lib/gems/1.8
I export:
export GEM_HOME=$HOME/apps/lib/gems/1.8
export GEM_PATH=$HOME/apps/lib/gems/1.8
I got rails 1.1.2
rails -v shows
Rails 1.1.2
but on a page using dispatch.rb I got
2002 Aug 09
0
Automation of public/private key generation
Hi all,
I wrote a small script (developed and testet on Solaris 8), which
automates the generation and installation of the steps needed to put
keys in place. I you are interested to take it, feel free to do it.
--
*** Freundliche Gruesse **** Best regards ***
Anton Burkhalter
Dipl. El. Ing. HTL
Mobile:+41(0)78 844-0290
mailto:anton.burkhalter at gmx.net
2006 Mar 12
0
Setting env vars from within a Rails app?
Greetings! I''m trying to set an environment variable in Rails. Why? I
can''t use RMagick unless I do so. I can do it from the shell, run irb,
and then require ''RMagick'' works. So far so good. But how can I do
this from my application?
I''m on a shared host so I''ve put in a ticket to have something like
this added to httpd.conf:
SetEnv
2018 Apr 17
0
Bug: Dovecot index loosing sync with FTS despite "fts_autoindex = yes"
Le 17/04/2018 ? 14:18, kfx a ?crit?:
> dovecot 2.2.34
> solr 7.2
>
> I only see new messages after typing on the server "doveadm fts rescan
> -u username" though I've followed the wiki and added "fts_autoindex =
> yes" in 90-plugin.conf . Subsequent search for the same pattern always
> gives the same result, ignoring new emails with that particular
2020 May 28
5
xinetd custom service - perl - remote address
Hi all,
I can't believe that I can't find the answer to this one. I have a perl script which is called by xinetd.
I want that perl script to be able to detect the remote IP address of the caller.
I presumed that it would be an environment variable but I could be wrong. I've found reference to the ENV and PASSENV arguments for xinetd.conf but no examples, and no indication of what
2011 Jul 29
0
Asterisk SIP authentication against [section] instead of username
Hello,
Asterisk seems to try to authenticate incoming INVITE based on the [section]
in sip.conf and not the username specified.
I just removed the "insecure" option from my sip.conf requesting every
connection to be authenticated. I added the match_auth_username=yes in the
[general] section for extra security. To make it work, I have to use the
same [section] identifier as username.
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I
have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I
have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when
I try to restart Unicorn I get the following error.
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:45:in