Displaying 20 results from an estimated 5000 matches similar to: "Newbie - deployment, hosting"
2009 Aug 16
11
best "Rails on the cloud" solution?
A search of this forum for "cloud" brought up a pretty anemic and mostly
year or more old list of stuff. That was a bit of a surprise to me.
I''m interested in getting opinions on the easiest way to deploy a Rails
app to a well known (S3 or similar) "cloud" server.
It should be something with little or no "installation" or
"establishment" fees and
2016 Apr 21
2
Error using RPostgreSQL
Hi,
I'm having trouble connecting to my postgreSQL db on Heroku(Amazon)
using RPostgreSQL.
I've looked through GitHub for people doing the same thing. There are
quite a few examples and all look similar to the below:
drv <- dbDriver("PostgreSQL")
con <- dbConnect(
drv,
dbname = "dadqn30er7ghpl",
host =
2010 Oct 19
1
What Amazon EC2 AMI do you recommend?
I''m looking at using EC2 for hosting deploying my Rails site. The
reasons for the decision are these: I want something that will work
for 10 users, but with capacity to expand to 10,000,000 if needed.
EC2 starts at $15/month (before bandwidth) which seems reasonable even
for a site in its infancy. And the costs seem to scale up well, along
with the capacity. There isn''t the
2012 Dec 01
4
heroku deployment
i want to deploy two rails application in heroku..so how can i deploy two
application with one account in heroku and github..i am little confused
that i have to take two rsa public key or how..thanks in advance
--
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
2012 Dec 28
3
git push heroku master error
allo vous tous vois l''erreur
Counting objects: 66, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (52/52), done.
Writing objects: 100% (66/66), 26.30 KiB, done.
Total 66 (delta 3), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
Running: bundle install --without development:test
2012 Aug 17
5
How to Include Gem in Different Path
Hi,
I just tried Ruby on Rails (with RailsInstaller 2.1.0) and it works fine
on my PC. However, when I put this on the website, I got the following
error message:
Could not find multi_json-1.3.6 in any of the sources
(Bundler::GemNotFound)
The problem is that the website has multi_json 1.0.4. The website
allows me to download my own gems, but after the process, it is located
at
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop
2012 Dec 13
7
Thin server giving Stack level too deep error
Hi,
I am using thin web server in my rails project. But it gives stack level
too deep error. Couldn''t find any appropriate solution to this.
I have tried updating the ruby but didn''t help.
Regards,
Sumit
--
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 12
8
Heroku db id Starting with 1000
Hello All,
How do I change the heroku database( already existed ) table id to start
from say 1000?
I tried with a fresh database on local & it works with this:-
*execute "ALTER users orders AUTO_INCREMENT = 1000"*
Thanks,
Avinash
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from
2013 Jan 24
12
group by + sum
Hi.. I need some support...
table:
week_id, user_id, project_id, hours
ex. =>
33, 2, 1, 10
34, 2,1,15
33, 2, 2, 20
35, 3, 1,20
etc.
Want to display a sum of hours per week_id per user_id
I have:
@hours = HourUser.includes(:user).group_by { |h| h.week_id }
@hours.keys.sort.each do |hour|
@hours[hour].collect(&:stunden).sum
Hours are summed up, but not sorted by user_id..
How to get
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
I used MySQL as a backend before. Now I had to move to PG since Heroku
doesn''t have MySQL and forces everyone to use their Heroku-PG database.
But PG virsion of Rails works diffidently. I cannot generate a model
without PG server running:
>> C:\ruby\Heroku\App>rails generate model Products
>>
>> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-
2012 Dec 13
23
make rails connect with database
i''m newbie in rails. i have problem with how to connect rails with
database. before i can connect it with command
"rake db:create" to create database.
and "rake db:migrate" to migrate schema to database.
but, i want to connect rails with database that i have before, not
create it via rails. can you help me?
--
Posted via http://www.ruby-forum.com/.
--
You received
2012 Dec 13
4
Strange signing problem in AWS - stumped
Any light someone can shed sure would be appreciated.
I start with 1 cert -- the master''s, where I am running this:
jblaine@ip-10-191-115-140:~$ sudo puppet cert list --all
+ "ip-10-191-115-140.ec2.internal" (74:8B:7B:EF:41:E6:F9:98:93:15:42:6A:4C:2F:28:CC) (alt names: "DNS:ip-10-191-115-140.ec2.internal", "DNS:puppet", "DNS:puppet.ec2.internal")
2012 Sep 12
8
Round off method in 1.8.7
Hi all
i am trying to use round method if have a value 2.08 i want it as 2.1 and
it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it.
USING 1.9.2
1.9.2p320 :001 > 2.08.round(1)
=> 2.1
1.9.2p320 :002 > 2.04.round(1)
=> 2.0
USING 1.8.7
irb(main):001:0> 2.08.round
=> 2
irb(main):002:0> 2.08.round(1)
ArgumentError: wrong number of arguments (1 for
2012 Jul 25
3
rails scope without raw sql
Hi, I''ve been stung when deploying a rails app to heroku, and I''m fairly
confident the problem is the difference between my local db sqlite3, and
the heroku standard free shared db which is postgres(i think).
I have a scope in my model that looks like this
scope :not_archived, :conditions => [''application_state != "archived"'']
The idea is I want
2013 Oct 21
8
git push not working
<https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf_kHsug/s1600/git.gif>
Hi again,
I''m working on http://ruby.railstutorial.org
section
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-git_push
I''m trying to push the repository to the remote site but what ever I fials.
I''ve updated, removed the s of the https etc but still
2012 Jul 02
2
Trouble using the dns_alt_names config option
Hello:
I''m trying to put a puppet master on an EC2 instance, and have it be
accessible to agentes using either its EC2 DNS name (e.g.,
ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com) or a friendlier alias (e.g.,
puppet.example.com).
My /etc/puppet/puppet.conf looks like:
[master]
certname=ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com
2013 Mar 09
2
Server advice for RoR for newbies
Hello,
I am fairly new to Ruby and deployment. Have started creating a some apps
and going through tutorials, etc. I am thinking about buying my own server
like a HP ProLiant DL380e Gen8 Server<http://h10010.www1.hp.com/wwpc/de/de/sm/WF25a/15351-15351-3328412-241475-241475-5261094.html> to
host and deploy my own web app which is a project management database where
externals and
2013 May 08
1
Rails asset precompilation doesn't remove comments. How to enable?
I want to to test precompilation on development mode.
I set:
config.assets.digest = true
config.assets.debug = false
Then I run:
rake assets:precompile:all RAILS_ENV=development
All works, assets are precompiled but comments are not removed.
What options should I provide to make it to remove comments from assets
on precompile?
--
Posted via http://www.ruby-forum.com/.
--
You received this