Ruby 1.9 Ramaze App Failing with Illegal instruction
Got it! Appropriately enough, the error was caused by a stack overflow.
Authlogic save causing 502 Bad Gateway error, Illegal Instruction in Rails console
This sounds like it's related to Ruby 1.9 Ramaze App Failing with “Illegal instruction”.
Jörg W Mittag said:
"Illegal instruction" is usually an error message from the CPU meaning some piece of binary code you tried to run contained an instruction that is not implemented on that particular CPU.
This can have multiple reasons:
- The binary was compiled with optimization settings for the wrong CPU. The CPU vendors add new instructions all the time, if the compiler optimizes for a CPU that is newer than the one you have, it might have emitted an instruction that your CPU doesn't understand.
- The compiler is broken.
- The binary is corrupted.
- The code you are compiling contains assembly code or intrinsics containing instructions that your CPU doesn't have.
The original question submitter Phil Kulak replied that he had found a stack overflow causing the error.
Windows 8 says database.db doesn't exist, but my ramaze app says it does 8 (works on Windows 7)
I fixed the problem by setting the compatibility mode for bin/ruby.exe
to Windows 7.
Related Topics
Return True Only If All Values Evaluate to True in Ruby
Openssl::Cipher::Ciphererror When Running Staging Db on Local
How to Get the File Creation Time in Ruby on Windows
-Bash: /Usr/Local/Bin/Heroku: /Usr/Local/Bin/Ruby: Bad Interpreter: No Such File or Directory
How to Access a Class Variable from the Outside in Ruby
Kaminari Undefined Method 'Total_Pages'
How to Dynamically Create Instance Methods at Runtime
Ruby Popen3 -- How to Repeatedly Write to Stdin & Read Stdout Without Re-Opening Process
When Is the Do Keyword Required in Ruby
Why Capypara + Rspect Tests Still Pass Even Though I Delete Application.Js File
Ruby- Delete a Value from Sorted (Unique) Array at O(Log N) Runtime
Find and Replace Specific Hash and It's Values Within Array
Can Nokogiri Use Single Quotes for Attributes on Saving Xml
Rspec Matcher That Checks Collection to Include Item That Satisfies Lambda