Installation of piston

40 views
Skip to first unread message

Offirmo

unread,
Jan 21, 2011, 11:01:02 AM1/21/11
to Piston
Hello,

I discovered piston and thought it could be useful.

I installed it via my gemfile : gem "piston"

But when I try to use it, I find it doesn't behave at all like
advertised on the piston page. For example, there is no "import"
command. I wonder if I really got the proper gem.

Additionnal infos :
gem list :
...
piston (2.0.9)
...

piston --help :
Usage: piston COMMAND [options]
-r, --revision REVISION Revision to operate on
--commit TREEISH Commit to operate on
--repository-type TYPE Force selection of a repository
handler (git or svn)
--lock Lock down the revision against
mass-updates
--show-updates Query the remote repository for
out-of-dateness information
--force Force the operation to go ahead
--dry-run Run but do not change anything
-q, --quiet Operate silently
-v, --verbose [LEVEL] Increase verbosity (default 0)

piston import git://github.com/vhochstein/active_scaffold.git vendor/
plugins/active_scaffold
/usr/local/rvm/gems/ruby-1.9.2-p136/gems/piston-2.0.9/lib/piston/
cli.rb:66:in `start': undefined method `camelize' for "import":String
(NoMethodError)
from /usr/local/rvm/gems/ruby-1.9.2-p136/gems/piston-2.0.9/lib/
piston/cli.rb:121:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/local/rvm/gems/ruby-1.9.2-p136/gems/piston-2.0.9/bin/
piston:5:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p136/bin/piston:19:in
`load'
from /usr/local/rvm/gems/ruby-1.9.2-p136/bin/piston:19:in
`<main>'

Any advice ?

François Beausoleil

unread,
Jan 21, 2011, 11:07:58 AM1/21/11
to piston-d...@googlegroups.com
Hi,

Piston was built in the 1.8 days: it's unknown (and apparently doesn't work) under 1.9.

It shouldn't be too hard to make it work under 1.9 though, and I would value such a contribution.

Thanks,
François

> --
> You received this message because you are subscribed to the Google Groups "Piston" group.
> To post to this group, send email to piston-d...@googlegroups.com.
> To unsubscribe from this group, send email to piston-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/piston-discussion?hl=en.
>

Reply all
Reply to author
Forward
0 new messages