i dont see any error but, still when i run rails server it is showing the error There was an error while trying to load the gem 'uglifier' C:\Ruby21-x64\rails\firstapp>bundle install Using rake 11.2.2 Using i18n 0.7.0 Using json 1.8.3 Using minitest 5.9.0 Using thread_safe 0.3.5 Using builder 3.2.2 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using pkg-config 1.1.7 Using rack 1.6.4 Using mime-types-data 3.2016.0521 Using arel 6.0.3 Using debug_inspector 0.0.2 Using byebug 9.0.5 Using coffee-script-source 1.10.0 Using execjs 2.7.0 Using thor 0.19.1 Using concurrent-ruby 1.0.2 Using multi_json 1.12.1 Using bundler 1.12.5 Using sass 3.4.22 Using tilt 2.0.5 Using sqlite3 1.3.11 Using rdoc 4.2.2 Using tzinfo 1.2.2 Using nokogiri 1.6.8 Using rack-test 0.6.3 Using mime-types 3.1 Using binding_of_caller 0.7.2 Using coffee-script 2.4.1 Using uglifier 3.0.0 Using sprockets 3.6.0 Using sdoc 0.4.1 Using activesupport 4.2.6 Using tzinfo-data 1.2016.5 Using loofah 2.0.3 Using mail 2.6.4 Using rails-deprecated_sanitizer 1.0.3 Using globalid 0.3.6 Using activemodel 4.2.6 Using jbuilder 2.5.0 Using rails-html-sanitizer 1.0.3 Using rails-dom-testing 1.0.7 Using activejob 4.2.6 Using activerecord 4.2.6 Using actionview 4.2.6 Using actionpack 4.2.6 Using actionmailer 4.2.6 Using railties 4.2.6 Using sprockets-rails 3.0.4 Using coffee-rails 4.1.1 Using jquery-rails 4.1.1 Using rails 4.2.6 Using sass-rails 5.0.4 Using web-console 2.3.0 Using turbolinks 2.5.3 Bundle complete! 12 Gemfile dependencies, 56 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed.
C:\Ruby21-x64\rails\firstapp> On Monday, December 14, 2015 at 2:35:54 PM UTC+5:30, Colin Law wrote: > > On 14 December 2015 at 07:42, Fu Qiang Zhang <[email protected] > <javascript:>> wrote: > >> I am new to rails. >> >> >> After I setup *env :* >> >> <https://lh3.googleusercontent.com/-dHZwTLXY3yE/Vm5xFtHp13I/AAAAAAAAB7s/PhmgkuumaE4/s1600/2015-12-14_153429.png> >> 1. created first project with command *rails new firstrail* >> 2. Enter demo directory >> 3. run command *rails server* >> >> > >> >> Here, I got the *error* *:* >> >> >> <https://lh3.googleusercontent.com/-x_gudNvq7Qc/Vm5yAfZHTlI/AAAAAAAAB74/_J9_BzRtjU8/s1600/2015-12-14_153756.png> >> uglifier 2.7.2 was installed. I don't know how to fix this error. >> Does any know how to fix this ? >> *Please* help me out, thank you ! >> > > Do you see any errors if you run > bundle install > It should not have been necessary to run it manually as it is run > automatically when you do rails new, but perhaps there was an error that > you did not notice. It is necessary to re-run bundle if you change Gemfile. > > Otherwise then post the details of the error when you run the server > please. Copy/paste the full terminal output that you get when you run > rails s > > Colin > > -- 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/b915aced-0002-4f7a-a920-33d07e6a6025%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

