Displaying 20 results from an estimated 2000 matches similar to: "Revisiting the rewriting"
2010 Sep 02
1
Error No such file or directory
Hi,
I have a website deployed on heroku, but my local git repository was
ereased, so I m trying to create a new local repository pulling my
deployed site. I run : git clone -o heroku git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:my_app.git,
but now when I run script/server I get this error msg:
pedro@ubuntu:~/proj/my_app$ script/server
=> Booting WEBrick
=> Rails 2.3.8 application starting
2009 Jun 03
3
System V Init Script
Hey Listees,
I have a question (hopefully quite simple) about the system V init scripts
in /etc/init.d. I have an app installed and for some reason it had no system
V init script. It has been installed a long while now so I can't quite
remember whats going on but basically I remember I wrote the init script my
self and the app is enabled as a service which chkconfig to run at system
levels 3,
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy"
from my local box (windows) to my shared hosting
If I set the repository to (deploy.rb):
set :repository, "file:///home/[my_user]/repo/[my_app]/trunk"
My local box (windows) can''t reach the subversion repository located in
site5
If I set the repository to:
set :repository,
2007 Feb 02
3
rails command version pegging?
Hello,
Is it possible to declare the version of Rails used with the seminal
"rails /path/to/my_app" command?
For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I
run "rails my_app" I get 1.2.1 produced skeleton code. Is there a way
to get 1.1.6 results?
Regards,
Andy Koch
--~--~---------~--~----~------------~-------~--~----~
You received this
2008 Apr 17
4
acts_as_paranoid is making me crazy
Acts_as_paranoid is giving me a headache when performing migrations.
For some reason when I perform a migration I get a "stack level too
deep" error. If I comment out the database inserts that are performed
(countries, regions, and a base admin) it works well. Even after
minimizing the data that is inserted on the migration to one record it
still throws the same error.
When running
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2008 Jan 03
5
Start script not working when run via Rake
Hi there
I''m using the latest release (r300) and ''script/backgroundrb start'' works
perfectly when executed on the server, but when put inside a Rake task, it
doesn''t launch the worker processes.
The Rake task is as follows:
task :start_backgroundrb do
run "cd #{current_path} && ./script/backgroundrb start"
end
When I run this task, the
2006 May 10
8
E-mail validtor??
Does anyone have a good working e-mail validator? or even some regexp to
make the validates_format_of work right... that would be awesome. Also,
maybe an online tutorial for regexp. i''ve always been afraid of it but i
think it''s time to face the fears.
thanks!
--
Posted via http://www.ruby-forum.com/.
2010 Nov 09
2
Undefined method
I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack
0.8.7, mysql 5.1.41)
I has my_app/lib/migration_helpers.rb file:
module MigrationHelpers
def self.foreign_key(from_table, from_column, to_table)
constraint_name = "fk_#{from_table}_#{to_table}"
execute %{alter table #{from_table}
add constraint #{constraint_name}
foreign key (#{from_column})
2007 Feb 28
3
[ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 23:59
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
Category: windows-pr
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Katsuyuki MIYAMUKO (miyamuko)
Assigned to: Nobody (None)
Summary: several typo in windows-pr.
Initial Comment:
I found typo in windows-pr.
Attached
2006 Apr 05
7
Regex for splitting string
Hi
We have a search website where the user can type in individual words
separated by spaces and/or phrases enclosed in single or double quotes.
We are looking for a way to obtain a list of words and phrases from the
search string.
Can someone help?
Thanks,
Yash
--
Posted via http://www.ruby-forum.com/.
2006 Jul 23
3
RfW 2.3.1: regular expressions to detect pairs of identical word-final character sequences
Dear all
I use R for Windows 2.3.1 on a fully updated Windows XP Home SP2 machine and I have two related regular expression problems.
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2005 Dec 29
0
newb queston to fellow Railians
I get stuct at this...i get this message when i load my site...give me
some idea how to fix it...
MissingSourceFile in <controller not set>#<action not set>
No such file to load --
../my_app/cookbook/script/../config/../config/routes.rb
RAILS_ROOT: ../my_app/cookbook/script/../config/..
when rails generate the script i don''t have file routes.rb.
thanks in advance.
--
2012 Oct 16
0
Rails 3 + fb_graph how to get access token to post to my own Facebook page
I am using Rails 3 + fb_graph to post to my own Facebook page. I have
code that works, but it uses an access token that only works for a
couple of hours. And it is very annoying to refresh this access token a
couple of times a day. So I registrated for a FB app. I now have:
my_app = FbGraph::Application.new("App ID");
acc_tok = my_app.get_access_token("App Secret");
me =
2007 Jul 16
9
DRBD facts
Hi,
I can''t find a way to add a page on the wiki (i''m logged in but there
is no edit button on the facter recipes page), so here is a recipe for
DRBD. It has been tested on version 0.8.4. Can someone publish it on
the web site?
if FileTest.exists?("/proc/drbd")
result = {}
Thread::exclusive do
File.readlines("/proc/drbd").each do |l|
if l =~
2008 Aug 01
2
Extract Element of String with R's Regex
Hi,
I have this string, in which I want to extract some of it's element:
> x <- "Best-K Gene 11340 211952_at RANBP5 Noc= 3 - 2 LL= -963.669 -965.35"
yielding this array
[1] "211952_at" "RANBP5" "2"
In Perl we would do it this way:
__BEGIN__
my @needed =();
my $str = "Best-K Gene 11340 211952_at RANBP5 Noc= 3 - 2 LL=
-963.669
2006 Jul 18
2
how to generate calculated db fields
I''m trying to generate a "page slug" i.e. a url sanitized id from
some text in my model that I want to be saved into the database and
I''m not seeing how I can do it.
The closest I''ve come to getting this to work has been...
class Page < ActiveRecord::Base
attr :name
before_save :generate_slug
def generate_slug
self.slug = self.name.gsub
2019 Aug 29
3
[SOLVED] Re: LMTP Post login script for acl_groups
On 29.8.2019 12.18, R.N.S. via dovecot wrote:
>
>> Am 28.08.2019 um 20:02 schrieb Aki Tuomi via dovecot <dovecot at dovecot.org>:
>>
>>
>>> On 28/08/2019 21:01 R.N.S. via dovecot <dovecot at dovecot.org> wrote:
>>>
>>>
>>>> Am 28.08.2019 um 19:46 schrieb Jakobus Sch?rz via dovecot <dovecot at dovecot.org>:
2009 Oct 01
1
[PATCH] inspector: Canonicalize device names (fix RHBZ#526717).
This seems to be the completed fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=526717
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------