[CommunityEngine] Re: Rails4 Branch

2014-03-12 Thread Jeremias Santos
Able to resolve. The problem was that he had not seen the next step to 
create the file. Thank you.

Add a file called application_config.rb to your config directory. In it put 
(at least):



On Sunday, December 1, 2013 8:24:58 PM UTC-3, Bruno wrote:

 Hi all,
 Just wanted to let you know we now have a Rails4  (Ruby 2.0) compatible 
 branch with passing tests:

 https://github.com/bborn/communityengine/tree/rails4

 I'm not super-confident that this branch is without bugs yet, since I'm 
 not using it on any of my apps. I'd appreciate some help getting it tested 
 a little better.

 Thanks,
 Bruno


-- 
You received this message because you are subscribed to the Google Groups 
CommunityEngine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to communityengine+unsubscr...@googlegroups.com.
To post to this group, send email to communityengine@googlegroups.com.
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.


[CommunityEngine] Re: Rails4 Branch

2014-03-11 Thread Jeremias Santos
I created a new application with the rails and did the installation steps, 
but when I try to run bin / rake db: migrate I get the following error:

user@userNot:/opt/WORK/WorkRubyOnRails/CommunityEngine$ bin/rake db:migrate
rake aborted!
cannot load such file -- 
/opt/WORK/WorkRubyOnRails/CommunityEngine/config/application_config.rb
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`require'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`block in require'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in
 
`load_dependency'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`require'
/home/user/.rvm/gems/ruby-2.0.0-p353/bundler/gems/communityengine-624746ee915c/lib/community_engine/engine.rb:10:in
 
`block in class:Engine'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:30:in
 
`instance_exec'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:30:in
 
`run'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:55:in
 
`block in run_initializers'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`each'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`tsort_each_child'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`each'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`tsort_each_child'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`each'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:44:in
 
`tsort_each_child'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/initializable.rb:54:in
 
`run_initializers'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:215:in
 
`initialize!'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in
 
`method_missing'
/opt/WORK/WorkRubyOnRails/CommunityEngine/config/environment.rb:5:in `top 
(required)'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`require'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`block in require'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in
 
`load_dependency'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
 
`require'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:189:in
 
`require_environment!'
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.2/lib/rails/application.rb:250:in
 
`block in run_tasks_blocks'
Tasks: TOP = db:migrate = environment
(See full trace by running task with --trace)


What am I doing wrong?

Interestingly, the bundle install - without binstubs runs Normal presents 
errors.









On Sunday, December 1, 2013 8:24:58 PM UTC-3, Bruno wrote:

 Hi all,
 Just wanted to let you know we now have a Rails4  (Ruby 2.0) compatible 
 branch with passing tests:

 https://github.com/bborn/communityengine/tree/rails4

 I'm not super-confident that this branch is without bugs yet, since I'm 
 not using it on any of my apps. I'd appreciate some help getting it tested 
 a little better.

 Thanks,
 Bruno


-- 
You received this message because you are subscribed to the Google Groups 
CommunityEngine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to communityengine+unsubscr...@googlegroups.com.
To post to this group, send email to communityengine@googlegroups.com.
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.


Re: [CommunityEngine] Re: Rails4 Branch

2014-03-10 Thread Bruno Bornsztein
Yeah, plans are to merge bugfixes from master into rails4 (there aren't a
ton, but they need to be merged in). I'm still not using rails4 in
production anywhere (is anyone else?).


On Fri, Mar 7, 2014 at 4:04 PM, jsh joshua.chu...@gmail.com wrote:

 looks like rails4 branch is behind master a few commits.
 any plan to merge bug fixes on master back to rails4 branch?

 I am considering using Rails 4 to start a new project. (looks like the
 community is ready to move on Rails 4?)
 also like rails4 branch is using Twitter Bootstrap..


 On Sunday, December 1, 2013 4:24:58 PM UTC-7, Bruno wrote:

 Hi all,
 Just wanted to let you know we now have a Rails4  (Ruby 2.0) compatible
 branch with passing tests:

 https://github.com/bborn/communityengine/tree/rails4

 I'm not super-confident that this branch is without bugs yet, since I'm
 not using it on any of my apps. I'd appreciate some help getting it tested
 a little better.

 Thanks,
 Bruno

  --
 You received this message because you are subscribed to the Google Groups
 CommunityEngine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to communityengine+unsubscr...@googlegroups.com.
 To post to this group, send email to communityengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/communityengine.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
CommunityEngine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to communityengine+unsubscr...@googlegroups.com.
To post to this group, send email to communityengine@googlegroups.com.
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.


[CommunityEngine] Re: Rails4 Branch

2014-03-10 Thread jsh
You need to create a new app first (rails new)
then follow the installation instruction.

CE is supposed to be used as an Engine.


On Monday, March 10, 2014 7:05:20 PM UTC-7, Jeremias Santos wrote:

 I'm still grasping ruby and rails, but must use this design looks pretty 
 cool, but I'm somewhat difficult to run and if you can help thank algume 
 now. 

 I'm trying to use the rails4, but downloaded the branch and after 
 installing the dependencies, I tried to run and I get the following error:

 Usage:
   rails new APP_PATH [options]

 Options:
   -r, [--ruby=PATH]  # Path to the Ruby binary of your choice
  # Default: 
 /home/jeremias/.rvm/rubies/ruby-2.1.0/bin/ruby
   -m, [--template=TEMPLATE]  # Path to some application template (can 
 be a filesystem path or URL)
   [--skip-gemfile]   # Don't create a Gemfile
   -B, [--skip-bundle]# Don't run bundle install
   -G, [--skip-git]   # Skip .gitignore file
   [--skip-keeps] # Skip source control .keep files
   -O, [--skip-active-record] # Skip Active Record files
   -S, [--skip-sprockets] # Skip Sprockets files
   -d, [--database=DATABASE]  # Preconfigure for selected database 
 (options: 
 mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
  # Default: sqlite3
   -j, [--javascript=JAVASCRIPT]  # Preconfigure for selected JavaScript 
 library
  # Default: jquery
   -J, [--skip-javascript]# Skip JavaScript files
   [--dev]# Setup the application with Gemfile 
 pointing to your Rails checkout
   [--edge]   # Setup the application with Gemfile 
 pointing to Rails repository
   -T, [--skip-test-unit] # Skip Test::Unit files
   [--rc=RC]  # Path to file containing extra 
 configuration options for rails command
   [--no-rc]  # Skip loading of extra configuration 
 options from .railsrc file

 Runtime options:
   -f, [--force]# Overwrite files that already exist
   -p, [--pretend]  # Run but do not make any changes
   -q, [--quiet]# Suppress status output
   -s, [--skip] # Skip files that already exist

 Rails options:
   -h, [--help] # Show this help message and quit
   -v, [--version]  # Show Rails version number and quit

 Description:
 The 'rails new' command creates a new Rails application with a default
 directory structure and configuration at the path you specify.

 You can specify extra command-line arguments to be used every time
 'rails new' runs in the .railsrc configuration file in your home 
 directory.

 Note that the arguments specified in the .railsrc file don't affect the
 defaults values shown above in this help message.

 Example:
 rails new ~/Code/Ruby/weblog

 This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
 See the README in the newly created application to get going.
 jeremias@jeremiasNot:/opt/WORK/WorkRubyOnRails/communityengine$ git pull
 Cannot pull with rebase: You have unstaged changes.
 Please commit or stash them.








 On Sunday, December 1, 2013 8:24:58 PM UTC-3, Bruno wrote:

 Hi all,
 Just wanted to let you know we now have a Rails4  (Ruby 2.0) compatible 
 branch with passing tests:

 https://github.com/bborn/communityengine/tree/rails4

 I'm not super-confident that this branch is without bugs yet, since I'm 
 not using it on any of my apps. I'd appreciate some help getting it tested 
 a little better.

 Thanks,
 Bruno



-- 
You received this message because you are subscribed to the Google Groups 
CommunityEngine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to communityengine+unsubscr...@googlegroups.com.
To post to this group, send email to communityengine@googlegroups.com.
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.