piston switch returns uninitialized constant Piston::Commands::Switch

10 views
Skip to first unread message

Jim

unread,
Dec 14, 2009, 12:59:36 AM12/14/09
to Piston
I'm using piston 2.0.7 on OS X (10.6), running Ruby 1.9.1 --
attempting to switch a piston-managed directory in a svn repo. I'm
getting the following errors:

powerpress > piston switch http://svn.wp-plugins.org/powerpress/trunk
./
DEPRECATION WARNING: require "activesupport" is deprecated and will be
removed in Rails 3. Use require "active_support" instead.. (called
from <top (required)> at /usr/local/lib/ruby/gems/1.9.1/gems/
activesupport-2.3.5/lib/activesupport.rb:2)
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:440:in `rescue in
load_missing_constant': uninitialized constant
Piston::Commands::Switch (NameError)
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:436:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:80:in `const_missing_with_dependencies'
from /usr/local/lib/ruby/gems/1.9.1/gems/piston-2.0.7/lib/piston/
cli.rb:66:in `const_get'
from /usr/local/lib/ruby/gems/1.9.1/gems/piston-2.0.7/lib/piston/
cli.rb:66:in `start'
from /usr/local/lib/ruby/gems/1.9.1/gems/piston-2.0.7/lib/piston/
cli.rb:121:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/piston-2.0.7/bin/piston:5:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/piston-2.0.7/bin/piston:5:in
`<top (required)>'
from /usr/local/bin/piston:19:in `load'
from /usr/local/bin/piston:19:in `<main>'

I have the same issue with another machine running OS X 10.5.6/Ruby
1.8.6. I've updated my gems, set the ARCHFLAGS properly (sometimes an
OS X bugaboo), I've googled to high heaven, and am a little stuck. I'd
be grateful for any recommendations or ideas.

Thanks in advance.

J.
Reply all
Reply to author
Forward
0 new messages