Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Wang Donghui yakzmoz2014

🏠
Working from home
View GitHub Profile
View press.one
https://press.one/p/v?s=4485773c354da5e0102fa3df869a957792327514ab94bc60fbd1490e7ebd8bc0080fb7d61691c42cc4d157c2dd1f81a4af7ed08de82aa7f905074a6f9afbbf261&h=687d6fe1f86570a68f24b8090e800342aa75f0f96423016a7e95c28c0a09a58d&a=460a67ca4353ca58f063b4851d98f124ab4a0f61&f=P1&v=3
@yakzmoz2014
yakzmoz2014 / Topic创建记录
Created Jan 10, 2017
创建topic时报错后重新操作的提示(第二课,第二遍)
View Topic创建记录
Last login: Tue Jan 10 10:35:35 on ttys001
MacBook-Pro:~ wangdonghui$ cd railsbridge2
MacBook-Pro:railsbridge2 wangdonghui$ cd myOwnPractice01
MacBook-Pro:myOwnPractice01 wangdonghui$ git status
On branch master
nothing to commit, working tree clean
MacBook-Pro:myOwnPractice01 wangdonghui$ rails generate scaffold topic title:string description:text
/Users/wangdonghui/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/Users/wangdonghui/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
/Users/wangdonghui/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated
@yakzmoz2014
yakzmoz2014 / 使用了删除目录重装后的界面
Created Jan 9, 2017
sudo rm -Rf /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems
View 使用了删除目录重装后的界面
Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/cdesc-TimezoneOffset.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/dst%3f-i.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/eql%3f-i.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/hash-i.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/inspect-i.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/new-c.ri: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/doc/tzinfo-1.2.2/ri/TZInfo/TimezoneOffset/std_offset-i.ri: Permission denied
rm: /Users/wangdongh
View 使用rvm reinstall 2.3.1 后的代码
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/bin/test.tt: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/bin: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/config/routes.rb: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/config: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/Gemfile: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/gitignore: Permission denied
rm: /Users/wangdonghui/.rvm/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/r
You can’t perform that action at this time.