similar to: A second production environment

Displaying 20 results from an estimated 40000 matches similar to: "A second production environment"

2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone, I need some help related to the below requirements: -> I need to setup production environment without installing Ruby or Rails or other related gems into it. I did accomplish the same using JRuby, bundler and warbler plugin. And deployed the WAR file into Apache Tomcat server. But now I have to do this without JRuby & Apache Tomcat. -> I have to setup Apache with
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I don''t want to enable different languages per user/request because there are very few users who all speak german). Therefore I have config.i18n.default_locale = :de in config/ application.rb. I have no code whatsoever to set/change I18n.locale in my app. In development environment, it works as expected: the
2011 Jan 15
4
Best practices for email delivery in production
In pre Rails 3 world I was using ar_sendmail to queue up emails. Then I would setup a cron job every few minutes to deliver the emails. But that doesn''t work perfectly in Rails 3. What is the best way to deliver emails in production environment in Rails 3? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Apr 02
2
Ever changing environment... stop it??
Hi all... relative new guy.... I am a new rails developer but am working as hard as I can to become competent. What are your best practices for locking down an environment to develop projects in? I want to set up a server and also a local environment then build projects for ... say... 6 months without changing anything... is this done in practice? Thanks, Shawn -- You received this message
2013 Oct 12
3
Assets not loading in production
Hello, (Rails 4, Ruby 2) I am trying to deploy my first rails app in a production environment, but cannot get the assets to load. The site is hosted on Webfaction, they advise to create a "static app" to serve the assets which I have done. But I don''t understand how my rails app then knows about the static app. At the moment, in production inside the head it prints out...
2012 Jul 04
3
How to completely reinstall my rails environment on Mac Lion?
Hi, I was learning rails and have completed some projects. On my laptop everything worked for quite some time. However now when I run rails new testapp, for example it doesn''t generate even the first testapp. How can I completely reinstall a rails environment on my mac? I ran several step by step tutorials how to do this, but it seems that the old rails environment is conflicting. I
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to the database. I Suspect it is connection timeout error or something When we run the application in development mode, it works as expected. However when we switch to Production mode, we get the following error in Postgre console: -------------------------- LOG: could not receive data from client: No connection could be made
2011 Jul 19
2
ActiveRecord::Base.establish_connection in development and production envs
Hi, guys! Background: I''ve resque workers in my application. These workers do several jobs that associated with DB. In development environment, I''ve no need to provide some additional configuration for db, they are use development database. But then I switching to production env, I set ActiveRecord::Base.establish_connection with my production DB parameters. Problem: When
2013 Aug 06
2
Invalid auth token on production site
I get this error > Invalid auth token > > on my production website (Rails 4) deployed using capistrano and puma. Just that error on a white screen and nothing else. How do I debug this? I googled for similar error but all of them are dated and deal with browser specfic issue with Safari but for me opening the website in any browser gives this error. config.secret_key_base has value
2010 May 04
2
Session Store Issues on Production Server
Hello, I am using AuthLogic as my authentication gem. Everything is great on my development server. When I upload to my passenger driven production server at Dreamhost, the sessions are persisting relentlessly. In other words, a user cannot log out. I have tried implementing the Active Record session store and have changed the :secret key in initializers/session_store.rb, but for some reason,
2012 Apr 04
4
Running SSL in Development Environment
Hello, I am building an application that consists of two areas; a website and an API. I would like the website to use HTTP and the API to use HTTPS. How can I set this up for my Development Environment? I am using Thin, which I can start using the --SSL flag. However this means any HTTP urls will fail. As far as I can see it is impossible to have a server handle both HTTP and HTTPS, so how do
2013 Jan 31
1
WickedPdf error in production
Hello everyone, I am using rails -v 3.2.8. I am using wickedpdf to generate pdf. Its working well in my local machine. But its not working in production server. ompleted 500 Internal Server Error in 4443ms RuntimeError (Failed to execute: "/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf" -q "file:///tmp/wicked_pdf_5855_0.html"
2006 Jul 05
10
rake migrate RAILS_ENV="production"
On the wiki it says to migrate your DB to production, you can run: rake migrate RAILS_ENV="production" This is taken from: http://wiki.rubyonrails.com/rails/pages/UnderstandingMigrations My database is set up with correct MySQL permissions granted and the database.yml is pointing at it. I get no errors when I run it, but equally my production database does not change at all.
2010 Jun 16
2
how to call a function after 10 minutes or second?
Hi all, I have a problem. I want to call some function after every 10 minutes. But I don''t it. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2010 Dec 12
3
Toto blog date issue - production only, localhost fine
I have this listed in the Toto Issues list on Git and know that it is affecting one other person and so far no ideas... just want to throw it out here if anyone else has had the issue or better yet has a fix: I have a pretty stock instance of Toto. Locally I run it on thin and everything works. When I push it to heroku, the index loads but on every article, instead of showing the date in the
2013 Feb 06
5
rake db:migrate_plugins RAILS_ENV=production fails with "no such file to load -- initializer"
I''m running Redmine on Ruby, and attempting to load a new plugin. When I attempt to run the command: rake db:migrate_plugins RAILS_ENV=production It fails with this error: rake aborted! no such file to load -- initializer /var/www/redmine/config/boot.rb:65:in `require'' /var/www/redmine/config/boot.rb:65:in `load_initializer'' /var/www/redmine/config/boot.rb:43:in
2012 Aug 24
3
ActiveRecord storing arrays and hashes
Hi, When trying to store a Array or Hash to a string field, ActiveRecord automatically serializes them to yaml. If that''s so why is there a special option called serialize? -- Azhagu Selvan http://tamizhgeek.in -- 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
2011 Apr 07
3
Need help in changing data in production.
Hi everybody, I have to change a lot of data in production server and I don''t know what''s the best way to do it. To handle the permissions in the older version of my system I had two models: Group and Permision. class Group < ActiveRecord::Base has_many :actions end class Permission < ActiveRecord::Base belongs_to :group PERMISSION_NAMES = "..." end I
2011 Oct 24
9
ActiveRecord::ConnectionNotEstablished
Hello I am rather new to Ruby and have been following along with the book "Ruby On Rails 3 Tutorial - Learn Ruby by Example - by Michael Hartl". I am currently in Chapter 3 which discusses static pages. In this chapter, I entered the following command into the prompt: "rails generate controller Pages home contact" and everything worked fine. Then the book directs me to
2012 Nov 05
3
DragonFly Object not found in Production
could please anyone help me with this issue? http://stackoverflow.com/questions/13237954/object-not-found-in-production thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- 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