This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ (ruby-1.9.2-p180@suga) sunago git:(three-oh) ✗ git pull --rebase | |
app/models/event.rb: needs update | |
app/views/checkin/_choose_event.html.erb: needs update | |
config/environment.rb: needs update | |
config/environments/development.rb: needs update | |
fatal: Unable to create '/Users/me/Dev/sunago/.git/index.lock': File exists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. libxml installed through brew | |
2. Error message | |
================================================================================= | |
HI. You're using libxml2 version 2.6.16 which is over 4 years old and has | |
plenty of bugs. We suggest that for maximum HTML/XML parsing pleasure, you | |
upgrade your version of libxml2 and re-install nokogiri. If you like using | |
libxml2 version 2.6.16, but don't like this warning, please define the constant | |
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 before requring nokogiri. | |
================================================================================= | |
3. Solution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install ruby-debug19 -- --with-ruby-include=$rvm_path/src/ruby-1.9.2-head/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Regular Expression to remove all html tags except <p> | |
<(?!\/?p(?=>|\s.*>))\/?.*?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# loading particular gemset | |
rvm ruby-1.8.7-p72@mbm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body{height:100%;} | |
.main-wrapper{min-height:100%;} | |
.footer-wrapper{height:120px;margin-top:-120px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :default_environment, { | |
'PATH' => "/home/deploy/.rvm/gems/ree-1.8.7-2010.02@pa/bin:/home/deploy/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/deploy/.rvm/rubies/ree-1.8.7-2010.02/bin:$PATH", | |
'RUBY_VERSION' => 'ree-1.8.7-2010.02', | |
'GEM_HOME' => '/home/deploy/.rvm/gems/ree-1.8.7-2010.02@pa', | |
'GEM_PATH' => '/home/deploy/.rvm/gems/ree-1.8.7-2010.02@pa:/home/deploy/.rvm/gems/ree-1.8.7-2010.02@global', | |
'BUNDLE_PATH' => '/home/deploy/.rvm/gems/ree-1.8.7-2010.02@pa' # If you are using bundler. | |
} |
NewerOlder