This is a common problem on windows platform where development tools (compiler and linker) and libraries are not in the path.
On Dec 22, 10:48 pm, SP <mbbx6...@gmail.com> wrote: > Hi, > > Unfortunately this isn't the right group to post this query, but since > I see similar questions about Twitter4R were previously asked on this > group I will give an answer and CC the Twitter4R-Users Google Group > (twitter4r-users). > > This following blog post talks about his issues with install JSON > 1.1.3 (which is what Twitter4R gem install tries to do because it > depends on the JSON > gem):http://justindz.tumblr.com/post/63305648/the-battle-for-ruby-json-on-... > > The compilation error is on the JSON Ruby gem install not specifically > the Twitter4R gem install. A workaround might be to install the JSON > 1.1.1 version on Windows (which I believe works) or put cl.exe's > directory in your PATH environment variable. > > HTH, > Susan > > On Dec 19, 10:59 am, "Nilesh Kumar" <email2ni...@gmail.com> wrote: > > > Hi guys, > > > I have to update a Twiter account from my Rails application. So I am > > trying to install Twitter4R api. > > But I am getting error when i give following command: > > > C:\>gem install twitter4r > > > Building native extensions. This could take a while... > > ERROR: Error installing twitter4r: > > ERROR: Failed to build gem native extension. > > c:/ruby/bin/ruby.exe extconf.rb install twitter4r creating Makefile > > nmake > > 'nmake' is not recognized as an internal or external command, > > operable program or batch file. > > Gem files will remain installed in > > c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.3 for > > inspection. > > Results logged to > > c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.3/ext/json/ext/parser/ > > gem_make.out > > > So, what could be the problem? Do I need to install some supporting gem > > file? Please help me. > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---