Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is "ruby script/plugin" a command?

I was following an online tutorial to create an Ruby on Rails application on App Engine.

There is one command which other people can run, but it didn't run on my Ubuntu 10.10:

ruby script/plugin install http://svn.avdi.org/nulldb/trunk/

When I try to run it, it complains: ruby1.8: No such file or directory script/plugin (LoadError)

What is wrong with my computer?

ruby  -v  ==> 1.8.7
rails -v  ==> 2.3.10  
gem   -v  ==> 1.3.7
like image 770
jojo Avatar asked Dec 08 '10 12:12

jojo


People also ask

What is script in Ruby?

Ruby can be used as an alternative scripting interface to build-in C++ Macros having the same Application Programming Interface (API). It is a regular extension module of Ruby for pure scripting without any graphical output and runs independent to the LayoutEditor application.


1 Answers

if using rails3, cd into your rails app root dir then use

rails plugin install http://url/of/your/package
like image 61
Sinclair Technology Solutions Avatar answered Sep 27 '22 17:09

Sinclair Technology Solutions