Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
You have to install simple-templater first!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Luan  
View profile  
 More options Jan 23 2010, 4:44 pm
From: Luan <luan.n.ngu...@gmail.com>
Date: Sat, 23 Jan 2010 13:44:14 -0800 (PST)
Local: Sat, Jan 23 2010 4:44 pm
Subject: You have to install simple-templater first!
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?

Any ideas?

Thanks,
Luan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
botanicus  
View profile  
 More options Jan 24 2010, 12:25 pm
From: botanicus <stas...@101ideas.cz>
Date: Sun, 24 Jan 2010 09:25:40 -0800 (PST)
Local: Sun, Jan 24 2010 12:25 pm
Subject: Re: You have to install simple-templater first!
Hi Luan,

Rango doesn't have any dependencies, because you use just a subset of
Rango if you want to. I. e. http://github.com/botanicus/rango-in-rails
resp. http://github.com/botanicus/rango-in-merb use just templating
layer which obviously doesn't need simple-templater etc.

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luan  
View profile  
 More options Jan 24 2010, 2:58 pm
From: Luan <luan.n.ngu...@gmail.com>
Date: Sun, 24 Jan 2010 11:58:28 -0800 (PST)
Local: Sun, Jan 24 2010 2:58 pm
Subject: Re: You have to install simple-templater first!
Thanks Jakub,

When I do which rango, I got this

luan@luan-laptop:~$ which rango
/opt/ruby/bin/rango
luan@luan-laptop:~$

And I have ruby in my path

luan@luan-laptop:~$ cat .bash_profile
export OC4J_HOME=/opt/oc4j

export JAVA_HOME=/opt/java
export ECLIPSE_HOME=/opt/eclipse
export GROOVY_HOME=/opt/groovy

export GRAILS_HOME=/opt/grails
export TNS_ADMIN=/opt/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export RUBY_HOME=/opt/ruby

export NLS_LANG=AMERICAN_AMERICA.UTF8
export PATH=$ORACLE_HOME/bin:$RUBY_HOME/bin:$JAVA_HOME/bin:$OC4J_HOME/
bin:$ECLIPSE_HOME:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$PATH:~/.gem/ruby/
1.9.1/bin

export AWT_TOOLKIT=MToolkit

Thanks,
Luan

On Jan 24, 11:25 am, botanicus <stas...@101ideas.cz> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
botanicus  
View profile  
 More options Jan 24 2010, 3:09 pm
From: botanicus <stas...@101ideas.cz>
Date: Sun, 24 Jan 2010 12:09:21 -0800 (PST)
Local: Sun, Jan 24 2010 3:09 pm
Subject: Re: You have to install simple-templater first!
Well it doesn't mean anything actually, rather show me:

which gem
which ruby
which rango

On Jan 24, 7:58 pm, Luan <luan.n.ngu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luan  
View profile  
 More options Jan 28 2010, 11:13 pm
From: Luan <luan.n.ngu...@gmail.com>
Date: Thu, 28 Jan 2010 20:13:15 -0800 (PST)
Local: Thurs, Jan 28 2010 11:13 pm
Subject: Re: You have to install simple-templater first!
Hi Jakub,

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »