我正在使用Railside創建一個新的Rails項目。我在Mac上。找不到HOME環境
當我這樣做,我得到這個錯誤:
/Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/commands/application.rb:12:in `expand_path': couldn't find HOME environment -- expanding `~' (ArgumentError)
我試着這樣做:
set HOME=%HOMEPATH%
的更多信息:
from /Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/commands/application.rb:12:in `<top (required)>'
from /Users/justindomingue/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/justindomingue/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/cli.rb:15:in `<top (required)>'
from /Users/justindomingue/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/justindomingue/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/bin/rails:7:in `<top (required)>'
from /Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/bin/rails:19:in `load'
from /Users/justindomingue/.rvm/gems/ruby-1.9.3-p125/bin/rails:19:in `<main>'
當你在終端中做「echo〜」(不帶引號)時會發生什麼? – 2012-03-23 22:22:26
順便說一句,你可能想嘗試RubyMine或TextMate。很難相信他們正在將其作爲付費應用程序。它不僅僅是一個集成了文件瀏覽器的文本編輯器。 – 2012-03-23 22:24:09
我得到這個:/用戶/ justindomingue。實際上,我仍在嘗試演示版本,我還沒有付款。我確實喜歡文件組織(通過控制器,配置文件等) – 2012-03-23 22:37:59