Yes. problem must be part of script/install issue, maybe Windows
related issue
Because when I check for data, all tables created but
tables are empty.

I created new project and re-installed insoshi. But I need to add
sample prefereneces by hand. Now working fine. I tested features
(blog, forum etc. )
There is no problem.

Using Windows XP for testing. Also I using Netbeans 6.5 (Ruby on Rails
included) pack.
and using MySQL 5.0. All neccessary gems installed. All needed rake
commands are done.




On 31 Ağustos, 22:12, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
> Something doesn't seem right.  The preferences table should have populated
> and updated during the migration that's run as part of script/install.
>
> What database and version are you using? MySQL 5.0?
>
> Do you have the mysql gem installed? Verify by running "gem list --local".
>
> And just to be complete, how did you install Rails? (From a gem,
> InstantRails, RubyStack, etc.)
>
> Odds are it'll probably be better to handle this support issue directly via
> email, especially since it might involve your specific config files.  But if
> anyone running Insoshi on Windows has run into a similar issue, let me
> know.  I'll also post a recap on the resolution back to the group.
>
> Long
>
> 2008/8/31 seyhunak <[EMAIL PROTECTED]>
>
>
>
> > I manually entered sample data to "preferences"  table then retry
> > again. It worked.
> > But when I logged and logout. Suddenly dropped and gived this error
> > What that means ?
>
> > ArgumentError in Home#index
> > Showing shared/_activity.html.erb where line #18 raised:
> > wrong number of arguments (2 for 1)
> > Line 18: 18:     <%= time_ago_in_words(activity.created_at).capitalize
> > %> ago
>
> > On 31 Ağustos, 19:54, seyhunak <[EMAIL PROTECTED]> wrote:
> > > Yes. I checked up database ;
> > > development, production, staging and test database's created.
> > > And "preferences" table created there . But this table is empty.
>
> > > On 31 Ağustos, 19:31, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
>
> > > > This is back to the original error you got.
>
> > > > Can you open up your database and verify that the preferences table is
> > > > present and there's a row defined in it?
>
> > > > Long
>
> > > > 2008/8/31 seyhunak <[EMAIL PROTECTED]>
>
> > > > > I unistalled image_science. Now just  imageMagick/rmagick installed.
> > > > > Re-tried starting server. Application lauched, but
> > > > > "NoMethodError in Home#index
> > > > > Showing home/index.html.erb where line #13 raised"
> > > > > returns again.
> > > > > Line 13:  <%- unless global_prefs.app_name.blank? -%>
> > > > > Why ?
>
> > > > > On 31 Ağustos, 14:04, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
> > > > > > Uninstall image_science.  It's getting detected and used before
> > > > > > ImageMagick/rmagick.
>
> > > > > > If you don't have both a compiler and the FreeImage library
> > installed,
> > > > > then
> > > > > > you'll run into runtime errors if you leave image_science
> > installed.
> > > > >  This
> > > > > > issue is not detected during the install of the gem since it
> > doesn't try
> > > > > to
> > > > > > do any native builds and just assumes those dependencies will be
> > > > > satisfied.
>
> > > > > > Long
>
> > > > > > 2008/8/31 seyhunak <[EMAIL PROTECTED]>
>
> > > > > > > Not working, I double checked steps, can you please check WEBrick
> > log?
>
> > > > > > > Installed Gems:
> > > > > > > # Yes, C/C++ compiler (Cygwin) installed to system.
> > > > > > > # rails - (lastast installed)
> > > > > > > # mysql -(lastast installed)
> > > > > > > # chronic - (lastast installed)
> > > > > > > # image_science - (lastast installed) but Freeimage not installed
> > > > > > > because I'm going with ImageMagick
> > > > > > > # ImageMagick library and rmagick gem-(lastast installed)
> > > > > > > # RubyInline  (lastast installed)
>
> > > > > > > WEBrick log:
> > > > > > > => Booting WEBrick...
>
> > > > > > > ** [NewRelic] New Relic RPM Agent Initialized: pid = 2976
>
> > > > > > > ** [NewRelic] Agent Log is found in C:/Documents and
> > Settings/Asus/
> > > > > > > Belgelerim/NetBeansProjects/imedic/log/newrelic_agent.3000.log
>
> > > > > > > ** [NewRelic] NewRelic Agent (Developer Mode) enabled.
>
> > > > > > > ** [NewRelic] To view performance information, go to
> > > > > > >http://localhost:3000/newrelic
>
> > > > > > > => Rails 2.1.0 application started onhttp://0.0.0.0:3000
>
> > > > > > > => Ctrl-C to shutdown server; call with --help for options
>
> > > > > > > [2008-08-31 12:56:18] INFO  WEBrick 1.3.1
>
> > > > > > > [2008-08-31 12:56:18] INFO  ruby 1.8.6 (2007-09-24)
> > [i386-mswin32]
>
> > > > > > > [2008-08-31 12:56:18] INFO  WEBrick::HTTPServer#start: pid=2976
> > > > > > > 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:12:56:20 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:12:56:23 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:13:02:26 GTB Yaz Saati] "GET /
> > HTTP/1.1"
> > > > > > > 500 16467
>
> > > > > > > - -> /
>
> > > > > > > On 31 Ağustos, 09:13, "Long Nguyen" <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > 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 onhttp://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
>
> ...
>
> tamamını oku »
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to