3 posts tagged “aptana”
そうだよ!英語圏の人だってみんな使いにくいと思っているんじゃん!
誰だこんな変な機能入れたのは。
http://www.aptana.com/forums/viewtopic.php?p=13791
何を騒いでいるかというと昨日Aptana Studio1.0.2とRadRails最新版を入れたら
Rails ExplorerがなくなってRuby Explorerとか言う別の奴に置き換わってしまった。
それはいいのだがフォルダ/ファイルツリーの挙動が以前と変わった。
説明するのが面倒なので引用すると
Ruby Explorer - Double-Click File/Folder Hiding
Couldn't see anything in the preferences - is it possible to disable this feature?In case its not clear; when using the new(ish) ruby explorer if you double-click a folder it opens it and hides all other files/folders rather than just displaying all the files within it. You then need to click the back arrow to get back to the full listing.
レスとして・・・
There is no preference for that now, but I've opened a ticket for it: http://support.aptana.com/issues/browse/ROR-83
絶望した。使えない仕様に絶望した。
チケット見ると10分で直っている・・・。
はまり道その2。
http://dev.rubyonrails.org/ticket/8500にあるNoMethodErrorが出てプロジェクトを作成できない。
lib/rails_generator/options.rb:32:in `default_options': undefined method `write_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError)
なんかActiveSupportがロードできないようだ。
irbでrequireしてLoadErrorの内容を見ろというアドバイス。
You're missing some Ruby packages and it's preventing Active Support, which has write_inheritable_attribute, from loading.
Try
require 'rubygems' require 'activesupport'in irb and see whether it raises a LoadError.
が、activesupportなんてファイルはないと言われるorz
C:\InstantRails\rails_apps>irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'activesupport'
LoadError: no such file to load -- activesupport
from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from (irb):2
いきなりはまった。
・Aptana StudioだけではだめでRadRailsは別途インストールしなきゃいけない。
・RadRails入れただけではだめで、New Rails Projectしても空のフォルダしかできない。
■Ruby/Railsの初期設定
▼General > Workspace
・Text file encoding→Other:UTF-8
▼Preferences > Rails > Configration
・Rails path→C:\InstantRails\ruby\bin\rails
・Rake path→C:\InstantRails\ruby\bin\rake
▼Ruby>Installed Interpreters
・RubyVM home directory→C:\InstantRails\ruby\bin
後日本語化したかったのでhttp://d.hatena.ne.jp/hiro-ueda/20061203/p2を参考に日本語化した。
”-javaagent:c:/Program files/radrails/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar=default.splash”を radrails.ini に追加*1
の部分は、Aptana.iniの"-javaagent:C:/Program Files/Aptana/Aptana Studio/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar=default.splash"と読み替えた。