Displaying 20 results from an estimated 1000 matches similar to: "Using base HTML tag"
2016 Aug 04
1
php55w-fpm on CentOS 7: settings location
On Wed, August 3, 2016 14:19, Always Learning wrote:
>
> On Wed, 2016-08-03 at 13:55 -0400, Jason Welsh wrote:
>
>> What I do is create a php.php file on the root of my fileserver
>> with
>> the following
>>
>> <?php phpinfo() ?>
>
> I use a text command: php -i
>
>
>
php -i > php-i.txt
echo '<?php phpinfo() ?>' | php
2006 Jan 03
5
Are cache sweepers used?
After drawing many virtual blank stares in the IRC channel and finding
zero results on the wiki for ''sweeper'' I''m left to wonder whether
these are actually officially supported, or are on their way toward
being deprecated. Is there a better way of expiring caches on model
saves and deletions?
Sincerely,
Tom Lieber
tom@alltom.com
http://AllTom.com/
2006 Jun 26
4
Migrations and svn branches...
We are currently doing some development on a variety of branches that
each have their own set of migrations (gee, database changes on a
branch? how novel). The problem is with this strictly linear numbering
of the migrations and these alternate branches.
Let''s suppose I have branches/foo that adds two migrations
024_add_foo.rb and 025_refine_foo.rb
and then another branches/bar
2005 Dec 28
6
coverage does not work
Hi,
I''ve installed coverage (gem install coverage) and try to run tests with
-rcoverage option on, but following error occurs:
ruby: No such file to load -- coverage (LoadError)
I try:
ruby -rcoverage mytest.rb
1. I have rubygems in evn var RUBYOPT
2. Gem seems to be installed properly (I can read doc via gems, the files
exist in the ../gem/... dirs)
Does anyone know what is the
2006 Apr 08
2
Does anybody know what what is causing this console message?
This started, I think, after I upgraded to 1.1.
trunk 508 $ruby script/console
Loading development environment.
/usr/local/lib/ruby/1.8/test/unit/assertions.rb:265: warning: already
initialized constant UncaughtThrow
>>
Everything seems to work in the console, however.
Keith
--
Posted via http://www.ruby-forum.com/.
2006 Apr 12
2
RedCloth versus BlueCloth efficiency
Has anyone profiled the performance of RedCloth versus BlueCloth?
I''m starting to realise that RedCloth is a more mature ruby project,
although Markdown the syntax maybe more widespread than Textilize.
Apart from the syntax, does anyone feel they have a preference, in terms
of performance or number of outstanding bugs?
Many thanks in advance.
CHEERS> SAM
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks,
There''s a nasty little bug in 0.3.13.3 when running in development mode
which could cause all sorts of problems.
Please grab the pre-release of 0.3.13.4 and tell me if it works for you:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
Thanks!
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need
2004 Aug 24
1
error when unsubscribe (PR#7198)
Full_Name: Huan Huang
Version: 1.9.1
OS: Win NT
Submission from: (NULL) (155.140.122.227)
Traceback:
Traceback (most recent call last):
File "/scratch/local/app/mailman-sfs/2.1.5/scripts/driver", line 87, in
run_main
main()
File "/scratch/local/app/mailman-sfs/2.1.5/Mailman/Cgi/options.py", line 91,
in main
language = cgidata.getvalue('language')
File
2006 Jul 14
5
migration and inserting default data
Hi,
I''m wondering is there a way to load default data in the migration script?
So, for example I''m creating new table to store the order status, I also
want to pre-populate the table with some data from a sql file.
I have done a quick search on the list but cannot find anything.
thanks,
- reynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Nov 13
2
Strrange behavior of VirtualHosts in Apache (CentOS6)
Hello,
there is a short explanation about virtual hosts in Apache ...
https://wiki.centos.org/TipsAndTricks/ApacheVhostDefault
the `hostname` gives a different donmain name than what should be hosted ...
e.g. `hostname` is host.example.org and the domain to be hosted is
example.com, so I did this:
<VirtualHost 1.2.3.4:80>
ServerName host.example.org
DocumentRoot /var/www/default
2007 Apr 10
10
Could eBay be built with Rails?
My friend and I (both new to RoR) were having a discussion today about
whether or not you could build an exact replica of eBay using on Ruby
on Rails. I think that it could in fact be done, or at least a very
close model of the same concept. My friend seems to think that maybe
in fact, it could not be done.
What are your thoughts? Could an eBay clone be built using only Ruby
on Rails? What do you
2005 Nov 26
6
Fuzzy searching
Hi, everyone,
Just wondering if someone had come up with a good way to do fuzzy
searches if you use MySQL as your database (we tried switching to
PostgreSQL, but that ended up adding even more problems). Ferret sounds
great, but reading through the discussion it looks like we need to solve
the problem of write conflicts. I just wrote a post in ruby-talk about
using KirbyBase maybe to solve
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my
RoR app and I keep getting:
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
I load the program to the cgi-bin directory in its own folder /cgi-bin/
fump/
In the /public folder of my app I have the following .htaccess file:
# General Apache options
2007 May 30
0
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the RAW_POST_DATA,
which makes requests error out. This bug is seen infrequently and
*seems* to be browser-related, although I can''t reproduce it using the
browser reported in HTTP_USER_AGENT.
Set up is a apache 2.2 -> hardware load balancer
2007 May 29
1
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the
RAW_POST_DATA, which makes requests error out. This bug is seen
infrequently and *seems* to be browser-related, although I can''t
reproduce it using the browser reported in HTTP_USER_AGENT.
Set up is a hardware load balancer (NetScaler)
2006 Apr 25
2
School Years/Teams listing problem
People,
I have tables years and teams and I have the years listing like:
1965
1966
1967
.
.
I want to be able to click on the year and ONLY list teams for that
year. At first I thought the following was working until I started
populating the table with teams for more than one year.
For views/years/list.rhtml:
<% for year in @years %>
<tr>
<td>
<%= link_to
2017 Apr 28
4
Sieve dict and bindir question
Hi,
I have setup the latest Dovecot and Sieve with dict in order to read
rules from MySQL and works fine:
sieve_before = dict:proxy::sieve;name=activesql;bindir=~/.sieve-bin
dict {
sieve = mysql:/etc/dovecot/dovecot-dict-sieve-sql.conf.ext
}
# cat /etc/dovecot/dovecot-dict-sieve-sql.conf.ext
connect = host=10.1.1.1 dbname=dovecot user=dovecot password=Ciao
map {
pattern =
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi,
Just trying to get my first database based rails app up on
dreamhost.com. The app was working prior to putting in mysql DB usage
but I''m just stuck on getting the app working with mysql. I''ve already
created the database and can connect to it manually.
Below is the error I get after running the rake migrate. It worked OK
on my home PC environment. I did change the
2006 Jun 27
3
Easy question: Where do I put sweepers?
Trying to implement some sweepers to clean up my caching, but where do I
put them?
"ruby script/generate sweeeper" does nothing.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 02
2
Blank image for non-existant image URLs
Morning/Afternoon/Evening All,
Just wondering if anyone has any suggestions on forwarding requests
to invalid images (ie images that result in a 404 error) via routes.rb
or a similar method?
If possible I would like it to be based on the url so I can have
different blank pictures for different directories (ie
/images/people/user_id.jpg => /images/people/blank.jpg and