How can I create a Rails application from my local branch?
I can create the application, but cannot run script/console, for instance...
In the past I had to create some symbolic links, but I'm lost now...
Any light?
Thanks,
Rodrigo.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
`rails newapp --dev` will generate newapp with a Gemfile pointing at
your local Rails git clone.
Best,
jeremy
This option is indeed documented and Gemfile is actually pointing at my
local Rails branch.
script/console yields this error:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- rails (LoadError)
I tried to 'gem bundle' but I needed to 'gem install treetop' first.
Even after 'gem bundle' succeeded, the error persists... Any idea?
Thank you,
Rodrigo.
I have no idea why "--dev" option didn't work...
Thank you once more Jos�!
Rodrigo.
While there is no issue with the --edge option, it would appear that
the --dev option doesn't work anymore.
I thought perhaps it might be that a newer version of the bundler
removed this behaviour, or stopped working.
http://github.com/wycats/bundler/issues#issue/145
It looks like another way to get this working is detailed at
http://yehudakatz.com/2009/12/31/spinning-up-a-new-rails-app/ (note
the directory line)
So it might be good if --dev would do the following instead of
use :path
directory '/path/to/rails', :glob => '{*/,}*.gemspec'
gem "rails", "3.0.pre"
Also, while in development, it might be a good idea to add the
following, needed for every install:
gem 'rack', :git => 'git://github.com/rails/rack.git'
gem 'arel', :git => 'git://github.com/rails/arel.git'
Regards
Kieran
On Jan 1, 1:59 pm, Jeremy Kemper <jer...@bitsweat.net> wrote:
> On Thu, Dec 31, 2009 at 1:50 PM, Rodrigo Rosenfeld Rosas
>
jeremy