Displaying 20 results from an estimated 200 matches similar to: "Help on install act_as_ferret on windows XP"
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I''m getting a different issue.
I''m running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interesting thing is that it never
returns to the command prompt. It just hangs. I have
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing
doesn''t work. If I try ruby article_test.rb directly, I get a "no
such file to load" error, and if I try rake test:units or ruby unit/
article_test.rb I get this odd "superclass mismatch for class
ArticlesController" error!
I''m hoping I can get this settled...
My test files were
2008 Jan 06
3
Did you mean ...? with act_as_ferret
Hello,
does anybody know how to implement a "Did you mean ...?" like Google
with act_as_ferret?
I think this is a possible way:
1. Generate a keyword-list (this is my difficulty. I don''t know how to
build such a list from the index) with no stop-words from the first
index.
e. g. (car, ship, plant, house)
2. Build a second index from this word-list where we store the word in
2007 Mar 05
1
Using act_as_ferret with find_by_sql
Hello,
I wonder if its possible to combine ferret queries with find_by_sql
queries?
Or should I try to rewrite my query using find and then use
find_by_content when I''m done?
Thanks for a great product!
Regards,
henrik
2006 Mar 17
1
Fuzzy searching using act_as_ferret
Hello,
My Ferret integration has gone quite well. I''m now returning all the
results I need from two models using "id_multi_search" and combining the
results in the view using a couple of partials.
Is there any way that I can turn on fuzzy searching?
Would fuzzy searching pick up basic spelling mistakes such as "Bnadit"
instead of "Bandit" my experience
2007 Dec 13
0
help on act_as_ferret
Hi,
My name is santoshkumar r Patil. I am using ferret for searching.
I am using mult_search for searching a query on multiple modal and there
are different conditions on different model.
EX
User.multi_search(search_query+" AND NOT is_deleted:1
",[Program],{:limit=>limit,:offset=>offset})
And I have to condition "is_visible = true" on program model.
How can I modify
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/
server and with mongrel_rails start.
When I run script/server to boot mongrel everything runs fine, no
errors.
When I run mongrel_rails start I get the following errors - verified
the problem on a fresh app and on two different environments (mac and
yes, windows server 2008). The actual line of fault changes but the
problem
2010 Oct 08
0
Problem with installing linecache on Windows XP
I''ve been trying to move a Rails 2.3.8 app from OXS to Windows XP for
demonstration purposes. I''m having a problem with some of the gems;
linecache is one.
When I try to install the linecache gem, I get the following:
>gem install linecache
Building native extensions. This could take a while...
ERROR: Error installing linecache:
ERROR: Failed to build gem native
2012 Jul 08
0
rake cucumber:ok not working
Hi all,
i am learning cucumber and when i am trying to run rake cucumber:ok
resulting in following error:
C:/Ruby187/bin/ruby -S bundle exec cucumber --profile default
*** WARNING: You must use ANSICON 1.31 or higher (
http://adoxa.110mb.com/ansicon
) to get coloured output on Windows
Using the default profile...
Feature: Creating projects
In order to have projects to assign
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2011 Nov 16
0
Dicom integration
Hi.,
I integrate dicom in my rails application that purpose i install RMagick
gem then the following errors are came.
C:\Ruby187\bin>gem install RMagick
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing RMagick:
ERROR: Failed to build gem native extension.
C:/Ruby187/bin/ruby.exe extconf.rb
checking
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have:
Windows XP Professional SP3
Ruby 1.8.7
Rails 3.0.10
Bundler 1.0.15
ImageMagick 6.5.6 Q8
Rmagick 2.12.9
My gemfile:
gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/
uplodify/vendor''
My controller:
require ''RMagick''
Here I have installed my rmagick gem:
2011 Dec 09
1
Issue installing rjb, could not create MakeFile
Hello,
I''m having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
*** C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb failed
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:*
I need your help on following points.
1. Can I connect Ruby with MySQL in XAMPP server?
2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP
server installed and want to connect with ruby.
I am using Ruby1.8.7.
I tried following code:
require ''rubygems''
require ''mysql''
begin
# connect to the MySQL server
2011 Apr 04
0
issue installing gem Capybara on Debian5 w ruby 1.9.2 ( Rails 3.0.5) => installing native extension
On this server I already installed it in the gemsets for Ruby 1.8.7
and Rails 2.3.11 without any problem ...
but trying (many times .. ) to install in Ruby 1.9.2 (Rails 3.0.5)
raises an error ... It''s not related to the gem itself as the gem
doesn(t build any native extension .. but to one dependency...
I don''t know where to start looking for ...
here is the log message :
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all,
I created a "pure" branch on github that uses the code Heesob posted a while
back:
http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
However, I couldn''t make it work on my Vista laptop.
c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
start
VERSION: 0.8.0