Excusme, i don't know if you see the message error:

/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:222:
 
warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 
042777
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:222:
 
warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 
042777
/usr/local/rvm/gems/ruby-2.1.2/gems/execjs-2.2.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 
/usr/local/rvm/gems/ruby-2.1.2/gems/execjs-2.2.2/lib/execjs.rb:5:in 
`<module:ExecJS>'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/execjs-2.2.2/lib/execjs.rb:4:in `<top 
(required)>'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/uglifier-2.7.0/lib/uglifier.rb:3:in 
`require'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/uglifier-2.7.0/lib/uglifier.rb:3:in 
`<top (required)>'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:76:in
 
`require'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:76:in
 
`block (2 levels) in require'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:72:in
 
`each'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:72:in
 
`block in require'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:61:in
 
`each'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler/runtime.rb:61:in
 
`require'
    from 
/usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler.rb:133:in 
`require'
    from /home/ieconsultores/prueba2/config/application.rb:7:in `<top 
(required)>'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:79:in
 
`require'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:79:in
 
`block in server'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:76:in
 
`tap'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:76:in
 
`server'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:40:in
 
`run_command!'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/railties-4.1.8/lib/rails/commands.rb:17:in 
`<top (required)>'
    from /home/ieconsultores/prueba2/bin/rails:8:in `require'
    from /home/ieconsultores/prueba2/bin/rails:8:in `<top (required)>'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/client/rails.rb:27:in
 
`load'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/client/rails.rb:27:in
 
`call'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/client/command.rb:7:in
 
`call'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/client.rb:26:in 
`run'
    from /usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/bin/spring:48:in 
`<top (required)>'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/binstub.rb:11:in 
`load'
    from 
/usr/local/rvm/gems/ruby-2.1.2/gems/spring-1.2.0/lib/spring/binstub.rb:11:in 
`<top (required)>'
    from /home/ieconsultores/prueba2/bin/spring:16:in `require'
    from /home/ieconsultores/prueba2/bin/spring:16:in `<top (required)>'
    from bin/rails:3:in `load'
    from bin/rails:3:in `<main>'



El miércoles, 28 de enero de 2015, 0:00:35 (UTC-5), Nanduchocom escribió:
>
> I use the command and next execute the app prueba2
>
> rails server
>
> And appear the next message:
>
> which means you are not using RVM ruby properly, in "prueba2" directory 
> please run:
>
>     rvm use ruby-2.1.2 &&
>     bundle install
>
> Thank you very much
> Fernando Torres
>
>
> El martes, 27 de enero de 2015, 17:59:14 (UTC-5), Michał Papis escribió:
>>
>> your ruby is:
>>
>> > ruby -v
>> > ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
>>
>> but rails new prints:
>>
>> > 
>> /usr/local/rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.7/lib/bundler.rb:301: 
>> warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 
>> 042777
>>
>> which means you are not using RVM ruby properly, in "prueba2" directory 
>> please run:
>>
>>     rvm use ruby-2.1.2 &&
>>     bundle install
>>
>> if there are any instructions printed on the way make sure to follow them 
>> and try repeating till it works
>>
>>

-- 
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/41fd9ca6-d53a-4d8b-a1d1-0cfda9b36179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to