WebFaction
Community site: login faq

First, thanks for adding the most recent version of Rails 3.2 with Ruby 1.9.3. You rock.

However, it doesn't work for me after I install that app, add it to a website, then ssh in and go through your instructions:

export PATH=$PWD/bin:$PATH
export RUBYLIB=$PWD/lib
export GEM_HOME=$PWD/gems

bundle (I make sure to enable the js runtime)
rake db:create
rake db:migrate

bin/restart

I still cannot see any thing dynamic. (That is, if I click on the "About your application’s environment" link, it errors out).

What am I doing wrong to just get the demo app working properly?

Thank you,

Flaviu Simihaian

asked 22 Feb '12, 16:00

closedbracket
122
accept rate: 0%

To add a little more information, it does work as expected if I add "rails_env development;" to the nginx configuration.

However, how can I get it working in production mode? If I generate a scaffold, it works in development, but it errors out in production...any ideas?

(22 Feb '12, 16:09) closedbracket

Hi, The "About your application's environment" link errors out because the route is not defined in production environment. If you enable errors in production.rb, you should be able to see that.

The Rails installer simply installs the necessary software to work with Rails in your account - it's up to you to configure it.

permanent link

answered 23 Feb '12, 03:13

todork
1.2k4
accept rate: 34%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×108
×81
×25

question asked: 22 Feb '12, 16:00

question was seen: 2,946 times

last updated: 23 Feb '12, 03:13

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM