Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Can't install rmagick
Rajat Garg
3/22/2008 10:35:00 PM
[Note: parts of this message were removed to make it a legal post.]
Hi Guys,
I am trying to install gem - rmagick on Windows and not able to do so. I get
following error message (run through Netbeans IDE)
-------------------------------------------------------------------------------------------------------------------------------------------
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Updating metadata for 12 gems from
http://gems.rub...
............
complete
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
C:/ruby/bin/ruby.exe extconf.rb install rmagick --no-rdoc --no-ri
--include-dependencies --version > 0
Gem files will remain installed in C:/ruby/lib/ruby/gems/1.8/gems/rmagick-
2.2.2 for inspection.
Results logged to C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.2.2
/ext/RMagick/gem_make.out
-------------------------------------------------------------------------------------------------------------------------------------------
Please help.
Also, I have one linux server where I can get list of all ruby gems using
'gem list --local' command. I want to have a similar set up on my windows
desktop, so that I can do a lot more testing on my own..
Is there a way of "copying" the server environment to desktop environment?
Thanks,
--
Rajat Garg
Ph: 206-499-9495
Add: 1314 Spring Street, #412
Seattle, WA 98104
Web:
http://www.piloto...
-----------------------------------------------------------------------------------------------------
Flying is the second greatest thrill known to man. Landing is the first!
2 Answers
Tim Hunter
3/23/2008 12:09:00 AM
0
Rajat Garg wrote:
> Hi Guys,
>
> I am trying to install gem - rmagick on Windows and not able to do so. I get
> following error message (run through Netbeans IDE)
>
> -------------------------------------------------------------------------------------------------------------------------------------------
> INFO: `gem install -y` is now default and will be removed
> INFO: use --ignore-dependencies to install only the gems you list
> Updating metadata for 12 gems from
http://gems.rub...
> ............
> complete
> Building native extensions. This could take a while...
> ERROR: Error installing rmagick:
> ERROR: Failed to build gem native extension.
>
> C:/ruby/bin/ruby.exe extconf.rb install rmagick --no-rdoc --no-ri
> --include-dependencies --version > 0
Use the rmagick-win32 gem instead of the rmagick gem.
http://rmagick.ruby...
install-fa...
--
RMagick:
http://rmagick.ruby...
RMagick 2:
http://rmagick.ruby...
rmagick2.html
Rajat Garg
3/23/2008 6:50:00 AM
0
[Note: parts of this message were removed to make it a legal post.]
Thanks guys.
This got me moving to next step where all gems seem to be installed.
However, after I start the server and I try to ping the server from a
browser at http://localhost:3000
Any ideas? Please help.
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on
http://0....
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32/ext/RMagick2.so:
126: The specified module could not be found. -
C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32/ext/RMagick2.so
(LoadError)
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require'
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
`new_constants_in'
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require'
from C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32
/lib/RMagick.rb:11
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require'
... 45 levels...
from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3
/lib/commands/server.rb:39
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from script/server:3
On Sat, Mar 22, 2008 at 5:09 PM, Tim Hunter <TimHunter@nc.rr.com> wrote:
> Rajat Garg wrote:
> > Hi Guys,
> >
> > I am trying to install gem - rmagick on Windows and not able to do so. I
> get
> > following error message (run through Netbeans IDE)
> >
> >
> -------------------------------------------------------------------------------------------------------------------------------------------
> > INFO: `gem install -y` is now default and will be removed
> > INFO: use --ignore-dependencies to install only the gems you list
> > Updating metadata for 12 gems from
http://gems.rub...
> > ............
> > complete
> > Building native extensions. This could take a while...
> > ERROR: Error installing rmagick:
> > ERROR: Failed to build gem native extension.
> >
> > C:/ruby/bin/ruby.exe extconf.rb install rmagick --no-rdoc --no-ri
> > --include-dependencies --version > 0
>
> Use the rmagick-win32 gem instead of the rmagick gem.
>
>
http://rmagick.ruby...
install-fa...
>
>
> --
> RMagick:
http://rmagick.ruby...
> RMagick 2:
http://rmagick.ruby...
rmagick2.html
>
>
--
Rajat Garg
Ph: 206-499-9495
Add: 1314 Spring Street, #412
Seattle, WA 98104
Web:
http://www.piloto...
-----------------------------------------------------------------------------------------------------
Flying is the second greatest thrill known to man. Landing is the first!
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Can't install rmagick
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password