Dear RoR Developers,
I have an error when i install RMagick, i have install ImageMagick already but when i use it in gemfile gem install rmagick. i got error.
It is no good saying that you got another error without telling us what
that error is. Also tell use what operating system you are using.
What do you mean when you say "when i use it in gemfile gem install
rmagick". Exactly what have you put in Gemfile? Exactly what are you
doing to get the error and exactly what is the error?
Oh sorry
i have install successfully ImageMagick in my pc.
in the gemgile i’m use gem ‘rmagick’, require => ‘RMagick’
infect it work properly in localhost, but when i upload myapp into heroku it doesn’t show the record that i have been enter in localhost.
and one more when i input on heroku web server it work, but next day i visit it again it doesn’t show image.
Oh sorry
i have install successfully ImageMagick in my pc.
in the gemgile i’m use gem ‘rmagick’, require => ‘RMagick’
infect it work properly in localhost, but when i upload myapp into heroku it doesn’t show the record that i have been enter in localhost.
Your Heroku app has a separate database. Check out heroku pg:push and heroku pg:pull (Heroku Postgres | Heroku Dev Center ) to learn about how to move data between your local database and the Heroku one.
and one more when i input on heroku web server it work, but next day i visit it again it doesn’t show image.
This sounds like you’re saving uploaded images to the Heroku filesystem. This is NOT guaranteed to be preserved when your dyno sleeps. You’ll want to look into using something external like S3 to store files.