Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
json gem error help please?
Chris Scott
4/4/2008 7:15:00 PM
Hi, Could someone please point me in the right direction, I need the
json gem for an apps I am working on, Iâ??m new to RoR been working with
it for around 4 weeks now im instant rails on windows. i have been given
a requirements list for the gems. When I try to install the json gem
using "gem install json" I
am getting an error saying,
ERROR: Error installing json:
ERROR:Failed to build gem native extension.
C:/User../.././ruby/bin/ruby.exe extconf.rb install on
creating Makefile
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
gem file will remain installed in C:/User.../.../../gems/json-1.1.2 for
inspection.
results logged to
c:/User/.../../.../gems/json-1.1.2/ext/parser/gem_make.out
I have manually installed the gem to but this hasnâ??t seem to help
Sorry if this is very basic but like i say im new to ROR so all help is
greatly appreciated
Thanks Christopher
--
Posted via
http://www.ruby-...
.
1 Answer
Phillip Gawlowski
4/4/2008 7:29:00 PM
0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Scott wrote:
| Hi, Could someone please point me in the right direction, I need the
| json gem for an apps I am working on, Iâ??m new to RoR been working with
| it for around 4 weeks now im instant rails on windows. i have been given
| a requirements list for the gems. When I try to install the json gem
| using "gem install json" I
| am getting an error saying,
http://json.ruby...
if that's the gem you are using.
In a nutshell:
c:\gem install json_pure
That installs a pure Ruby implementation of JSON.
The error you get is because you don't a way to compile extensions (long
story short: You'll need Visual C 6.0, but you can't buy it easily).
| I have manually installed the gem to but this hasnâ??t seem to help
That's because the install process is identical: The json gem will
always need to compile the extension. The only (feasible) solution would
be to get a Linux distribution installed, if you absolutely have to use
the C based gem.
| Sorry if this is very basic but like i say im new to ROR so all help is
| greatly appreciated
You've landed on the Ruby mailing list / forum, which is concerned
(mostly), with the Ruby part of Ruby on Rails.
(Ruby is the language used to make Rails possible.)
For Rails specific issues, look at one of these resources:
http://rubyonrails.org...
- -- Phillip Gawlowski
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail....
iEYEARECAAYFAkf2gWwACgkQbtAgaoJTgL8X0gCfdJCLlWUbTd2MGicVqlWtgnWk
3IgAn10HZoyveZeCYD3nMU21NIvWZxjw
=EymR
-----END PGP SIGNATURE-----
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
json gem error help please?
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