ruby - Rails returns a 500-error (Not sure why) -


I am trying to do the rail work, but whenever I try to create my own scene, this 500 error

So, where are I to follow the steps given here:

I have set Ruby in C.: Ruby I Installed: \ Ruby \ RubyGums-1.3.5 and ran Ruby setup.rb
In the cmd prompt, I got the railroad using the gem install rails President's .
I have created a project folder in C: \ Ruby, and it was navigated to CMD prompt at
CMD prompt, I ran Rail Project 1 , then CD Project 1
In the cmd prompt, I got the Ruby script / controller home index generated
at the CMD prompt, I went to ruby ​​script / server << i> << i> There are errors yet.

I go, and everything looks fine.
I have to navigate and get it:

We're sorry, but something went wrong.

We have been informed about this issue and we will see this one soon.

I do not have any clue why can I do some troubleshooting?

When you enter Rail project name config-file with a database of your application Is set to use the active record framework if you do not want to use a database, then just open:
\ config \ enviroment.rb
and Set the following line:
# config.frameworks - = [: Active_record,: active_resource,: action_mailer] to:
config.frameworks - = [: active_record]
CTRL + C, and then Ruby The crypt / server should solve the problem again.

As another suggestion has been given, take a look at \ log \ development.log to always know the reasons for such problems. I think you read something like this

  Status: No such file to load 500 internal server errors - sqlite3  

If you have your database Application, refer to this guide:


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -