Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy with Passenger #192

Merged
merged 1 commit into from May 5, 2015
Merged

Conversation

gabrielrios
Copy link
Contributor

I'm, with @ylluminate, trying to deploy a application we're working with passenger. As soon as we tried we got the following error: https://gist.github.com/ylluminate/981957a7c4b0c38a522c

As I tried to investigate this I found an old thread saying that REQUEST_PATH is a legacy variable on rack. So after going through the rack-spec:http://rack.rubyforge.org/doc/SPEC.html, I made the change so we use PATH_INFO instead.

With that simple change I managed to get the application deployed, right now its giving a different error:

Uncaught Error: ArgumentError: An error occurred while compiling: volt/extra_core/blank
invalid byte sequence in US-ASCII
  (in /home/user/apps/appname/dev/shared/bundle/ruby/2.1.0/bundler/gems/volt-15d9e7608a20/lib/volt/page/page.rb)(anonymous function) @ page.js:1
main.js:2 Uncaught ReferenceError: Opal is not defined

Haven't looked deep into this yet, but wanted to open this so we can talk about it.

@ryanstout
Copy link
Member

Thanks for the PR. What version of ruby are you using?

@gabrielrios
Copy link
Contributor Author

2.1.5

On Tue, May 5, 2015 at 4:44 PM, Ryan Stout notifications@github.com wrote:

Thanks for the PR. What version of ruby are you using?


Reply to this email directly or view it on GitHub
#192 (comment).

Gabriel Rios
+55 75 9129 6322
http://g http://about.me/gabrielriosabrielrios.me

@ryanstout
Copy link
Member

Are you seeing that error in the terminal? (not browser console?)

@gabrielrios
Copy link
Contributor Author

Browser console.

On Tue, May 5, 2015 at 4:57 PM, Ryan Stout notifications@github.com wrote:

Are you seeing that error in the terminal? (not browser console?)


Reply to this email directly or view it on GitHub
#192 (comment).

Gabriel Rios
+55 75 9129 6322
http://g http://about.me/gabrielriosabrielrios.me

@ryanstout
Copy link
Member

@gabrielrios and no errors in the terminal?

@gabrielrios
Copy link
Contributor Author

Right, no errors on terminal and just that on browser console.
volt/page/page.js looks like this (I bet you knew that already):

throw Error("ArgumentError: An error occurred while compiling: volt/extra_core/blank \
invalid byte \sequence in US-ASCII\ 
(in /home/user/apps/appname/dev/shared/bundle/ruby/2.1.0/bundler/gems/volt-15d9e7608a20/lib/volt/page/page.rb)")

@ryanstout ryanstout merged commit 15d9e76 into voltrb:master May 5, 2015
@gabrielrios gabrielrios deleted the fix-for-passenger branch May 5, 2015 22:45
@ylluminate
Copy link

From Hongli: phusion/passenger#1497 (comment)

@ylluminate
Copy link

I am mobile at the moment and can't look at this for the next couple days likely, but please feel free to chime in.

@ryanstout
Copy link
Member

yea, looks like there's a bug with websockets and apache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants