Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not access Rails from within Mina tasks #61

Closed
chanced opened this issue Oct 10, 2012 · 1 comment
Closed

Can not access Rails from within Mina tasks #61

chanced opened this issue Oct 10, 2012 · 1 comment

Comments

@chanced
Copy link

chanced commented Oct 10, 2012

Rails, RAILS_ENV, and so on are not loading.

@mikong
Copy link
Member

mikong commented Dec 14, 2012

Can you describe why you need to access Rails in your Mina task?

If it's an app-specific task, how about writing a rake task in your Rails app, and just letting your Mina task call that rake task? See lib/mina/rails.rb.

@mikong mikong closed this as completed Dec 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants