This file contains hidden or 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
@driver = Selenium::WebDriver.for :chrome |
This file contains hidden or 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
192:~ daipresents$ sudo gem install selenium-webdriver | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing selenium-webdriver: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | |
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h | |
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ffi-1.0.11 for inspection. |
This file contains hidden or 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
$ bash | |
$ export SVN_URL=http://daipresents.googlecode.com/svn |
This file contains hidden or 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
$ git push heroku master | |
Counting objects: 85, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (58/58), done. | |
Writing objects: 100% (68/68), 160.05 KiB | 141 KiB/s, done. | |
Total 68 (delta 24), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Removing .DS_Store files | |
-----> Ruby/Rails app detected |
This file contains hidden or 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
$ git push heroku master | |
Warning: Permanently added the RSA host key for IP address 'XX.XX.XX.XX' to the list of known hosts. | |
Permission denied (publickey). | |
fatal: The remote end hung up unexpectedly |
This file contains hidden or 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
$ rvm pkg install libyaml | |
Fetching yaml-0.1.4.tar.gz to /Users/yourname/.rvm/archives | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: | |
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed | |
More details here: http://curl.haxx.se/docs/sslcerts.html | |
curl performs SSL certificate verification by default, using a "bundle" |
This file contains hidden or 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
git clone https://github.com/textmate/textmate.git | |
cd textmate | |
git submodule update --init | |
./configure && ninja |
This file contains hidden or 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
$ export RAILS_ENV="production" |
This file contains hidden or 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
ActionView::TemplateError (Mysql::ProtocolError: invalid packet: sequence number mismatch(98 != 1(expected)): SELECT * FROM `settings` WHERE (`settings`.`name` = 'app_title') LIMIT 1) on line #5 of app/views/layouts/base.rhtml: |
This file contains hidden or 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
sudo gem install rubygems-update -v=1.3.7 | |
sudo gem uninstall rubygems-update # ここで古いrubygemsを消す | |
sudo sudo update_rubygems |