Displaying 20 results from an estimated 1000 matches similar to: "Rails3 app deploy : how to ?"
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I
cannot save a record:
> rails console
Loading development environment (Rails 3.0.0.beta4)
ruby-1.9.1-p378 > g = Game.new
=> #<Game id: nil, player_id: nil, versus_id: nil, finished: nil,
created_at: nil, updated_at: nil>
ruby-1.9.1-p378 > g.save
NameError: undefined method `<=>'' for class
2010 Sep 08
2
Rails 2 to Rails 3 - How to convert this sql query ?
Hello all,
Can someone help me with this query ?
Here is the query used in rails 2. The idea here is to obtain the top
10 widgets.
Widget.find(:all, :select => ''widget_type_id, COUNT(widget_type_id) AS
widgettypeid'', :group => ''widget_type_id'', :order => ''widgettypeid
DESC'', :limit => 10)
This is deprecated and i want to port it
2006 Mar 16
4
Capistrano :update_code problem
Hi all,
I want to love capistrano and I''m so close.
My error is occuring while running the update_code task... (apologies
for the shell spew)
*************************************************************************
* executing "rm -rf
/home/henster29/sites/glitter/releases/20060316143447/log
/home/henster29/sites/glitter/releases/20060316143447/public/system
&&\n ln
2010 Aug 18
2
[Rails 3] remote_function ?
Is the remote_function still valid in Rails 3 as it seems many of the
Prototype helpers have been replaced ? (link_to_remote, ...)
where can I find any link on it ? not in the standard doc I guess ..
thanks for you feedback
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy!
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano" # Load RVM''s capistrano plugin.
set :rvm_ruby_string, :local # Or whatever env you want it to run
in. ''1.9.3''
set :domain, ''www.xxx.com''
set :application,
2010 Feb 11
2
Error when starting rails server [on rails 3]
Hi all,
I receive an error when starting the server, namely:
~/Documents/blog$ rails server
/usr/local/lib/site_ruby/1.8/rubygems.rb:827:in `report_activate_error'':
RubyGem version error: rack-mount(0.5.0 not ~> 0.4.0) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate''
from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate''
2010 Mar 08
4
install problems on fedora 12
I just got set up with fedora 12 and am a new user for that distro.
I got ruby 1.8.6 installed. Then I tried to install rails using yum
which gave me rails 2.3.4. When I tried to start a rails project I had
an error saying the wrong version of rack was supplied. I tried to
resolve that with gem installs but got errors saying it couldn''t find
rubygem sources. Then I decided to see if I
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys.
I am starting out with puppet and am in the process of writing a
bootstrap script for the clients and a capistrano recipe for the
server. I have the client bootstrap done which installs ruby, puppet,
sets a host name, and then points the client at the puppet server and
now I am in the process of setting up the puppet server.
My first attempt was to set up a git project for puppet, an
2006 Oct 03
3
Capistrano and Uploaded Documents
I have an application I''m working on which allows me to upload files. The
files are stored somewhere in the public directory so that they can be
accessed directly. When I deploy an update with Capistrano, I ''lose'' the
files because of the current symlink points to the new checked out version.
Before I start working on a solution, has anyone else already solved this
2007 Nov 27
1
capistrano hangs
Any idea why this command takes upwards of 15 minutes to complete?
run "cd #{release_path} && ORACLE_HOME=/home/oracle
RAILS_ENV=production rake db:migrate"
When running it against my local Postgres it completes in a few
seconds or so. Running it against my local Oracle XE takes only
slightly longer. But running it with capistrano over ssh is taking
years away from my life.
2010 Jul 09
6
deployment question: has anyone deployed w. sqlite?
Hi,
I''d like to make a demo version of my app available, but I''m not ready
to get into database stuff, yet. Has anyone ever deployed with sqlite
(what I used to develop my app)? If so, what hosting service(s) would
you recommend?
Thanks,
Lille
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
Hi
WOW! Is Rails 3 another interesting learning curve. Just when I think
I have a general working knowledge of Rails 2 ... things change.
I''m trying to replicate the following in Rails 3:
<%= link_to_remote image_tag("creditcard.png", :border => 0), :url =>
{:action => :make_payment, :type => "Credit", :id =>
@appt.id },
2006 Apr 08
6
Deploy with Capistrano Win32 -> Linux
Im trying to deploy with capistrano from win32 to Linux but no success.
I''ve been installed: cwRsync to ssh
I ran
rake remote:exec ACTION=setup --trace
and get:
Anyone knows how to get capistrano log ssh comunication?
Any idea?
Thanks
rake aborted!
End of file reached
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/transport/version-negot
iator.rb:51:in `readline''
2010 Jul 29
2
getting mysql running
Now need to get MySQL installed. I am having the following trouble
installing
sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb --with-mysql-config=/usr/bin/mysql_config
extconf.rb:10:in `require'': no such file to load -- mkmf (LoadError)
from extconf.rb:10
2009 Aug 11
10
Git, Capistrano, Passenger, and Apache Questions
First, I''m trying to do the legwork with utilizing all 4 together
because many people say it''s a good combination to use. I already have
apache setup (was using it with the PHP version of my site formerly).
I''ve installed all gems and dependencies that I need on my slice (using
slicehost).
I have a fully pushed git repository (master) on github (private git)
with one
2010 Aug 18
2
auth logic - password confirmation
Hi, newbie here. :)
i have this form on a test rails app:
<% form_for @user do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :username %><br />
<%= f.text_field :username %>
</p>
<p>
<%= f.label :email %><br />
<%= f.text_field :email %>
</p>
<p>
<%= f.label :password %><br
2010 Aug 17
3
Rails 3 flash message problems
The following code in my application_helper.rb class either eats the
flash message or escapes it and does not display properly:
# Outputs the corresponding flash message if any are set
def flash_messages
messages = []
%w(notice warning error).each do |msg|
messages << content_tag(:div, content_tag(:p,
html_escape(flash[msg.to_sym])), :class => "message
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> Colin Law wrote:
>> I have the following html
>> <p><b>text</b>value</p>
>> I can use
>> assert_select "p>b", "text"
>> to check the text portion, and
>> assert_select "p", "value"
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi,
Just trying to get Capistrano working to Dreamhost. I''m hitting a
permissions issue on the reaper file at the moment.
Has anyone a copy of the capistrano DEPLOY.RB file they could post or
send me a copy of please?
Thanks
Greg
--
Posted via http://www.ruby-forum.com/.
2012 Mar 23
0
deploy rails3 application on windows server 2011
Dear All,
I want to deploy the rails3 app on the windows server, but i searched a
lot and also test a lot, all failed. could anyone show me the details of
the setting?
Thanks.
Daisy
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to