Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Jun 22, 2009, 12:11 AM

Post #1 of 14 (476 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2

Status: New
Owner: ----

New issue 501 by jalbertosl: Ruby on Rails wizzard doesnt works with rails
2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

What steps will reproduce the problem?
1.gem install rails
2.rails test
3.in wizzard use the path: /home/user/test

What is the expected output? What do you see instead?
I expected to cherokee accept the path as a RoR project. Instead it say
:"Directory doesn't look like a Ruby on Rails based project."

What version of the product are you using? On what operating system?
0.9.17 on Gentoo

Please provide any additional information below.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 22, 2009, 10:52 AM

Post #2 of 14 (455 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Updates:
Status: Accepted
Owner: alobbs
Labels: Type-Defect Priority-High OpSys-All Component-Admin

Comment #1 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

I have no idea why the projects misses the script/process/spawner file..
Any idea?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 1:29 AM

Post #3 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Updates:
Cc: gunnarwolfi

Comment #2 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Apparently, Rails 2.3.2 deprecated the script/process directory..

Installing irs_process_scripts is enough to fix the issue, although I
wonder whether we should rewrite the Wizard
in order to use a newer deployment method:

http://github.com/jsgarvin/irs_process_scripts/tree/master

I've never used Rails, some advice at this regard would be appreciated.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 1:36 AM

Post #4 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #3 on issue 501 by jalbertosl: Ruby on Rails wizzard doesnt works
with rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

That plugin is used for legacy compatibility, It's a solution, but maybe is
better
use other delpyment method maybe a look to (http://www.modrails.com/) rails
plugin
for ngingx and apache helps.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 1:55 AM

Post #5 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #4 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Does it mean that the standard way of deploying Rails is to use that thingy
rather than an standard protocol?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 2:09 AM

Post #6 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #5 on issue 501 by jalbertosl: Ruby on Rails wizzard doesnt works
with rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

lately yes. I'm new to rails so maybe i'm wrong:

since rails 2.3 rack is used
(http://guides.rubyonrails.org/rails_on_rack.html), rack
is an interface betwen rails and webserver so you can deploy rails app in a
easy way
(even non-rails, raw ruby apps). Passenger uses rack to do that i guess.
Passenger is opensource, so maybe you can have alook at the nginx plugin to
implement rack in cherokee or create a passanger plugin.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 2:34 AM

Post #7 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #6 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

I've just taken a look at the source code:
http://github.com/FooBarWidget/passenger/tree/master

As it couldn't be otherwise, that handy thingy uses SCGI underneath.. so,
now that you've ensured that there is
no magic powder involved, we will have to find a way to work around
the "deprecation" of the script/process
directory. I wonder why that directory got deprecated when, in some way or
other, everybody depends on it.

We could ship a copy of those missing files and let the user know about how
to copy them..
Do you guys have some other idea?

Gunnar, I'd love to know what you think before proceeding..

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 3:04 AM

Post #8 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #7 on issue 501 by jalbertosl: Ruby on Rails wizzard doesnt works
with rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

So it don't uses Rack at all?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 6:55 AM

Post #9 of 14 (452 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #8 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

- Rails 2.3 uses Rack (Ruby's equivalent of WSGI) rather than the previous
spawning method.
- "rake rails:update:generate_dispatchers" installs
public/{dispatch.cgi,dispatch.fcgi,dispatch.rb}

I've committed this patch to work around the problem, however we should
find a better solution. We shouldn't
force users to install those files..

http://svn.cherokee-project.com/changeset/3375

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 23, 2009, 5:54 PM

Post #10 of 14 (450 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #9 on issue 501 by gunnarwolfi: Ruby on Rails wizzard doesnt works
with rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Hi,

Sorry, I had not seen this thread up to now, even with Álvaro's explicit
reference to me.

I just set up the most basic 2.3.2 Rails application. I have a 2.2.2
systemwide
(Debian package) install, so it might be the culprit for the success:

$ cd /tmp
$ git clone git://github.com/rails/rails.git
$ cd rails
$ git checkout v2.3.2
$ cd ..
$ rails cuac
$ rm -rf cuac/vendor
$ mkdir cuac/vendor
$ mv rails cuac/vendor

Then added it via the wizard.

And it worked perfectly (well, as far as a non-application can work). I am
quoting
the reported application environment (/rails/info/properties):


Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.4
Rack version 1.0 bundled
Rails version 2.3.2
Active Record version 2.3.2
Action Pack version 2.3.2
Active Resource version 2.3.2
Action Mailer version 2.3.2
Active Support version 2.3.2
Edge Rails revision 73fc42cc0b5e94541480032c2941a50edd4080c2
Application root /tmp/cuac
Environment development
Database adapter sqlite3
Database schema version 0

As for the Rails way: Álvaro, the single thing that most pisses me off
about the
Rails community is that their definition of «stable» is «bleeding edge». I
have been
a Rails guy for ≈2yr, and the preferred deployment scheme has moved from
Apache+FCGI
to Apache+SCGI to Apache+Mongrel to Lighttpd+Mongrel to Apache+Passenger...
Well, at
least it means that the Next Big Thing can be Cherokee+whatever ☻

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 26, 2009, 7:53 AM

Post #11 of 14 (441 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Updates:
Status: Started

Comment #10 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Gunnar, is there some way to launch a SCGI server of a RoR project by using
Rackup? If so, we could get rid of
those deprecated dispatchers (rake rails:update:generate_dispatchers)..

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 26, 2009, 12:01 PM

Post #12 of 14 (439 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #11 on issue 501 by gunnarwolfi: Ruby on Rails wizzard doesnt works
with rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Umh, sure there is... Although I think SCGI is somewhat deprecated (I
started
packaging it a long time ago (even here!) but gave up because the it
looked dead
upstream, being Mongrel much favored.

Apparently, the project is back to life, but I would not bet much on it.
After all,
FCGI functionality is there already, and Cherokee really takes the pain off
it. Even
if it might require installing a simple dispatcher with newer Railses...

http://scgi.rubyforge.org/
http://lists.octality.com/pipermail/cherokee/2006-November/007722.html
http://scgi.rubyforge.org/files/LICENSE.html

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Jun 26, 2009, 12:19 PM

Post #13 of 14 (439 views)
Permalink
Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Comment #12 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

I haven't checked it deeply.. but, I far as I've seen passenger/nginx uses
SCGI, so I suppose that somehow Rack
support it by default:


http://github.com/FooBarWidget/passenger/tree/8ea38cba9759835c6ce2ad9a93bf5f72b86a2b6e/ext/nginx

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 1, 2009, 10:06 AM

Post #14 of 14 (41 views)
Permalink
Re: Issue 501 in cherokee: Ruby on Rails wizzard doesnt works with rails 2.3.2 [In reply to]

Updates:
Owner: tahers

Comment #14 on issue 501 by alobbs: Ruby on Rails wizzard doesnt works with
rails 2.3.2
http://code.google.com/p/cherokee/issues/detail?id=501

Taher, could you take care of this one?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.