Reputation: 3949
I have rails on a CENTOS 6.x VirtualBox guest with a Win7 host. I made a demo app and I can see the Welcome "You’re riding Ruby on Rails!" default page from the host browser. However, when I do
demo> rails generate controller Say hello goodbye
I get "something went wrong" when I navigate to .../Say/hello
I also notice that I get a "something went wrong" message inside the element of the "About your application's environment" page linked off the Welcome index.
I have:
Upvotes: 0
Views: 124
Reputation: 17735
The message "something went wrong" is given in production mode, in development you should see the actual error and backtrace. Make sure to specify the environment in your Apache config with
RailsEnv 'development'
Upvotes: 3