万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

2012-10-07から1日間の記事一覧

Rails jqueryのエラー

/script/rails g jquery:install すると deprecated You are using Rails 3.1 with the asset pipeline enabled, so this generator is not needed. The necessary files are already in your asset pipeline. Just add `//= require jquery` and `//= requi…

Rails で MongoDB を使ってみた。

参考:http://www.oiax.jp/rails/zakkan/rails_and_mongodb.html・Rails 3.2.8でハマったところconfig/initializers/mongoid.rb と config/database.mongo.yml は新規作成RAILS_ROOT → Rails.root.to_s RAILS_ENV → Rails.envconfig/environment.rb → Rails:…

Rails3.2.8で新規プロジェクト作成で言われた

Enter your password to install the bundled RubyGems to your system足りないgemをインストールするからパスワードを入れるってことっぽい。 ・さくらでもbitbacketからcloneできるように ssh-keygen -t rsa -C "メアド"

Railsでgccないぞーの応急処理

URL:http://loveless-ainakimono.seesaa.net/article/232323709.html使ってるMacOSはLionはあるけどMountainLionではない。シンボリックリンクを移す sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

rails generate scaffold 〜〜で怒られる

〜: warning: Insecure world writable dir /Developer/android-sdk-macosx in PATH, mode 040777 〜〜: warning: Insecure world writable dir /Developer/android-sdk-macosx in PATH, mode 040777権限が緩いとでる なんでAndroidSDKのフォルダまで見てる…