Hi Ryan,
Is it still the norm to change environment.rb or should we be doing this in the initializers?
Cheers,
Aditya
Minor thing: you can do RAILS_ENV=test instead of RAILS_ENV='test'.
@Aditya, anything that uses "config" I like to keep in the environment.rb. Anything that doesn't (where you can specify it after the config) then move that into an initializer.
@Henrik, yeah, my quote finger was a little twitchy last night it seems. ;)
Another great rails cast!
Could you do some on ActionMailer?
@Andrew - ActionMailer is good described in Agile Webdevelopment.
Ryan, as always great videos. Loved the 2.1 updates. I've recently been using config.gem and I think I found a problem using it with BlueCloth: http://railsforum.com/viewtopic.php?id=18850
Any idea whats going on here?
Thanks for another great screencast. I just came across a gem's instructions to use:
:version => '~> 2.3.2'
What does ~> mean?
Nevermind, there was an explanation:
gem 'mislav-will_paginate', '~>2.1'
# this will load any 2.x version
#(greater or equal to 2.1),
# but not 3.x
I am currently using mislav-will_paginate gem.
When I give it in environment.rb, it shows me 'mislav-will_paginate' file not found. I have given the proper version and source. Still it shows me the same error. How can I get rid of this error?
I'd love to see how to make a gem plugin, similar to how you made a normal plugin in episode 33!
@madan, I had the same problem with a number of gems. It happens when the library module you're going to use is named differently from the gem. For example if you say
config.gem 'chardet'
=> rake can install the gem, but not unpack it, and rails gives the error
no such file to load -- chardet
and script/about gives the error
These gems that this application depends on are missing:
- chardet
To avoid this, you have to specify the name of the module:
config.gem 'chardet', :lib=>'UniversalDetector'
config.gem "mislav-will_paginate", :lib => "will_paginate"
see http://rails.lighthouseapp.com/projects/8994/tickets/293-gem-dependencies-broken-in-2-1-0
@jhxc
thanks for the explanation!
@ryan
you made me smile ;-)
Getting wrong number of arguments error, environment.rb:13
The rake gems:install command is very useful.
Great screencast again - thank you.
excellent stuff, helped out my cms setup.
love the capistrano stuff, will simplify things greatly ;-)
en güzel evden eve nakliyat firmaları <a href="http://www.evdenevenakliyatt.org/" title="evden eve nakliyat">evden eve nakliyat</a> ev nakli
evden eve nakliyat taşımacılık<a href="http://www.evdenevenakliyatt.biz/" title="evden eve nakliyat">evden eve nakliyat</a> evden eve nakliyat
evden eve nakliye nakliyat <a href="http://www.cerkezkoynakliyat.com/" title="evden eve nakliyat">evden eve nakliyat</a>
<a href="http://www.cerkezkoynakliyat.com/" title="evden eve nakliyat">evden eve nakliyat</a>
<a href=" http://izmir.ankara-nakliyat-firmalari.com/" alt="evden eve nakliyat"> evden eve nakliyat</a>
<a href="http://www.evdenevenakliyatt.biz/" class="menu" target="_blank"><font color="#FFFFFF">evden eve nakliyat</font></a>
<A href="http://aichi.awdccs.com/">出会い愛知</A><A href="http://akita.awdccs.com/">出会い秋田</A><A href="http://aomori.awdccs.com/">出会い青森</A><A href="http://chiba.awdccs.com/">出会い千葉</A><A href="http://ehime.awdccs.com/">出会い愛媛</A><A href="http://fukui.awdccs.com/">出会い福井</A><A href="http://fukuoka.awdccs.com/">出会い福岡</A><A href="http://fukushima.awdccs.com/">出会い福島</A><A href="http://gifu.awdccs.com/">出会い岐阜</A><A href="http://gunma.awdccs.com/">出会い群馬</A><A href="http://hiroshima.awdccs.com/">出会い広島</A><A href="http://hokaidou.awdccs.com/">出会い北海道</A><A href="http://hyogo.awdccs.com/">出会い兵庫</A><A href="http://ibaragi.awdccs.com/">出会い茨城</A><A href="http://ishikawa.awdccs.com/">出会い石川</A><A href="http://iwate.awdccs.com/">出会い岩手</A><A href="http://kagawa.awdccs.com/">出会い香川</A><A href="http://kagoshima.awdccs.com/">出会い鹿児島</A><A href="http://kanagawa.awdccs.com /">出会い神奈川</A><A href="http://kouchi.awdccs.com/">出会い高知</A><A href="http://kumamoto.awdccs.com/">出会い熊本</A><A href="http://kyoto.awdccs.com /">出会い京都</A><A href="http://mie.awdccs.com/">出会い三重</A><A href="http://miyagi.awdccs.com/">出会い宮城</A><A href="http://miyazaki.awdccs.com/">出会い宮崎</A><A href="http://nagano.awdccs.com/">出会い長野</A><A href="http://nagasaki.awdccs.com/">出会い長崎</A><A href="http://nara.awdccs.com/">出会い奈良</A><A href="http://niigata.awdccs.com/">出会い新潟</A><A href="http://oita.awdccs.com/">出会い大分</A><A href="http://okayama.awdccs.com/">出会い岡山</A><A href="http://okinawa.awdccs.com/">出会い沖縄</A><A href="http://oosaka.awdccs.com/">出会い大阪</A><A href="http://saga.awdccs.com/">出会い佐賀</A><A href="http://saitama.awdccs.com/">出会い埼玉</A><A href="http://shiga.awdccs.com/">出会い滋賀</A><A href="http://shimane.awdccs.com/">出会い島根</A><A href="http://shizuoka.awdccs.com/">出会い静岡</A><A href="http://tochigi.awdccs.com/">出会い栃木</A><A href="http://tokushima.awdccs.com/">出会い徳島</A><A href="http://tokyo.awdccs.com/">出会い東京</A><A href="http://tottori.awdccs.com/">出会い鳥取</A><A href="http://toyama.awdccs.com/">出会い富山</A><A href="http://wakayama.awdccs.com/">出会い和歌山</A><A href="http://yamagata.awdccs.com/">出会い山形</A><A href="http://yamaguchi.awdccs.com/">出会い山口</A><A href="http://yamanashi.awdccs.com/">出会い山梨</A><A href="http://kitakyuusyuu.awdccs.com/">出会い北九州</A><A href="http://shimonoseki.awdccs.com/">出会い下関</A><A href="http://11-counter.com/">アクセスカウンター</A>
www.aypearl.com engaged in wholesale jewelry,handmade jewelry,,discount jewelry,fashion_jewelry_wholesale,fashion jewelry,bridal jewelry,costume jewelry,pearl jewelry,jewelry wholesale,china jewelry supplier,wholesale beads,freshwater pearl jewelry,freshwater pearl jewelry,semiprecious jewelry,gemstone jewelry,turquoise jewelry,shell jewelry,coral jewelry,,swarovski jewelry


