I tried to work on tutorial but I got the error message when running
rango create project blog --models=post,tag,comment -- controllers=posts
luan@luan-laptop:~$ sudo /opt/ruby/bin/gem install simple-templater rango Successfully installed simple-templater-0.0.1.4 Successfully installed rango-0.2.1 2 gems installed Installing ri documentation for simple-templater-0.0.1.4... Installing ri documentation for rango-0.2.1... Installing RDoc documentation for simple-templater-0.0.1.4... Installing RDoc documentation for rango-0.2.1... luan@luan-laptop:~$ luan@luan-laptop:~$ luan@luan-laptop:~$ rango You have to install simple-templater first!
My question is that I already installed rango, why it said that I had to install simple-templater first?
The output you posted doesn't necessary mean you have it right, because you might have more Ruby installations and in case you don't have properly setup your $PATH you might call wrong rango script. I just tried, it works fine for me.
Jakub
On Jan 23, 9:44 pm, Luan <luan.n.ngu...@gmail.com> wrote:
> The output you posted doesn't necessary mean you have it right, > because you might have more Ruby installations and in case you don't > have properly setup your $PATH you might call wrong rango script. I > just tried, it works fine for me.
> Jakub
> On Jan 23, 9:44 pm, Luan <luan.n.ngu...@gmail.com> wrote:
> > Hi everyone,
> > I tried to work on tutorial but I got the error message when running
> > rango create project blog --models=post,tag,comment -- > > controllers=posts
> > luan@luan-laptop:~$ sudo /opt/ruby/bin/gem install simple-templater > > rango > > Successfully installed simple-templater-0.0.1.4 > > Successfully installed rango-0.2.1 > > 2 gems installed > > Installing ri documentation for simple-templater-0.0.1.4... > > Installing ri documentation for rango-0.2.1... > > Installing RDoc documentation for simple-templater-0.0.1.4... > > Installing RDoc documentation for rango-0.2.1... > > luan@luan-laptop:~$ > > luan@luan-laptop:~$ > > luan@luan-laptop:~$ rango > > You have to install simple-templater first!
> > My question is that I already installed rango, why it said that I had > > to install simple-templater first?
> > The output you posted doesn't necessary mean you have it right, > > because you might have more Ruby installations and in case you don't > > have properly setup your $PATH you might call wrong rango script. I > > just tried, it works fine for me.
> > Jakub
> > On Jan 23, 9:44 pm, Luan <luan.n.ngu...@gmail.com> wrote:
> > > Hi everyone,
> > > I tried to work on tutorial but I got the error message when running
> > > rango create project blog --models=post,tag,comment -- > > > controllers=posts
> > > luan@luan-laptop:~$ sudo /opt/ruby/bin/gem install simple-templater > > > rango > > > Successfully installed simple-templater-0.0.1.4 > > > Successfully installed rango-0.2.1 > > > 2 gems installed > > > Installing ri documentation for simple-templater-0.0.1.4... > > > Installing ri documentation for rango-0.2.1... > > > Installing RDoc documentation for simple-templater-0.0.1.4... > > > Installing RDoc documentation for rango-0.2.1... > > > luan@luan-laptop:~$ > > > luan@luan-laptop:~$ > > > luan@luan-laptop:~$ rango > > > You have to install simple-templater first!
> > > My question is that I already installed rango, why it said that I had > > > to install simple-templater first?
Thanks for your help again. Here is my ruby/gem/rango install
luan@luan-laptop:~/app/rango/tutorial$ which gem /opt/ruby/bin/gem luan@luan-laptop:~/app/rango/tutorial$ which ruby /opt/ruby/bin/ruby luan@luan-laptop:~/app/rango/tutorial$ which rango /opt/ruby/bin/rango
Then I installed rango as below
luan@luan-laptop:~$ sudo /opt/ruby/bin/gem install simple-templater rango [sudo] password for luan: [Version 0.0.1] Imported from Rango [Version 0.0.1] bin/simple-templater can generate a project or a stub [Version 0.0.1] it can find all gems with simple-templater.scope file in the root [Version 0.0.1] it has hooks running before & after templater [Version 0.0.1] it knows how to work with diff stubs [Version 0.0.1] it can have variables in file names of stub files [Version 0.0.1] it can have collections in file names of stub files [Version 0.0.1] it use Erubis for processing templates (all files ending with .rbt) [Version 0.0.1] it has context and hooks for interaction with user (ARGV/STDIN) Successfully installed simple-templater-0.0.1.5 Successfully installed rango-0.2.1 2 gems installed Installing ri documentation for simple-templater-0.0.1.5... Installing ri documentation for rango-0.2.1... Updating class cache with 1485 classes... Installing RDoc documentation for simple-templater-0.0.1.5... Installing RDoc documentation for rango-0.2.1... luan@luan-laptop:~$ ls
later I created a rango project as in tutorial
luan@luan-laptop:~/app/rango/tutorial$ luan@luan-laptop:~/app/rango/tutorial$ rango create project blog -- models=post,tag,comment --controllers=postsYou have to install simple- templater first! luan@luan-laptop:~/app/rango/tutorial$
Thanks for all the help!
Luan
On Jan 24, 2:09 pm, botanicus <stas...@101ideas.cz> wrote:
> > > The output you posted doesn't necessary mean you have it right, > > > because you might have more Ruby installations and in case you don't > > > have properly setup your $PATH you might call wrong rango script. I > > > just tried, it works fine for me.
> > > Jakub
> > > On Jan 23, 9:44 pm, Luan <luan.n.ngu...@gmail.com> wrote:
> > > > Hi everyone,
> > > > I tried to work on tutorial but I got the error message when running
> > > > rango create project blog --models=post,tag,comment -- > > > > controllers=posts
> > > > luan@luan-laptop:~$ sudo /opt/ruby/bin/gem install simple-templater > > > > rango > > > > Successfully installed simple-templater-0.0.1.4 > > > > Successfully installed rango-0.2.1 > > > > 2 gems installed > > > > Installing ri documentation for simple-templater-0.0.1.4... > > > > Installing ri documentation for rango-0.2.1... > > > > Installing RDoc documentation for simple-templater-0.0.1.4... > > > > Installing RDoc documentation for rango-0.2.1... > > > > luan@luan-laptop:~$ > > > > luan@luan-laptop:~$ > > > > luan@luan-laptop:~$ rango > > > > You have to install simple-templater first!
> > > > My question is that I already installed rango, why it said that I had > > > > to install simple-templater first?