Hi,

I seem to be hitting some configuration errors every step of the tutorial. 
 IS there a way to check my config to see I have all that I need set up?

Now when I try:  bundle exec rake db:migrate

is get Error:   RVM Ruby not used, run 'rvm use 1.9.1' first

I'm not sure i understand the error. is should run: rvm use 1.9.1

...I'm persevering... :-)
nat


On Wednesday, 23 October 2013 14:37:32 UTC, Natmanu wrote:
>
> Hi,
>
> I just installed ROR using the rvm using these instructions:
> http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
>
> Using Ubuntu 12 on VirtualBox
>
> I'm trying to create a demo_app
>
> rails generate scaffold User name:string email:string
>
> gives me this error:
> --
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
>  
> `autodetect': Could not find a JavaScript runtime. See 
> https://github.com/sstephenson/execjs for a list of available runtimes. 
> (ExecJS::RuntimeUnavailable)
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs.rb:5:in 
> `<module:ExecJS>'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs.rb:4:in 
> `<top (required)>'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/uglifier-2.1.1/lib/uglifier.rb:3:in
>  
> `require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/uglifier-2.1.1/lib/uglifier.rb:3:in
>  
> `<top (required)>'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in
>  
> `require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in
>  
> `block (2 levels) in require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in
>  
> `each'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in
>  
> `block in require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in
>  
> `each'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in
>  
> `require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler.rb:132:in
>  
> `require'
>     from /home/natmanu/Sites/microblog/config/application.rb:7:in `<top 
> (required)>'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:44:in
>  
> `require'
>     from 
> /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:44:in
>  
> `<top (required)>'
>     from bin/rails:4:in `require'
>     from bin/rails:4:in `<main>'
>
> Any helpers?
>
> TIA NAT
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f52828b1-468c-4f51-a0de-73747e472411%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to