When we using Unix system for ror setup , we use therubyracer gem but 
therubyracer is not working on the windows platform. On windows platform 
use node-js.

Also other way is remove reuqire tree in application js file but this not 
correct way. 
 

On Monday, October 6, 2014 9:44:00 AM UTC+5:30, Juan Torres wrote:
>
> Hi, 
>  
>
> I am trying to setup RoR on my test developer node, and I have some 
> difficulties when I created my new application. I noticed that the “script” 
> directory is not created, which it does not allow me to start hosting the 
> web page. I installed the ExecJS, but the ruby still not finding the 
> JavaScript runtime. I was trying to install nodejs from RHEL 6 repository 
> but I have multiples RPMs which I am not sure which is the correct one. I 
> provided here some output errors for your review. Could you help me? Or Do 
> you know who could help me?
>
>  
>
>  
>
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
>
>  
>
> # ruby -v
>
> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
>
>  
>
> # rails -v
>
> Rails 4.1.6
>
>  
>
>  
>
> # gem list
>
>  
>
> *** LOCAL GEMS ***
>
>  
>
> actionmailer (4.1.6)
>
> actionpack (4.1.6)
>
> actionview (4.1.6)
>
> activemodel (4.1.6)
>
> activerecord (4.1.6)
>
> activesupport (4.1.6)
>
> arel (5.0.1.20140414130214)
>
> bcrypt (3.1.7)
>
> bigdecimal (1.2.4)
>
> builder (3.2.2)
>
> bundler (1.7.3)
>
> capistrano (3.2.1)
>
> capistrano-bundler (1.1.3)
>
> capistrano-rails (1.1.2)
>
> coffee-rails (4.0.1)
>
> coffee-script (2.3.0)
>
> coffee-script-source (1.8.0)
>
> colorize (0.7.3)
>
> columnize (0.8.9)
>
> debugger-linecache (1.2.0)
>
> debugger-ruby_core_source (1.3.5)
>
> erubis (2.7.0)
>
> execjs (2.2.1)
>
> hike (1.2.3)
>
> i18n (0.7.0.beta1, 0.6.11)
>
> io-console (0.4.2)
>
> java (0.0.2)
>
> jbuilder (2.1.3)
>
> jquery-rails (3.1.2)
>
> json (1.8.1)
>
> kgio (2.9.2)
>
> libv8 (3.16.14.7 x86_64-linux)
>
> mail (2.6.1)
>
> mime-types (2.3)
>
> minitest (5.4.2, 4.7.5)
>
> multi_json (1.10.1)
>
> mysql2 (0.3.16)
>
> net-scp (1.2.1)
>
> net-ssh (2.9.1)
>
> psych (2.0.5)
>
> rack (1.5.2)
>
> rack-test (0.6.2)
>
> rails (4.1.6)
>
> railties (4.1.6)
>
> raindrops (0.13.0)
>
> rake (10.3.2, 10.1.0)
>
> rdoc (4.1.2, 4.1.0)
>
> ref (1.0.5)
>
> rubygems-update (2.4.2)
>
> sass (3.2.19)
>
> sass-rails (4.0.3)
>
> sdoc (0.4.1)
>
> spring (1.1.3)
>
> sprockets (2.12.2, 2.11.0)
>
> sprockets-rails (2.1.4)
>
> sqlite3 (1.3.9)
>
> sshkit (1.5.1)
>
> test-unit (2.1.2.0)
>
> therubyracer (0.12.1)
>
> thor (0.19.1)
>
> thread_safe (0.3.4)
>
> tilt (1.4.1)
>
> turbolinks (2.4.0, 2.3.0)
>
> tzinfo (1.2.2)
>
> uglifier (2.5.3)
>
> unicorn (4.8.3)
>
>  
>
>  
>
>  
>
> # rails new contactlist
>
>       create
>
>       create  README.rdoc
>
>       create  Rakefile
>
>       create  config.ru
>
>       create  .gitignore
>
>       create  Gemfile
>
>       create  app
>
>       create  app/assets/javascripts/application.js
>
>       create  app/assets/stylesheets/application.css
>
>       create  app/controllers/application_controller.rb
>
>       create  app/helpers/application_helper.rb
>
>       create  app/views/layouts/application.html.erb
>
>       create  app/assets/images/.keep
>
>       create  app/mailers/.keep
>
>       create  app/models/.keep
>
>       create  app/controllers/concerns/.keep
>
>       create  app/models/concerns/.keep
>
>       create  bin
>
>       create  bin/bundle
>
>       create  bin/rails
>
>       create  bin/rake
>
>       create  config
>
>       create  config/routes.rb
>
>       create  config/application.rb
>
>       create  config/environment.rb
>
>       create  config/secrets.yml
>
>       create  config/environments
>
>       create  config/environments/development.rb
>
>       create  config/environments/production.rb
>
>       create  config/environments/test.rb
>
>       create  config/initializers
>
>       create  config/initializers/assets.rb
>
>       create  config/initializers/backtrace_silencers.rb
>
>       create  config/initializers/cookies_serializer.rb
>
>       create  config/initializers/filter_parameter_logging.rb
>
>       create  config/initializers/inflections.rb
>
>       create  config/initializers/mime_types.rb
>
>       create  config/initializers/session_store.rb
>
>       create  config/initializers/wrap_parameters.rb
>
>       create  config/locales
>
>       create  config/locales/en.yml
>
>       create  config/boot.rb
>
>       create  config/database.yml
>
>       create  db
>
>       create  db/seeds.rb
>
>       create  lib
>
>       create  lib/tasks
>
>       create  lib/tasks/.keep
>
>       create  lib/assets
>
>       create  lib/assets/.keep
>
>       create  log
>
>       create  log/.keep
>
>       create  public
>
>       create  public/404.html
>
>       create  public/422.html
>
>       create  public/500.html
>
>       create  public/favicon.ico
>
>       create  public/robots.txt
>
> IT DOES NOT CREATE THE SCRIPT DIRECTORY
>
>       create  test/fixtures
>
>       create  test/fixtures/.keep
>
>       create  test/controllers
>
>       create  test/controllers/.keep
>
>       create  test/mailers
>
>       create  test/mailers/.keep
>
>       create  test/models
>
>       create  test/models/.keep
>
>       create  test/helpers
>
>       create  test/helpers/.keep
>
>       create  test/integration
>
>       create  test/integration/.keep
>
>       create  test/test_helper.rb
>
>       create  tmp/cache
> ...

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e943431d-22a2-4ee3-a179-117cfca54148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to