Do you have a C/C++ compiler installed on your machine? The image_science gem uses RubyInline to access the FreeImage image library and performs a compile of generated C code at runtime.
The error you're getting indicates that it's looking for the Microsoft command-line compiler (cl) but isn't finding it. If you have it installed, then it's not in your PATH. The recommended alternative is to install ImageMagick/rmagick. You can find pre-compiled binary versions of the library and gem. That should get you past this set of errors. Hopefully you don't encounter any more but let me know if you do. Long 2008/8/30 seyhunak <[EMAIL PROTECTED]> > > No errors returns when install. So I downloaded binary source and > placed into as new project. > Project created by Netbeans. Then re-configured needed gems and other > configurations and started server. > For starting server process, using Netbeans directly > > This is Webrick log: > > => Booting WEBrick... > > ** [NewRelic] New Relic RPM Agent Initialized: pid = 3392 > ** [NewRelic] Agent Log is found in C:/Documents and Settings/Asus/ > Belgelerim/NetBeansProjects/project/log/newrelic_agent.3000.log > ** [NewRelic] NewRelic Agent (Developer Mode) enabled. > ** [NewRelic] To view performance information, go to > http://localhost:3000/newrelic > [2008-08-31 <http://localhost:3000/newrelic%5B2008-08-31> 00:51:12] INFO > WEBrick 1.3.1 > [2008-08-31 00:51:12] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32] > => Rails 2.1.0 application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > > [2008-08-31 00:51:12] INFO WEBrick::HTTPServer#start: pid=3392 > port=3000 > script/server: No such file or directory - cl -nologo -LD -MD -Zi - > O2b2xg- -G6 -I C:/ruby/lib/ruby/1.8/i386-mswin32 -I C:/ruby/include - > LC:/ruby/lib -o "C:\\Documents and Settings\\Asus/.ruby_inline/ > Inline_ImageScience_aa58.so" "C:/Documents and Settings/ > Asus/.ruby_inline/Inline_ImageScience_aa58.c" -lfreeimage -lstdc++ - > link /LIBPATH:"C:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" / > INCREMENTAL:no /EXPORT:Init_Inline_ImageScience_aa58 > 127.0.0.1 - - [31/Aug/2008:00:51:14 GTB Yaz Saati] "GET / HTTP/1.1" > 500 16467 > - -> / > > script/server: No such file or directory - cl -nologo -LD -MD -Zi - > O2b2xg- -G6 -I C:/ruby/lib/ruby/1.8/i386-mswin32 -I C:/ruby/include - > LC:/ruby/lib -o "C:\\Documents and Settings\\Asus/.ruby_inline/ > Inline_ImageScience_aa58.so" "C:/Documents and Settings/ > Asus/.ruby_inline/Inline_ImageScience_aa58.c" -lfreeimage -lstdc++ - > link /LIBPATH:"C:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" / > INCREMENTAL:no /EXPORT:Init_Inline_ImageScience_aa58 > > 127.0.0.1 - - [31/Aug/2008:00:51:24 GTB Yaz Saati] "GET / HTTP/1.1" > 500 16467 > > - -> / > > Thanks for reply. > > > On 31 Ağustos, 00:16, "Long Nguyen" <[EMAIL PROTECTED]> wrote: > > Did you encounter any errors when running > > > > script/install > > > > Also, what command are you using to start your server process? > > > > Long > > > > On Sat, Aug 30, 2008 at 1:49 PM, seyhunak <[EMAIL PROTECTED]> wrote: > > > > > Hello, i followed steps for installation tutorial then start server, > > > i'm getting this error. How can i fix it. Thanks > > > > > "NoMethodError in Home#index > > > > > Showing home/index.html.erb where line #13 raised: > > > > > You have a nil object when you didn't expect it! > > > The error occurred while evaluating nil.app_name" > > > > -- > > Long Nguyen > > [EMAIL PROTECTED] > > > -- Long Nguyen [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ Insoshi developer site: http://dogfood.insoshi.com/ Insoshi documentation: http://docs.insoshi.com/ You received this message because you are subscribed to the Google Groups "Insoshi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/insoshi?hl=en -~----------~----~----~----~------~----~------~--~---
