ruby 1.9.1 & resource_controller

9 views
Skip to first unread message

David Beckwith

unread,
Mar 28, 2009, 8:09:08 AM3/28/09
to resource_controller
Hello,

Is resource_controller 1.9.1 compatible? What's the best way to
install r_c if you're on 1.9.1?

Here is what I did:

1. sudo gem install resource_controller
2. in environment.rb put config.gem "resource_controller"

And I got a Phusion passenger error:

no such file to load -- application (MissingSourceFile)

Trace from Passenger:
http://pastie.org/429763

Trace from /var/log/apache2/error.log
http://pastie.org/429765

Any help with this would be greatly appreciated! Thank you,
David :)













James Golick

unread,
Mar 28, 2009, 8:56:36 AM3/28/09
to resource_...@googlegroups.com
Install the latest gem from github: giraffesoft-resource_controller... that will help with this issue.

I haven't tested it on 1.9, tho, so, I'm excited to hear what you find! :-)

David Beckwith

unread,
Mar 28, 2009, 9:04:27 AM3/28/09
to resource_controller
Hi James.

I compiled it from the *.gemspec file:

gem build gemspec

then did

sudo gem install *.gem


I have a minimal application up running on Rails 2.3.2 and the
latest Phusion Passenger with an "examples_controller" that I
generated from

script/generate scaffold_resource example name:string

and I have config.gem "resource_controller" in the environment.rb
file. I reloaded the page /examples (which was working before) and
got the error below. Do you have any insights as to what I can try
next?


NameError in ExamplesController#index


uninitialized constant ExamplesController::ActionOptions

RAILS_ROOT: /home/david/Sites/azurrofashion.com/
azurro_freshly_generated
Application Trace | Framework Trace | Full Trace

/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:105:in `rescue in const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:94:in `const_missing'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:14:in `block (2 levels) in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `each'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `block in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `include'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `resource_controller'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `block in inherited'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `inherited'
/home/david/Sites/azurrofashion.com/azurro_freshly_generated/app/
controllers/examples_controller.rb:1:in `'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `block in load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:379:in `load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:259:in `require_or_load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:425:in `load_missing_constant'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:92:in `const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `const_get'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `block in constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/core_ext/string/inflections.rb:162:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:439:in `recognize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:432:in `call'

/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:105:in `rescue in const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:94:in `const_missing'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:14:in `block (2 levels) in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `each'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `block in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `include'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `resource_controller'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `block in inherited'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `inherited'
/home/david/Sites/azurrofashion.com/azurro_freshly_generated/app/
controllers/examples_controller.rb:1:in `'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `block in load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:379:in `load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:259:in `require_or_load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:425:in `load_missing_constant'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:92:in `const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `const_get'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `block in constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/core_ext/string/inflections.rb:162:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:439:in `recognize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:432:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:88:in `dispatch'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:111:in `_call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:82:in `block in initialize'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:29:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:29:in `block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:9:in `cache'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:28:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/head.rb:9:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/params_parser.rb:15:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/rewindable_input.rb:25:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/session/cookie_store.rb:93:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/reloader.rb:9:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/failsafe.rb:11:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/lock.rb:11:in `block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:106:in `call'

/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:105:in `rescue in const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:94:in `const_missing'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:14:in `block (2 levels) in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `each'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:13:in `block in included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/controller.rb:4:in `included'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `include'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller.rb:17:in `resource_controller'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `block in inherited'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `class_eval'
/home/david/.gem/ruby/1.9.1/gems/resource_controller-0.5.6/lib/
resource_controller/base.rb:12:in `inherited'
/home/david/Sites/azurrofashion.com/azurro_freshly_generated/app/
controllers/examples_controller.rb:1:in `'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:380:in `block in load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:379:in `load_file'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:259:in `require_or_load'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:425:in `load_missing_constant'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:92:in `const_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `const_get'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:372:in `block in constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/inflector.rb:371:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/
active_support/core_ext/string/inflections.rb:162:in `constantize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:439:in `recognize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/routing/route_set.rb:432:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:88:in `dispatch'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:111:in `_call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:82:in `block in initialize'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:29:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:29:in `block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:9:in `cache'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/query_cache.rb:28:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/
active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/head.rb:9:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/params_parser.rb:15:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/rewindable_input.rb:25:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/session/cookie_store.rb:93:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/reloader.rb:9:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/failsafe.rb:11:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/lock.rb:11:in `block in call'
:8:in `synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib/
action_controller/dispatcher.rb:106:in `call'
/root/downloads/passenger/passenger/lib/phusion_passenger/rack/
request_handler.rb:65:in `process_request'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_request_handler.rb:197:in `main_loop'
/root/downloads/passenger/passenger/lib/phusion_passenger/railz/
application_spawner.rb:335:in `start_request_handler'
/root/downloads/passenger/passenger/lib/phusion_passenger/railz/
application_spawner.rb:293:in `block in handle_spawn_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/utils.rb:
176:in `safe_fork'
/root/downloads/passenger/passenger/lib/phusion_passenger/railz/
application_spawner.rb:291:in `handle_spawn_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server.rb:332:in `main_loop'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server.rb:182:in `start_synchronously'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server.rb:149:in `start'
/root/downloads/passenger/passenger/lib/phusion_passenger/railz/
application_spawner.rb:187:in `start'
/root/downloads/passenger/passenger/lib/phusion_passenger/
spawn_manager.rb:252:in `block (2 levels) in spawn_rails_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server_collection.rb:121:in `lookup_or_add'
/root/downloads/passenger/passenger/lib/phusion_passenger/
spawn_manager.rb:246:in `block in spawn_rails_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server_collection.rb:75:in `block in synchronize'
:8:in `synchronize'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server_collection.rb:74:in `synchronize'
/root/downloads/passenger/passenger/lib/phusion_passenger/
spawn_manager.rb:245:in `spawn_rails_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
spawn_manager.rb:148:in `spawn_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
spawn_manager.rb:277:in `handle_spawn_application'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server.rb:332:in `main_loop'
/root/downloads/passenger/passenger/lib/phusion_passenger/
abstract_server.rb:182:in `start_synchronously'
/root/downloads/passenger/passenger/bin/passenger-spawn-server:50:in
`'

Request

Parameters:

None

Show session dump

---

Response

Headers:

{"Cache-Control"=>"no-cache",
"Content-Type"=>""}




On Mar 28, 8:56 pm, James Golick <jamesgol...@gmail.com> wrote:
> Install the latest gem from github: giraffesoft-resource_controller... that
> will help with this issue.
> I haven't tested it on 1.9, tho, so, I'm excited to hear what you find! :-)
>

James Golick

unread,
Mar 28, 2009, 9:06:56 AM3/28/09
to resource_...@googlegroups.com
Yup - just edit the code that refers directly to ActionOptions and FailableActionOptions to refer to ResourceController::ActionOptions. People have had the same issue with JRuby. I've got a patch for it, which I'm planning to apply shortly.

David Beckwith

unread,
Mar 28, 2009, 10:47:16 AM3/28/09
to resource_controller
It worked! Beautiful! Thanks!



On Mar 28, 9:06 pm, James Golick <jamesgol...@gmail.com> wrote:
> Yup - just edit the code that refers directly to ActionOptions and
> FailableActionOptions to refer to ResourceController::ActionOptions. People
> have had the same issue with JRuby. I've got a patch for it, which I'm
> planning to apply shortly.
>
> ...
>
> read more »

James Golick

unread,
Mar 28, 2009, 10:54:11 AM3/28/09
to resource_...@googlegroups.com
David, does that mean that r_c is 1.9 compatible? :-D

Sean Schofield

unread,
Mar 28, 2009, 3:53:08 PM3/28/09
to resource_...@googlegroups.com
Inquiring minds want to know.

David Beckwith

unread,
Mar 28, 2009, 10:17:34 PM3/28/09
to resource_controller
I think so. Cuz I'm installing it on my production server right
now..... How do you run the tests?

James Golick

unread,
Mar 28, 2009, 10:23:23 PM3/28/09
to resource_...@googlegroups.com
A simple rake should do it. Please keep us in the loop!

J.

Sent from my iPhone.

On 28-Mar-09, at 10:17 PM, David Beckwith <dbitso...@gmail.com>
wrote:

David Beckwith

unread,
Mar 29, 2009, 3:25:19 AM3/29/09
to resource_controller
James,

I'm sorry. I am having trouble setting up Rails 2.3.0 so i couldn't
run the tests, but my application seems to be working....

gem install -v 2.3.0 rails

That gem command isn't working for me using rails 1.9.1 and I don't
know how to build the gems from scratch for that github rails-rails
repository.

Do you know how?

David :\


On 29 Mar, 10:23, James Golick <jamesgol...@gmail.com> wrote:
> A simple rake should do it. Please keep us in the loop!
>
> J.
>
> Sent from my iPhone.
>
> On 28-Mar-09, at 10:17 PM, David Beckwith <dbitsoluti...@gmail.com>  

Sean Schofield

unread,
Mar 29, 2009, 8:44:17 AM3/29/09
to resource_...@googlegroups.com
Do you have multiple versions of Ruby installed or just 1.9.1?

Sean

David Beckwith

unread,
Mar 30, 2009, 5:35:01 AM3/30/09
to resource_controller
Only 1.9.1

Rick

unread,
Apr 3, 2009, 2:40:12 AM4/3/09
to resource_controller
Just a tip on rails 2.3.0 - it never was available via a standard "gem
install rails --version 2.3.0". It was just pushed out as a beta for
evaluation.

The command at the time was: "gem install rails --source
http://gems.rubyonrails.org".

You really want to be using rails v2.3.2 if you're wanting 2.3. "gem
install rails" will get it for you.
Reply all
Reply to author
Forward
0 new messages