Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newer versions of ImageMagick (OSX) #56

Closed
alexcoplan opened this issue Jun 10, 2012 · 12 comments
Closed

Newer versions of ImageMagick (OSX) #56

alexcoplan opened this issue Jun 10, 2012 · 12 comments

Comments

@alexcoplan
Copy link

I must have updated brew or something, but now I can't do anything with lolcommits because the version of ImageMagick I have is too recent. Here is the error I get:

/Users/Alex/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': This installation of RMagick was configured with ImageMagick 6.7.5 but ImageMagick 6.7.7-6 is in use. (RuntimeError)

I can't seem to be able to downgrade my install of ImageMagick easily with brew.

What is the fix for this?

@mroth
Copy link
Member

mroth commented Jun 10, 2012

Does "gem pristine rmagick" do the trick?

On Jun 9, 2012, at 5:39 PM, Alex Coplan
reply@reply.github.com
wrote:

I must have updated brew or something, but now I can't do anything with lolcommits because the version of ImageMagick I have is too recent. Here is the error I get:

/Users/Alex/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': This installation of RMagick was configured with ImageMagick 6.7.5 but ImageMagick 6.7.7-6 is in use. (RuntimeError)

I can't seem to be able to downgrade my install of ImageMagick easily with brew.

What is the fix for this?


Reply to this email directly or view it on GitHub:
#56

@alexcoplan
Copy link
Author

Yes - thank you, should have thought of that.

@almirfilho
Copy link
Contributor

Thanks for the tip!

@tlluiz
Copy link

tlluiz commented Aug 22, 2012

Thanks mroth!

@benwoodward
Copy link

I had this problem, although for me the solution was different. bundle show rmagick revealed that I had rmagick installed in my system gems. I removed it from there and then once again performed bundle install which rebuilt the extensions against the imagemagick version I have on my machine.

@mzaragoza
Copy link

I am having the same problem
.rvm/gems/ruby-1.9.3-p194@mysite/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require': This installation of RMagick was configured with ImageMagick 6.7.5 but ImageMagick 6.7.7-6 is in use. (RuntimeError)

but i have the problem that i cant seem to find where to load the "gem pristine rmagick"

@jurrack
Copy link

jurrack commented Sep 14, 2012

@mzararagoza gem pristine rmagick is not to be placed in your gemfile,
you sholud try running this command in a terminal in your app root directoy instead :-)

@jurrack
Copy link

jurrack commented Sep 14, 2012

had the same problem on my system, the solution was quite simple I had to versions of imagemagick installed,
one via mac ports and one via homebrew removing mac ports and running "gem pristine rmagick' did the trick thanks @mroth

@mzaragoza
Copy link

Thanks

but when i just run the command by itself i get

-bash: pristine: command not found

@tyre
Copy link

tyre commented Sep 24, 2012

@mzararagoza pristine is not a gem itself. You can run it anywhere, since it is just telling RubyGems to restore the specified gem (in this case rmagick) from the gem cache. run gem help pristine to learn more about the command.

@mzaragoza
Copy link

Thanks that was helpful

@dukex
Copy link

dukex commented Sep 28, 2012

Thanks @mroth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants